AI coding agents that run in your terminal
Terminal (CLI) coding agents read your code, edit files and run commands from the command line, instead of inside an editor. Here are the ones in our directory, with the basics side by side. Pricing changes often, so check each official site before you decide.
| Tool | Made by | Open source? | Pricing label | Official link |
|---|---|---|---|---|
| Claude Code | Anthropic | No | Paid | anthropic.com/claude-code |
| OpenAI Codex CLI | OpenAI | Yes | Open source | github.com/openai/codex |
| Aider | Open-source project | Yes | Open source | aider.chat |
| Gemini CLI | Yes | Open source | github.com/google-gemini/gemini-cli | |
| Qwen Code | Alibaba (Qwen team) | Yes | Open source | github.com/QwenLM/qwen-code |
| GitHub Copilot CLI | GitHub | No | Paid (Copilot plan) | github.com/github/copilot-cli |
| OpenCode | Open-source project | Yes | Open source | opencode.ai |
| Goose | Open-source project | Yes | Open source | goose-docs.ai |
| Pi | Open-source project | Yes | Open source | pi.dev |
| Autohand Code | Autohand | Yes | Free + paid plans | autohand.ai/code |
In one line each
- Claude Code: Anthropic's agentic coding tool in your terminal.
- OpenAI Codex CLI: OpenAI's lightweight coding agent that runs in your terminal.
- Aider: AI pair programming in your terminal, git-aware.
- Gemini CLI: Google's open-source AI agent for the terminal.
- Qwen Code: Alibaba Qwen team's open-source terminal agent, tuned for Qwen3-Coder models.
- GitHub Copilot CLI: GitHub's Copilot coding agent in your terminal; needs a Copilot subscription.
- OpenCode: open-source coding agent for the terminal, IDE or desktop that works with many model providers.
- Goose: open-source, extensible agent with a CLI, desktop app and API that works with any LLM.
- Pi: minimal, extensible open-source (MIT) terminal agent harness.
- Autohand Code: open-source (Apache-2.0) agent with plan mode, agent teams and Unix pipe mode.
How to choose
- Which model do you want? Each vendor's agent is built around its own models. Open-source agents like Aider can often work with several providers. Check the docs.
- Open source or not? If you need to read or modify the agent's code, or run it in a locked-down environment, start with the open-source options.
- How is it billed? Some tools bill per use through an API key, and others through a subscription. Look at the official pricing page for your expected usage.
- Where does your code go? Read each tool's data and privacy docs before using it on private code.
Prefer an editor?
See AI IDEs & editors (Cursor, Devin Desktop (formerly Windsurf), GitHub Copilot, Zed, Cline). Comparing two agents? Claude Code vs Codex CLI, Claude Code vs Gemini CLI, Gemini CLI vs Qwen Code or Codex CLI vs Every Code. Browse every terminal coding agent in the directory. Want only open-source options? See open-source AI coding agents, including newer ones like OpenCode and OpenHands. Want to switch models freely? See model-agnostic AI coding agents.
Missing a tool? Submit it for free.
Pricing labels are a rough guide. Check each official site for current pricing.