Alternatives · 12 tools
Codex alternatives
The main alternatives to Codex are open-source agents opencode, Gemini CLI, Aider, Cline, goose, Pi, Qwen Code and Crush, and the products Claude Code, Cursor (Anysphere), Amp and Factory. Each is listed with its license or company facts and, where we have assessed it, who it suits and what to watch out for.
Listed open source first, then products, in no order of merit. About Codex: OpenAI's terminal coding agent.
Claude Code
Source available · Proprietary (Anthropic Commercial Terms) · ≈157k GitHub stars · TypeScript
Anthropic's agentic coding tool for the terminal, IDE and GitHub.
- Suits:
- Developers who want the most capable out-of-the-box coding agent with Claude models and a deep extension surface.
- Watch out for:
- You are locked to Anthropic's quotas and terms; plan for usage caps and measure the context overhead.
Assessed Oct 29, 2026, with sources on the profile.
opencode
Open source · MIT · ≈230k GitHub stars · TypeScript
The open source coding agent — terminal-first, model-agnostic.
- Suits:
- Developers who want a model-agnostic terminal agent with low prompt overhead and per-subagent model choice.
- Watch out for:
- Run it inside your own sandbox and set your own small model for auxiliary calls, so prompts don't leave your machine by default.
Assessed Oct 29, 2026, with sources on the profile.
Gemini CLI
Open source · Apache-2.0 · ≈109k GitHub stars · TypeScript
Google's open-source terminal agent, now maintained for Gemini Code Assist Standard and Enterprise users.
- Suits:
- Google Cloud teams on Gemini Code Assist who want an Apache-2.0 terminal agent.
- Watch out for:
- Individual users are being steered to Antigravity CLI, and newer Gemini models are tuned for that tool rather than this one.
Assessed Oct 29, 2026, with sources on the profile.
Cursor (Anysphere)
Product · San Francisco, CA · founded 2022 · Growth
The AI-native code editor where agent mode lives.
- Suits:
- Teams that want a polished AI IDE with cloud agents and accept usage-based spend.
- Watch out for:
- Fast-rising per-token costs and post-acquisition product direction.
Assessed Oct 29, 2026, with sources on the profile.
Aider
Open source · Apache-2.0 · ≈50k GitHub stars · Python
AI pair programming in your terminal.
- Suits:
- Developers who want a controlled, git-native pair programmer with explicit file context and any model.
- Watch out for:
- Slowing development and a less agentic loop than current harnesses.
Assessed Oct 29, 2026, with sources on the profile.
Cline
Open source · Apache-2.0 · ≈72k GitHub stars · TypeScript
Autonomous coding agent as an IDE extension, SDK or CLI.
- Suits:
- VS Code users who want a transparent, model-agnostic agent with human-in-the-loop plan/act.
- Watch out for:
- Compaction and tool reliability on long tasks, and token costs when you bring your own key.
Assessed Oct 29, 2026, with sources on the profile.
goose
Open source · Apache-2.0 · ≈57k GitHub stars · Rust
An open source, extensible AI agent for development and beyond.
- Suits:
- Teams that want a vendor-neutral, foundation-governed, MCP-first agent.
- Watch out for:
- Most public criticism dates from 2025, so trial the current release against Claude Code and OpenCode before standardising.
Assessed Oct 29, 2026, with sources on the profile.
Pi
Open source · MIT · ≈124k GitHub stars · TypeScript
A minimal, steerable coding agent and toolkit.
- Suits:
- Engineers who want a small, auditable, token-efficient harness to build on or embed.
- Watch out for:
- Run it in a container or VM, because Pi itself does not sandbox or gate tool calls.
Assessed Oct 29, 2026, with sources on the profile.
Qwen Code
Open source · Apache-2.0 · ≈31k GitHub stars · TypeScript
Alibaba's official terminal coding agent.
Crush
Open source · FSL-1.1-MIT · ≈29k GitHub stars · Rust
Charm's terminal coding agent — the pretty, hackable harness.
Amp
Product · founded 2025
Frontier coding agent that runs each thread in its own remote machine.
Factory
Product · San Francisco, CA · founded 2023
Droids: AI workers for software teams.
- Suits:
- Engineering teams that want one model-agnostic coding agent across CLI, IDE and background cloud runs.
- Watch out for:
- Long Missions can hit the rolling rate limits and run up Extra Usage charges.
Assessed Oct 29, 2026, with sources on the profile.