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. 126K+ GitHub stars (star surge driven by Anthropic controversy). Known unauthenticated RCE fixed in v1.1.10+ (CVE, 432 HN pts). CVE-2026-22812 (CVSS 8.8-10.0) is a second serious security incident.
Where it wins
126K+ GitHub stars — largest AI coding repo by raw count (star surge driven by Anthropic controversy)
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
Editorial verdict
Watch — two serious security incidents (unauthenticated RCE fixed v1.1.10+, CVE-2026-22812 CVSS 8.8-10.0) make trust story the weakest in the category. 126K+ stars are real but star surge driven by Anthropic OAuth controversy — brand-driven, not organic product traction. OpenAI partnership and 393K npm/week are real signals, but security history removes it from the main ranking pending security posture improvement.
Source
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
Related

Claude Code
98Anthropic's official agentic coding CLI. v2.1.81 (Mar 20) shipped `--bare`, smarter worktree resume, and improved MCP OAuth while the repo crossed 82,204 stars and logged ~14 commits/week across 10+ maintainers. Terminal-native, tool-use-driven, with deep file system + shell access, #1 SWE-bench Pro standardized (45.89%), ~4% of GitHub public commits (SemiAnalysis), $2.5B annualized revenue. 8M+ npm weekly downloads. Opus 4.6 with 1M context.

OpenHands
88Category leader in multi-agent orchestration — 69,352 stars (verified), $18.8M Series A, AMD hardware partnership, 455 contributors, 1M downloads/month PyPI (3.4M all-time). SWE-Bench Verified 72% with Claude 4.5 Extended Thinking (updated 2026-03-19), Multi-SWE-Bench #1 across 8 languages. Gap to #2 is enormous on every axis.

Gemini CLI
88Google'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 (60 req/min, 1K req/day). v0.35.0 (Mar 24) shipped keybinding, policy, and telemetry fixes while the repo hit 98,957 stars and 12,593 forks. Terminal-Bench 2.0: 78.4% (#1). SWE-bench Pro standardized 43.30% (#3). Plan Mode added March 2026. First-pass correctness ~50-60% (Educative.io).

CodeQL (via GitHub MCP Server)
88GitHub-native SAST via CodeQL, accessible through the official GitHub MCP Server. Copilot Autofix generates fixes from CodeQL alerts. GitHub Security Lab Taskflow Agent found ~30 real CVEs. Zero extra setup for GitHub users.
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.
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