Quilt as a Universe Model

A SuperInstance. Each Quilt sheet is a self-contained universe. Each cell can wrap any engine โ€” a robotics simulator, a game engine, a notebook kernel, a paper trading app, a backtester. The cell model is the universal API to any simulator.

00The SuperInstance

The name fits. A Quilt sheet is a SuperInstance โ€” a self-contained universe that:

Each sheet is one universe. You can run thousands in parallel. You can compose them. You can have universes that contain universes. The cell model is the substrate; everything is a cell.

The name, in one line

A Quilt sheet is a SuperInstance โ€” a single, self-contained, addressable, inspectable, forkable instance of a universe. And because every cell is addressable, the whole universe is addressable.

01Cells as engine wrappers

The key architectural move: a cell can wrap any external system that has state. The cell exposes the engine's state as Quilt cells, and translates between Quilt reactivity and the engine's API.

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ THE SUPERINSTANCE โ€” a Quilt sheet โ”‚ โ”‚ โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ โ”‚ โ”‚ isaac.robot โ”‚ โ”‚ minecraft. โ”‚ โ”‚ jupyter. โ”‚ โ”‚ โ”‚ โ”‚ (NVIDIA โ”‚ โ”‚ player.tile โ”‚ โ”‚ notebook โ”‚ โ”‚ โ”‚ โ”‚ Isaac Sim) โ”‚ โ”‚ (Minecraft) โ”‚ โ”‚ (Jupyter) โ”‚ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ โ”‚ โ–ฒ โ–ฒ โ–ฒ โ”‚ โ”‚ โ”‚ state as cells โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ โ”‚ โ–ผ โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ โ”‚ โ”‚ THE QUILT RUNTIME โ”‚ โ”‚ โ”‚ โ”‚ reactive propagation, formula eval, AI cells, โ”‚ โ”‚ โ”‚ โ”‚ listeners, routers, time-stepped simulation โ”‚ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ โ”‚ โ–ผ โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ โ”‚ โ”‚ policy.cell โ”‚ โ”‚ trading. โ”‚ โ”‚ backtest. โ”‚ โ”‚ โ”‚ โ”‚ (LLM-driven โ”‚ โ”‚ portfolio โ”‚ โ”‚ equity_curve โ”‚ โ”‚ โ”‚ โ”‚ decision) โ”‚ โ”‚ (paper trade)โ”‚ โ”‚ (alt univ.) โ”‚ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

The engine cell pattern

For each engine, a Quilt adapter exposes the engine's state as cells. The adapter is a thin shim that translates between Quilt reactivity and the engine's API.

# A paper trading cell
- id: trading.btc_price
  kind: engine
  engine: coingecko
  symbol: BTC
  # Wraps the CoinGecko API; the cell's value is the current price

# A backtest cell
- id: backtest.equity
  kind: engine
  engine: backtest
  strategy: moving_average_crossover
  data: trading.btc_price
  # Wraps a backtester; the cell's value is the equity curve

# A Minecraft cell
- id: minecraft.player_pos
  kind: engine
  engine: minecraft
  player: Steve
  # Wraps a Minecraft server; the cell's value is the player's coords

# A Jupyter cell
- id: jupyter.last_output
  kind: engine
  engine: jupyter
  kernel: python3
  # Wraps a Jupyter kernel; the cell's value is the last execution result

Each engine cell is reactive. When the wrapped engine's state changes, the cell updates. When a Quilt cell changes that the engine cares about, the engine is notified.

02The engines

These are the engines that can be wrapped as Quilt cells. Each is a real system with state and an API. The cell model makes them all addressable from one substrate.

๐Ÿค–
NVIDIA ISAAC

Robotics simulator

Real-time physics, photorealistic rendering, used to train robots (sim-to-real). Wrap as a cell: joint positions, camera feed, action commands.

๐ŸŒŒ
NVIDIA COSMOS

World foundation model

Generates physically-grounded video for training embodied AI. Wrap as a cell: predicted next frame, world state, physics constraints.

โ›๏ธ
MINECRAFT

Sandbox game

The most-deployed simulation in history. Wrap as cells: per-player state, per-tile state, events. A whole multiplayer game as a Quilt sheet.

๐ŸŽฎ
UNREAL / UNITY

Game engines

Photorealistic 3D, physics, AI. Wrap as cells: actors, transforms, events. An entire 3D world as a Quilt sheet โ€” every actor is a cell.

๐Ÿ““
JUPYTER

Notebook kernel

Live code, live output, live state. Wrap as cells: kernel state, last output, execution count. A notebook is just a Quilt sheet with a code cell.

๐Ÿ“š
NOTEBOOKLM

Source-grounded LLM

Notes as a knowledge base. Wrap as cells: per-note embeddings, retrieval scores, generated answers. The whole knowledge base is a Quilt sheet.

๐Ÿ’ป
PYCHARM

IDE

Files, diagnostics, run configs. Wrap as cells: open files, lint warnings, test results. An IDE is a Quilt sheet with editor + cells.

๐Ÿ“ˆ
PAPER TRADING

Trading simulator

