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 280 from the AgentScout directory.
Quick answer: the top picks on this list, ranked by GitHub stars and listing maturity, are opencode, Ponytail and CC Switch, out of 25 tools listed below. At a glance: 25 open-source, 25 free or freemium and 23 local or self-hosted across 25 link-checked tools (last verified ).
Verified on : every tool link on this page was checked by our daily link check. No paid placements.
Ranked comparison (top 10)
| # | Tool | Pricing | Best for | Open source | Runs locally | GitHub stars |
|---|---|---|---|---|---|---|
| 1 | Open source | write code, control a computer | Yes | Self-hosted | 230,681 | |
| 2 | Open source | write code | Yes | Self-hosted | 203,630 | |
| 3 | Open source | write code, control a computer | Yes | 158,760 | ||
| 4 | Open source | write code, build an agent | Yes | Self-hosted | 157,595 | |
| 5 | Open source | write code, give agents memory | Yes | Self-hosted | 156,297 | |
| 6 | Open source | write code, automate the browser | Yes | Self-hosted | 151,538 | |
| 7 | Open source | write code, control a computer | Yes | Offline | 137,128 | |
| 8 | Open source | write code, build an agent | Yes | Self-hosted | 125,292 | |
| 9 | Open source | write code, automate the browser | Yes | Self-hosted | 124,686 | |
| 10 | Open source + cloud | write code | Yes | Self-hosted | 124,460 |
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-12-04); tools without a tracked repo follow, by listing maturity. No paid placements.

1. opencode
OpenCode is an MIT-licensed open-source AI coding agent for the terminal, with a beta desktop app, that works with many model providers instead of locking you to one. Install it with a one-line script, npm, Homebrew, pacman, mise or Nix, then let it read your repository, edit files and run commands from a keyboard-driven TUI.
Pricing (as stated): Free and open source (MIT); bring your own model provider. · Active

2. Ponytail
Ponytail is an MIT-licensed skill for Claude Code and other coding agents that makes them write like a terse senior engineer: only the code a task needs, without cutting validation, error handling, security or accessibility; its published benchmark on 39 tasks reports roughly half the code, time and tokens while more risky logic ships with tests.
Pricing (as stated): Open source · Mature

3. CC Switch
CC Switch is a free, MIT-licensed desktop app for Windows, macOS and Linux that manages Claude Code, Claude Desktop, Codex, Gemini CLI, OpenCode, OpenClaw, Hermes Agent, Pi, Kimi Code and other coding agents from one window. You can switch each agent's API provider in one click, keep MCP servers, skills and system prompts in sync across tools, and stop hand-editing JSON, TOML or YAML config files. Built with Tauri, with frequent releases.
Pricing (as stated): Open source · Mature

4. UI UX Pro Max
UI UX Pro Max is an open-source agent skill that gives coding agents design intelligence for web and mobile UI, with a design-system generator that reasons over your product type and outputs matching styles, colour palettes, font pairings, layout patterns and UX rules for many frameworks.
Pricing (as stated): Open source · Mature

5. Graphify
Graphify is an Apache-2.0 /graphify skill for Claude Code, Cursor, Codex and Gemini CLI that maps a whole project, including code, docs, SQL schemas, configs and PDFs, into a knowledge graph the agent can query instead of grepping through files. Code is parsed locally with tree-sitter, so the map is deterministic, needs no LLM or vector store, and nothing leaves your machine, and every edge in the graph says why it exists. A separate paid Graphify Cloud adds always-on team memory with a 14-day trial.
Pricing (as stated): Free and open source (Apache-2.0); optional paid Graphify Cloud with a 14-day free trial. · Mature

6. Orca
Orca is an MIT-licensed desktop app for running a fleet of coding agents such as Claude Code and Codex in parallel on your own subscriptions, each in its own git worktree, with diffs, a built-in browser and a CLI in one place. You can drive an agent in a chat view or its raw terminal and switch between them without losing context, hand a big task to one agent that splits it across worker agents, and keep agents running on a remote Orca server, any SSH host or a cloud VM after you close your laptop; there are mobile apps too.
Pricing (as stated): Free and open source (MIT); you use your own Claude, Codex or other agent subscriptions. · Mature

7. OpenAI Codex CLI
Codex CLI is OpenAI's Apache-2.0 coding agent that runs locally in your terminal, reading your repository, editing files and running commands, with standalone installers for macOS, Linux and Windows plus npm and Homebrew. The same agent is available as IDE extensions for VS Code, Cursor and Windsurf, a desktop app via codex app, and the cloud-based Codex Web in ChatGPT.
Pricing (as stated): Open source CLI; usage through a ChatGPT plan or OpenAI API key. · Mature

8. Pi
Pi is a minimal, MIT-licensed agent harness from Earendil that runs as a terminal coding agent and doubles as a toolkit for building your own agents. It ships a unified multi-provider LLM API, an agent loop, a TUI, print/JSON and RPC modes and a TypeScript SDK, and deliberately leaves out built-in sub-agents and plan mode: you add behaviour through extensions, skills, prompt templates and themes, bundled as Pi packages shared over npm or git.
Pricing (as stated): Open source (MIT); bring your own model provider or subscription · Mature

9. Taste Skill
Taste Skill is an MIT Agent Skill that pushes coding agents to build polished company websites instead of generic landing pages, enforcing one design system, plain copy, real photos and brand icons, restrained motion, and a browser-based checker and finish gate that verify the rules before a page is done.
Pricing (as stated): Open source · Mature

10. Caveman
Caveman is an Apache-2.0 skill and proxy for coding agents that cuts tokens by making the agent answer in clipped "caveman" prose and read less context, while keeping code exact; it reports about a third fewer input tokens in Claude Code sessions and offers an Auto mode and a hosted Caveman Cloud.
Pricing (as stated): Open source + cloud · Mature

