OpenCode 2.0 is here, with a massive overhaul of the open-source AI coding agent!
The biggest architectural change is a single background service shared by the terminal, desktop and web interfaces. But there's much more:
• Code Mode: Agents can write JavaScript to combine MCP tools and APIs, reducing tool-call overhead and context bloat.
• Background agents: Run subagents and shell commands asynchronously while you keep working.
• New API: Completely redesigned for more powerful session management and orchestration.
• Plugins: Over 80 internal plugins, TUI extensions and hot reloading. OpenCode can even write and load its own plugins!
• New SDK: Build custom coding agents and interfaces on top of OpenCode.
OpenCode is evolving from an interactive coding assistant into a fully programmable development platform.