SST · opencode
Run opencode with Wisp Agents
Point opencode at any provider and let it work in the background. Wisp Agents 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.
wisp "fix the flaky test" --agent opencodeHow Wisp Agents runs it
opencode run --format json --print-logs --log-level ERROR \
[--agent plan | --auto] [--model provider/model --variant <effort>]
| Wisp Agents mode | What opencode gets |
|---|---|
| Plan (read-only) | --agent plan |
| Edits | (its own permissions) |
| Full auto | --auto |
Questions and permissions
An MCP tool, wisp_ask_user, added through opencode’s inline config, with a long MCP timeout so it can wait for you.
Calls opencode refuses come back on the card with Allow & retry, which re-runs the turn with just that call allowed.
Models
Every provider/model from opencode models, with each model’s variants as the thinking level.
Ask on the side, pick it up yourself
A btw question is answered on a fork of the session (--session <id> --fork), so it knows what the run did and why. Open in opencode (o in the TUI) resumes the same conversation in its own CLI: opencode --session <id>.
Also
- Attachments go in with
--file. - When a free model is rate-limited and opencode keeps retrying in silence, Wisp Agents stops waiting and says so on the card.
- If opencode isn’t on your PATH, Wisp Agents can install its own copy from the launcher.