# Multiverse

Best-of-N for coding agents, with real checks.

- Type: Plugin
- Version: 1.1.0
- Updated: 22 Nov 2026
- Publisher: vdimarco
- Category: Tools

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Best-of-N for coding agents, with real checks. multiverse_race makes one git worktree per attempt (2 to 6) from the same base (HEAD, or the uncommitted working tree through git stash create), starts one delegate_task subagent per worktree with its own approach, pins each subagent to its worktree (pre_tool_call rewrites terminal workdir, file paths and V4A patch paths, and blocks access to the other worktrees and nested delegation), runs the same check commands in every worktree, ranks them by checks passed and then by the smallest real diff, and multiverse_adopt applies the winner with git apply.

With delegation.backend: multiverse, each attempt can use its own model and provider. Ulpi: a live race board pane (each attempt's status and tool-call count, then checks passed, diff and the winner), a status-bar chip while racing, and a toast when judging ends.

Disclosure — no network calls of its own, no credentials, no telemetry, no background threads. Runs git (rev-parse, stash create, worktree add/remove/prune, add -A inside the worktrees, diff, apply), mkdir, rm -f of its own.patch files and rmdir, plus your check commands, through the Ulpi terminal tool, so approvals and the configured terminal backend apply.

Creates worktrees next to the repository in.\<repo\>.multiverse/\<run id\>/. Starts subagents through delegate_task, which uses your configured model(s) and costs tokens per attempt.

Stores run metadata (goal, checks, worktree paths, scores, the last 1500 characters of each subagent summary) in its plugin state under ULPI_HOME/plugin-data. Sends plugin.multiverse.run snapshots (goal, checks, per-attempt label, model, approach, status, tool-call count, scores and diff stats; no subagent text) to Desktop windows attached to the same Ulpi process, at most once a second while attempts run; the desktop half keeps the last 10 runs in Desktop plugin storage.

## Tools it adds

The tools an agent gets once this plugin is installed.

- `multiverse_race`
- `multiverse_open`
- `multiverse_judge`
- `multiverse_adopt`
- `multiverse_close`

## Review notes

What an owner reads and accepts before the install is approved.

- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

## More in Tools

- [munin](https://www.ulpi.io/en/marketplace/plugins/munin): Munin meeting notes for Ulpi: ask what was decided in your last meeting, get a follow-up with every action item checked against the transcript and cited by meeting id.
- [muse-harness](https://www.ulpi.io/en/marketplace/plugins/muse-harness): Drive local Muse Code over MSP so Wonder Full can call MCP tools.
- [Music Listener](https://www.ulpi.io/en/marketplace/plugins/music-listener): Listen to an MP3/FLAC/WAV by reconstructing every instrumental track, the vocal melody, pitch contour and time-aligned lyrics into a multi-track MIDI, MusicXML score.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