11. Agent Skills (Addy Osmani)
Agent Skills by Addy Osmani packages senior-engineer workflows and quality gates as skills for AI coding agents, with nine slash commands such as /spec, /plan, /build, /test, /review and /ship that walk an agent from idea to production with tests and review at each step.
Pricing (as stated): Open source · Mature

12. Impeccable
Impeccable gives coding agents a design vocabulary: install it into a project and steer with commands such as polish and bolder, review with critique and audit, and catch typical AI-generated design clichés before they ship; works with Claude Code, Cursor, Codex CLI, Copilot, Gemini CLI and more.
Pricing (as stated): Open source · Mature

13. Gemini CLI
Gemini CLI is Google's Apache-2.0 open-source terminal agent that brings Gemini models into your shell to read code, edit files and run commands. As of June 18, 2026 it is aimed at Gemini Code Assist Standard/Enterprise and Code Assist for GitHub users; free individual access and Google AI Pro/Ultra plans moved to Antigravity CLI, and the project says it is not tuned for the Gemini 4 series.
Pricing (as stated): Open source; access through Gemini Code Assist Standard/Enterprise licences. · Mature

14. Archify
Archify is an Apache-2.0 skill for Claude Code, Codex, and Cursor that turns a sentence, a plan, or a whole repository into an interactive HTML diagram you can open, follow, and share. It covers architecture, sequence, data-flow, and several other diagram types. The project is free.
Pricing (as stated): Free and open source (Apache-2.0). Checked 2 Dec 2026. · Mature

15. 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

16. 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

17. OpenHands
OpenHands is an MIT-licensed platform for autonomous coding agents whose Agent Canvas acts as a self-hosted control center: start conversations and automations such as Slack reports or splitting GitHub issues into tasks, and run the OpenHands agent or ACP-compatible agents like Claude Code, Codex, Gemini CLI and OpenCode on local, Docker, VM or company backends, with optional OpenHands Cloud and Enterprise.
Pricing (as stated): Free and open source to self-host; OpenHands Cloud and Enterprise are paid. · Mature

18. 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

19. T3 Code
T3 Code is an open-source control plane for coding agents from the T3 team. It runs Claude Code, Codex, Cursor, OpenCode, Grok Build, Kiro, and other agents on your own machine, with one interface on desktop, web, iOS, and Android. You bring the subscriptions you already pay for. The app does not resell tokens. You can switch models or hand a task from one agent to another in the same thread, including on a machine you reach over your own network. The repository is MIT. GitHub recorded 88,013 stars and 15,264 forks on 3 Dec 2026, and the project site did not list a dollar price for the app.
Pricing (as stated): MIT. The project site did not list a dollar price for the app. You bring the coding-agent subscription you already pay for. Checked 3 Dec 2026. · Mature

20. CodeGraph
CodeGraph builds a local knowledge graph of a codebase and keeps it in sync as the code changes, so a coding agent can pull a smaller, more exact slice of context. The README says the graph stays on your machine. It works with Claude Code, Codex, Cursor, Gemini, and other coding agents. The repository is MIT. GitHub recorded 79,478 stars and 5,317 forks on 3 Dec 2026. The project page checked that day did not list a dollar price.
Pricing (as stated): MIT. Local. No dollar price was listed on the project page or in the README sections checked. Checked 3 Dec 2026. · Mature

21. Cline
Cline is an Apache-2.0 open-source coding agent that runs as a VS Code extension, a JetBrains plugin, a macOS and Windows desktop app, a CLI (npm i -g cline, interactive or headless for CI) and an SDK for building your own agents. It creates and edits files, runs commands, browses the web and uses MCP tools with human-in-the-loop approval for each step, and works with the model provider of your choice.
Pricing (as stated): Open source · Mature

22. 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

23. Warp
Warp is an agentic development environment born out of the terminal, and the project is now open source under AGPL-3.0. You can use Warp's built-in coding agent or bring your own CLI agent such as Claude Code, Codex or Gemini CLI, and the repo also describes Warp Factories, infrastructure for teams to run cloud software factories defined in code. The desktop app is available from warp.dev.
Pricing (as stated): The source repository is free and open source (AGPL-3.0); Warp also offers a hosted product at warp.dev (no price listed in this update). · Mature

24. Hallmark
Hallmark is a design skill for Claude Code, Codex, Cursor and OpenCode that tries to keep a page from looking machine-made. It deals three themes from a catalog of fifty, then builds the page around what the visitor came to do. It lints the result in a real browser for habits such as a label above every heading, one colored word in a headline, or a hero that misses the screen. The README says it was made by Together AI. The repository is MIT.
Pricing (as stated): MIT. The page mentions custom work on request and does not list a dollar price for the skill. Checked 2 Dec 2026. · Mature

25. i-have-adhd
i-have-adhd is a skill that tells a coding agent to lead with the answer. Steps stay numbered, and the filler that usually wraps a reply is cut. The README says you do not need a diagnosis to use it, and that it installs into the coding agent you already run. The repository is MIT. GitHub recorded 64,162 stars and 3,780 forks on 4 Dec 2026. No dollar price was listed.
Pricing (as stated): MIT. No dollar price was listed in the README sections checked. Checked 4 Dec 2026. · 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, Ponytail, CC Switch, UI UX Pro Max, Graphify. Stars measure popularity, not fit, so compare a few against your own task.
How many open-source AI coding agents does AgentScout list?
280 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 1,100 tools we match to writing code.
Related
Similar searches: Free AI coding agents with a free plan · AI coding agents for the terminal (CLI)
By role: For open-source maintainers
Related categories
Facts come from our directory listings; pricing is as each maker states it and can change. Check official sites before you choose.