Skip to content
agentscamp

Claude Code Alternatives

22 alternatives to Claude Code — free and paid AI tools covering similar jobs, with pricing, trade-offs, and standout strengths.

Full comparison: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)

Looking for an alternative to Claude Code? Claude Code is listed under CLI (paid). The 22 tools below cover similar jobs, closest matches first — the table compares pricing, license, and platforms so you can shortlist quickly, and each entry further down adds a fuller summary and a link to the full profile.

ToolPricingLicensePlatformsCategory
Aideropen sourceApache-2.0macOS, Windows, LinuxCLI
Codex CLIopen source——CLI
Gemini CLIopen source——CLI
Ampfreemium——Agent
Cursorfreemium——IDE
CrushfreeFSL-1.1-MITmacOS, Windows, Linux, AndroidCLI
OpenCodeopen sourceMITmacOS, Windows, LinuxCLI
Qwen Codeopen sourceApache-2.0macOS, Windows, LinuxCLI
Spec Kitopen sourceMITmacOS, Windows, LinuxCLI
Claude Contextopen sourceMITmacOS, Windows, LinuxMCP
Claude Coworkpaid—macOS, Windows, Linux, Web, iOS, AndroidAssistant
Clineopen sourceApache-2.0—Extension
Desktop Commanderopen sourceMITmacOS, Windows, LinuxMCP
Devinfreemium——Agent
Factorypaid——Agent
Gooseopen source——Agent
Julesfreemium—WebAgent
Juniefreemium—macOS, Windows, LinuxAgent
Kirofreemium—macOS, Windows, Linux, WebIDE
Repomixopen sourceMITmacOS, Windows, LinuxMCP
Serenaopen sourceGPL-3.0-or-latermacOS, Windows, LinuxMCP
Warpfreemium——Terminal

Free and open-source alternatives to Claude Code

