Codex is OpenAI's coding agent for software development across the Codex app, editor, terminal, and cloud tasks. It helps write, review, debug, refactor, and automate code, with ChatGPT plan access for managed surfaces and API-key usage for CLI, SDK, and IDE workflows. The open-source CLI and SDK support local repository work, while cloud features add GitHub review, Slack/Linear integrations, worktrees, skills, MCP, and automations.
Best Claude Code Alternatives
10 editor-verified alternatives · Claude Code overview →
source: tools.alternatives · stored order · active records only; review scores are annotations and never change membership or order
Pi Coding Agent is an MIT-licensed Node.js CLI from earendil-works for building and running coding agents in a local terminal. The current package describes a read/bash/edit/write toolset and session management, while the repo positions Pi as a unified LLM API, agent loop, TUI, and coding-agent CLI. It is best framed as a lean, self-extensible BYO-model toolkit rather than a managed IDE.
Open-source terminal-based AI coding agent built in Go by the SST team, with a rich TUI (Bubble Tea) supporting 75+ model providers including OpenAI, Anthropic, Gemini, Bedrock, Groq, and OpenRouter. Features vim-like editing, persistent SQLite sessions, and LSP integration for 40+ languages. Fully free with no vendor lock-in, it has rapidly grown to 95k+ GitHub stars.
System of specialized AI Droids — Code, Knowledge, Reliability, and Product — each optimized for specific development tasks. Ranked #1 on Terminal-Bench with 58.75% score. BYOK model with support for Anthropic and OpenAI models. Enterprise-focused approach that treats AI coding as a team of specialized agents rather than a single general-purpose assistant.
Terminal-based AI coding agent from Moonshot AI, powered by Kimi K2.5 with a 256K context window that achieves 76.8% on SWE-Bench Verified. Reads and edits code, executes shell commands, fetches web pages, and autonomously plans multi-step development workflows through natural language. Moonshot's entry into the AI coding agent market, leveraging their strength in large-context language models.
LSP-enhanced terminal coding agent from Charmbracelet with the broadest cross-platform support including Android. Features mid-session model switching and MCP extensibility for custom tool integration. Combines the elegance of Charmbracelet's TUI toolkit with practical coding assistance, offering a polished terminal experience for developers on any platform.
Grok Build is xAI's terminal-first coding agent for planning, editing, testing, and reviewing code from a local CLI. The early beta exposes subagent controls, worktree mode, headless JSON output, best-of-N parallel attempts, sandbox profiles, and experimental memory. It fits developers comparing Claude Code, Codex, and Gemini CLI for local agentic workflows with deeper parallel execution.
ZCode is Z.ai’s Agentic Development Environment for GLM-5.2 coding workflows. The desktop app combines a first-party coding agent, goal mode, model/provider setup, MCP server management, Git and terminal context, remote phone control, usage stats and safety confirmation modes so developers can plan, implement, review and iterate on long-running software tasks from one workspace.
Amp Frontier Corporation's multi-model coding agent for terminal, web, and IDE-connected workflows. It uses GPT-5.6, Claude Fable 5, and fast models across low, medium, high, and ultra modes, with subagents, an Oracle second-opinion model, shared threads, remote orbs, MCP, and plugins. Pricing combines a daily free credit grant, $20/$200 monthly subscriptions, and optional pay-as-you-go credits.
Gemini CLI is Google's open-source terminal agent for coding with Gemini models, shell/file tools, web fetching, Google Search grounding, and MCP extensions. As of 18 June 2026, unpaid tier and Google One users are being moved to Antigravity CLI; supported Standard, Enterprise, and Google Cloud access paths remain the safer fit for teams.
Open-source Claude Code alternatives
Pi, OpenCode, Kimi Code, Gemini CLI — see all open-source developer tools.
Free Claude Code alternatives
Claude Code head-to-head
- Claude Code vs Kimi Code: Mature Agent Workflow vs Lower-Cost Kimi Flexibility →
- Amp vs Claude Code: Multi-Model Agents or Claude-Native Workflow Depth →
- Claude Code vs Amazon Q Developer: Actively Growing Terminal Agent vs Sunsetting AWS Assistant →
- Pi Coding Agent vs Claude Code: Minimal Agent Harness or Production Coding CLI? →
- Augment Code vs Claude Code — Monorepo Context vs Terminal-Native Agent →
- Claude Code vs Roo Code — Terminal Agent Depth vs Editor-Native Control →
- Qwen Code vs Claude Code: Open-Weight CLI Agent or Anthropic’s Established Coding Workflow? →
- Factory Droid vs Claude Code: Enterprise Agent System or Terminal Coding CLI? →
- Cursor vs Claude Code: AI-First IDE or Terminal-Native Coding Agent? →
- Grok Build vs Claude Code: xAI Terminal Agent or Anthropic Coding Workflow? →
FAQ
What is the best Claude Code alternative?
Codex tops our editor-verified list of 10 Claude Code alternatives, scoring 80/100 in our hands-on review.
Are there open-source Claude Code alternatives?
Yes — Pi, OpenCode, Kimi Code, and more are open source.
Are there free Claude Code alternatives?
Yes — Codex, Crush, ZCode offer a free plan or free tier.