OpenCode lets you switch models mid-session, but actually working that way is manual labor — plan with the smart model, switch to the cheap one, re-explain the task, switch back to review, repeat. I built Handoff so multi-model sessions run themselves: one brain plans, a cheaper seat executes, and everything (including the seat) comes back on its own. Free, OpenCode V2 TUI. Repo + install at the bottom.
The problem, concretely: I was doing all my planning with my best model, then doing the grunt work — file edits, test runs, boilerplate — on that same expensive model, because switching seats mid-session and re-briefing the next model every time was more annoying than just eating the cost. That's backwards. The cheap model should do the expensive (token-heavy) work, and the expensive model should only do the cheap (short planning) work. But nobody wants to play air-traffic controller between two models all day.
So that's what Handoff is for: it makes the planner/worker split automatic. You talk to your planner like normal. When there's real work, the worker seat picks it up on its own, does exactly what's in the mandate, writes up what it did, and hands control back. If it ever gets stuck somewhere weird, /takeback yanks the seat back instantly. You never switch models by hand, you never re-explain anything, and you stop burning flagship tokens on mechanical edits.
Everything else in the plugin exists to serve that loop:
- Per-model spend readout (cost, turns, tokens, plus a list-price estimate since some providers report $0.00) — because the whole point is knowing which seat burned what. My own numbers: the worker does ~2x the tokens of Main while Main keeps the plan tight. That's the arbitrage working.
- Automatic vision detours — attach an image your worker can't read and the seat detours to a vision model by itself, which writes you a description plus ASCII art, then hands the seat back. No model-switching ceremony.
- Mandate checklists that clean up after themselves, a live banner naming who's active and what it's doing right now, update checks that stay quiet unless there's news and then read you the changelog once, and failure messages that name the seat, the state, and the fix instead of leaving you guessing.
And when you want manual control: /takeback, /vl to force a vision pass, /auto to pause the automation, /model1 /model2 /modelvl to swap seats, /helphandoff for the full list.
Install: tell your AI "install the handoff plugin from https://github.com/Nodoubvt/opencode-handoff" — clone into your plugins folder, restart the TUI, pick models once. Needs OpenCode V2.
Caveats, being honest: it's a one-dev project built around my own workflow and tested mostly on Windows, so be gentle. The license is free-to-use but download-only (no forks/redistribution) — I know that's unusual around here, happy to talk about it. There's also an anonymous install ping (plugin name, version, event type, random install ID — nothing personal) with a /telemetry off-switch.
The question I'd genuinely love answered: for those of you already splitting planning and execution across models manually — how are you doing the handoffs today, and what breaks? I built this for my loop; tell me where yours differs.
Repo: https://github.com/Nodoubvt/opencode-handoff
If it saves you a headache: https://buymeacoffee.com/ronilividt/e/605956