Skip to main content

Best Coding Agent CLIs

Vendor agents run their own vendor's models, and open source agents run almost any model. After that, they differ most in price and safety defaults.

A coding agent CLI is a terminal program that drives a language model to read your repository, edit files and run commands until a task is done. This page compares the ones that are current in November 2026. Facts were checked against each tool's own docs, pricing page or repository in November 2026. For what a coding agent is and how its loop works, start there.

What Changed in 2026​

Three changes affect which tools belong on this list.

Gemini CLI moved to Antigravity CLI for individuals. On June 18, 2026, Google stopped serving free and Google AI Pro and Ultra users in Gemini CLI. Those users now use Antigravity CLI, agy. Gemini CLI remains open source and still serves Gemini Code Assist Standard and Enterprise customers and paid API keys.

Kiro CLI is the successor to Amazon Q Developer CLI. The old Q Developer CLI repository stays available as open source.

Cursor joined SpaceX in August 2026. Its cheapest paid plan now uses only Cursor's own Grok and Composer models.

Price and Models​

ToolLicensePricing modelModels
Claude CodeProprietaryClaude Pro, Max, Ultra, Team or Enterprise plan, or pay per tokenClaude, through Anthropic, Bedrock, Google Cloud or Microsoft Foundry
Codex CLIApache 2.0Any ChatGPT plan including Free, or an API key at API pricesOpenAI models, local models through Ollama or LM Studio, custom providers
Antigravity CLINo source publishedGoogle account on Free, Pro or Ultra, Gemini Enterprise, or a Gemini API keyGemini, plus some partner models by plan
Gemini CLIApache 2.0Gemini Code Assist Standard or Enterprise, paid Gemini API key, or Vertex AIGemini
OpenCodeMITFree with your own provider. Optional OpenCode Go from $10 per monthAny models.dev provider, ChatGPT and Copilot sign-in, local models
AiderApache 2.0Free with your own providerAlmost any model, including local models
AmpProprietaryFree Hobby tier with your own keys or subscriptions. $20 per month tier adds hosted cloud machine minutesAmp routes work across several vendors' models. You can also choose per thread
Cursor CLIProprietaryCursor plan, from Free to Ultra at $200 per monthCursor's Grok and Composer models. Third-party models at API price on Premium and above
GitHub Copilot CLIProprietaryIncluded in every Copilot plan, including Free. Pro is $10 per monthSeveral vendors' models, or your own OpenAI-compatible, Azure OpenAI or Anthropic provider
Kiro CLINo source publishedKiro plans, from Free to Power at $200 per monthClaude models, or an Auto agent that picks models
GooseApache 2.0Free with your own provider15+ providers, local models through Ollama

Safety, Extensions and Automation​

ToolDefault permissionsOS sandboxMCPSkills and extensionsHeadlessPlatforms
Claude CodeAsks before edits and shell commandsOptional, macOS, Linux, WSL2YesSkills, plugins, hooks, subagentsclaude -p, GitHub ActionsmacOS, Windows, Linux
Codex CLIWrites in the workspace, asks for moreOn by default, macOS, Linux, WindowsYesSkills, plugins, hooks, subagentscodex exec, GitHub ActionmacOS, Windows, Linux
Antigravity CLIAsks before edits and commandsOptional, needed for auto modeYesSkills, plugins, hooks, subagentsagy -pmacOS, Windows, Linux
Gemini CLIAsks before toolsOptional, Seatbelt or containers and moreYesSkills, extensions, hooksgemini -p, GitHub ActionmacOS, Windows, Linux
OpenCodeAllows everything except .env readsNoneYesSkills, plugins, custom agentsopencode runmacOS, Windows, Linux
AiderAsks for confirmation, commits each change to gitNot documentedNot documentedNot documentedaider --messagemacOS, Windows, Linux
AmpRuns tools without askingNone locally. Threads can run in cloud sandboxes called orbsYesSkills, pluginsamp -xmacOS, Linux, Windows through WSL
Cursor CLISet by Run ModemacOS and LinuxYesSkills, rulesagent -pmacOS, Windows, Linux
GitHub Copilot CLIAsks before tools that are not allowedOptional local or cloud sandboxYes, GitHub's server built inSkills, custom agents, hookscopilot -pmacOS, Windows, Linux
Kiro CLIAllow, ask and deny rules with promptsOptional, macOS, Linux, WindowsYesSkills, steering files, custom agentsHeadless modemacOS, Windows, Linux
GooseAutonomous by defaultNot documentedYesSkills, recipesgoose runmacOS, Windows, Linux

