Open source

Multiverse

State management with Git-style branching semantics.

Open source · MIT

TypeScript

$ npm install multiverse

Overview

Fork application state, explore alternate timelines, merge what works. Multiverse treats state history as a first-class data structure — fork allocation benchmarked at 2.8M ops/s, merges inside a 60fps frame window.

What it does

  • 1.Git-style branching: fork, explore, merge, discard — timelines as cheap, safe operations.
  • 2.Proxy lazy-evaluation + CRDT-lite patch engine; hundreds of isolated agent branches at near-zero CPU cost.
  • 3.Timeline-safe UX patterns: undo trees, what-if previews, speculative edits without fear.

Why it exists

Branching state is memory with alternatives — the open-source expression of how I think about history, persistence, and divergence in software.