opencode alternatives (2026)
Quick answer: The top picks on this list are Cline, CC Switch and OpenAI Codex CLI. They lead 11 matching tools, ranked by GitHub stars on each listing. Pricing is what each maker states. Read each listing before you choose. Sources checked December 4, 2026. No vendor paid for a position.
Ranked comparison (top 10)
Dated .
| # | Tool | Pricing | Best for | Open source | Runs locally | GitHub stars |
|---|---|---|---|---|---|---|
| 1 | Open source | write code, automate the browser | Yes | Self-hosted | 72,039 | |
| 2 | Open source | write code, control a computer | Yes | 158,760 | ||
| 3 | Open source | write code, control a computer | Yes | Offline | 137,128 | |
| 4 | Open source | write code, control a computer | Yes | Offline | 57,256 | |
| 5 | Free | write code, control a computer | No | 5,155 | ||
| 6 | See site | write code, control a computer | No | 1,650 | ||
| 7 | Open source | write code, control a computer | Yes | Offline | 668 | |
| 8 | Open source | write code, control a computer | Yes | Self-hosted | 627 | |
| 9 | Open source | write code, control a computer | Yes | Self-hosted | 291 | |
| 10 | Open source | write code, automate the browser | Yes | Self-hosted | 151,538 |
How we rank: GitHub stars on each listing. Stars and maturity come from each AgentScout listing. No vendor paid for a position.
Sources checked .
opencode is a coding tool: 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 the maker states it: Free and open source (MIT); bring your own model provider.. Its GitHub repo has 230,681 stars. We found 341 tools in the directory that do overlapping work (writing code, coding in the terminal, controlling a computer); 279 of them are open source and 31 list a free or freemium plan. Below are the 10 closest, ranked by how many tasks and sub-tasks they share with opencode, then by GitHub stars.
Updated
Cline (Open source): 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. Consider it because it also covers browser automation and agent frameworks and SDKs.
CC Switch (Open source): 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. Consider it because it is ready to use without building anything; it also covers MCP servers and rules, skills and config.
OpenAI Codex CLI (Open source): 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. Consider it because it also covers local and self-hosted and IDE and editor agents.
Goose (Open source): goose is an Apache-2.0, general-purpose AI agent that runs on your own machine as a desktop app (macOS, Linux, Windows), a CLI and an embeddable API, built in Rust. It installs, runs, edits and tests code, and also handles research, writing, automation and data analysis. It works with 15+ model providers including Anthropic, OpenAI, Google, Ollama, OpenRouter, Azure and Bedrock, can reuse existing Claude, ChatGPT or Gemini subscriptions through ACP, and connects to 70+ MCP extensions. goose is part of the Agentic AI Foundation at the Linux Foundation. Consider it because it also covers research and reports and local and self-hosted.
OmniRush (Free): OmniRush is a desktop coding agent for Windows, macOS and Linux, with a terminal CLI as well. It works through the files of your own projects, reading code, making edits and running commands, and gives free access to frontier models from a model picker, with GPT 6 Astra as the default. Builds for each platform are published on its releases page. Consider it because it is ready to use without building anything.
Empryo (See site): Empryo is an AI coding harness for the desktop, the terminal and CI that works with any model you connect. Before editing it maps your codebase, installs the language servers your project needs and detects its test, lint and typecheck commands; it then edits functions and classes by name through AST and LSP rather than by text, runs the checks and fixes failures in the same turn, and remembers past decisions. It installs with a one-line script on macOS, Linux and Windows, and publishes its own benchmarks. Consider it because it also covers codebase context and code search and memory.
TasteCode (Open source): TasteCode is an Apache-2.0 desktop workspace for AI coding agents aimed at creative work: it runs Codex, Claude Code and Grok in one app while keeping orchestration, terminal access, diffs, checkpoints and history on your machine, and adds a Design Mode for inspecting and editing web interfaces. It is an early beta for Windows and macOS. Consider it because it also covers code review and multi-agent orchestration.
mu (Open source): mu is an open-source coding agent with a judgment kernel: a small, fast judge model makes the many routine decisions in each turn so the main model only gets the context it needs. It ships as a command-line tool and a desktop app and aims to keep coding sessions focused and cheap. Consider it because it does the same job with a different approach (open source).
Apexo Code (Open source): Apexo Code is an open-source agent project that helps builders handle apexo: An open-source, general-purpose coding agent for terminal (TUI), web, and desktop. Consider it because it does the same job with a different approach (open source).
Orca (Open source): 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. Consider it because it also covers code review and running many agents in parallel.
opencode vs alternatives at a glance
| Tool | Pricing | Open source / licence | GitHub stars | Good for |
|---|---|---|---|---|
| Open source | MIT | 230,681 | writing code, coding in the terminal | |
| Open source | Apache License 2.0 | 72,039 | writing code, coding in the terminal | |
| Open source | MIT | 158,760 | writing code, coding in the terminal | |
| Open source | Apache License 2.0 | 137,128 | writing code, coding in the terminal | |
| Open source | Apache License 2.0 | 57,256 | writing code, coding in the terminal | |
| Free | No | 5,155 | writing code, coding in the terminal | |
| See site | No | 1,650 | writing code, coding in the terminal | |
| Open source | Yes | 668 | writing code, coding in the terminal | |
| Open source | Yes | 627 | writing code, coding in the terminal | |
| Open source | Yes | 291 | writing code, coding in the terminal | |
| Open source | MIT | 151,538 | writing code, coding in the terminal |
More
Related searches
Alternatives are picked from directory data only: same category plus shared tasks and sub-tasks. Pricing is as each maker states it; GitHub stars as recorded on each listing.