R.I.P.

Open-source alternatives to Claude Code

22 open-source options for Claude Code, the AI coding agent. Compare alternatives to paid apps below. 20 shipped code in the last 30 days.

Claude Code Pro$20/molist price

Claude Code runs on Anthropic's subscriptions or API credits, and heavy users hit rate limits or large bills. It only works with Claude models, so you cannot route routine tasks to a cheaper or local model. Some companies cannot send source code to a third-party API at all.

OpenCode is the closest match: a terminal agent that works with dozens of model providers, local ones included. Aider is built around pair programming and commits each change to git with a clear message. Cline lives in VS Code and asks before each file edit or command. Goose, started at Block, reaches past code to general tasks through MCP extensions.

22 open-source alternatives

Most-starred first. Stars and growth come from GitHub; activity comes from the project's code host.

OpenCode
Most starred

AI coding agent for terminal, IDE, and desktop

Stars
230.9k
Growth
+21.5k
Launched
Apr 2025
MITupdated today
OpenCode
#2 by stars

The open source coding agent.

Stars
230.9k
Growth
+11.9k
Launched
Apr 2025
MITupdated today
Codex CLI
#3 by stars

AI coding agent that works inside your terminal

Stars
137.3k
Growth
+7.7k
Launched
Apr 2025
Apache-2.0updated today
pi
#4 by stars

Minimal terminal coding agent you can fully customize

Stars
125.5k
Growth
+17.7k
Launched
Aug 2025
MITupdated today
Gemini CLI
#5 by stars

An open-source AI agent that brings the power of Gemini directly into your terminal.

Stars
109.6k
Growth
+2.1k
Launched
Apr 2025
Apache-2.0updated today
OpenHands
#6 by stars

Autonomous coding agents that complete real engineering tasks

Stars
94.8k
Growth
+6.1k
Launched
Mar 2024
MITupdated today
T3 Code
Recent growth

AI-powered coding made simple and efficient

Stars
88.7k
Growth
+65.4k
Launched
Feb 2026
MITupdated today
Cline
#8 by stars

Open-source AI coding agent for your editor and terminal

Stars
72.1k
Growth
+3.1k
Launched
Jul 2024
Apache-2.0updated today
Open Interpreter
#9 by stars

Coding agent that runs on local and open-weight models

Stars
69k
Growth
+585
Launched
Jul 2023
Apache-2.0updated today
Goose
#10 by stars

General-purpose AI agent for code, workflows, and more

Stars
57.3k
Growth
+2.7k
Launched
Aug 2024
Apache-2.0updated 1d ago
Aider
#11 by stars

AI pair programmer that works inside your terminal

Stars
50.4k
Growth
+1.3k
Launched
May 2023
Apache-2.0updated 6mo ago
Qwen Code
#12 by stars

Open source AI coding agent for the terminal and IDE

Stars
31.1k
Growth
+2.6k
Launched
Jun 2025
Apache-2.0updated today
Crush
#13 by stars

Glamourous agentic coding for all

Stars
29.3k
Growth
+549
Launched
May 2025
Custom licenseupdated today
Kilo
#14 by stars

AI coding agent for VS Code, JetBrains, CLI, and Cloud

Stars
28.2k
Growth
+812
Launched
Mar 2025
MITupdated today
Grok Build
#15 by stars

AI coding agent and CLI for complex terminal workflows

Stars
28.1k
Growth
+1.2k
Launched
Jul 2026
Apache-2.0updated 2mo ago
Paseo
#16 by stars

Run many coding agents in parallel, from desktop or phone

Stars
27k
Growth
+9.1k
Launched
Oct 2025
Custom licenseupdated today
Orchestrator.inc
#17 by stars

Manage coding agents across branches, CI runs and PR reviews

Stars
15.4k
Growth
52/day
Launched
Feb 2026
Apache-2.0updated today
Forgecode
#18 by stars

Terminal-native AI coding agent built on ZSH

Stars
7.6k
Growth
+1
Launched
Dec 2024
Apache-2.0updated today
Synara
#19 by stars

Code with Claude, Codex, Gemini, and more in one workspace

Stars
2.4k
Growth
+559
Launched
Mar 2026
MITupdated today
Zero
#20 by stars

Terminal coding agent with full model and data control

Stars
1.8k
Growth
+110
Launched
May 2026
MITupdated 1d ago
Jean
#21 by stars

Parallel AI agent workspaces with Git and project context

Stars
1.5k
Growth
+162
Launched
Jan 2026
Apache-2.0updated 2d ago
CodeAF
Recently created

Run a crew of coding agents on open models from one window

Stars
888
Growth
7/day
Launched
Aug 2026
Apache-2.0updated today
Missing an alternative to Claude Code?Submit a project for review.

What you give up by leaving Claude Code

The honest part. Free and open usually costs something else.

  • Model quality matters An agent is only as good as its model, and many open models still trail Claude on long coding tasks.
  • Token bills remain Bring-your-own-key means paying a provider per token, which can exceed a flat plan for heavy use.
  • Less tuned workflow Claude Code's prompts, subagents and hooks are tuned for Claude; recreating that takes configuration.
  • Community support Help comes from GitHub issues and community chats, not a vendor support team.

All AI & Agents

Esc

Type to search every entry. ↑↓ to move, Enter to open.

Your cart

Nothing in here yet. The receipt is blank for once.

Browse the gift shop