Community compared it favorably to Aider and Claude Code. Maintainers confirmed multi-frontend ambitions and feedback-loop capabilities.
OpenCode
activeOpen-source AI coding agent from SST. v1.2.27 active (2026-03-16) — development resumed after a gap. OpenAI official partnership following the Anthropic OAuth block controversy. 124,766 GitHub stars (largest AI coding repo by star count). Known unauthenticated RCE fixed in v1.1.10+ (CVE, 432 HN pts).
83/100
Trust
125K+
Stars
6
Evidence
211.7 MB
Repo size
Videos
Reviews, tutorials, and comparisons from the community.
Opencode Is Probably The Best Coding Agent I've Ever Used
My Opencode Workflow As A Senior Engineer
Master OpenCode in 28 minutes
Repo health
12h ago
Last push
7,137
Open issues
13,159
Forks
823
Contributors
Editorial verdict
#5 coding CLI — active again after a development gap. v1.2.27 released 2026-03-16 with OpenAI official partnership (post-Anthropic block). 124,766 stars make this the largest AI coding repo by raw count. The unauthenticated RCE was fixed in v1.1.10+ but the corporate blocking incident and security history require explicit disclosure. Best for developers who want maximum model flexibility with a proven star-signal community.
Source
GitHub: sst/opencode
Docs: opencode.ai
Public evidence
Revealed OpenCode reverse-engineered Claude Code auth endpoints. Multiple commenters praised OpenCode's TUI engineering as superior to Claude Code's terminal experience.
Critical: previous versions exposed local server allowing arbitrary code execution from any website. Fixed in v1.1.10+. Important risk signal for enterprise adoption.
Covers OpenCode's 75+ model support, privacy-first architecture, and LSP integration. Describes it as competing directly with Claude Code and Copilot.
Groups OpenCode with Cline and Aider as the three OSS coding agents solving vendor lock-in. Highlights provider-agnostic architecture as key differentiator.
Development resumed with v1.2.27 (2026-03-16). OpenAI official partnership established after Anthropic blocked third-party Claude subscription use. Pivoted from Claude-proxy to OpenAI-partnered architecture. 393,191 npm downloads/week as of 2026-03-19.
How does this compare?
See side-by-side metrics against other skills in the same category.
Where it wins
124,766 GitHub stars — largest AI coding repo by raw star count
OpenAI official partnership (2026) — first major model vendor to officially support OpenCode
75+ model providers including local models via Ollama — broadest provider support
MIT license, privacy-first: does not store code or context
Active again: v1.2.27 released 2026-03-16
Where to be skeptical
Unauthenticated RCE fixed in v1.1.10+ — but security history requires disclosure for enterprise adoption
Corporate blocking incident: Anthropic banned third-party Claude subscription use (625 HN pts, Jan 2026)
Star surge driven by Anthropic OAuth controversy — brand-driven, not organic product traction
No published SWE-bench or Terminal-Bench scores
Trust story is messier than competitors due to RCE + corporate conflict history
Ranking in categories
Know a better alternative?
Submit evidence and we'll run the full pipeline.
Similar skills
Aider
91Open-source AI pair programming CLI. The only tool in the coding CLI category with a fully verifiable, independent download number: 191,828/week PyPI installs, 5.7M lifetime, 15B tokens/week (homepage stat). Multi-model, git-native, no vendor lock-in. v0.86.2 released 2026-02-12.
Claude Code
90Anthropic's official agentic coding CLI. Terminal-native, tool-use-driven, with deep file system and shell access. #1 SWE-bench Pro standardized (45.89%), ~4% of GitHub public commits (SemiAnalysis), $2.5B annualized revenue (fastest enterprise SaaS to $1B ARR). 8M+ npm weekly downloads. Opus 4.6 with 1M context.

Gemini CLI
86Google's open-source terminal agent with Gemini 3 models, 1M token context, built-in Google Search grounding, and the best free tier in the category (1K req/day). 97.9K stars, 444 contributors. SWE-bench Pro standardized 43.30% (#2 behind Claude Code).

