Sources:

Verification Status: Grade A — All claims verified via official OpenCode documentation.

OpenCode 2.0 replaces CLI with background service. Context preserved across terminal, desktop, web clients.

Key Features

@opencode/sdk: Embed OpenCode via HTTP router. Supports: Effect-native apps, Cloudflare.

Code Mode: JavaScript processes MCP outputs. Enables tool chaining, parallel calls, fetch.

Hot-Reloadable Plugins: Plugins update on config changes. Scans TypeScript, JavaScript.

Built-in Plugins

80+ built-in plugins cover common tasks.

Installation

macOS: brew install anomalyco/tap/opencode-v2 Windows: winget install OpenCode Linux: Download tar.gz for x64, ARM64, baseline.

Breaking Changes

Provider replay data is native. Tool data shares tool.native. Credentials moved from configuration to metadata.

Conclusion

OpenCode 2.0 offers a comprehensive platform for AI development, balancing extensibility with ease of use.