Best CLI Coding Agents
Terminal-first coding agents, compared on model support, pricing and how much they can do without supervision.
10 of 10 tools
OpenCodeOpen-source, provider-agnostic AI coding agent with a terminal UI, plus a desktop app (beta) and an IDE integration.
Free tier, paid from $10/moCLI · Desktop app · IDE extensionOpen source★ 219,959
OpenAI CodexOpenAI's coding agent, available as an open-source terminal CLI, an IDE extension, a mode in the ChatGPT desktop app, and a cloud agent that runs tasks and opens pull requests. Usage is included in ChatGPT plans or billed per token with an API key.
Free tier, paid from $8/moCLI · IDE extension · Desktop app · Cloud agent · WebOpen source★ 130,413
Gemini CLIGoogle's open-source terminal agent for Gemini models. Since June 2026 it is aimed mainly at Gemini Code Assist Standard/Enterprise customers and paid API-key users, while consumer users have been moved to Antigravity CLI.
Free tool; you pay for API usageCLIOpen source★ 107,504
- Cline
Open-source, model-agnostic coding agent that asks for approval before acting. It is available as a VS Code and JetBrains extension, a CLI, a desktop app, a browser-based cloud agent and an SDK.
Free tier, paid from $9.99/moIDE extension · CLI · Desktop app · Cloud agentOpen source★ 70,712
AidermaintenanceOpen-source terminal pair-programming tool that edits files in your local git repo, commits its changes automatically, and works with most LLM providers.
Free tool; you pay for API usageCLIOpen source★ 49,684
Claude CodeAnthropic's agentic coding tool that reads a codebase, edits files, and runs commands, available as a terminal CLI, VS Code and JetBrains extensions, a desktop app, and cloud sessions in the browser.
Paid, from $20/moCLI · IDE extension · Desktop app · Cloud agent · WebClosed source
- Cursoracquired
AI code editor forked from VS Code with an agent, tab completion, a CLI, and cloud agents. Since October 2026 it is sold as part of a combined Grok/Cursor/X subscription.
Free tier, paid from $8/moIDE · CLI · Cloud agent · WebClosed source
- Devin
Cognition's autonomous coding agent that runs tasks in cloud VMs, tests in its own browser, and opens pull requests, with a local Devin CLI and integrations for Slack, Teams, Linear, Jira, and Git hosts.
Free tier, paid from $20/moCloud agent · Web · CLIClosed source
- GitHub Copilot
GitHub's AI coding assistant with completions, chat, and agent mode in many IDEs, plus a CLI, a desktop app, and a cloud agent that works on assigned issues and opens pull requests. Usage beyond completions is metered in GitHub AI Credits.
Free tier, paid from $10/moIDE extension · CLI · Cloud agent · Desktop app · WebClosed source
- Kiro
AWS's agentic development environment built on Code OSS, centered on spec-driven development (requirements, design, tasks), with steering files, hooks, and a shared agent across the IDE, CLI, web, and mobile.
Free tier, paid from $20/moIDE · CLI · Cloud agent · WebClosed source
Popular comparisons
Claude Code vs OpenAI Codex
Both cost $20/month to start and do the same core job, so pick by ecosystem.
Updated Oct 22, 2026
Claude Code vs Cursor
If you mainly want to code with Claude models, pick Claude Code: Pro at $20/month includes Claude usage, while Cursor's new plans include only Cursor's own Grok and Composer models and bill Claude separately at API list price, from the $30 Premium plan up.
Updated Oct 22, 2026
Claude Code vs Gemini CLI
For most individual developers, pick Claude Code: Gemini CLI stopped serving free, Google AI Pro and Google AI Ultra users on June 18, 2026, so the free option most comparisons recommend no longer exists.
Updated Oct 22, 2026
Claude Code vs GitHub Copilot
Pick GitHub Copilot if you want AI inside the editors you already use, with unlimited completions and a choice of models, including Claude Opus 5.5 and Sonnet 5.5, from $10/month.
Updated Oct 22, 2026
Claude Code vs Kiro
Pick Claude Code if you want a terminal-first agent you steer in conversation, on a predictable Claude subscription.
Updated Oct 22, 2026
Claude Code vs OpenCode
Pick Claude Code if you use Claude on a subscription.
Updated Oct 22, 2026
OpenAI Codex vs Cursor
If you want OpenAI's models, pick Codex: it's included in ChatGPT plans (limited on Free and Go, full from Plus at $20/month), while Cursor's plans include only its own Grok and Composer models and bill GPT at API list price from the $30 Premium plan.
Updated Oct 22, 2026
Cursor vs GitHub Copilot
Pick GitHub Copilot if you want Claude, GPT and Gemini included in your plan and want to stay in the editor you already use.
Updated Oct 22, 2026
Cursor vs Kiro
Pick Cursor if you want fast, interactive editing with an agent beside you and you're happy with Cursor's own Grok and Composer models: its $8 Plus plan is the cheapest way in.
Updated Oct 22, 2026
What we compare for CLI Coding Agents
- Works fully in the terminal
- Model choice and bring-your-own-key
- Pricing at realistic usage
- Open source