Built for production FSMs
One artifact, three ways, no lock-in: the state-machine runtime runs managed, in your own Cloudflare account, or, by arrangement, on workerd (designed for air-gapped use). Console, analytics and global-edge features below are part of the managed and Cloudflare deployments.
Edge-native Durable Objects runtime
Every machine instance maps to a Cloudflare Durable Object — globally distributed, strongly consistent, and zero-cold-start after the first event. No long-running servers, no polling.
- Per-instance Durable Object execution at the edge
- Persistent storage per instance with DO's SQLite layer
- WebSocket connections maintained per instance for live inspection
Sample labels only. Not a live reading.
- Machine
- sample-approval
- Pinned version
- v2
- Current state
- review
- Status
- active
- Storage
- This instance's Durable Object
- Recorded status. An instance status is active, done, error, or cancelled. This sample is active.
Versioned machine definitions
Publish a new version without changing instances that are already running. Each instance stays pinned to the version it was created on until you migrate that one instance.
- Immutable published versions — no silent breaking changes
- JSON import/export for external tooling
- Public template gallery at /gallery, the same starters the console editor seeds, readable without signing in
- Compare two published versions on the machine page. The view highlights the definition and lists added, removed, and changed states and transitions.
- Migrate one active instance onto a newer published version, with an optional state mapping and a dry run that writes nothing. An older target, an inactive instance, and an unpublished version are refused.
On the roadmap
- Bulk instance migration across versions via API
Sample labels only. Not a live reading.
- Compare
- v1
- with
- v2
- Added
- state review
- Changed
- transition draft on submit
- Empty comparison. Publish a second version to compare versions.
- Unchanged comparison. These versions are identical.
Refused migration requests
- toVersion must be newer than the pinned version
- Instance is not active
- Machine version not found
Live state inspector
Open any instance in the console and see its current state, context, and full event history. Subscribe via WebSocket and watch transitions happen in real-time — no polling.
- Real-time WebSocket subscription to instance state
- Full event timeline with payloads and timestamps
- Context diff viewer across transitions
- Replay events from history for debugging
Sample labels only. Not a live reading.
- Current state
- review
- Transition
- draft → review via submit
- Context
- {"ticket":"SAMPLE-1"}
- Context diff
- added ticket
- Empty timeline. No transitions yet.
- Empty stream. Connect to an instance to see live events…
- Loading. Connecting…
- Error. Payload must be valid JSON.
Usage analytics & metering
Per-org dashboards showing machines, active instances and daily transitions.
- Daily transition counts over 30 days
- Active instance gauge
- Usage bars against internal free-tier defaults (no self-serve upgrade)
On the roadmap
- Usage export via API for billing integrations
Sample labels only. Not a live reading.
- Machines
- 2 definitions · No limit set
- Active Instances
- 1 instance · No limit set
- Transitions (30d)
- 3 transitions · No limit set
- Daily transitions
- sample-day: 3 transitions
- Empty dashboard. No transitions yet. Create a machine and send your first event.