Multi-run
Run one prompt across several models at once to compare their results, then fuse the best parts into one implementation.
Launching a Multi-run
Open a repository and click Multi-run in the header, next to New Session. A side sheet opens on the Runs tab. To start a run, switch to New run:
- Give the run group a Group name.
- Enter the Prompt to send to every model.
- Select up to five models. Search with Search models..., or pick from the list: your default model, Favorites, and Recent come first, then the remaining models grouped by provider.
- Leave Isolate runs on to give each model its own workspace.
- With Isolate runs on, optionally change Start from: a local or
originbranch. It defaults to the repository's current branch.
Click Launch. Each selected model gets its own session, and the same prompt is sent to all of them. Models are checked before any workspace is created, so a model that is not available fails its entry without creating a workspace while the other models still launch. Launching is parallel, and one model failing does not stop the others: the failed entry records its error while the rest keep running. After launching, the sheet switches back to Runs. The native app opens the same runs and launch UI as a full screen from the repository header's Multi-run button, with Runs and New run tabs.
Isolation
With Isolate runs on, each run is created in its own OpenCode worktree: a detached checkout of the repository at the chosen ref, with no branch created. These worktrees appear in the repository's Worktrees tab, and the session for an isolated run opens with that tab selected. With isolation off, every run shares the repository directory.
In the Worktrees tab, a multi-run's isolated worktrees and its fusion worktrees are grouped under one collapsible card named after the run group. The card shows how many worktrees it holds and a Clean up action that removes them all; each worktree inside keeps its own new-session, terminal, and delete actions.
Linked Servers
A linked server's project page and each of its project rows on the home page have their own Multi-run button. Runs are scoped to that server and project directory, and their history is stored in the Manager like local runs.
With Isolate runs on, every workspace is created on the linked machine, not on the Manager, so it does not appear in a local repository's Worktrees tab. Start from is a free-text branch or ref there, because the Manager cannot list that repository's branches. Discarding an isolated entry removes its workspace on the linked server. Fusion also runs on the linked server in a new workspace.
The Walkthrough action is not available for linked-server entries, because walkthroughs are built by the Manager from local working trees.
Runs
The Runs tab lists the 20 most recent groups as cards, newest first and expanded. Each card shows the prompt (long prompts collapse behind Show more), the model count, whether runs are isolated or share the repository checkout, the base ref, and when it started.
Each entry shows its model and status: Starting, Running (with the live session indicator), Ready once its session is idle, Failed with the error, or Discarded. From an entry you can:
- Open its session.
- Walkthrough — open a step-by-step change walkthrough of the session's changes.
- Discard (⋮ menu) after confirmation. Discarding an isolated run also removes its worktree directory; if that worktree was already removed, for example from the Worktrees tab, discarding still succeeds. A non-isolated run keeps its session in the repository.
Discarding is irreversible and cannot be repeated on an already discarded run. Deleting a repository removes its multi-run history.
Fusing Results
Fusion combines the best parts of two to five finished runs into one new session.
- On a run card, click Fuse results (available once at least two entries have started).
- Tick the entries to combine. Only Ready entries can be selected; others show why they are unavailable.
- Pick a Synthesis model, optionally change Base ref (defaults to the run's base; blank uses the current HEAD), and optionally add Instructions (up to 4,000 characters).
- Click Start fusion. The fusion session opens when it starts.
A fusion always runs in a new worktree, <group>-fusion-<n>, as a session titled <group> · fusion. Fusion needs a Git repository, so it is not available in the Assistant workspace. The prompt contains the original objective, your instructions, and each source's final reply and diff, truncated to fit; truncated sources are marked (truncated). If the selected results are too large, fusion stops with Too much context — select fewer sources or shorten the instructions.
Sources are read-only. The fusion session can read each source worktree but cannot edit it. In its own worktree everything is allowed except agent questions, access to other directories, and destructive shell commands such as git push --force or sudo.
Before starting, the server checks every selected source again. A source that is still running, has no final reply, failed, was interrupted, or whose session was deleted is marked on its row. Resubmitting the same fusion request never starts a second fusion. If an attempt recorded as failed turns out to have started its session after all, it is marked as started and the new request stops with An earlier attempt is already running; Open takes you to it.
Each card lists its Fusions with model, status, source count, and Open / Walkthrough actions.