OpenCode 2.0 officially launches with background agents, Code Mode, and a rebuilt API
by Mauricio B. Holguin

OpenCode 2.0 officially launches with background agents, Code Mode, and a rebuilt API

The open-source AI coding agent OpenCode has officially launched version 2.0, about three months after its public beta began. The update introduces a shared local background service that connects its terminal, web, and desktop interfaces, alongside a rebuilt API and a new @opencode/client package that lets scripts automatically discover and interact with the service.

The release also introduces Code Mode, allowing agents to write scripts that combine calls to MCP servers and OpenAPI endpoints within a single execution flow. Background subagents can now handle tasks while the primary agent continues working, and shell commands can run asynchronously without blocking interactions.

OpenCode 2.0 also expands its plugin system, making TUI plugins stable and supporting hot reloading during active sessions. A new @opencode/sdk lets developers embed OpenCode into custom applications using its standard server protocol. However, the upgrade introduces breaking changes, including incompatibility with 1.0 plugins and a completely redesigned server API.

Darlene Sonalder
Darlene Sonalder found this interesting
Add as a preferred source on Google
opencode iconopencode
  60
  • ...

OpenCode is a free, open-source AI coding assistant that helps you build, understand, and improve software projects. It works in the terminal, as a desktop app, and through IDE integrations, so you can use it in the...

No comments so far, maybe you want to be first?