Cette page est affichée en anglais. Une traduction française est en cours.
CLI ToolsMay 12, 2026·3 min de lecture

gptme — Terminal AI Agent with Tools & MCP

Run an autonomous AI agent in your terminal with tool-use, MCP support, and non-interactive modes for CI. Installs via pipx/uv; Python 3.10+.

Prêt pour agents

Cet actif peut être lu et installé directement par les agents

TokRepo expose une commande CLI universelle, un contrat d'installation, le metadata JSON, un plan spécifique à la cible et le contenu raw pour aider les agents à juger l'adaptation, le risque et les prochaines actions.

Native · 94/100Policy : autoriser
Cible
Claude Code, Codex, Gemini CLI
Type
Cli
Installation
Pipx
Confiance
Confiance : Established
Point d'entrée
pipx install gptme && gptme --help
Commande CLI universelle
npx tokrepo install 0fe163f8-d731-5ca9-abe0-953e2508982f
Introduction

gptme is a terminal-first AI agent that can run commands and use local tools, with MCP support included by default and flags for safe automation in scripts.

Best for: CLI-first developers, CI automation, and tool-using coding agents

Works with: macOS/Linux/Windows; Python 3.10+; one LLM provider key or local models

Setup time: 5–10 minutes

Key facts (verified)

  • Supports -y auto-approve and -n non-interactive modes (README).
  • Installs via pipx install gptme or uv tool install gptme (README).
  • GitHub: 4,299 stars · 388 forks; pushed 2026-05-12 (GitHub API verified).

Main

Treat gptme as a “tool runner with a chat UI”:

  • Put it in a repo and feed it structured input (git diff, make test, logs) so it can act on concrete artifacts.
  • Prefer -n in CI so it never blocks for confirmation; use -y for supervised runs you can interrupt.
  • If you need web access, install the optional extra (gptme[browser]) and validate the sandboxing policy for your environment.

README excerpt (verbatim)

gptme

/ʤiː piː tiː miː/
what does it stand for?

Getting StartedDownloadsWebsiteDocumentation

Build Status Docs Build Status Codecov
PyPI version PyPI - Downloads all-time PyPI - Downloads per day
Discord X.com
Powered by gptme

📜 A personal AI agent that runs anywhere a terminal runs — your laptop, ssh sessions, tmux, headless servers, CI pipelines.
Provider-agnostic, local-first, and unconstrained: ships with shell, Python, web, vision, and everything else an agent needs.
A great coding agent, but general-purpose enough to assist in all kinds of knowledge-work.

Free and open-source. Works with Anthropic, OpenAI, Google, xAI, DeepSeek, OpenRouter, or fully local via llama.cpp — your data, your models, your terminal.

FAQ

Q: Does gptme include MCP support? A: README states MCP support is included by default; you can add extras for more capabilities.

Q: What Python version is required? A: Prerequisites list Python 3.10 or newer.

Q: How do I make it safe for CI? A: Use -n for fully non-interactive runs, and consider -y only when a human can monitor and interrupt.

🙏

Source et remerciements

Source: https://github.com/gptme/gptme > License: MIT > GitHub stars: 4,299 · forks: 388

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires