AI coding · Terminal agent
AI coding agents for the terminal
Agents you run in a shell: they read the repo, edit files, run commands and tests, and loop until the task is done. They work with any editor and fit scripts and CI. Most are tied to one company's models; the open-source ones take any provider key.
21 tools · updated 27 Nov 2026
Compare 21 tools
| Tool | Free tier | Paid from | Open source | Own key | MCP | Runs in |
|---|---|---|---|---|---|---|
| Claude Code Anthropic's coding agent for the terminal, VS Code, JetBrains, desktop app, web, mobile and Slack; it reads a codebase, edits files, runs commands and opens pull requests. | No | $20/mo | No | Yes | Yes | VS Code, JetBrains, Desktop app, CLI, Web, Mobile, Slack, GitHub app |
| OpenAI Codex OpenAI's coding agent: open-source CLI, IDE extension, desktop app and cloud agent that edit code, run tasks in parallel and review pull requests, tied to a ChatGPT plan or API key. | Free plan | $8/mo full models $20/mo | Partly | Yes | Yes | VS Code, JetBrains, Xcode, Desktop app, CLI, Web, Mobile, Slack, GitHub app |
| GitHub Copilot CLI Terminal agent from GitHub: chat, plan and edit code, run commands and use GitHub issues and PRs from the command line, with MCP and sandboxes. | Free plan | $10/mo | No | Yes | Yes | CLI |
| OpenCode Open-source coding agent for terminal, desktop and mobile that works with 200+ model providers, including local models and OpenCode's own free and subscription models. | Free (your key) | $10/mo | Yes | Yes | Yes | Desktop app, CLI, Web, Mobile |
| Kimi Code CLI formerly Kimi CLI Moonshot AI's terminal coding agent, installed as a single binary, with skills, hooks, sub-agents and MCP; part of the Kimi Code subscription. | – | $19/mo | Yes | – | Yes | Desktop app, CLI |
| Qwen Code Open-source terminal coding agent from the Qwen team that also runs as a desktop app, web UI, IDE plugin, headless mode and SDK. | Free (your key) | Usage-based | Yes | Yes | Yes | VS Code, JetBrains, Desktop app, CLI, Web |
| Gemini CLI Maintenance only Open-source Google terminal agent for Gemini models, now maintained for Gemini Code Assist Standard/Enterprise and paid API-key users; consumers moved to Antigravity CLI. | No | Usage-based | Yes | Yes | Yes | VS Code, JetBrains, CLI |
| Warp Open-source terminal and agent CLI with a built-in coding agent, plus Warp Factories for running fleets of cloud agents across the software lifecycle. | Free plan | $20/mo | Yes | Yes | Yes | Desktop app, CLI, Web, Mobile, Slack |
| Mistral Vibe formerly Le Chat (the Vibe assistant it is bundled with) Mistral's coding agent (terminal CLI, VS Code/JetBrains plugin, web and remote agents) inside Vibe, the assistant product that replaced Le Chat. | Free plan | $14.99/mo | Yes | – | Yes | VS Code, JetBrains, Desktop app, CLI, Web, Mobile |
| Open Interpreter Open-source terminal coding agent (a Codex fork) tuned for low-cost open-weight models, plus a desktop agent app for documents and browser work. | Free (your key) | – | Yes | Yes | Yes | Desktop app, CLI |
| goose Open-source general-purpose AI agent with a desktop app and CLI that works with 85+ model providers or local models and MCP extensions; now under the Agentic AI Foundation. | Free (your key) | – | Yes | Yes | Yes | VS Code, JetBrains, Desktop app, CLI |
| Aider Open-source terminal tool for pair programming with LLMs on a local git repo, with codebase map and automatic commits. | Free (your key) | – | Yes | Yes | – | CLI |
| Crush formerly Crush (Charm) Open-source terminal coding agent from Charm that works with many LLM providers, LSPs and MCP servers. | Free (your key) | – | Partly | Yes | Yes | CLI |
| Augment Code Coding agents with a codebase Context Engine: Cosmos (automated SDLC workflows), Auggie CLI, IDE extensions for VS Code and JetBrains, and PR review. | – | $20/mo | – | – | Yes | VS Code, JetBrains, Neovim, CLI, GitHub app |
| Amp Coding agent you run from a CLI, desktop and mobile apps or the web; agents work in cloud 'orbs' or on your own runners. | Free plan | $20/mo | – | Yes | Yes | Desktop app, CLI, Web, Mobile, Slack |
| SWE-agent Maintenance only Open-source research agent from Princeton and Stanford that lets a language model fix GitHub issues using tools, driven from the command line with a yaml config. | Free (your key) | – | Yes | Yes | – | CLI |
| Factory Agent platform built around Droid, a coding agent you run from a desktop app, CLI, web and mobile, with code review, automations and enterprise governance. | Free (your key) | $20/mo | – | Yes | Yes | Desktop app, CLI, Web, Mobile, Slack |
| Codebuff (Freebuff) Shutting down Terminal coding agent with an orchestrator plus sub-agents; Codebuff closes 1 Dec 2026 and its free, ad-supported successor Freebuff offers CLI, desktop, web and cloud agents. | Free plan | Usage-based | Yes | – | Yes | Desktop app, CLI, Web, Mobile |
| gptme Open-source (MIT) terminal AI agent with shell, Python, browser and patch tools; works with cloud or local models, has a desktop app, web UI, MCP and ACP. | Free (your key) | – | Yes | Yes | Yes | JetBrains, Desktop app, CLI, Web, Mobile, GitHub app |
| Evot Open-source terminal coding agent with four core tools (read, bash, edit, write), free hosted models and bring-your-own-key support. | Free plan | – | Yes | Yes | – | CLI, Mobile |
| Alysis Code Open-source agent as desktop app and CLI: Code mode edits and tests repos in a sandbox, Work mode handles documents and everyday tasks; any model. | Free plan | EUR 1/mo | Yes | Yes | Yes | VS Code, JetBrains, Desktop app, CLI |
A dash means the tool's website does not say. "Paid from" is the cheapest regular individual plan; "full models" is the cheapest plan with the tool's main models when that costs more. Sale prices are not used.
What to check before you pay
- Subscription or API billing: a flat plan caps cost, pay-per-token does not.
- Permission model: what the agent may run without asking, and whether it sandboxes commands.
- Model lock-in: company CLIs (Claude Code, Codex, Gemini CLI) use their own models; open-source CLIs (OpenCode, Aider, Goose, Cline CLI) take any key.
Most used here
Going by GitHub stars, installs and followers. Not a ranking.
- Claude Code
Developers who want a terminal-first agent for multi-file changes, migrations and issue-to-PR work, with the same engine in VS Code, JetBrains, web and Slack.
Watch out: No free tier (Claude Pro $20 minimum); Claude models only; usage limits per 5 hours and weekly mean heavy agent use pushes you to Max at $100 or API billing.
- OpenAI Codex
Developers who already pay for ChatGPT and want one agent across CLI, IDE, desktop and cloud, with an Apache-2.0 CLI that can also run local models.
Watch out: Usage is metered against your ChatGPT plan (about 6-50 GPT-6.2 Astra messages per 5 hours on Plus); cloud features need Plus or higher; heavy use needs credits or Pro at $100.
- GitHub Copilot CLI
Terminal-first developers on GitHub who want issue and PR context, MCP tools and a choice of Claude, GPT or local models in one agent.
Watch out: Source is not open (license forbids modifying it); every prompt draws AI credits, so heavy sessions on frontier models exhaust Pro's 1,500 credits quickly.
Common questions
Which AI coding CLI is free?
Open-source CLIs such as OpenCode, Aider, Goose and Crush are free to run with your own key or a local model. Gemini CLI no longer has a free personal tier; Codex has limited access on ChatGPT Free.
Is a terminal agent better than an editor agent?
They do the same work. A terminal agent is editor-independent and easier to script or run on a server; an editor agent shows diffs inline. Many tools offer both on one plan.
Where the information comes from: how we build the list. Out of date? Send a correction.