RC RANDOM CHAOS

OpenCode 2.0 Overhauls AI Agent Platform

· via Hacker News

Original source

OpenCode 2.0

Hacker News →

OpenCode 2.0 introduces significant updates to its AI agent platform, enhancing performance and adding user-facing features. The service now runs as a single background process, enabling seamless communication between different interfaces and programmatic clients. The API has been completely redesigned to support a wide range of use cases, and the platform includes a new client package for JavaScript and Effect. The update also introduces Code Mode, allowing agents to write and execute scripts more efficiently. Background tasks and subagents enable better orchestration, while the plugin system has been expanded and stabilized. The SDK allows OpenCode to be used as a library, facilitating custom implementations. Upgrading to 2.0 involves breaking changes, particularly for plugins and the server API.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.