Animation an agent can write, run, and prove.

Wisp is interactive animation that agents write, run and prove: vector art, clips, a state machine and pointer behaviour in one readable JSON document — no install needed to try it here.

Open Studio — no install Get the source on GitHub

She follows your cursor anywhere on this page. Tap her head, tummy or a hand — then try leaving for a few seconds.

—web player, Brotli
—conformance cases per engine
—matching display-list frames
—baby document

How it works

Vector art, timeline clips, a layered state machine and pointer bindings live in one readable JSON document. Scripted inputs let you replay and compare the same scene frame by frame.

The document

A real excerpt of ghost-wave.wisp.json from the cookbook — nodes, a clip, and the transitions that drive it:

loading…

Full source JSON →

The loop

write→ validate→ lint→ sim→ sheet→ look

An agent that cannot watch the animation simulates it with scripted expectations, then renders a labeled contact sheet and reads it. This is wisp sheet baby.wisp.json --layer mood:

Contact sheet of the baby in every mood state, two frames each

The runtime

One spec, two engines — TypeScript (reference) and Rust (wisp-core) — held to the same conformance suite.

  • Web (this page, <wisp-player>)shipping
  • CLI (validate · sim · sheet · render · diff)shipping
  • iOS (WispKit / WispView)simulator verified
  • Android (Kotlin WispView)emulator verified
  • WASM build of the Rust coreconformance tested

Hosts need four things: load a document, call advance(dt), forward pointer/input calls, draw a display list.

Built by agents

Fresh agents that had never seen Wisp built these from the docs alone — then wrote up what confused them. Their findings fixed the docs.

Runs natively

The Rust core renders the same files in native views. Below, the year-in-review story full screen on each platform, captured from the demo apps. Playback was verified on the iOS Simulator and an Android emulator. Physical devices are untested.

The year-in-review story running full screen on the iOS simulator, in the demo app (WispKit)
iOS simulator, full screen, in the demo app · WispKit
The year-in-review story running full screen on an Android emulator, in the demo app (Kotlin WispView)
Android emulator, full screen, in the demo app · Kotlin WispView

For agents

Wisp is built for the author who cannot watch. The rule from AGENTS.md: a change is not done until all five hold.

  1. pnpm wisp validate <file> reports no errors;
  2. pnpm wisp lint <file> reports nothing you cannot justify in one sentence;
  3. pnpm wisp sim <file> --script <file>.sim.json prints sim ok, with at least two expect steps;
  4. pnpm wisp sim … --check-continuity reports no L210;
  5. you rendered a sheet (wisp sheet … --states) and looked at it — joints attached, states visually distinct, nothing clipped.
wisp schema — queryable authoring schema wisp skill — the authoring guide wisp describe — plain-language summary wisp inspect --json — resolved values + drivers wisp render --compare — pixel-diff a baseline wisp diff a.json b.json — semantic review diff wisp typegen — TypeScript host contract wisp import-svg — layered SVG → Wisp