Demos
Everything here runs in your browser on the published library: no server, no build step.
Explorer
Three systems — an order pipeline with invoked payment and shipping machines, a 333-state support desk, and a GitHub gatekeeper — with playback controls.
Chart gallery
Classic statecharts drawn by <scxml-view>: parallel regions, history, delayed events, guards. Click a transition to send its event.
LLM chat
A group chat with a language model, run by statecharts: streaming, parallel tool calls from several clients, queueing, steering and stopping. Simulated by default; bring your own API key for Claude.
Pi Durable
A tour of Earendil’s Pi Durable, section by section: a harness whose every task is a statechart. Kill the process mid-run and watch tasks resume from their checkpoints; forks, subagents, hooks, compaction and multiplayer clients.
Playground
Edit a chart and watch it re-run as you type, in the sandboxed engine: diagnostics in the editor, playback controls, share links.