Open-sourcealternatives to Claude Code

About
The open-source alternatives to Claude Code in the Prosper collection are OpenCode, Codex CLI, Pi, Open Interpreter, goose, Aider, Qwen Code, Grok Build and ForgeCode.
Alternatives
9
Most stars
OpenCode ★ 229k
GitHub stats
Updated daily
Page updated

Choosing an alternative to Claude Code

Claude Code is one of the strongest coding agents, and open-source agents give you a similar workflow while letting you choose any model, including local ones. OpenCode is the closest match, with a terminal and desktop app. Aider is great if you want every change committed to git, and Goose goes beyond code into general tasks on your computer.

Compared

Ranked by GitHub stars
  1. No. 072OpenCodeAI coding agent for the terminal and desktop, with Claude, GPT, Gemini and local modelsBest for a coding agent in the terminal that works with any modelOpenAI Codex★ 229k
  2. No. 212Codex CLIOpenAI's open-source coding agent that runs in your terminalBest for running OpenAI's models as a coding agent in the terminal—★ 136k
  3. No. 120PiMinimal, extensible coding agent for the terminalBest for a minimal coding agent you can extend—★ 124k
  4. No. 213Open InterpreterOpen-source terminal coding agent built for low-cost and open modelsBest for a terminal coding agent on low-cost or open models—★ 69k
  5. No. 087gooseOpen-source, general-purpose AI agent for your desktop and terminalBest for an AI agent for everyday computer tasks beyond codeOpenAI Codex★ 57k
  6. No. 215AiderOpen-source AI pair programmer for your terminal that commits every change to gitBest for pair programming where every change is a Git commitGitHub Copilot★ 50.3k
  7. No. 153Qwen CodeOpen-source AI coding agent for your terminalBest for running Qwen models as a coding agent in the terminalOpenAI Codex★ 30.9k
  8. No. 094Grok BuildxAI's open-source AI coding agent for the terminalBest for running xAI's models as a coding agent in the terminalOpenAI Codex★ 27.9k
  9. No. 096ForgeCodeAI coding agent for your terminal, with one-shot commands and a Zsh plugin for any model providerBest for one-shot AI commands from the terminalOpenAI Codex★ 7.6k

In the collection

Whole collection

More open-source alternatives

All alternatives