← Back to research
·6 min read·opensource

OpenCode

OpenCode is the most-starred open-source AI coding agent (172K+ GitHub stars), built by Anomaly, supporting 75+ LLM providers across terminal, desktop app, and IDE extensions, with Go/Zen paid model plans.

Key takeaways

  • 172K+ GitHub stars (as of June 2026) makes it the most popular open-source coding agent by far, now under the anomalyco org
  • Monetization has arrived: Go ($10/month, open-weight models), Zen (pay-as-you-go premium models), and an enterprise tier — the core agent stays free and MIT-licensed
  • Model-agnostic: works with Claude, GPT, Gemini, local models, and 75+ providers, including ChatGPT Plus/Pro login via Codex OAuth

FAQ

What is OpenCode?

OpenCode is an open-source AI coding agent built by Anomaly that runs in terminal, desktop, or IDE, supporting any LLM provider.

How is OpenCode different from Claude Code?

OpenCode is 100% open source and provider-agnostic, while Claude Code is Anthropic-only. OpenCode also has native LSP support and a client/server architecture.

Is OpenCode free?

The agent itself is free and open source (MIT). Users bring their own API keys, or pay for OpenCode Go ($10/month, open-weight models) or Zen (pay-as-you-go access to premium models).

Who makes OpenCode?

Anomaly, the company founded by the SST and terminal.shop team (Jay V, Frank Wang, Dax Raad, Adam Elmore). The repo lives at anomalyco/opencode.

Does OpenCode compete with Tembo?

OpenCode is a coding agent; Tembo orchestrates coding agents. They're complementary — Tembo can delegate tasks to OpenCode.

Project Overview

OpenCode is the most popular open-source AI coding agent, with over 172,000 GitHub stars as of June 2026,[1] 900+ contributors, 13,000+ commits, and a company-claimed 7.5 million monthly developers.[2] It is built by Anomaly — the team behind SST and terminal.shop (Jay V, Frank Wang, Dax Raad, Adam Elmore) — and the repository now lives at anomalyco/opencode, having moved from the original sst/opencode.[3][4][5]

The project is available as a desktop app (macOS, Windows, Linux), terminal CLI, and IDE extensions — all backed by a client/server architecture that enables unique capabilities like driving the agent remotely from a mobile app.[4]

Anomaly raised an undisclosed funding round within months of OpenCode's June 2025 launch, and reports its hosted-model business (Zen) generates several million dollars in annualized revenue.[3]

What It Does

OpenCode is a coding agent that can:[4]

  • Read and write code in any language
  • Execute shell commands
  • Navigate and understand codebases via LSP integration
  • Work with any LLM provider (75+ supported)
  • Run multiple parallel agent sessions with shareable session links[2]

Built-in agents:

AgentPurpose
buildFull-access agent for development (default)
planRead-only agent for analysis and exploration
generalSubagent for complex searches and multi-step tasks

Technical Architecture

Platforms:[2]

SurfaceAvailability
Desktop AppmacOS (Apple Silicon & Intel), Windows (incl. WSL-backed), Linux (.deb, .rpm) — Beta
Terminal CLIAll platforms via npm, Homebrew, Scoop, etc.
IDE ExtensionsVS Code, Cursor, Zed, Windsurf, VSCodium
IntegrationsGitHub, GitLab

Model support: OpenAI, Anthropic, Google, local models via 75+ providers through Models.dev

Key differentiators from Claude Code:[4]

  • 100% open source (MIT)
  • Provider-agnostic (not locked to one model)
  • Native LSP support (automatic language server integration)
  • Client/server architecture (run locally, control remotely)
  • TUI-first design (built by neovim users)

Recent development (2026): Releases through v1.17.3 (June 10, 2026) added desktop multi-server support and session drafts, faster file search on large projects, session metadata APIs, cross-workspace session moves, Snowflake Cortex provider support, and experimental OpenAI WebSocket transport.[6]

Subscription and login options:

  • Go — $10/month plan for hosted open-weight coding models[7]
  • Zen — Pay-as-you-go access to curated, benchmarked premium models[8]
  • GitHub Copilot — Log in with GitHub to use existing Copilot subscription[2]
  • ChatGPT Plus/Pro — Codex OAuth login (added January 2026); OpenAI lists OpenCode among supported open-source tools, though no formal partnership has been announced[9]

