PIMP MY IDEBack to garage
OpenCode 2.0 / compound tool calls / 14 Oct 2026

One program. Many sharp edges.

Code Mode can replace a long chain of model tool calls with one short program. The speed win is real. The program still needs a visible action budget.

Count external effects, not model round trips. A compact script can fan out across repositories, tickets, messages, and cloud accounts.

The call count shrinks

OpenCode's 2.0 announcement describes Code Mode as a tool layer inside the agent. The model can search available tool catalogs, then send a TypeScript program to an interpreter. That program can call several tools and return a smaller result to the model.

The announcement's example finds GitHub and Linear tools. A later program reads open GitHub bugs once, creates three Linear issues in parallel, and returns only the new issue identifiers. This can cut repeated model turns and keep bulky intermediate data out of the conversation.

Token savings measure what the model reads. They do not measure what the program can change.

The program becomes the review unit

A sequence of individual tool calls leaves a visible trail by default. A compound program can put discovery, branching, concurrency, retries, and writes inside one execution. Review the whole program before treating a lower call count as lower risk.

Mark every external write. Set limits for fan-out, retries, time, and spend. Keep reads separate from writes when the host supports that split. If three ticket writes run in parallel, the receipt needs three results. One successful program exit is not enough.

The catalog is not permission

Finding a tool proves that the interpreter can name it. It does not prove that this session should call it. OpenCode's plugin documentation says plugins can respond to events and alter behavior. Its SDK documentation exposes a typed client for controlling a running server. Both are useful extension paths. Both make identity and scope part of the program contract.

Record which server supplied each tool, which account backs it, and which resources it can reach. Pin names or schemas when stable execution matters. Refuse a write when discovery returns an unexpected tool or changed input shape.

Version labels need a second look

The product article is titled "OpenCode 2.0." At the time of this read, the repository's latest-release endpoint reported tag v1.19.0, published on 11 October 2026. That mismatch may reflect separate product and package version tracks. It is enough reason to verify the exact install target instead of copying the article title into a package pin.

Fit four fuses

  1. Save the discovered tool names and their source servers.
  2. Review the full program, including branches, concurrency, and retry limits.
  3. Bind each mutating call to an identity, target set, and action ceiling.
  4. Keep one result per attempted effect, plus the program revision and reviewer.

The rack below drafts those requirements. Selecting every fuse does not run or approve a program.

Interactive makeover / compound action control

Code Mode fuse rack

Replace one vague "allow tools" switch with four native checkboxes. Each fuse lights its own node and writes one requirement into the review card.

Requirements to include
1 requirement selectedProgram not reviewed

3 requirements are still open.

Selected requirements appear in the card. No program evidence has been supplied.

Sources read / 14 Oct 2026

Evidence rack

First-party announcement

OpenCode 2.0

Describes the shared background service, API, Code Mode interpreter, background jobs, and plugin changes.

Read the announcement
First-party documentation

OpenCode SDK

Documents the typed JavaScript client and server connection used to control OpenCode from another application.

Read the SDK guide
First-party documentation

OpenCode plugins

Documents plugin loading, event hooks, dependencies, and behavior changes available through the extension system.

Read the plugin guide
Canonical release metadata

OpenCode releases

The GitHub latest-release endpoint reported v1.19.0 when checked. Package pins need the exact distribution version.

Inspect v1.19.0
Discovery route

Hacker News discussion

The front page led to the announcement. The discussion is a discovery route, not evidence for product behavior.

Open the discussion