Claude Code alternatives in detail

  1. Aider

    open sourceApache-2.0macOS, Windows, LinuxCLI

    Aider is a free, Apache-2.0 terminal tool for AI pair programming. Run it inside a Git repository, describe a change, and it edits the files and commits each change, so /undo or git revert takes anything back. You bring an API key for Claude, GPT, DeepSeek or a local model. Releases have slowed: the latest on PyPI is 0.86.2, from February 2026.

    Read: Aider vs Claude Code: Open-Source vs Anthropic's Agent (2026)

    Read: AI Coding Agents in 2026: The Open-Source & CLI Edition

    Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)

  2. Codex CLI

    open sourceCLI

    Codex CLI is OpenAI's open-source (Apache-2.0) terminal coding agent: it reads files, edits them on disk, and runs shell commands in an OS-level sandbox with network off by default and, in trusted folders, workspace-scoped writes. Sandbox modes and approval policies control what it can do and when it must ask; sign in with a ChatGPT plan or API key.

    Read: Claude Code vs Codex CLI: Terminal Agents Compared (2026)

    Read: Claude vs GPT vs Gemini for Coding in 2026

    Read: Best Background & Async Coding Agents in 2026: Devin vs Claude Code vs Codex vs Cursor

    Read: AI Coding Agents in 2026: The Open-Source & CLI Edition

    Read: The Best GitHub Copilot Alternatives in 2026 (Free and Paid)

    Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)

  3. Gemini CLI

    open sourceCLI

    Gemini CLI is Google's open-source (Apache-2.0) terminal agent for Gemini models, with file and shell tools, Google Search grounding, MCP, and GEMINI.md files. There is no free tier: since June 18, 2026 it serves only Gemini Code Assist Standard and Enterprise licenses and paid API keys. Google points everyone else, and Gemini 4 users, to Antigravity CLI.

    Read: Claude Code vs Gemini CLI: Which Terminal Agent (2026)

    Read: Claude vs GPT vs Gemini for Coding in 2026

    Read: AI Coding Agents in 2026: The Open-Source & CLI Edition

    Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)

  4. Amp

    freemiumAgent

    Amp is an agentic coding tool that spun out of Sourcegraph in December 2025: a CLI plus apps for the web, Mac, iPhone, and iPad that run frontier models to read, edit, and run commands across a repository. Subagents parallelize independent sub-tasks, the Oracle adds a second-opinion reasoning model, and threads can be shared with a workspace.

    Read: Best Background & Async Coding Agents in 2026: Devin vs Claude Code vs Codex vs Cursor

    Read: The Best GitHub Copilot Alternatives in 2026 (Free and Paid)

    Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)

  5. Cursor

    freemiumIDE

    Cursor is an AI code editor forked from VS Code, with an Agents Window for parallel agents, cloud agents, and a CLI. SpaceX acquired it in August 2026, and plans now share one subscription with Grok and X: Free, Plus, Premium, Super and Ultra. Paid plans include a weekly pool of Grok and Composer usage; Claude, GPT and Gemini bill separately.

    Read: Claude Code vs Cursor: Which AI Coding Tool in 2026?

    Read: Cursor vs Claude Code vs GitHub Copilot vs Windsurf in 2026

    Read: Best Background & Async Coding Agents in 2026: Devin vs Claude Code vs Codex vs Cursor

    Read: AI Coding Agents in 2026: The Open-Source & CLI Edition

    Read: The Best GitHub Copilot Alternatives in 2026 (Free and Paid)

    Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)

  6. Crush

    freeFSL-1.1-MITmacOS, Windows, Linux, AndroidCLI

    Crush is Charm's free terminal coding agent. It continues opencode-ai/opencode (archived; last push September 2025), not today's OpenCode. It runs nearly any model, including local ones, switches models mid-session and adds LSP context, MCP and Agent Skills. It is source-available under FSL-1.1-MIT, not OSI open source; releases turn MIT after two years.

    Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)

  7. OpenCode

    open sourceMITmacOS, Windows, LinuxCLI

    OpenCode is an MIT-licensed open-source coding agent from Anomaly (formerly SST) with about 229,600 GitHub stars as of November 2026. OpenCode 2 runs as a terminal TUI, desktop app and mobile app, works with 200+ model providers including local ones, and runs parallel sessions. Bring your own keys or use the optional OpenCode Console or Go plans.

    Read: Claude Code vs OpenCode: First-Party vs Open Source (2026)

    Read: Aider vs Claude Code: Open-Source vs Anthropic's Agent (2026)

    Read: Cline vs Kilo Code vs Roo Code (2026): Which to Use After Roo's Shutdown

    Read: AI Coding Agents in 2026: The Open-Source & CLI Edition

    Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)

  8. Qwen Code

    open sourceApache-2.0macOS, Windows, LinuxCLI

    Qwen Code is the Qwen team's free, Apache-2.0 coding agent, originally forked from Gemini CLI. It speaks OpenAI, Anthropic, Gemini and Qwen APIs, runs local models via Ollama or vLLM, and ships subagents, hooks, MCP and plan mode. The free Qwen OAuth quota ended April 15, 2026, so bring an API key, an Alibaba Cloud plan or a local model.

    Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)

  9. Spec Kit

    open sourceMITmacOS, Windows, LinuxCLI

    Spec Kit (GitHub, MIT, about 152k stars as of November 2026) productized spec-driven development: specify init scaffolds a project, then /speckit.constitution, .specify, .plan, .tasks, .implement and .converge walk your coding agent through the pipeline, each phase emitting a markdown artifact that feeds the next. It works with 40+ agent integrations.

  10. Claude Context

    open sourceMITmacOS, Windows, LinuxMCP

    Claude Context is Zilliz's MIT-licensed MCP server for semantic code search. It indexes your repository into Milvus or Zilliz Cloud using AST-based chunking, then answers natural-language queries with hybrid BM25 and dense-vector search through four tools. It runs locally over stdio and needs Node.js 20+, an embedding provider, and a vector database.

  11. Claude Cowork

    paidmacOS, Windows, Linux, Web, iOS, AndroidAssistant

    Claude Cowork is Anthropic's agent for non-coding work. Since September 16, 2026 it has been merging into Claude itself, which brings in Cowork's capabilities when a task involves your files. It launched January 12, 2026; the unified Claude reached general availability for Enterprise on October 23, 2026 and Team on November 12, 2026.

    Read: Claude Free vs Pro vs Max vs Team (2026): Which Plan Unlocks What

  12. Cline

    open sourceApache-2.0Extension

    Cline is an Apache-2.0 coding agent that runs as a VS Code extension, a JetBrains plugin, a terminal CLI (npm i -g cline) and a desktop app. It plans in Plan mode, then edits files and runs commands in Act mode, asking approval at each step. The agent is free; you pay for inference through your own key, Cline's at-cost provider, or ClinePass.

    Read: Cline vs Kilo Code vs Roo Code (2026): Which to Use After Roo's Shutdown

    Read: AI Coding Agents in 2026: The Open-Source & CLI Edition

    Read: The Best GitHub Copilot Alternatives in 2026 (Free and Paid)

    Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)

  13. Desktop Commander

    open sourceMITmacOS, Windows, LinuxMCP

    Desktop Commander is an MIT-licensed MCP server that gives Claude terminal control, file system search, and diff-based file editing. Built on the MCP Filesystem Server with extra search-and-replace editing, it turns a chat client like Claude Desktop into something closer to a coding agent. It installs through npx and needs Node.js 18 or newer.

  14. Devin

    freemiumAgent

    Devin is Cognition's autonomous AI software engineer. You hand it a task — a bug, refactor, or ticket — and it works unattended in a sandboxed cloud VM with an editor, terminal, and browser, then opens a pull request you review. Trigger it from Slack, Teams, or Linear, run sessions in parallel, and pay through usage quotas plus prepaid on-demand credits.

    Read: Best Background & Async Coding Agents in 2026: Devin vs Claude Code vs Codex vs Cursor

    Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)

  15. Factory

    paidAgent

    Factory is an agent-native software development platform. Its autonomous coding agents, called Droids, plan, write, test, and ship code across the terminal (Droid CLI), IDE, and web, pulling in organizational context from GitHub, Jira, Slack, and your codebase. It targets individual developers and enterprise engineering teams.

    Read: Best Background & Async Coding Agents in 2026: Devin vs Claude Code vs Codex vs Cursor

    Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)

  16. Goose

    open sourceAgent

    Goose is an open-source (Apache-2.0), general-purpose AI agent that runs entirely on your machine — it executes shell commands, edits files, runs tests, and chains multi-step tasks. MCP-native with 70+ documented extensions and model-agnostic across 15+ providers including local models, it ships as a Rust CLI and a desktop app for macOS, Linux, and Windows.

    Read: AI Coding Agents in 2026: The Open-Source & CLI Edition

    Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)

  17. Jules

    freemiumWebAgent

    Jules is Google Labs' asynchronous coding agent, free for up to 15 tasks a day. You connect a GitHub repo and describe a task; Jules works in a Google-hosted VM, proposes a Gemini-built plan, shows diffs for approval and opens a pull request. It is proprietary and labeled experimental, and its changelog's latest entry is March 9, 2026.

    Read: Best Background & Async Coding Agents in 2026: Devin vs Claude Code vs Codex vs Cursor

    Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)

  18. Junie

    freemiummacOS, Windows, LinuxAgent

    Junie is JetBrains' AI coding agent. Its IDE plugin is retiring: it is already off in 2026.3 IDEs and stops working in 2026.2 on December 3, 2026, as Junie moves into JetBrains Air with your account, AI plan and .junie/ files. Junie CLI keeps running in any terminal and in CI, and Junie Lite is a free model tier as of November 2026.

  19. Kiro

    freemiummacOS, Windows, Linux, WebIDE

    Kiro is AWS's spec-driven coding agent for the IDE, terminal and web, with a free plan. It turns a prompt into requirements, a design and sequenced tasks, then checks the code against them with property-based tests. It is proprietary, and one agent harness carries specs, hooks and MCP servers across the IDE, the kiro-cli agent and Kiro Web.

    Read: The Best GitHub Copilot Alternatives in 2026 (Free and Paid)

    Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)

  20. Repomix

    open sourceMITmacOS, Windows, LinuxMCP

    Repomix is an MIT-licensed tool that packs an entire repository, local or on GitHub, into one AI-friendly file. Use it as a CLI, or as an MCP server (repomix --mcp) whose tools pack a codebase and let the agent grep and read the output in slices, with optional Tree-sitter compression and secret detection. It needs Node.js 22+ or Docker.

  21. Serena

    open sourceGPL-3.0-or-latermacOS, Windows, LinuxMCP

    Serena is an MCP server that gives coding agents symbol-level tools backed by language servers: find a symbol, list its references, replace its body, rename it, across 40+ languages. Version 2.0 in October 2026 moved the application from MIT to GPL-3.0-or-later and added a REPL interface where one tool runs Python against Serena's operations.

  22. Warp

    freemiumTerminal

    Warp is an AI-powered terminal whose agent can plan, run, and chain commands while you approve what executes. Output is grouped into navigable blocks, workflows share vetted commands, and the agent grounds itself in your indexed codebase. A standalone Warp Agent CLI followed in August 2026. The client is open source (mostly AGPL-3.0), with a free tier.

    Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)