gptme
Terminal-based open-source personal AI agent for coding and knowledge work
Overview
gptme is an open-source personal AI agent designed to operate wherever a terminal is available, whether that means a developer's local machine, a remote shell session, a terminal multiplexer, a machine without a graphical interface, or an automated build process. It pairs general knowledge-work assistance with strong coding abilities, and it can be pointed at many model providers rather than being tied to one vendor.
A distinguishing trait is that gptme favors running locally and keeping choices in the user's hands: it can connect to hosted providers, to an existing subscription, or to fully local models through Ollama or any server that speaks the OpenAI-compatible interface. It comes with a broad toolkit that includes shell, Python, web access, and vision, and it has been in active development since its initial commit in early 2023.
The project also extends beyond a single chat loop. Recent releases added a desktop application for Linux, macOS, and Windows, a browser-based chat interface, a plugin and skills system, a lessons mechanism for contextual guidance, integrations such as MCP and ACP, and support for running agents autonomously with guardrails.
Best for
- Software developers
- DevOps and platform engineers
- Data scientists and analysts
- Researchers
- Technical writers
- Software development
- Information technology
- Research and academia
How to use
- Install gptme and confirm it runs in your terminal environment.
- Choose a model provider or point the agent at a local or OpenAI-compatible server.
- Start an interactive session in the directory relevant to your task.
- Describe the task and let the agent use its shell, Python, web, and vision tools.
- Review the agent's tool output and approve or redirect its next actions.
What it can do
How it works
gptme is installed as a command-line tool and launched from a terminal, where it can run interactively or in a non-interactive mode for scripts and pipelines. Users select a model provider, a subscription, or a local or OpenAI-compatible server, which keeps model choice and data location under their control. The agent then reaches its tools, including shell, Python, web, and vision, plus integrations such as MCP and ACP, while plugins, skills, and lessons adjust how it behaves.
Autonomous setups are documented through agent templates and run loops, but the human role remains central: people configure the model and environment, set up guardrails and sandboxing, and review or approve the agent's actions as it proceeds.
The product supports autonomous run loops and agent templates, but users must configure models, guardrails, and sandboxing and oversee execution, so multi-step work stays under human approval.
Where it fits
- Create a repository, scaffold a small script, commit the work, and push it to a new public GitHub repository.
- Render a Mandelbrot scene with curses to a Python file, run it, then add color.
- Run the agent on a headless server or inside a CI pipeline for scripted, non-interactive work.
- Use the web interface to chat with the agent and reach its full toolset from a browser.
Good fit
- Running a personal coding agent in a terminal on a laptop or headless server
- Assisting with general knowledge work beyond coding via shell, Python, web, and vision tools
- Working with a preferred model provider or a fully local model setup
- Operating in CI pipelines or tmux and ssh sessions
Not a fit
- Users who need a browser-only tool, since the core agent is terminal-based
- Teams wanting a hosted, managed service rather than a self-run tool
How to evaluate
- Confirm that your preferred model provider or a local Ollama setup is supported for your use case
- Check that shell and Python execution tools fit your security requirements, and review the sandboxing options noted in releases
- Verify the terminal environment (laptop, ssh, tmux, headless server, CI) matches where you intend to run it
- Review plugin, skill, and MCP extensibility if you need integrations
- Consider whether the desktop or web interface options suit your workflow
Our take
gptme is an open-source personal agent that runs in any terminal environment and supports a broad set of model providers, including fully local setups. It ships with shell, Python, web, and vision tools and has been in active development since its first release in 2023. The project describes itself as a strong coding agent that is general-purpose enough for other knowledge work, with plugins, lessons, and MCP support for extension. It is best suited to people comfortable running tools locally and managing their own setup.
Alternatives
| Agent | Pricing | Autonomy | Best for |
|---|---|---|---|
| oh-my-claudecode | — | Supervised | Software developers using Claude Code, Engineering team leads, Code reviewers and security reviewers, UI and UX designers working in code, Data scientists, Technical writers and documentation specialists |
| happy | — | Supervised | Software developers, Engineering teams, Pair-programming collaborators, Developers who work across desk and mobile |
| plandex | — | Supervised | Software developers, Engineering teams on large codebases, Developers reviewing AI-generated changes, Teams exploring multiple models, Self-hosting developers |
| MiMo-Code | — | Supervised | Software developers, Engineers working in terminals, Developers managing Git repositories, Teams using multiple LLM providers |
| superplane | — | Supervised | Software engineers, Engineering managers, Platform and infrastructure engineers, DevOps and release engineers, Open source maintainers |
| ralph-claude-code | — | Supervised | Software developers, Engineering teams using Claude Code, Automation and DevOps engineers, Maintainers working from task lists or PRDs |
FAQ
- What is gptme?
- It is a personal AI agent that runs in a terminal, including on a laptop, in ssh sessions, tmux, headless servers, and CI pipelines.
- Which model providers can I use?
- The listing mentions Anthropic, OpenAI, Google, DeepSeek, OpenRouter, Requesty, and fully local setups via Ollama or any OpenAI-compatible server.
- Is gptme free?
- The project describes itself as free and open-source. Any costs would come from the model provider you choose.
- Does it work on a desktop?
- A desktop app for Linux, macOS, and Windows was introduced in 2026, with auto-updates added in a later release.
- How does gptme handle execution safety?
- A 2026 release added sandboxed Python and shell execution via Docker and Wasmtime, along with a guardrails section in the documentation.
- Can I extend it with plugins?
- Yes. The project has a plugin system, a plugin registry for discovery, skills, lessons, and MCP and ACP integrations.
- How do I install it?
- The documentation refers users to a Getting Started page and a pipx installation described for the terminal UI.
- Is there a web interface?
- A self-hostable web UI is available, along with a hosted instance referenced in the listing.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/agents/gptme"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.