Open-source coding agents
Coding agents with public source code that work with the model provider of your choice.
By weekly package downloads, the leaders are OpenAI Codex (26.6M), Pi (6.4M), OpenCode (3.9M). By VS Code extension installs, the leaders are OpenAI Codex (16.9M), Cline (6M), Kilo Code (1.7M). By GitHub stars, the leaders are OpenCode (228K), OpenAI Codex (136K), Pi (123K). Among agents with at least 20,000 downloads in the last 30 days, the fastest grower is PR-Agent, with downloads up 104%. As of Nov 20, 2026.
-
2
84 26.6M up 7.4% 136K 7d ago 26.6M downloads a week up 7.4% 30dGid 84 Free + $8/moOpenAI · Terminal · terminal agent + IDE extension + cloud agent
OpenAI's coding agent, offered as an open-source terminal CLI, an IDE extension, a desktop app and a cloud agent that works on repositories. Users sign in with a ChatGPT account or use an OpenAI API key; with an API key, Codex works in the CLI, SDK and IDE extension without cloud features such as GitHub code review and Slack. On the Free and Go plans Codex runs in the desktop app (subject to rollout); the web, CLI and IDE extension come with Plus and higher.
-
3
80 3.9M up 28.7% 228K 2d ago 3.9M downloads a week up 28.7% 30dWikipedia from Nov 15Gid 80 Free + $10/moAnomaly · Terminal · terminal agent + desktop app + IDE extension
Open-source coding agent from Anomaly (the team behind SST) that runs as a terminal UI, desktop app or IDE extension and connects to 75+ model providers, including local models and existing ChatGPT or GitHub Copilot logins. OpenCode 2 is now available; per the docs, OpenCode 1 and 2 both use the opencode command and cannot be installed side by side under the default command.
-
7
73 6.4M up 36.3% 123K 10d ago 6.4M downloads a week up 36.3% 30dGid 73 Free (OSS)Earendil Inc. · Terminal · terminal agent
Minimal, extensible open-source coding agent harness with interactive TUI, print/JSON, RPC and SDK modes, created by Mario Zechner and now maintained by Earendil Inc. It supports 15+ model providers through API keys or OAuth and is customized with TypeScript extensions, skills and packages. Its tools and extensions run with the permissions of the Pi process; Pi does not sandbox tool calls or ask before each one.
-
12
64 — — 95.3K 2d ago 95.3K GitHub starsGid 64 Free + $10/mo
-
15
62 495K up 6.8% 109K yesterday 495K downloads a week up 6.8% 30dGid 62 API usage or licenseGoogle · Terminal · terminal agent
Google's open-source terminal agent that brings Gemini models to the command line for code editing, shell commands and MCP tools. Since 2026-06-18 it no longer serves free, Google AI Pro/Ultra or Google One users, who were moved to Antigravity CLI.
-
20
58 84.3K up 14.9% 71.8K 25d ago 84.3K downloads a week up 14.9% 30dGid 58 Free + $9.99/moCline Bot Inc. · Terminal · VS Code extension + terminal agent
Open-source autonomous coding agent for VS Code, JetBrains, Cursor, Windsurf, Antigravity and Zed (Neovim via ACP) that also ships a CLI, a desktop app and an SDK. It works with many model providers through the user's own keys, Cline's usage-billed provider or the ClinePass subscription.
-
26
55 — — 66.1K 5mo ago 66.1K GitHub starsGid 55 Free + $20/mo
-
28
54 313K up 23.8% 39.4K yesterday 313K downloads a week up 23.8% 30dGid 54 Free (OSS)
-
30
53 184K up 25.9% 54.2K yesterday 184K downloads a week up 25.9% 30dGid 53 Free (OSS)Alibaba · Code review · code review CLI
Open Code Review is a CLI that reviews Git diffs by combining deterministic pipelines with an LLM agent and posts line-level comments; it works with OpenAI- and Anthropic-compatible model endpoints and can also scan whole files.
-
32
53 155K up 69.8% 30.8K 3d ago 155K downloads a week up 69.8% 30dGid 53 Bring your keyAlibaba Cloud · Terminal · terminal agent + IDE extensions
Alibaba's open-source terminal coding agent for Qwen models that also offers a desktop app, web UI, IDE plugins (VS Code, Zed, JetBrains) and SDKs. It accepts OpenAI-, Anthropic- and Gemini-style provider APIs as well as local models.
-
33
53 60K up 65.1% 28.1K 15d ago 60K downloads a week up 65.1% 30dWikipedia from Oct 30Gid 53 Free + $19/moKilo Code · Terminal · VS Code extension + terminal agent
Open-source coding agent available as a VS Code extension, JetBrains plugin and CLI, with a gateway to 500+ models and support for bring-your-own keys and local models. Kilo launched in March 2025 and was acquired by Anaconda in July 2026.
-
40
51 3.1M down 1.7% 9,771 4mo ago 3.1M downloads a week down 1.7% 30dGid 51 Free (OSS)Princeton University & Stanford University · Terminal · terminal agent (research)
Open-source software-engineering agents from Princeton and Stanford researchers: SWE-agent (2024) and its roughly 100-line successor mini-SWE-agent, which uses only bash and works with any model through LiteLLM and similar routers. The SWE-agent README says development effort has moved to mini-SWE-agent.
-
41
50 1.3M — 14K 7d ago 1.3M downloads a weekGid 50 Free (OSS)e2e · Testing · open-source agentic end-to-end testing framework
A TypeScript SDK, runner and CLI for end-to-end tests of web and mobile apps in which agent steps carry out natural-language tasks in real browsers, simulators or emulators; an agent step is recorded once a later check passes and replayed on the next run without model calls, handing back to the agent when the app changed.
-
45
50 116K up 33.4% 50.2K 15mo ago 116K downloads a week up 33.4% 30dGid 50 Free (OSS)
-
48
49 — — 56.8K 2d ago 8,142 VS Code installsWikipedia from Oct 31Gid 49 Free (OSS)Block · Terminal · terminal agent + desktop app
Open-source, general-purpose AI agent that runs locally as a desktop app or CLI and can write code, run commands and use MCP extensions with 15+ LLM providers. Created by Block, it is now hosted by the Agentic AI Foundation at the Linux Foundation.
-
55
46 — — 38.8K yesterday 38.8K GitHub starsGid 46 Free (OSS)
-
61
45 105K — 93.8K 2d ago 105K downloads a weekWikipedia from Oct 31Gid 45 Free + $500/moOpenHands · Terminal · agent platform (web GUI + terminal UI/CLI + cloud)
Open-source AI software-development agent platform (formerly OpenDevin) with an open-source browser client (Agent Canvas; the older Docker-based local GUI is deprecated), a terminal UI/CLI, a hosted cloud and an SDK. It is model-agnostic and can use the user's own keys.
-
62
45 113K up 93.4% 8,261 3d ago 113K downloads a week up 93.4% 30dGid 45 $19/moMoonshot AI · Terminal · terminal agent + desktop app + VS Code extension
Moonshot AI's coding agent, offered as the Kimi Code CLI (`kimi`), a desktop app and a VS Code extension; it is included in Kimi memberships and can also use a Moonshot API key or other providers. The CLI was rebuilt in Node.js in 2026 and replaces the archived Python Kimi CLI.
-
67
44 21.2K up 103.9% 16.4K 13d ago 21.2K downloads a week up 103.9% 30dSite rank from Nov 9Gid 44 Free (OSS)The-PR-Agent community · Code review · open-source pull request review agent (CLI, GitHub Action, Docker)
A self-hostable agent that reviews, describes and suggests improvements on pull requests for GitHub, GitLab, Bitbucket, Azure DevOps and Gitea with a configurable model. Qodo handed it to an independent community organisation in 2026; its handover post said the licence would return to Apache 2.0, but the LICENSE file in the repository is MIT (checked November 2, 2026).
-
70
43 103K up 31.7% 27.8K — 103K downloads a week up 31.7% 30dGid 43 —xAI · Terminal · terminal agent
xAI's terminal coding agent (`grok`): a full-screen TUI that edits files, runs shell commands and searches the web, with a headless/CI mode and Agent Client Protocol support for editors. Its Rust source is published under Apache-2.0 and synced from an internal monorepo.
-
97
382/4 — — 12.1K — 12.1K GitHub starsGid 38 · 2/4 signals Free (OSS)
-
119
35 17.1K — 6 2d ago 17.1K downloads a weekGid 35 Free (OSS)On PAR Dev · Coding
Local CLI for shipping GitHub issues with multi-agent planning, building, checking, and PR creation.
- 121 35 — — 57.7K — 57.7K GitHub starsGid 35 Free (OSS)
-
129
35 31.5K up 76.3% 5,798 2d ago 31.5K downloads a week up 76.3% 30dGid 35 Free (OSS)bbNewbb · IDEs
Open-source agentic IDE (desktop app, web app, CLI and HTTP API) where coding agents such as Claude Code, Codex, Cursor, Pi and opencode work in threads you can follow live, steer or hand off, with worktrees, automations and scheduled agents. macOS app; Linux and Windows builds are alpha.
-
137
34 206K down 20.5% 5,426 2d ago 206K downloads a week down 20.5% 30dGid 34 Free + $14.99/moMistral AI · Terminal · terminal agent + VS Code extension
Mistral's coding agent, used as the `vibe` CLI, a VS Code extension (with a JetBrains plugin and web version) and powered by Devstral models. Since May 2026 Mistral brands its whole assistant, formerly Le Chat, as Vibe.
-
155
312/4 — — 7,723 50d ago 7,723 GitHub starsGid 31 · 2/4 signals Free (OSS)XiaoDuoYa · Coding
ChatGPT thinks. Codex works. Use ChatGPT as the planning brain while keeping the Codex harness.
-
160
30 969 down 16.9% 14.2K — 969 downloads a week down 16.9% 30dGid 30 $100/mo
-
168
29 — — 68.9K 9d ago 68.9K GitHub starsGid 29 Free (OSS)Open Interpreter · Terminal · coding agent (CLI)
Open Interpreter is now a Rust-based terminal coding agent, a fork of OpenAI's Codex CLI, tuned to get strong results from low-cost open models such as Kimi K3, DeepSeek, Qwen and GLM. The original Python 'let language models run code' project continues as a community-maintained fork.
-
172
28 5,095 down 20.4% 41.2K 27d ago 5,095 downloads a week down 20.4% 30dGid 28 Free
-
175
28 — — 22.8K 2d ago 22.8K GitHub starsGid 28 Free (OSS)Prime Intellect · Terminal · terminal coding agent
Prime Agent is a terminal coding and research agent built around a Recursive Language Model harness: the model works through a persistent Python REPL, spawns subagents and can refine its own prompts, memories and skills. Sessions can run in the background and be reattached.
-
181
27 540 down 3.2% 1,755 7d ago 540 downloads a week down 3.2% 30dGid 27 Free + $20/moTraycer AI · IDEs · agent orchestration desktop app
Open-source desktop app for planning and orchestrating AI coding agents (Claude Code, Codex, Cursor, OpenCode and others) in parallel, each in its own git worktree. Turns ideas into specs and tickets, supports agent-to-agent communication, code review of diffs, shared context across models, and team collaboration.
-
184
26 — — 8,354 8d ago 8,354 GitHub starsGid 26 Free (OSS)
-
186
26 4,060 down 4.8% 36.1K 8d ago 4,060 downloads a week down 4.8% 30dGid 26 Freeesengine · Terminal · open-source terminal coding agent
A terminal coding agent written in Go that uses DeepSeek by default and any OpenAI-compatible endpoint, designed for long autonomous sessions, with plan mode, permissions, a workspace sandbox, checkpoints and MCP support. It is a community project, not affiliated with DeepSeek.
-
199
25 — — 21.8K 15d ago 21.8K GitHub starsGid 25 Free (OSS)
-
209
23 — — 10.3K 25d ago 10.3K GitHub starsGid 23 Free (OSS)Kuberwastaken · Terminal · terminal coding agent
Open-source terminal coding agent written in Rust with multi-provider model support, a TUI, plugins and Agent Client Protocol support for editors; it began as a clean-room reimplementation of Claude Code's behavior. It installs via a shell script, npm or bun.
-
211
23 2,913 down 12.3% 13.8K 7d ago 2,913 downloads a week down 12.3% 30dGid 23 FreeXiaomi · Terminal · open-source terminal coding agent (based on OpenCode)
A terminal coding agent from Xiaomi's MiMo team that reads and writes code, runs commands, manages Git and keeps memory across sessions. It is built on OpenCode with added context management and multi-agent orchestration. Sign-in options include Xiaomi MiMo Platform OAuth, OpenAI OAuth with a ChatGPT Plus or Pro plan, importing an existing Claude Code login, and API keys for other providers.
-
218
22 — — 21.9K 2d ago 21.9K GitHub starsGid 22 Free
-
240
15 — — 3,918 6d ago 3,918 GitHub starsGid 15 Free (OSS)Vercel Labs · Terminal · terminal coding agent
fx is a coding agent CLI written in Zig and shipped as a small native binary, with an interactive shell, one-shot 'fx ask' requests and an embeddable library (libfx). It works with Vercel AI Gateway, ChatGPT or Grok subscriptions, or any OpenAI-compatible endpoint, and is labelled experimental. Its default auto permission mode runs routine work such as editing project files and running tests without asking and sends other actions to a model check first; ask and full-access modes are also available.
-
241
15 559 down 29.9% 16.9K 4d ago 559 downloads a week down 29.9% 30dGid 15 FreeHKU Data Intelligence Lab · Terminal · open-source multi-agent coding framework (CLI, desktop, web)
An open-source coding agent from HKUDS that coordinates specialised agents to turn natural-language requests and research papers into working code, with planning and verification steps; usable from the terminal, a desktop app or a web interface.
- — — — — 27.2K 2d ago 27.2K GitHub stars Free (OSS)
No agents match these filters.
“#” is the position among products of the same kind (agents, frameworks, tooling) by Gid Score, our 0–100 composite of adoption, community, attention and momentum. Use the filters and sorting above, or switch to the table view. Methodology · All AI agents.
Why developers pick open-source coding agents
Model choice is the main reason. An open agent can be pointed at whichever model is strongest or cheapest this month, at a company gateway, or at a local model, without waiting for a vendor to support it. The second reason is trust: an agent that reads your codebase and runs commands is easier to adopt when its behaviour can be audited.
Activity matters more here than for commercial tools, because a project with a single maintainer can stall. Check the latest release date and the release count before building a workflow around one.