Strengths

  • Massive community — 172K+ stars, 900+ contributors, 13,000+ commits as of June 2026[1][2][10]
  • Provider freedom — Use any model from any provider
  • Cross-platform desktop app — macOS, Windows, Linux in Beta
  • IDE everywhere — VS Code, Cursor, Zed, Windsurf, VSCodium
  • LSP integration — Automatic language intelligence out of the box
  • Privacy-first positioning — Company states no code or context stored on OpenCode servers[2]
  • GitHub/GitLab native — Direct integration with major code forges
  • Active development — v1.17.3 shipped June 10, 2026; near-daily releases[6]
  • Funded and monetizing — Venture backing plus Go/Zen revenue reduce abandonment risk[3]

Cautions

  • Resource-heavy — Hacker News users report the TUI can consume 1GB+ of RAM, attributed to a large, complex TypeScript codebase[11]
  • Breakneck release cadence — Critics note features sometimes break between versions; defenders counter that fixes land just as fast[11]
  • Privacy incident — A developer found OpenCode sending prompts to Grok's free tier by default for session-title generation even with local-only model configs, undercutting the privacy-first claim[11]
  • Broad default permissions — Agent permissions are permissive out of the box[11]
  • Steeper learning curve — More keybinds, commands, and modes than Claude Code's minimalist approach
  • Enterprise tier is young — Workspaces are free beta; compliance features lag dedicated enterprise vendors[8]

Competitive Landscape

Claude Code — Anthropic's terminal agent. Locked to Claude models but deeply optimized for them. Anthropic's January 2026 move to block third-party tools from Claude subscription credentials pushed OpenCode users toward Codex OAuth and Zen. OpenCode is the open alternative.

Codex CLI — OpenAI's equivalent. Similar positioning but OpenAI-only. Notably, OpenAI supports OpenCode via Codex OAuth for ChatGPT Plus/Pro subscribers.[9]

Cursor — IDE-integrated. Different form factor (editor vs. terminal). OpenCode is for developers who prefer CLI workflows.

Tembo — Agent orchestration layer. Complementary — Tembo can delegate tasks to OpenCode as one of many supported agents.

Ideal User

OpenCode is built for developers who:

  • Live in the terminal and prefer CLI tools
  • Want model flexibility (not locked to one provider)
  • Value open source and community-driven development
  • Need LSP integration without configuration
  • Want to control the agent from multiple interfaces

Pricing

Core agent: free and open source under the MIT license.[4]

PlanPriceWhat you get
Free / BYOK$0Full agent; bring your own API keys or local models
Go$5 first month, then $10/monthHosted open-weight models (DeepSeek V4, Kimi K2.x, Qwen 3.x, GLM-5.x, MiniMax M2/M3); 880–31,650 requests per 5-hour window depending on model[7]
ZenPay-as-you-go (per 1M tokens)Curated premium models, e.g. Claude Fable 5 ($10 in / $50 out), GPT 5.5 Pro ($30 in / $180 out), plus free-tier models; auto-reload and spend caps[8]
EnterpriseContactTeam workspaces (free during beta), spending limits per member[8]

Bottom Line

OpenCode is the clear community favorite among open-source coding agents. The 172K+ stars,[1] 900+ contributors, and a real revenue engine in Go/Zen signal momentum and staying power that most open-source AI tools lack.

The model-agnostic approach is a strategic advantage as the LLM landscape evolves — OpenCode users aren't locked in if a better model emerges, and the Anthropic subscription-auth lockout of January 2026 proved why that hedge matters. The client/server architecture remains genuinely innovative, enabling use cases (like mobile control) that competitors can't match.

Recommended for: terminal-first developers who want a powerful, flexible coding agent without vendor lock-in, and teams that want open-weight model economics via Go.

Not recommended for: teams needing mature enterprise controls (signed commits, compliance, SLAs), or anyone who needs strict telemetry guarantees today given the Grok title-generation incident.[11]

Outlook: With Anomaly funded, Zen generating several million in ARR,[3] and OpenAI treating OpenCode as a sanctioned Codex surface, OpenCode looks durable — the open question is whether its chaotic release velocity matures into enterprise-grade stability.


Research by Ry Walker Research • methodology