Skip to content
All topics

Domain

Workflow orchestration

Durable, retryable multi-step AI workflows with queues, state machines and human checkpoints.

0 of 10 articles published. Topics are listed in reading order: each comes after the topics it builds on.

Orchestration foundations

Running multi-step AI work so it survives crashes, deploys and slow providers.

  1. Durable execution for AI workflowsComing soon

    Why multi-step model work belongs in persisted steps rather than one long request, and what durability guarantees.

    Fundamentals · Intermediate

  2. Modelling workflows as state machinesComing soon

    Explicit states and allowed transitions make long workflows inspectable, resumable and testable.

    Architecture · Advanced

  3. Job queues for AI workComing soon

    Moving model calls to background jobs with priorities, concurrency limits and dead-letter handling.

    Implementation · Advanced

Workflow reliability

Getting the right result exactly once despite retries and failures.

  1. Retries and idempotent workflow stepsComing soon

    Making each step safe to repeat so automatic retries never send, charge or publish twice.

    Implementation · Advanced

  2. Timeouts and heartbeats for long-running stepsComing soon

    Detecting stuck steps, resuming after a worker restart, and keeping slow model calls from blocking a queue.

    Operations · Production

  3. Undoing partial work with compensation stepsComing soon

    When a later step fails, reversing earlier side effects in a defined order instead of leaving half-finished work.

    Advanced engineering · Production

Human steps in workflows

Pausing automated work for people and resuming it safely.

  1. Human review checkpointsComing soon

    Pausing a workflow for review or approval, storing what the reviewer saw, and resuming or rejecting cleanly.

    Architecture · Advanced

  2. Designing review queues people can keep up withComing soon

    Prioritising, assigning and expiring review tasks so human checkpoints don't become the bottleneck.

    Operations · Production

Choosing an orchestrator

Picking the right engine for the workflow's size.

  1. Database queues, workflow engines and managed servicesComing soon

    When a Postgres-backed queue is enough, and when a dedicated workflow engine or cloud service earns its cost.

    Comparison · Advanced

  2. Scheduled AI workflowsComing soon

    Cron-style schedules in UTC, handling missed runs and overlapping runs, and switching schedules off safely.

    Configuration · Advanced