AgentScout / Popular searches / Open-source AI coding agents

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

135 matching tools135 open source135 free or with a free tierMost starred: opencode (★ 213,329)

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 logo

    1. opencode

    codingOpen source★ 213,329 GitHub stars

    Open-source terminal coding agent that works with many model providers.

    Pricing (as stated): Open source · Active

  2. CC Switch logo

    2. CC Switch

    codingOpen source★ 145,685 GitHub stars

    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 logo

    3. OpenAI Codex CLI

    codingOpen source★ 129,112 GitHub stars

    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 logo

    4. Graphify

    codingOpen source★ 127,237 GitHub stars

    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 logo

    5. Pi

    codingOpen source★ 116,073 GitHub stars

    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 logo

    6. Gemini CLI

    codingOpen source★ 107,334 GitHub stars

    Google's open-source terminal agent powered by Gemini.

    Pricing (as stated): Open source; free tier · Mature

  7. Orca logo

    7. Orca

    codingOpen source★ 94,443 GitHub stars

    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 logo

    8. Zed

    codingOpen source★ 91,879 GitHub stars

    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 logo

    9. OpenHands

    codingOpen source + cloud★ 90,845 GitHub stars

    Open-source platform for autonomous coding agents.

    Pricing (as stated): Open source + paid cloud · Mature

  10. Understand-Anything logo

    10. Understand-Anything

    codingOpen source★ 87,175 GitHub stars

    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 logo

    11. rtk

    codingOpen source + cloud★ 84,058 GitHub stars

    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 logo

    12. Cline

    codingOpen source★ 70,289 GitHub stars

    Autonomous coding agent inside VS Code with step-by-step approvals.

    Pricing (as stated): Open source · Mature

  13. Open Interpreter logo

    13. Open Interpreter

    codingOpen source★ 68,591 GitHub stars

    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 logo

    14. Warp

    codingOpen source + cloud★ 65,511 GitHub stars

    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 logo

    15. Goose

    codingOpen source★ 55,347 GitHub stars

    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 logo

    16. Open Code Review

    codingOpen source★ 47,560 GitHub stars

    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 logo

    17. Herdr

    codingOpen source★ 44,377 GitHub stars

    Runtime for running and managing many coding agents side by side.

    Pricing (as stated): Open source · Mature

  18. Codewhale logo

    18. Codewhale

    codingOpen source★ 41,093 GitHub stars

    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 logo

    19. Oh My Claudecode

    codingOpen source★ 39,972 GitHub stars

    Multi-agent orchestration layer for Claude Code that coordinates teams of specialized agents.

    Pricing (as stated): Open source · Mature

  20. DeepSeek-Reasonix logo

    20. DeepSeek-Reasonix

    codingOpen source★ 35,820 GitHub stars

    Coding agent built for complex software engineering tasks on DeepSeek models.

    Pricing (as stated): Open source · Mature

  21. Oh My Pi logo

    21. Oh My Pi

    codingOpen source★ 35,686 GitHub stars

    Terminal coding agent with IDE features wired in, from Stencil Labs.

    Pricing (as stated): Open source · Mature

  22. Tabby logo

    22. Tabby

    codingOpen source + cloud★ 33,913 GitHub stars

    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 logo

    23. code-review-graph

    codingOpen source★ 32,229 GitHub stars

    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 logo

    24. Repomix

    codingOpen source★ 28,881 GitHub stars

    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 logo

    25. Qwen Code

    codingOpen source★ 28,529 GitHub stars

    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.

Get the best new AI agents, weekly

One short email with new tools, launches and what's worth trying. Free, unsubscribe anytime.