Simulated fills, real prices. Wrap as cells: positions, P&L, equity curve. A trading app is a Quilt sheet with price cells.

๐Ÿ”
BACKTEST

Alternative universes

Run the same strategy under different assumptions. Each universe is a Quilt sheet. The multiverse is a Quilt of Quilt sheets.

03Architecture: the engine adapter

An engine adapter is a small module that exposes an external system as a Quilt cell. The adapter handles:

// An engine adapter in TypeScript
abstract class EngineAdapter {
  abstract name: string;
  abstract schema: CellSchema[];  // which cells this engine exposes

  abstract async connect(): Promise<void>;
  abstract async disconnect(): void;

  // Engine โ†’ Quilt: when engine state changes, update the cell
  abstract on(cellId: string, handler: (value: any) => void): void;

  // Quilt โ†’ Engine: when a Quilt cell changes, send to engine
  abstract async send(cellId: string, value: any): Promise<void>;
}

// A concrete adapter for paper trading
class CoinGeckoAdapter extends EngineAdapter {
  name = "coingecko";
  schema = [
    { id: "trading.btc_price", type: "number", source: "https://api.coingecko.com/..." },
  ];

  async connect() {
    // poll CoinGecko every 30s
    setInterval(async () => {
      const price = await fetch("...").then(r => r.json());
      this.emit("trading.btc_price", price);
    }, 30000);
  }

  async send(cellId: string, value: any) {
    // write to our local paper trading ledger
  }
}

04Backtesting alternative universes

The killer app: fork the universe. You have a strategy. You want to know how it would have done with different decisions. In Quilt, this is trivial:

# The base universe โ€” the strategy you ran
- id: universe.base.strategy
  kind: engine
  engine: "backtest"
  rules: "buy when MA(20) > MA(50), sell otherwise"

# An alternative universe โ€” the same strategy, different timing
- id: universe.alt1.strategy
  kind: engine
  engine: "backtest"
  rules: "buy when MA(20) > MA(50) + RSI < 70, sell otherwise"

# Another alternative โ€” different exit
- id: universe.alt2.strategy
  kind: engine
  engine: "backtest"
  rules: "buy when MA(20) > MA(50), sell on +5% or -2%"

# Compare the three equity curves
- id: multiverse.equity_chart
  kind: formula
  value: "[universe.base.equity, universe.alt1.equity, universe.alt2.equity]"

Each "universe" is a Quilt cell that wraps a backtest engine. The "multiverse" is a Quilt cell that aggregates them. The user sees three equity curves, side-by-side, on one sheet. The substrate is the same โ€” every universe is just cells.

05Engines as cells: the full table

EngineCells exposedUse case
Isaac (robotics)joint positions, camera, contact forces, action commandsSim-to-real robot training, policy eval
Cosmos (world model)predicted next frame, world state, physics constraintsEmbodied AI training, counterfactual
Minecraftper-player pos, per-tile state, chat, eventsMulti-agent sim, AI agents in a world
Unreal / Unityactor transforms, events, blueprintsPhotorealistic 3D, game AI
Jupyterkernel state, last output, execution count, varsLive notebook as reactive cells
NotebookLMper-note embeddings, retrieval, answersRAG over your notes
PyCharmopen files, diagnostics, run configs, test resultsIDE as a Quilt sheet
Paper tradingpositions, P&L, equity, pricesStrategy testing with real prices
Backtestequity curve, trades, metrics, paramsAlternative-universe sim
Web searchsearch results, snippets, sourcesLive RAG, real-time info
Databaserows, columns, joins, queriesLive data as cells
Spreadsheetcells, ranges, formulasThe spreadsheet IS a Quilt sheet

06The implications

1. Any simulator becomes a Quilt cell

If it has state and an API, it's a cell. The Quilt cell model is the universal interface to any simulator. You don't have to choose between Minecraft and Isaac and Jupyter โ€” they coexist in the same sheet.

2. Simulators compose

An Isaac cell (robot) and a Minecraft cell (world) and a Jupyter cell (code) can be in the same sheet. The robot acts in the world, the world reacts, the code runs the analysis. One sheet, three engines, one reactive system.

3. The multiverse is a graph

Forking a universe is just cloning a sub-graph. Comparing universes is just having two sub-graphs side-by-side. The "multiverse" is a Quilt sheet of Quilt sheets.

4. AI is just another engine

An LLM cell is an engine wrapper โ€” it wraps the OpenAI / z.ai / Kimi API. The same pattern as Isaac or Minecraft: external state exposed as cells, reactive updates, cell changes trigger commands. AI is a simulator too โ€” one that simulates language.

5. The world model is a cell

Cosmos is a world foundation model โ€” a neural network that generates physically-grounded video. Wrap it as a cell: cosmos.predicted_next_frame. The cell's value is the next frame. The cell updates when prompted. Other cells can observe it. This is the world model as a first-class Quilt citizen.

07From spreadsheet to multiverse

The cell model started as a spreadsheet. It became reactive. It became cellular. It became a runtime. It absorbed LLMs. It became self-improving. And now: it absorbs any simulator.

The trajectory is:

The cell model is the substrate. The SuperInstance is the artifact. The multiverse is the goal.

Try it