OpenCode Open source
Open-source terminal coding agent that works with any model provider
OpenCode ecosystem
What OpenCode can load, and the skills, subagents and MCP servers in this directory that work with it.
- β Agent Skills
- β Subagents
- β MCP
- β AGENTS.md
- β Plugins
- β Hooks
- β Rules
π§© Agent skills for OpenCode
What is OpenCode?
What it is
OpenCode is an open-source (MIT) AI coding agent built around a polished terminal interface, developed in the open at anomalyco/opencode. It is provider-neutral: you connect API keys from the LLM providers you already use, including local models, or use OpenCode Zen, the project's own gateway of tested models. A desktop app is available in beta for macOS, Windows and Linux.
The README's install script is curl -fsSL https://opencode.ai/install | bash. The docs also list npm install -g opencode-ai, brew install anomalyco/tap/opencode, Chocolatey, Scoop and Docker.
Key features
- Two built-in agents you switch with Tab: build (full access) and plan (read-only analysis)
- A general subagent for searches and multi-step work
/initscans your project and writes an AGENTS.md file- Language server (LSP) integration for code-aware edits
- Session sharing links and GitHub/GitLab integration
- Works with many providers, so you can bring an existing subscription or key
Skills, subagents and MCP
OpenCode is one of the closest open-source matches to Claude Code in extensibility. Custom agents are Markdown files in .opencode/agents/ (project) or ~/.config/opencode/agents/ (global), or entries in opencode.json; each can be a primary agent or a subagent you call with @, with its own model and tool permissions. The docs also cover Agent Skills, MCP servers and plugins. Project instructions go in AGENTS.md.
Pricing
OpenCode is free to use. You pay whichever model provider you connect. OpenCode Zen is optional and pay-as-you-go per token, with some free models on the list and a team spending cap; at the time of writing (September 2026) rates vary widely by model, so check the Zen docs for current prices.
Who it is for
Developers who want Claude Code-style agents, subagents and skills without being tied to one model vendor, and anyone who wants to run local or low-cost models.
Verdict
OpenCode combines a fast, well-designed terminal UI with a flexible configuration model and no licence cost. The trade-off is that you manage model costs and quality yourself, and the ecosystem of ready-made extensions written specifically for it is smaller than Claude Code's, although skills in the shared SKILL.md format carry over.
Source code: anomalyco/opencode β 211k Β· +1.4k this week Β· MIT Β· updated 2026-10-02
Pros
- Free and open source; any model provider
- Claude Code-style extensibility
- Fast, well-designed terminal UI
Cons
- You pay the model provider directly; costs vary with usage
- Smaller community of ready-made extensions
OpenCode pricing
Open source. Prices change often, so confirm on the official pricing page. See every vibe coding app's pricing side by side.
OpenCode alternatives
All alternatives βClaude Code Paid
Anthropic's agentic coding tool for the terminal, IDE, desktop and web
π₯ Claude Pro billed annually: $17/month instead of $20OpenAI Codex Freemium
OpenAI's coding agent for the terminal, IDE and cloud, included with ChatGPT plans
Amp Freemium
Frontier coding agent for the terminal and editor, from the makers of Sourcegraph
Orca Open source
An ADE for running fleets of coding agents in parallel worktrees, from desktop or mobile
Qwen Code Open source
Open-source AI coding agent from Alibaba's Qwen team, for terminal, IDE and desktop
Warp Freemium
Agentic development environment built on a modern terminal
π₯ Annual billing: Build plan $18/month instead of $20Compare OpenCode
Verdict
OpenCode scores 8.4/10 in our terminal coding agents ranking. Free and open source; any model provider.