AI Agent Index
ByHeather MacAvelia·Last verified Jun 5, 2026
OpenCode logo

OpenCode

4.1/ 5

by Anomaly

MCP✓ Verified Review
Visit opencode.ai

Open-source AI coding agent for terminal, IDE, and desktop. 170k GitHub stars, 7.5M monthly developers. Free with BYOK, GitHub Copilot login, or ChatGPT Plus/Pro login. MCP support.

OpenCode is the open-source AI coding agent built by Anomaly and used by over 7.5 million developers monthly. With 170,000 GitHub stars, 900+ contributors, and 13,000+ commits, it is one of the most actively developed AI coding tools available. OpenCode runs in the terminal, as a desktop application (macOS, Windows, Linux, currently in beta), and as an IDE extension. Its defining architecture is model and account flexibility: developers can connect any of 75+ LLM providers via Models.dev including local models, use BYOK with API keys from Claude, OpenAI, Gemini, or any OpenAI-compatible endpoint, or log in with an existing GitHub Copilot or ChatGPT Plus/Pro account to reuse those subscription quotas without paying for separate API access. The core agent capabilities include LSP-enabled context (automatically loads the right language servers so the LLM understands the codebase's types and imports), multi-session parallel execution (multiple OpenCode agents running simultaneously on the same project), share links for session debugging and reference, plan mode for read-only analysis before making changes, and undo/redo for iterating on AI-generated edits. OpenCode fully supports the Model Context Protocol for connecting external tools: both local and remote MCP servers are supported, including OAuth authentication for remote servers such as Sentry and Context7. The official docs include configuration examples for GitHub MCP, Sentry MCP, Context7, and Grep by Vercel. OpenCode Zen is the company's curated model marketplace: a handpicked set of LLM models that Anomaly has tested and benchmarked specifically for coding agent tasks. Zen removes the evaluation burden of choosing between dozens of models by providing validated options that perform consistently on agentic coding workflows. Zen requires a separate billing relationship with opencode.ai but has no mandatory subscription: developers can connect any external provider or account instead. Privacy is a first-class commitment: OpenCode explicitly does not store code or context data, enabling use in privacy-sensitive environments and regulated industries where cloud-processing tools are restricted. The platform is MIT licensed and open-source on GitHub at github.com/anomalyco/opencode, with the full source available for audit, self-hosting, and extension. No SOC 2, HIPAA, or commercial compliance certifications exist, which is a hard constraint for enterprise procurement teams that require certified vendors. OpenCode is free by design but is not the right fit for developers who want a managed subscription with built-in usage quotas and no configuration. Cursor at $20/month and Claude Code Pro at $20/month provide self-contained experiences with billing, support, and model access handled by a single vendor. OpenCode requires the developer to manage their own API keys or subscription accounts, which adds initial setup friction and ongoing billing complexity when usage spans multiple model providers. Teams needing GitHub-native features including PR review, code review comments, and CI/CD integration should evaluate GitHub Copilot at $10/month rather than assembling those integrations manually via MCP. Current state Q2 2026: OpenCode reached 170,000 GitHub stars with active daily commits. The desktop app remains in beta on macOS, Windows, and Linux. OpenCode Zen continues as the curated model marketplace for developers who want validated model recommendations rather than open-ended provider selection. The platform supports 75+ LLM providers and both local and remote MCP servers with full OAuth support.

Pricing

free

Segment

b2b

Setup

easy

Verified

Jun 5, 2026

Transparency

Public

Contract

Month-to-month

Data training

Not Trained

Autonomy

Human Optional

Capabilities

agentic-codingmulti-file-editingcode-generationterminal-agentopen-sourcebyokgit-native

Pros & Limitations

Editorial assessment

Pros

  • Multi-account architecture lets developers log in with GitHub Copilot or ChatGPT Plus/Pro to reuse existing subscription quotas: materially better unit economics than BYOK-only alternatives requiring separate API keys, and better than single-provider tools for teams already paying for Copilot.
  • Multi-session parallel agents run simultaneously on the same project, with MCP support for both local and remote servers including OAuth: developers can connect Sentry, GitHub, Linear, and any other MCP-compatible tool without leaving the terminal workflow.
  • Privacy-first architecture with no code or context storage, MIT license, and full source available on GitHub: enables deployment in regulated and privacy-sensitive environments where cloud-processing AI tools are prohibited by policy.

Limitations

  • No commercial support, SLA, or compliance certifications: enterprise procurement teams requiring SOC 2, HIPAA, or contracted support cannot use OpenCode as a vendor-backed tool, limiting adoption in regulated industries regardless of technical capability.
  • Multi-provider flexibility creates setup complexity: developers must manage API keys, billing relationships, and model selection across multiple providers, adding initial friction and ongoing account management compared to single-subscription tools like Cursor or Claude Code.
  • No commercial enterprise features: there is no SSO, admin dashboard, centralized billing, or usage analytics, making it unsuitable for managing AI coding tool adoption across engineering teams where visibility and access controls matter.

Technical Details

Deployment
CLIDesktop AppVS Code Extension
Avg setup timeUnder 15 minutes (install via curl, npm, brew, or download desktop app; configure provider account or BYOK; first prompt)
Autonomous rateConfigurable: OpenCode runs autonomously on multi-step tasks with developer approval; multi-session enables parallel agent execution on the same project
MCP compatibleYes
Integrations
GitHubVS CodeOllamaMCPGitHub CopilotChatGPT Plus/ProClaudeOpenAIGoogle GeminiOpenRouterModels.devSentry MCPContext7

Similar agents

Rating

4.1/ 5

Editorial score

How we score this →

Score breakdown

AutCap 4 · IntDepth 4 · PriceTrans 5 · IndEvid 4 · SetupAcc 5 = 4.10

Industries

B2BEnterpriseSaaSDevToolsOpen Source

Leave a review

Never displayed publicly.

Agent Stacks

See workflow stacks that feature OpenCode.

Compare

Related Content

Is this your tool?

Claim this listing to update your details and get a Verified badge.

Claim listing →