All alternatives

Open source alternatives to Claude Code

Anthropic's agentic coding CLI that reads and edits a codebase from the terminal. These 5 projects cover the same ground. They are ordered by GitHub stars, with the licence and last commit shown so you can check whether a project is maintained before you move a team onto it.

383.9k stars combined5 projects4 committed in the last 30 daysclaude.com

The shortlist

Highest star count first. Not a review score.

Gemini CLI

AI coding agents 路 TypeScript

109.5k

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

Alternative to Claude Code

Licence
Apache-2.0
Last commit
3 days ago
Repo
google-gemini/gemini-cli

OpenHandsSelf-hosted

AI coding agents 路 TypeScript

94.7k

馃檶 OpenHands: AI-Driven Development

Alternative to GitHub Copilot, Cursor and 1 more

Licence
MIT
Last commit
2 days ago
Repo
OpenHands/OpenHands

ClineSelf-hosted

AI coding agents 路 TypeScript

72k

Autonomous coding agent as an SDK, IDE extension, or CLI assistant.

Alternative to GitHub Copilot, Cursor and 1 more

Licence
Apache-2.0
Last commit
3 days ago
Repo
cline/cline

GooseSelf-hosted

AI coding agents 路 Rust

57.2k

an open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM

Alternative to Claude Code

Licence
Apache-2.0
Last commit
2 days ago
Repo
aaif-goose/goose

Aider

AI assistants & chat 路 Python

50.3k

aider is AI pair programming in your terminal

Alternative to GitHub Copilot, Cursor and 1 more

Licence
Apache-2.0
Last commit
7 months ago
Repo
Aider-AI/aider

Before you switch

Three facts from this list, not a sales pitch.

Activity
4 of 5 projects had a commit in the last 30 days.
Licences
Apache-2.0 (4), MIT (1).
Largest project
Gemini CLI with 109.5k stars, last commit 3 days ago.

Stars and commits read from GitHub on 2 December 2026. A star is a bookmark, not a guarantee; check the licence and run the install on a spare machine before you migrate.

Where to run your pick

Many of these projects ship as a Docker image or a single binary. A small VPS is enough to try one; move to a managed platform when other people depend on it.

Plain links today; paid placements are labelled. Sponsor this page.

Know a project we missed?

Send the repository URL; we check it against GitHub before adding it.

Suggest a project

Source for every listing: GitHub. Not affiliated with Claude Code or the projects listed.