Best CLI & terminal coding agents
Ship from the terminal: agentic CLIs that edit your repo, run commands, and commit. Last updated 2026-10-19.
- 197.2
- 293.1
OpenAI Codex
Coding agents ★ 130kOpen-source CLI and cloud agent that can work through tasks in parallel.
- 386.3
OpenCode
Coding agents ★ 217kHugely popular open-source, model-agnostic agent with a scriptable API and SDK.
- 480.7
FAQ
What is the best tool for CLI and terminal coding agents?
Our current #1 pick is Claude Code (score 97.2). Best-in-class terminal agent for multi-file changes on real repos.
How are these tools ranked?
Each tool gets an editor's score out of 100 for usefulness to builders, plus a bonus of up to 5 points from GitHub stars for open-source tools. See the About page for details.
Are any of these placements paid?
No. None of the tools on this page are sponsored.
Why use a CLI coding agent instead of an IDE?
CLI agents work in any editor or over SSH, pair naturally with git, and often cost less or run open-source. They're the default for many builders who live in the terminal.
Which CLI coding agent should I try first?
If you want a polished Anthropic-native loop, start with Claude Code. For open-source and bring-your-own-model, try OpenCode or Aider.