π©Ί Vitals
- π¦ Version: v1.14.39 (Released 2026-05-05)
- π Velocity: Active (Last commit 2026-05-06)
- π Community: 155.6k Stars Β· 18.0k Forks
- π Backlog: 6303 Open Issues
ποΈ 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 β 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.