Agents · opencode

Run opencode in the background

Point opencode at any provider and let it work in the background. wisp runs opencode run with the model and variant you pick, gives it a way to ask you questions, and turns the session into a short report.

opencode docs

Free and open source · uses your own SST account · macOS, Linux, Windows (beta) · Node 20+

A wisp report for a task opencode finished: headline, numbers, the diff and the test run

What wisp adds to opencode

How wisp runs opencode

wisp doesn’t replace or wrap opencode’s model access: it starts the opencode CLI you already have installed and signed in, in headless mode, and reads its event stream. Roughly:

opencode run --format json --print-logs --log-level ERROR \
  [--agent plan | --auto] [--model provider/model --variant <effort>]

Follow-ups resume the same session, so opencode keeps its context. Override the binary with WISP_OPENCODE_BIN.

Permission modes

Pick a mode per launch in the launcher (ShiftTab cycles them) or with --mode on the CLI. Here is what each one passes to opencode:

wisp modeopencode flag
Plan (read-only)--agent plan
Edits(its own permissions)
Full auto--auto

Calls opencode refuses come back on the card with Allow & retry, which re-runs the turn with just that call allowed.

Questions, /btw and take over

Asking you
An MCP tool, wisp_ask_user, added through opencode’s inline config, with a long MCP timeout so it can wait for you.
/btw side questions
Type /btw did you update the docs too? while it works. The question is answered on a fork of the session (--session <id> --fork), so it knows what the run did and why; the running task never sees it.
Take over
Press T on the card, or run opencode --session <id> yourself in the task’s worktree.
Models
Every provider/model from opencode models, with each model’s variants as the thinking level.

Get started

  1. Install opencode and sign in. Follow SST’s instructions until opencode runs in your terminal.
  2. Start wisp.
  3. Pick opencode in the launcher, describe the task and press Enter. From a shell: wisp "fix the flaky auth test" --agent opencode.

Run it next to other agents

The same queue takes every harness. Compare one task on two of them side by side, or let Auto pick the harness and model per task from what worked before.

Guides: Run Claude Code and Codex in parallel · Run coding agents on multiple machines · Multi-agent coding across Claude Code, Codex and more.