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

  1. Install gptme and confirm it runs in your terminal environment.
  2. Choose a model provider or point the agent at a local or OpenAI-compatible server.
  3. Start an interactive session in the directory relevant to your task.
  4. Describe the task and let the agent use its shell, Python, web, and vision tools.
  5. Review the agent's tool output and approve or redirect its next actions.

What it can do

Terminal-native operation

Runs in any environment where a terminal is present, so it can be used on a personal laptop, inside a remote shell, within a terminal multiplexer, on a headless server, or as part of continuous integration pipelines. The package also offers a plain command-line mode suited to scripted and non-interactive use.

General coding assistance

Described as a strong coding agent while remaining general-purpose enough to help with many kinds of knowledge work. Demos show it creating a directory and initializing a repository, writing a Fibonacci function, committing the change, and pushing to a new public GitHub repository.

Built-in toolset

Ships with tools for shell access, Python execution, web access, and vision, along with a set of other utilities an agent needs to carry out tasks. A tmux tool and a fast edit tool are also documented in release notes.

Provider flexibility

Works with several hosted model providers and with an existing subscription, and can run fully locally through Ollama or any server exposing an OpenAI-compatible interface. The documentation stresses that users choose their own models and keep their data on their own terminal.

Extensibility through plugins, skills, and lessons

A plugin system, skills that can be invoked as slash commands, and a lessons system for contextual guidance let users tailor behavior. A separate plugin registry serves as a central place for discovering plugins, and community contributions include channels such as social media, chat, and email tools.

Integrations and interfaces

Supports MCP and ACP integrations, offers both a terminal UI and a self-hostable web interface, and provides a desktop app for Linux, macOS, and Windows with automatic updates since a minor release. A server API is included as well.

Autonomous operation and guardrails

Documented autonomous agent templates and run loops allow long-running agents, while a guardrails section and sandboxed Python and shell execution via Docker and Wasmtime help constrain what the agent does. Users still configure and oversee these setups.

Memory and context management

Cross-harness memory, context compression, a context-scout pre-pass, and token awareness help the agent work within model limits and carry knowledge across sessions and compatible harnesses.

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.

Supervised

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

  1. Confirm that your preferred model provider or a local Ollama setup is supported for your use case
  2. Check that shell and Python execution tools fit your security requirements, and review the sandboxing options noted in releases
  3. Verify the terminal environment (laptop, ssh, tmux, headless server, CI) matches where you intend to run it
  4. Review plugin, skill, and MCP extensibility if you need integrations
  5. 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

AgentPricingAutonomyBest for
oh-my-claudecode—SupervisedSoftware 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—SupervisedSoftware developers, Engineering teams, Pair-programming collaborators, Developers who work across desk and mobile
plandex—SupervisedSoftware developers, Engineering teams on large codebases, Developers reviewing AI-generated changes, Teams exploring multiple models, Self-hosting developers
MiMo-Code—SupervisedSoftware developers, Engineers working in terminals, Developers managing Git repositories, Teams using multiple LLM providers
superplane—SupervisedSoftware engineers, Engineering managers, Platform and infrastructure engineers, DevOps and release engineers, Open source maintainers
ralph-claude-code—SupervisedSoftware 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.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<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>
See badge options