"Not documented" means we did not find the feature in the tool's own docs. It does not prove the feature is missing.

How to Choose​

Start from the models you want, then check the safety defaults.

  • You want one vendor's models. Claude Code for Claude, Codex CLI for OpenAI, Antigravity CLI for Gemini.
  • You want to switch models. OpenCode, Aider and Goose run nearly any provider, including local models.
  • You already pay for a tool. A ChatGPT plan includes Codex. Every Copilot plan includes Copilot CLI. A Cursor plan includes Cursor CLI.
  • You run agents unattended. Prefer a tool with an OS sandbox, or run the agent in a container or a cloud sandbox. OpenCode, Amp and Goose run actions without asking by default.

Claude Code​

Anthropic's agent runs in the terminal, VS Code, JetBrains, a desktop app and the browser. Its permission system has six modes and allow and deny rules your team can commit. The OS sandbox is optional. It suits teams that standardize on Claude. See Claude Code vs Codex CLI and Setting Up Claude Code.

Codex CLI​

OpenAI's Apache 2.0 agent sandboxes commands by default on macOS, Linux and Windows, with network off. Every ChatGPT plan includes it, Free included. It suits people who want open source code and safe defaults.

Antigravity CLI and Gemini CLI​

Antigravity CLI is Google's agent for individuals, built on the same core as the Antigravity desktop app. Gemini CLI remains for enterprise Code Assist and API customers. See Claude Code vs Gemini CLI and Antigravity CLI for the details of the move.

OpenCode​

OpenCode is an MIT-licensed agent with a terminal UI, a desktop app and a web app. It connects to almost any provider and loads skills from .claude/skills. It allows every action by default and has no OS sandbox, so set deny rules or isolate it. See OpenCode vs Claude Code.

Aider​

Aider is an Apache 2.0 terminal agent that works with almost any model. It commits each change to git with a generated message, which makes every edit easy to undo. Its most recent release, 0.86.2, came out in February 2026.

Amp​

Amp runs threads on your machine, in cloud machines it calls orbs, or on runners you connect. It picks models for you across vendors. Its free tier charges no token fees when you bring your own keys or subscriptions. It runs tools without asking unless a plugin adds checks.

Cursor CLI​

Cursor's terminal agent is called agent. It shares rules, skills and MCP configuration with the Cursor editor, and reads AGENTS.md and CLAUDE.md. Prepending & to a message hands the task to a cloud agent. See Cursor vs Claude Code.

GitHub Copilot CLI​

Copilot CLI comes with every Copilot plan. It ships with GitHub's MCP server, so it can work with GitHub issues and pull requests. You can also connect your own model provider, including local models through Ollama.

Kiro CLI​

Kiro CLI replaced the Amazon Q Developer CLI. It uses Claude models, reads MCP configuration from the project's .kiro/ folder, and supports custom agents with fixed tool permissions. Its optional command sandbox is off by default.

Goose​

Goose is an Apache 2.0 agent with a desktop app, a CLI and an API. It is part of the Agentic AI Foundation at the Linux Foundation. It runs in Autonomous mode by default, so switch to Manual or Smart Approval with /mode if you want prompts.

Running Several Agents at Once​

Running several of these agents at once needs one checkout per agent, so their edits do not collide. Git Worktrees for AI covers the manual setup, and How to Run Multiple Claude Code Sessions applies it to Claude Code. Treq runs several of these agents in isolated workspaces and stacks dependent tasks for review.

Next Steps​