Codex CLI
85OpenAI's open-source coding agent built in Rust. Terminal-Bench 77.3% (GPT-5.3-Codex), SWE-bench Pro standardized 41.04%. 3-4x more token-efficient than Claude Code, 60-75% cheaper per task. Free with ChatGPT subscription, sandbox-first execution, 619 releases in 10 months.
Raw GitHub source
GitHub README peek
Constrained peek so you can sanity-check the source material without leaving the site.

Installation
# YOLO
curl -fsSL https://opencode.ai/install | bash
# Package managers
npm i -g opencode-ai@latest # or bun/pnpm/yarn
scoop install opencode # Windows
choco install opencode # Windows
brew install anomalyco/tap/opencode # macOS and Linux (recommended, always up to date)
brew install opencode # macOS and Linux (official brew formula, updated less)
sudo pacman -S opencode # Arch Linux (Stable)
paru -S opencode-bin # Arch Linux (Latest from AUR)
mise use -g opencode # Any OS
nix run nixpkgs#opencode # or github:anomalyco/opencode for latest dev branch
[!TIP] Remove versions older than 0.1.x before installing.
Desktop App (BETA)
OpenCode is also available as a desktop application. Download directly from the releases page or opencode.ai/download.
| Platform | Download |
|---|---|
| macOS (Apple Silicon) | opencode-desktop-darwin-aarch64.dmg |
| macOS (Intel) | opencode-desktop-darwin-x64.dmg |
| Windows | opencode-desktop-windows-x64.exe |
| Linux | .deb, .rpm, or AppImage |
# macOS (Homebrew)
brew install --cask opencode-desktop
# Windows (Scoop)
scoop bucket add extras; scoop install extras/opencode-desktop
Installation Directory
The install script respects the following priority order for the installation path:
$OPENCODE_INSTALL_DIR- Custom installation directory$XDG_BIN_DIR- XDG Base Directory Specification compliant path$HOME/bin- Standard user binary directory (if it exists or can be created)$HOME/.opencode/bin- Default fallback
# Examples
OPENCODE_INSTALL_DIR=/usr/local/bin curl -fsSL https://opencode.ai/install | bash
XDG_BIN_DIR=$HOME/.local/bin curl -fsSL https://opencode.ai/install | bash
Agents
OpenCode includes two built-in agents you can switch between with the Tab key.
- build - Default, full-access agent for development work
- plan - Read-only agent for analysis and code exploration
- Denies file edits by default
- Asks permission before running bash commands
- Ideal for exploring unfamiliar codebases or planning changes
Also included is a general subagent for complex searches and multistep tasks.
This is used internally and can be invoked using @general in messages.
Learn more about agents.
Documentation
For more info on how to configure OpenCode, head over to our docs.
Contributing
If you're interested in contributing to OpenCode, please read our contributing docs before submitting a pull request.
Building on OpenCode
If you are working on a project that's related to OpenCode and is using "opencode" as part of its name, for example "opencode-dashboard" or "opencode-mobile", please add a note to your README to clarify that it is not built by the OpenCode team and is not affiliated with us in any way.
FAQ
How is this different from Claude Code?
It's very similar to Claude Code in terms of capability. Here are the key differences:
- 100% open source
- Not coupled to any provider. Although we recommend the models we provide through OpenCode Zen, OpenCode can be used with Claude, OpenAI, Google, or even local models. As models evolve, the gaps between them will close and pricing will drop, so being provider-agnostic is important.
- Out-of-the-box LSP support
- A focus on TUI. OpenCode is built by neovim users and the creators of terminal.shop; we are going to push the limits of what's possible in the terminal.
- A client/server architecture. This, for example, can allow OpenCode to run on your computer while you drive it remotely from a mobile app, meaning that the TUI frontend is just one of the possible clients.
Join our community Discord | X.com