Open Source Replacements

Open Source Claude Code Alternatives

Discover community-maintained, privacy-focused open source software tools that can replace Claude Code. Save subscription costs and gain total ownership over your data.

Claude Code logo

Claude Code

Proprietary Software

Autonomous terminal coding assistant by Anthropic that edits multi-file repositories, runs tests, fixes bugs, and executes git commands.

Visit Claude Code Official Website

At a glance: Claude Code alternatives

We list 20 open source replacements for Claude Code in the Developer Tools category. The most starred is Codex CLI, with 135,225 stars under the Apache-2.0 license. Licenses in this list include Apache-2.0, MIT. The most recently updated is T3 Code (last commit Nov 2026). We also list 2 related AI tools and models.

Why Teams Look for Claude Code Alternatives
  • Hard vendor lock-in to Anthropic Claude 3.5 Sonnet / Opus APIs with high token burn rates
  • Inability to switch to open-weights models (DeepSeek-R1, Qwen 2.5 Coder, Llama 3.3) for local offline execution
  • Lack of fine-grained multi-model orchestration (e.g. using cheap models for repo mapping and reasoning models for architectural diffs)
  • Enterprise source code privacy policies prohibiting direct telemetry to single-vendor clouds
Hosting & Inference Reality

Open-source terminal agents (Aider, Cline, Roo Code, OpenCode) are 100% free software. When using cloud models, you pay token costs directly to your API provider with zero markup, or run 100% free offline with local models via Ollama.

Key Selection Factors
  • Multi-model flexibility: Bring Your Own Key (BYOK) for OpenAI, Anthropic, DeepSeek, or local Ollama endpoints
  • Repository awareness: Compact repo map generation (Aider) vs. background embedding indexing
  • Automated Git workflow: Automated atomic commits with descriptive commit messages and test verification
  • Execution safety: Interactive human-in-the-loop confirmation before running terminal bash commands or writing files
Sort:
License:
Codex CLI
AI & Machine Learning
AI

AI coding agent that works inside your terminal

Rust
135,225↑+2704
Apache-2.0
pi logo
pi
AI & Machine Learning
AI

Minimal terminal coding agent you can fully customize

TypeScript
121,923↑+2438
MIT
OpenHands
AI & Machine Learning
AI

Autonomous coding agents that complete real engineering tasks

TypeScript
93,447↑+1869
MIT
Open Interpreter
AI & Machine Learning
AI

Coding agent that runs on local and open-weight models

Rust
68,884↑+1378
Apache-2.0
T3 Code
AI & Machine Learning
AI

AI-powered coding made simple and efficient

TypeScript
59,890↑+1198
MIT
Goose
AI & Machine Learning
AI

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

Rust
56,579↑+1132
Apache-2.0
Qwen Code
AI & Machine Learning
AI

Open source AI coding agent for the terminal and IDE

TypeScript
30,132↑+603
Apache-2.0
Kilo
AI & Machine Learning
AI

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

TypeScript
27,980↑+560
MIT
Aider logo
Developer Tools
AI

AI pair programming terminal assistant in your git repo

PythonGitTerminal+1
27,800↑+1600
Apache-2.0
Grok Build
AI & Machine Learning
AI

AI coding agent and CLI for complex terminal workflows

Rust
27,767↑+555
Apache-2.0
Paseo
AI & Machine Learning
AI

Run coding agents from your phone, desktop, or terminal

TypeScript
24,025↑+480
Apache-2.0
Cline logo
Developer Tools
AI

Autonomous AI coding agent with terminal and file system access

TypeScriptVS CodeNode.js+1
22,400↑+3100
Apache-2.0

AI tools and models

Related AI catalog entries are shown with their own access, license and infrastructure details.

Continue logo
coding
Open Source

The leading open-source AI code copilot extension for VS Code and JetBrains

Tab autocompleteInline code diffsVS Code & JetBrains support
The local software is available under its stated license. Hardware, electricity, hosting, model APIs, and support may incur separate costs.
Open Source

Alibaba open-weight coding models achieving frontier code generation benchmarks

32B open weightsApache 2.0 licenseTop HumanEval scores
Open-weight models under Apache 2.0 license
Migration & Workflow Tutorials

Step-by-Step Guides for Claude Code Replacements

Browse all guides →
coding

Building Full-Stack Web Apps in Hours with Cursor and Supabase

A practical workflow for structuring a React and Supabase app, using an AI coding editor for one feature at a time, and validating the result before deployment.

#cursor#supabase#react
6 min read
Read Guide
coding

Run a Local LLM for Code Review: Setup and Privacy Checks

A practical guide to running a language model on your own hardware and checking which parts of your editor or workflow may still use network services.

#local-llm#privacy#ollama
5 min read
Read Guide