OpenCode
Anomaly · MIT · 216k stars
An open-source coding agent for the terminal, with a desktop app in beta. It ships a full-access build agent and a read-only plan agent that you switch between with the Tab key.
Models: Dozens of providers, including Anthropic, OpenAI, Google, xAI, OpenRouter and Amazon Bedrock, plus local models through Ollama, LM Studio or llama.cpp.
Runs in: Terminal, Desktop app (beta), IDE.
GitHub ↗Docs ↗OpenCode vs Claude Code
Codex CLI
OpenAI · Apache-2.0 · 130k stars
OpenAI’s open-source terminal coding agent. Sign in with ChatGPT to use it within your plan’s limits, or run it on an OpenAI API key.
Models: OpenAI models, through a ChatGPT plan or an OpenAI API key.
Runs in: Terminal.
The same agent is included in ChatGPT plans as OpenAI Codex.
GitHub ↗Docs ↗
Pi
Earendil Works · MIT · 116k stars
A minimal, extensible agent harness. It leaves out built-in sub-agents and plan mode in favour of extensions, skills and prompt templates you add yourself, and can be scripted over JSON or RPC.
Models: OpenAI, Anthropic, Google and other providers through one API, signed in with a subscription or an API key.
Runs in: Terminal, SDK.
GitHub ↗Docs ↗
Gemini CLI
Google · Apache-2.0 · 107k stars
Google’s open-source terminal agent for Gemini. Sign in with a Google account, or use a Gemini API key to pick the model and pay per token.
Models: Gemini models only, through a Google account or a Gemini API key.
Runs in: Terminal.
With a Gemini API key, Google’s free tier covers Flash models such as Gemini 3.8 Flash at lower rate limits; free-tier prompts may be used to improve Google’s products.
GitHub ↗Gemini CLI vs Claude Code
OpenHands
OpenHands · MIT · 91.2k stars
A self-hosted control center for coding agents and automations. Run agents on your machine, in Docker or on your own servers, and start tasks from its web interface.
Models: Any LLM you configure.
Runs in: Self-hosted web app, Docker.
GitHub ↗Docs ↗
Cline
Cline · Apache-2.0 · 70.5k stars
An autonomous coding agent that runs as a VS Code extension, a JetBrains plugin, a CLI or an SDK, and asks before it edits files or runs commands.
Models: Anthropic, OpenAI, Google, AWS Bedrock, OpenRouter, the Vercel AI Gateway, any OpenAI-compatible API, and local models through Ollama or LM Studio.
Runs in: VS Code, JetBrains, Terminal, SDK.
GitHub ↗Cline vs Claude Code
Goose
Agentic AI Foundation (Linux Foundation) · Apache-2.0 · 55.4k stars
A general-purpose AI agent for code and other work, with a desktop app, a CLI and an API, built in Rust. It is part of the Linux Foundation’s Agentic AI Foundation.
Models: 15+ providers, including Anthropic, OpenAI, Google, Ollama, OpenRouter, Azure and Bedrock.
Runs in: Desktop app, Terminal, API.
GitHub ↗Docs ↗
Aider
Aider AI · Apache-2.0 · 49.6k stars
AI pair programming in the terminal. Aider edits files in your git repository and commits each change with a descriptive message, so you can diff or undo it with normal git tools.
Models: Almost any LLM, including local models.
Runs in: Terminal.
No release since v0.86.0 in August 2025, so newer models and features may lag.
GitHub ↗Docs ↗Aider vs Claude Code
Qwen Code
Qwen (Alibaba) · Apache-2.0 · 28.6k stars
An open-source terminal coding agent from the Qwen team that can switch providers in the middle of a session.
Models: OpenAI, Anthropic, Gemini and Qwen APIs, any compatible provider, and local models through Ollama or vLLM.
Runs in: Terminal.
GitHub ↗
Kilo Code
Kilo Code · MIT · 27.7k stars
An open-source coding agent for VS Code, JetBrains IDEs and the terminal. Through a Kilo account you pick from 500+ models at the provider’s own rate with no markup, or you bring your own API keys.
Models: 500+ models through a Kilo account, or your own provider API keys.
Runs in: VS Code, JetBrains, Terminal.
GitHub ↗Docs ↗