π©Ί Vitals
- π’ Last active: 2026-08-05
- π¦ Latest release: v1.18.13 (2026-08-04)
- π Open issues: 4862
- π Stars: 193.5k
What do these metrics mean?
- Last active: when code was last pushed, as of our last check. The dot is green when that was recent, grey otherwise. A long gap can mean a tool is finished and stable, not only unmaintained.
- Latest release: the most recent tagged, packaged version the maintainers published. Not every healthy project tags releases.
- Open issues: unresolved reports and requests. A high number is normal for a popular project and is not a warning on its own.
- Stars: how many people bookmarked the project on its forge. A rough popularity signal, not a measure of quality.
ποΈ Profile
- Official: opencode.ai
- Source: github.com/anomalyco/opencode
- License: MIT
- Deployment: CLI Β· Desktop (Beta) Β· IDE Extensions
- Data Model: Local Context
- Jurisdiction: USA πΊπΈ (Anomaly Innovations Inc., San Francisco)
- Compliance (SaaS): N/A (Undisclosed)
- Compliance (Self-Hosted): Self-Hosted (User Managed)
- Complexity: Low (2/5) - One-Line Installer
- Maintenance: Low (2/5) - Package Manager Updates
- Enterprise Ready: High (4/5) - Model Agnostic
1. The Executive Summary
What is it? OpenCode is an MIT-licensed AI coding agent that runs across terminal, desktop, and IDE. It integrates with your local Language Server Protocol (LSP) and supports 75+ model providers (including local runners like Ollama), separating the workflow into "Plan Mode" (architecture) and "Build Mode" (execution). A desktop app (beta) and extensions for VS Code, Cursor, Zed, and Windsurf extend the same agent beyond the terminal.
The Strategic Verdict:
- π’ For Multi-Environment Teams: Strong Buy. One agent across CLI, desktop, and IDE, with full model flexibility and no vendor lock-in.
- π΄ For SaaS-Dependent Orgs: Evaluate. OpenCode Zen (pay-as-you-go hosted models) routes code context through US infrastructure. CLI + local models avoids this entirely.
2. The "Hidden" Costs (TCO Analysis)
| Cost Component | Claude Code (SaaS) | OpenCode (Self-Hosted) |
|---|---|---|
| Model Cost | Fixed / Token-based | Variable (BYO Key) |
| Data Privacy | Vendor Cloud Transit | 100% Local (with Ollama) |
| Lock-in | High (Anthropic only) | Zero (Switch models) |
| Telemetry | Hard to disable | Opt-in / Transparent |
3. The "Day 2" Reality Check
π Deployment & Operations
- Installation: Primary install is a one-line shell script (
curl -fsSL https://opencode.ai/install | bash). Also available via npm, Homebrew, pnpm, Bun, Scoop, Chocolatey, and Nix. The desktop app ships as.dmg(macOS),.nsis(Windows), and.deb/.rpm(Linux). OpenCode is a Go binary, no Node.js runtime required. - Context Handling: Uses
AGENTS.mdto align the AI with project coding standards. Falls back toCLAUDE.mdfor backward compatibility. Additional agents can be defined as individual markdown files in.opencode/agents/.
π‘οΈ Security & Governance (Risk Assessment)
- Jurisdiction & The CLOUD Act (USA πΊπΈ): Anomaly Innovations Inc. is a US corporation (San Francisco, CA; governed by Delaware law per ToS). For local deployments using self-hosted models, CLOUD Act exposure is minimal: no data routes through Anomaly's infrastructure. The risk activates when OpenCode Zen is engaged: coding context then transits through US-hosted model endpoints, subject to US law enforcement compelled disclosure.
- The Compliance Shift: OpenCode ships with no built-in compliance frameworks: no SOC 2, no audit logging, no SSO. The full compliance burden falls to the enterprise: securing local SQLite session databases, configuring corporate identity gatewaying, and auditing which LLM providers receive code context. The local web interface (
opencode web) runs on127.0.0.1and does not route through external servers by default. - License Risk (MIT with ToS Entanglement): The core agent is MIT-licensed: permissive, no copyleft, no production-use restrictions, no enterprise tax. The entanglement risk applies to SaaS features: OpenCode Zen is governed by Anomaly Innovations Inc.'s Terms of Service, not the MIT license. Enterprises must delineate their deployment boundary. Local-only usage is clean MIT territory; Zen usage falls under ToS-bound commercial terms.
4. Market Landscape
π’ Proprietary Incumbents
- Claude Code: Anthropic's official coding agent; developers evaluate OpenCode to gain model flexibility across 75+ providers and avoid Anthropic-only lock-in.
- Cursor: The dominant AI-native IDE; teams evaluate OpenCode when they require model-agnostic tooling, LSP verification, and the ability to run models fully offline.
π€ Open Source Ecosystem
- Cline: The IDE-native alternative for VS Code users who want extension-first UX over multi-surface deployment.