Skip to main content

Private beta

Run durable state machines at the edge

One artifact, three ways, no lock-in.

Everything a state machine needs

  • Edge-native runtime

    Durable Objects, consistent state at the edge.

  • Versioned definitions

    Pinned versions keep running instances safe.

  • Live inspector

    Live transitions over WebSocket.

  • Usage analytics

    Machine and active-instance counts.

  • Scoped API keys

    Expiring, revocable keys. SHA-256 hashed.

  • Team collaboration

    Owner, admin, editor and viewer roles.

  • No platform lock-in

    Managed, your account, or by arrangement.

Define, publish, run

  1. 1. Define a machine

    Define finite state machines in JSON.

  2. 2. Create an instance

    Start an instance from a published version. It runs on a Durable Object.

  3. 3. Send events

    Send an event to move the instance between states.

  4. 4. Subscribe to live state

    Subscribe over WebSocket to follow state transitions live.

SDK example

SDK reference

// 1. Define a machine
const sdk = new OrchestateClient({ apiKey: 'orch_...' });

const machine = await sdk.machines.publish({
  slug: 'order-flow',
  definition: {
    initial: 'pending',
    states: {
      pending:  { on: { CONFIRM: 'confirmed', CANCEL: 'cancelled' } },
      confirmed: { on: { SHIP: 'shipped' } },
      shipped:  { on: { DELIVER: 'delivered' } },
      delivered: { type: 'final' },
      cancelled: { type: 'final' },
    }
  }
});

// 2. Create an instance
const instance = await sdk.instances.create({ machineSlug: 'order-flow' });

// 3. Send events
await sdk.instances.send(instance.id, { type: 'CONFIRM' });

// 4. Subscribe to live state
sdk.instances.subscribe(instance.id, (state) => {
  console.log('Current state:', state.value);  // 'confirmed'
});

See the shape of governance

About this graph

States and guarded transitions as a graph — the same model the authenticated console explorer uses. Demo fixture only.

pendingapprovedrejectedin_review
Approval-gate shape

Illustrative demo graph — not live customer data.

Open console graph →

Ready to orchestate?

Request access

Frequently asked questions

What is Orchestate?

Managed, in your own Cloudflare account, or by arrangement on workerd: one artifact, three ways, no lock-in. Define finite state machines in JSON, publish versioned definitions, and run instances on Cloudflare Durable Objects. The self-hosted path is designed for air-gapped use on open-source workerd (Apache-2.0), the same code as the hosted platform.

What does the platform include?

Edge-native runtime: Each instance runs as a Cloudflare Durable Object with strongly consistent per-instance state at the edge. Versioned definitions: Publish new machine versions without breaking running instances. Each instance pins to its published version. Live inspector: Subscribe to state transitions via WebSocket. Watch your machines run in real-time from the console. Usage analytics: Per-org dashboards show your machine count and active instance count. Scoped API keys: Issue org-scoped API keys for your team, each with an optional expiry and instant revocation. Keys are stored as SHA-256 hashes and shown only once. Team collaboration: Org-level access with owner/admin/editor/viewer roles. Team invites are coming soon. No platform lock-in: The same runtime artifact runs fully managed, in your own Cloudflare account, or, by arrangement, on open-source workerd, designed for air-gapped use. workerd is Apache-2.0 and runs the same code as the hosted platform.

How can I request access?

Orchestate is in a private beta. We are onboarding a small number of pilot teams. Request access and we will set you up.

Where can I run the runtime?

The same runtime artifact runs fully managed, in your own Cloudflare account, or, by arrangement, on open-source workerd, designed for air-gapped use. workerd is Apache-2.0 and runs the same code as the hosted platform.

What happens when I publish a new version?

Publish new machine versions without breaking running instances. Each instance pins to its published version.