Skip to content
The Daily Repo

Open-source Claude Code alternatives: coding agents (2026)

Our pick

Start with Qwen Code if you want a terminal coding agent that is open source and not tied to one model. It works with OpenAI, Anthropic, Gemini and Qwen APIs, and with local models through Ollama or vLLM. It installs with npm install -g @qwen-code/qwen-code@latest and needs Node.js 22 or newer. It is Apache-2.0 licensed. The table shows its last commit and latest release, and how the other agents compare.

Best for

The repos compared

Checked on Nov 25, 2026: the oldest day any repo in the table was last read from GitHub.

Open-source Claude Code alternatives: coding agents (2026): repos compared
RepoStarsLast commitLatest releaseLicenceNeeds
QwenLM / qwen-code

A coding agent that runs in your terminal.

31,075
GitHub (opens in new tab)
Active Dec 2, 2026sdk-typescript-v0.1.40, Nov 28, 2026Apache-2.0
aaif-goose / goose

An extensible AI agent that installs, runs, edits and tests code.

57,214
GitHub (opens in new tab)
Active Dec 1, 2026v1.61.1, Nov 26, 2026Apache-2.0
codewhale-hq / Codewhale

A terminal coding agent written in Rust that works with any model.

41,219
GitHub (opens in new tab)
Active Dec 1, 2026v0.10.4, Nov 23, 2026MIT
Nano-Collective / nanocoder

A terminal coding agent built by a community collective.

2,594
GitHub (opens in new tab)
Active Dec 1, 2026v1.32.0, Nov 4, 2026Custom
can1357 / oh-my-pi

A coding agent with the IDE wired in.

40,323
GitHub (opens in new tab)
Active Dec 2, 2026v19.4.0, Nov 30, 2026MIT
OpenHands / OpenHands

An AI agent for software development.

94,706
GitHub (opens in new tab)
Active Dec 2, 2026v1.47.0, Nov 29, 2026MIT
google-gemini / gemini-cli

An AI agent that brings Gemini into your terminal.

109,501
GitHub (opens in new tab)
Active Dec 1, 2026v0.71.1, Nov 24, 2026Apache-2.0
twinnydotdev / twinny

A coding assistant for VS Code: agent, code completion, chat, edits and reviews.

3,712
GitHub (opens in new tab)
Active Nov 30, 2026v4.0.20, Sep 22, 2026MIT
anomalyco / opencode

An open-source AI coding agent.

230,496
GitHub (opens in new tab)
Active Dec 2, 2026v1.19.6, Nov 17, 2026MIT
cline / cline

A coding agent that runs in your IDE, terminal or desktop app, and as an SDK.

72,031
GitHub (opens in new tab)
Active Dec 1, 2026v4.1.27, Nov 21, 2026Apache-2.0
openai / codex

A coding agent from OpenAI that runs locally on your computer, in the terminal.

137,017
GitHub (opens in new tab)
Active Dec 2, 2026rust-v0.172.0, Nov 24, 2026Apache-2.0
Aider-AI / aider

Lets you pair program with LLMs in your terminal, on a new or existing codebase.

50,339
GitHub (opens in new tab)
Inactive May 22, 2026v0.86.0, Aug 9, 2025Apache-2.0

Install commands

Copied from each repo. Read its setup steps before you run anything.

QwenLM/qwen-code

curl -fsSL https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.sh | bash

codewhale-hq/Codewhale

winget install --id HunterBown.CodeWhale --exact --source winget
# Windows x64
npm install -g codewhale
# wraps the same release binaries
cargo install codewhale-cli --locked
# builds from source; can trail GitHub Releases

Questions

What is an open-source alternative to Claude Code?

Open-source coding agents such as Qwen Code, goose, Codewhale and nanocoder run in your terminal, like Claude Code does. You choose the model provider. oh-my-pi supports 60 or more providers, and OpenHands can also run other agents.

Can these agents use local models?

Yes. Qwen Code works with local models through Ollama or vLLM. nanocoder works with Ollama. goose can load local models directly, without a separate model server. twinny runs against Ollama, LM Studio or llama.cpp. Codewhale offers a local model when an Ollama server answers.

Are these alternatives free?

Each one publishes its code, and the Licence column shows each licence. Using one can still cost money or need an account. Gemini CLI is for organisations with Gemini Code Assist Standard or Enterprise licences or Code Assist for GitHub, and twinny has a paid team gateway after five developers. A hosted model API usually charges for use.

Can I use Claude models in these agents?

Several connect to Anthropic. Qwen Code supports the Anthropic API, goose lists Anthropic among its providers, and nanocoder lists Anthropic among the APIs it works with. OpenHands can also run Claude Code as a third-party agent.

What happened to Gemini CLI as a free option?

Gemini CLI is an open-source terminal agent for Gemini Code Assist workflows on Google Cloud. Free individual access and Google AI Pro and Ultra moved to Antigravity CLI. Check the Gemini CLI project page for the current terms.

More

Type to search.

Try