
gptme
Open-source terminal agent that runs on your machine with any model
- Pricing
- Open source
- Platforms
- CLI, Linux, macOS
- GitHub stars
- 4.5K
- Last commit
- today
- Language
- Python
- License
- MIT
About gptme
gptme is an open-source agent for coding. It is available on CLI, Linux, macOS and self-hosted.
gptme works inside the environment you already have: your shell and Python, your files, git and gh, and a browser or the desktop when a task needs one. There is no sandbox between it and your tools, and pointing it at a local model keeps everything on the machine.
You can pipe things into it, for example a git diff for a PR review or failing test output to fix, or run it headless on servers, in tmux, over ssh or in CI. It can be extended with your own tools and left running on its own, and the examples include scheduled jobs and vision tasks on screenshots.
Models named include Claude, GPT, Gemini, Grok, DeepSeek and local ones. The project is MIT licensed.
What it does
- Terminal native
- Runs anywhere a terminal does, including ssh, tmux and CI.
- Real environment
- Uses your shell, Python, files, git and browser without a sandbox.
- Pipe-friendly
- Takes input from commands, such as git diff or test output.
- Any model
- Works with hosted providers or local models.
- Extensible tools
- Add your own tools and let it run on its own.
Good for
- Reviewing a pull request from a diff
- Fixing failing tests from test output
- Scaffolding apps and scripts from one prompt
- Running scheduled maintenance tasks headlessly
- Analysing a dataset and plotting it
Pricing
Open source
Free and open source (MIT); model API costs apply for hosted providers
Prices change. Check gptme.org before you buy.
gptme FAQ
Which models work?
Claude, GPT, Gemini, Grok, DeepSeek or a local model.
Is there a sandbox?
The site says it deliberately works in your real environment with no sandbox.
Can it keep data local?
Yes, with a local model nothing leaves the machine.
Licence?
MIT.
Is gptme free?
Yes. gptme is open source, so you can use and self-host it for free.
What are the best alternatives to gptme?
The closest alternatives to gptme are deepseek-harness, gemini-cli, ruflo, DeepCode and learn-claude-code.
Alternatives to gptme

deepseek-harness
AgentOpen-source agent harness from DeepSeek, built on a plugin architecture
- Open source
- Open-source agent
- 282K GitHub stars
- Multi-agent frameworks

gemini-cli
AgentOpen-source terminal agent for Gemini Code Assist workflows on Google Cloud
- Open source
- Open-source agent
- 109K GitHub stars
- AI models and LLM tooling

ruflo
AgentAgent meta-harness that adds swarms, memory and MCP tools to Claude Code and Codex
- Open source
- Agent framework
- 81.9K GitHub stars
- Knowledge and memory

DeepCode
AgentAutonomous framework that turns research papers into working code repositories
- Open source
- Open-source agent
- 16.8K GitHub stars
- Coding

learn-claude-code
AgentHands-on course teaching how to build the harness around an AI coding agent
- Open source
- Hosted agent
- 80.5K GitHub stars
- AI models and LLM tooling

openinterpreter
AgentTerminal coding agent tuned for low-cost and open-weight models
- Open source
- Open-source agent
- 68.9K GitHub stars
- Coding