Open-source AI coding agents (2026)
Coding agents whose source code is public, so you can read it, self-host it and bring your own model API key. Here are the top 25 of 135 from the AgentScout directory.
Updated
How we picked and ranked: tools are matched by category, the pricing each maker states and what each tool says it does. They are ranked by GitHub stars as recorded on each listing (link checks 2026-10-21); tools without a tracked repo follow, by listing maturity. No paid placements.

1. opencode
Open-source terminal coding agent that works with many model providers.
Pricing (as stated): Open source · Active

2. CC Switch
Desktop manager for Claude Code, Codex, Gemini CLI, OpenCode, OpenClaw and other coding agents that switches API providers in one click and manages MCP servers, skills and prompts.
Pricing (as stated): Open source · Mature

3. OpenAI Codex CLI
OpenAI's open-source coding agent for the terminal; also runs in the cloud.
Pricing (as stated): Open source; uses ChatGPT plan or API · Mature

4. Graphify
Turns a codebase plus its docs, SQL schemas, configs and PDFs into a knowledge graph that coding agents can query.
Pricing (as stated): Open source · Mature

5. Pi
Minimal, extensible open-source terminal coding agent and agent toolkit from Earendil, with a multi-provider LLM API, TypeScript SDK, RPC mode and installable extensions, skills and themes.
Pricing (as stated): Open source (MIT); bring your own model provider or subscription · Mature

6. Gemini CLI
Google's open-source terminal agent powered by Gemini.
Pricing (as stated): Open source; free tier · Mature

7. Orca
Agent development environment for running a fleet of parallel coding agents on your own subscriptions and reviewing their work.
Pricing (as stated): Open source · Mature

8. Zed
High-performance, multiplayer code editor from the creators of Atom and Tree-sitter, with built-in AI agent editing for macOS, Linux and Windows.
Pricing (as stated): Open source · Mature

9. OpenHands
Open-source platform for autonomous coding agents.
Pricing (as stated): Open source + paid cloud · Mature

10. Understand-Anything
Turns any codebase, knowledge base or docs folder into an interactive knowledge graph you can explore and question, working inside Claude Code, Codex, Cursor, Copilot and Gemini CLI.
Pricing (as stated): Open source · Mature

11. rtk
A CLI proxy that sits between coding agents and your shell and trims noisy command output before it reaches the model, cutting token use on everyday commands like tests, builds and git. Free and open source, with an RTK Pro tier for teams.
Pricing (as stated): Free and open source (Apache-2.0); RTK Pro adds team features. · Mature

12. Cline
Autonomous coding agent inside VS Code with step-by-step approvals.
Pricing (as stated): Open source · Mature

13. Open Interpreter
Terminal coding agent forked from OpenAI's Codex and tuned for low-cost and open-weight models, with switchable harness modes that imitate tools like Claude Code.
Pricing (as stated): Open source · Mature

14. Warp
Agentic development environment built from the terminal, now open source, for running coding agents and cloud software factories.
Pricing (as stated): Open source + cloud · Mature

15. Goose
Extensible open-source AI agent that installs, runs, edits and tests code on your machine with any LLM and MCP extensions.
Pricing (as stated): Open source · Mature

16. Open Code Review
Alibaba's AI code review CLI that combines deterministic pipelines with an LLM agent to post line-level comments on Git diffs, using OpenAI or Anthropic models.
Pricing (as stated): Open source · Mature

17. Herdr
Runtime for running and managing many coding agents side by side.
Pricing (as stated): Open source · Mature

18. Codewhale
Rust agent engine and terminal coding client with model choice, tool approvals and review flows.
Pricing (as stated): Open source · Mature

19. Oh My Claudecode
Multi-agent orchestration layer for Claude Code that coordinates teams of specialized agents.
Pricing (as stated): Open source · Mature

20. DeepSeek-Reasonix
Coding agent built for complex software engineering tasks on DeepSeek models.
Pricing (as stated): Open source · Mature

21. Oh My Pi
Terminal coding agent with IDE features wired in, from Stencil Labs.
Pricing (as stated): Open source · Mature

22. Tabby
Self-hosted AI coding assistant that offers an on-premises alternative to GitHub Copilot with no database or cloud service required.
Pricing (as stated): Open source + cloud · Mature

23. code-review-graph
Local code knowledge graph built with Tree-sitter that serves compact review context over MCP, so coding agents read only the files a change touches.
Pricing (as stated): Open source · Mature

24. Repomix
CLI and web tool that packs an entire repository into a single AI-friendly file (with an MCP server) so coding agents and LLMs get full codebase context.
Pricing (as stated): Open source · Mature

25. Qwen Code
Open-source terminal coding agent from the Qwen team.
Pricing (as stated): Open source · Mature
FAQ
What are the best open-source AI coding agents?
Ranked by tracked GitHub stars, the top open-source AI coding agents in our directory are opencode, CC Switch, OpenAI Codex CLI, Graphify, Pi. Stars measure popularity, not fit, so compare a few against your own task.
How many open-source AI coding agents does AgentScout list?
135 tools match. This page shows the top 25. Pricing mix on this page: Open source (21), Open source + cloud (4).
How much do these tools cost?
Pricing is what each maker states on their site. Open-source tools are free to self-host but may need a paid model API key or offer paid cloud plans; freemium tools have a free plan with limits. Check each official site.
Where can I see every tool for writing code?
Our task page lists all 391 tools we match to writing code.
Related: All tools for writing code · Best AI Coding Agents · coding (135)
Similar searches: Free AI coding agents with a free plan · AI coding agents for the terminal (CLI)
By role: For open-source maintainers
All popular searches · AI agents by role · Free tools
Related categories: Coding
Facts come from our directory listings; pricing is as each maker states it and can change. Check official sites before you choose.