AgentScout / Best lists / Claude Code alternatives

Claude Code alternatives (2026)

Claude Code is a coding tool: Anthropic's terminal coding agent that edits code, runs commands and handles git. Pricing, as the maker states it: Paid (Claude plan or API). Its GitHub repo has 150,707 stars. We found 182 tools in the directory that do overlapping work (writing code, coding in the terminal); 135 of them are open source and 22 list a free or freemium plan. Below are the 10 closest, ranked by how many tasks and sub-tasks they share with Claude Code, then by GitHub stars.

Updated

Quick comparison Top 10 of 11 listed below. Pricing as the maker states it; blank means we don't have it.

ToolPricingBest forOpen source
FuXiFreeWrite code
ripwireOpen sourceWrite codeYes
ThinkRailOpen sourceWrite codeYes
Mirror CLISee siteWrite code
AmpUsage-basedWrite code
opencodeOpen sourceWrite codeYes
CC SwitchOpen sourceWrite codeYes
OpenAI Codex CLIOpen sourceWrite codeYes
PiOpen sourceWrite codeYes
Gemini CLIOpen sourceWrite codeYes
  1. FuXi logoFuXi (Free): A terminal AI coding agent that edits code, runs commands and works across 30+ model families, with parallel multi-provider inference and cost-aware model routing. Consider it because it lists a free plan; it also covers running many agents in parallel.
  2. ripwire logoripwire (Open source): Zero-dependency CLI and MCP server that gives coding agents a ranked call graph, blast radius and tests-to-run before and after edits. Consider it because it is open source, so you can self-host and inspect it; it also covers voice and phone agents and MCP servers.
  3. ThinkRail logoThinkRail (Open source): JetBrains' lightweight agentic IDE that pairs you with the pi coding agent, with isolated git-worktree workspaces, editor tabs, terminals and diffs. Consider it because it is open source, so you can self-host and inspect it; it also covers code review and running many agents in parallel.
  4. Mirror CLI logoMirror CLI (See site): Reflection AI's terminal coding agent that reads code, edits files and runs commands in isolated git worktrees, using the open-weight Beam model by default. Consider it because it also covers running many agents in parallel and sandboxes and secure execution.
  5. Amp logoAmp (Usage-based): Agentic coding tool for the terminal and editor. Consider it because it also covers IDE and editor agents.
  6. opencode logoopencode (Open source): Open-source terminal coding agent that works with many model providers. Consider it because it is open source, so you can self-host and inspect it; it has more GitHub stars (213,329 vs 150,707).
  7. CC Switch logoCC Switch (Open source): Desktop manager for Claude Code, Codex, Gemini CLI, OpenCode, OpenClaw and other coding agents that switches API providers in one click and manages MCP servers, skills and prompts. Consider it because it is open source, so you can self-host and inspect it; it is ready to use without building anything; it also covers computer and desktop control and MCP servers.
  8. OpenAI Codex CLI logoOpenAI Codex CLI (Open source): OpenAI's open-source coding agent for the terminal; also runs in the cloud. Consider it because it is open source, so you can self-host and inspect it. Claude Code vs OpenAI Codex CLI →
  9. Pi logoPi (Open source): Minimal, extensible open-source terminal coding agent and agent toolkit from Earendil, with a multi-provider LLM API, TypeScript SDK, RPC mode and installable extensions, skills and themes. Consider it because it is open source, so you can self-host and inspect it; it also covers agent frameworks and SDKs and rules, skills and config.
  10. Gemini CLI logoGemini CLI (Open source): Google's open-source terminal agent powered by Gemini. Consider it because it is open source, so you can self-host and inspect it. Claude Code vs Gemini CLI →

Claude Code vs alternatives at a glance

ToolPricingOpen source / licenceGitHub starsGood for
Claude CodePaidProprietary (All rights reserved; Anthropic Commercial Terms of Service)150,707writing code, coding in the terminal
FuXiFreeNo3,341writing code, coding in the terminal
ripwireOpen sourceYes2,455writing code, coding in the terminal
ThinkRailOpen sourceYes961writing code, coding in the terminal
Mirror CLISee siteNo180writing code, coding in the terminal
AmpUsage-basedNo—writing code, coding in the terminal
opencodeOpen sourceMIT213,329writing code, coding in the terminal
CC SwitchOpen sourceMIT145,685writing code, coding in the terminal
OpenAI Codex CLIOpen sourceApache License 2.0129,112writing code, coding in the terminal
PiOpen sourceMIT116,073writing code, coding in the terminal
Gemini CLIOpen sourceApache License 2.0107,334writing code, coding in the terminal

Written comparisons: Aider vs Claude Code · Claude Code vs Cursor · Claude Code vs Gemini CLI · Claude Code vs OpenAI Codex CLI

More: Claude Code listing · All coding tools · All alternatives pages

Related searches: AI coding agents for the terminal (CLI) · Open-source AI coding agents

Alternatives are picked from directory data only: same category plus shared tasks and sub-tasks. Pricing is as each maker states it; GitHub stars as recorded on each listing.

Get the best new AI agents, weekly

One short email with new tools, launches and what's worth trying. Free, unsubscribe anytime.