A shared grammar for apps and agents.

Plain JSON entities and schemas you never link. Author once — open the same .rig file in a browser player, a desktop or Raspberry Pi host, or your own code.

Explore the examples 3D schema graph

Plain JSON — Ship what you support.

v2.0.0 · stable 320 schemas MIT nothing to link

One file. Already runs.

RigWorks ships no runtime — only the agreed schema ids. Write a .rig document once and open it across independent hosts without converters:

Plays · Browser

RigPlayer

Drop a .rig file, press play, remix it, and share a link — transport, animation, and audio live in the browser.

Presents · Browser

RigViewer

Drop a .rig or .json document to inspect still geometry, layout, and entities with zero install.

Builds hosts · Desktop & Raspberry Pi

RigKit

The C++20 reference host (SUDE + ECS, modular packs, optional UI). Build native tools and live shows that read and write the exact same documents.

Any stack · Nothing to link

Your own app or script

Emit or parse plain JSON from Python, TypeScript, Rust, C++, or Blender — plus MCP tools for agents and VS Code autocomplete.

Private files. Tools that will not travel. Agents reinventing a format every session. Rig is the agreement that replaces all three.

Pain

Rig

  1. Work locked in the app

    A scene, a show, a panel — each lives in a private file. Moving it means a converter. Converters rot.

    The document is the artifact

    Plain JSON. Named components on entities. Same schema ids — present, play, or print without a bridge.

  2. Tools and UI do not travel

    Write a control panel for one app and you rebuild it for the next. The knobs stay trapped with the chrome.

    Share the tool — UI moves too

    Author a tool in App A. Load the same document in App B. Controls, groups, actions still turn the same fields. The interface is data.

  3. Agents reinvent the format

    Each session invents its own JSON. The next agent burns tokens decoding a private dialect — or starts over.

    Agreement saves tokens

    Load the skill, emit the document, validate. The next session — and every Rig host — already accepts it.

Example: one entity, drawn.

From minimal-scene.json. Any program that knows rig.geometry.rectangle can draw it — here drawn by the in-repo SVG fulfillment, or open it live in RigPlayer:

Minimal Rig scene drawn from examples/minimal-scene.json
{
  "id": "demo-rect",
  "components": {
    "rig.spatial.transform": { "position": [20, 65, 0] },
    "rig.geometry.rectangle": { "width": 140, "height": 90, "cornerRadius": 10 },
    "rig.paint.fill_stroke": { "fillRgba": [0.25, 0.65, 1, 1] }
  }
}