Anomaly published the OpenCode 2.0 launch note on Oct 12: a single auto-started local service shared by the TUI, web and desktop apps; a rewritten server API with the new @opencode/client; @opencode/codemode, which turns MCP servers and OpenAPI endpoints into functions the model composes in scripts (all MCP servers opt into Code Mode by default); background subagents and background shell commands; 80+ internal features rebuilt as hot-reloadable plugins; and @opencode/sdk for embedding the same engine as a library. V1 plugins and the old server API are not compatible.
Key Takeaways
- ✓Architecture: one auto-started local background service shared by TUI, web, desktop and @opencode/client scripts;
opencode pairconnects other hosts - ✓Code Mode: @opencode/codemode converts MCP servers and OpenAPI endpoints into script-callable functions; every MCP server defaults to Code Mode (
codemode: falseopts out) - ✓Orchestration: background subagents (
background: true, default nesting depth 1) and background shell commands with no default timeout; Ctrl+B moves running work to the background - ✓Extensibility: 80+ features implemented as internal plugins, TUI plugins now stable and hot-reloadable; @opencode/sdk is the same code as the CLI
- ✓Migration: three breaking areas (plugin API, server API/clients, tui.json to global cli.json); upgrade with
opencode upgrade --major

Key Decision Metrics at a Glance
Turn your technical choice into a development budget
Compare 40 dev plans & simulate token costs vs $20/mo subscriptions
Project Links & Resources
Direct AccessIn-Depth Technical Analysis
OpenCode 2.0, the open-source coding agent from Anomaly (anomalyco/opencode), is a major overhaul. A single local background service now runs automatically and is shared by the terminal UI, web interface, desktop app and scripts built on the new @opencode/client package; opencode pair exposes it to other hosts. The server API was rewritten from scratch, and OpenCode can call its own API, for example to move a session into a git worktree. The new @opencode/codemode package is a minimal JavaScript interpreter that turns MCP servers and OpenAPI endpoints into functions, so the model can call a tool, map over results and call another in one round trip; all MCP servers default to Code Mode, which the team says lets you add many servers with minimal context bloat. Background subagents and background shell commands let the primary agent keep working while long tasks run, and Ctrl+B moves foreground work to the background. More than 80 features are now internal plugins, TUI plugins are stable, and everything is hot-reloadable. @opencode/sdk exposes the same engine as a library. The launch note publishes no benchmarks. Breaking changes: V1 plugins do not run, the server API is different, and tui.json moves to cli.json. Upgrade from the latest 1.x with opencode upgrade --major.
Benchmark side-by-side against alternatives, or calculate monthly token cost vs subscription break-even.
Discussion & Comments
0Sign in to join the discussion
Connect with AI developers to exchange benchmark insights.