Best AI agents for terminal coding

Listed alphabetically; we don't rank paid placements.

Aider

Open-source AI pair programmer in the terminal that commits changes to git.

Free and open source (you pay your own LLM API costs)

Claude Code

Terminal coding agent from Anthropic that reads, edits and runs code in your repo.

Included with Claude Pro ($20/mo monthly, $17/mo annual) and Max (from $100/mo)

Gemini CLI

Open-source terminal agent from Google powered by Gemini.

Free and open source (you pay your own LLM API costs)

OpenAI Codex

OpenAI's coding agent in the CLI, IDE and cloud.

Free $0; Go $8/mo; Plus $20/mo; Pro from $100/mo; Business $20/user/mo