← Today's brief

Agents · Updated 15 Oct, 02:18 am IST

OpenCode 2.0 revamps client/server model and rebuilds its API

Image: Hacker News (100+ points)

Why it matters for readers: Curious readers can try the unified interface and pairing features to understand how an agent platform coordinates tools.

  • OpenCode 2.0 runs a single background server process that all interfaces (TUI, web, desktop) talk to.1
  • The programmatic client (@opencode/client) now autodiscovers the local service so scripts and scheduled tasks work without extra setup.1
  • You can expose the service to other hosts and use /pair or opencode pair to connect OpenCode to other applications.1
  • The API was rewritten from scratch after studying many user cases and is intended to support a wide range of agent needs.1
  • The post references millions of daily users as the basis for the redesign decisions.1

Get a brief like this every morning

Uzha reads hundreds of sources and gives you the stories that matter for your work, with every source linked. Free.

Get started