# OpenCode (VYAGENT Radar #11)

> MIT-licensed terminal AI coding agent with 75+ LLM providers, built-in Plan/Build modes, and native MCP + ACP support.

- **URL**: https://vyagent.com/radar/opencode
- **Published**: 2026-11-28
- **Category**: CLI Agent · Coding
- **License**: MIT
- **Pricing**: Free & Open Source (includes starter free models; bring any API key or local Ollama)
- **Agent Ready**: CLI, MCP, Local-first, Open Source
- **Source**: https://github.com/opencode-ai/opencode
- **Package / Docs**: https://opencode.ai

## 1. Friction Solved
Proprietary terminal coding agents lock developers into a single model vendor, opaque billing tiers, and one editor ecosystem. OpenCode removes that lock-in: it runs natively in your terminal, connects to 75+ cloud and local model providers (including Anthropic, OpenAI, Gemini, OpenRouter, Groq, and Ollama), and exposes an Agent Client Protocol (ACP) bridge so editors like Zed, JetBrains, and Neovim share the exact same agent backend.

## 2. Best-Fit Scenarios
- Switching cleanly between a read-only Plan mode (architecture & codebase exploration) and a Build mode (file edits & test execution) via Tab without risking accidental writes.
- Pairing frontier models for planning with free-tier APIs or local `qwen3-coder:30b` via Ollama for routine refactors and test generation.
- Running `opencode acp` inside ACP-compatible editors or connecting custom MCP servers (GitHub, Playwright, SearXNG) from a single declarative config.

## 3. Setup (Install OpenCode & Launch in Terminal or ACP Editor Mode)
```
# Install via official script or npm / Homebrew
curl -fsSL https://opencode.ai/v2/install | bash
# Or: npm install -g @opencode/cli@latest

# Launch interactive TUI in your repository
opencode

# Or expose OpenCode as an ACP agent backend for Zed / JetBrains / Neovim
opencode acp --cwd /path/to/your-project
```

## 4. Reality Check & Trade-offs
- Multi-provider freedom means tool-calling reliability depends heavily on the underlying model you pick—weak 7B local models may loop on complex multi-file edits.
- Loading 10+ heavy MCP servers simultaneously inflates every turn’s system prompt; keep only task-relevant MCP servers enabled per project.
- Fast-moving releases can occasionally change config schemas between minor versions—pin versions in team setups and check release notes before upgrading.

## 5. Editorial Verdict
OpenCode is the closest thing to a true open-source Swiss Army knife for terminal coding agents—especially valuable if you already care about MCP, ACP, and multi-provider cost routing.

## 6. FAQ
### How does OpenCode differ from Claude Code and Aider?
Unlike Claude Code (tied primarily to Anthropic’s stack), OpenCode is MIT-licensed and provider-agnostic across 75+ LLMs. Compared to Aider’s git-diff chat loop, OpenCode adds a richer TUI, native MCP tool routing, Plan/Build modes, and ACP editor integration.

### Can I use OpenCode completely offline with Ollama?
Yes. Point OpenCode at your local Ollama endpoint (`http://localhost:11434/v1`) with a strong tool-calling coding model such as `qwen3-coder:30b` or `devstral:24b` for zero-cost private coding.
