Skip to content
Back to full roadmap
topicadvanced

Durable Workflows (Temporal, Restate, Inngest)

Long-running agent → server crash → restart → resume where left off. Mandatory for production.

4 hours3 resources1 prereqs

Agents can run for hours/days (research task, long analysis). Server crash, network drop, restart — all inevitable. Durable workflow engines persist state.

Temporal — favored by Uber/Stripe/Coinbase. Workflow code-as-code, built-in retries.

Restate — TS-first, lightweight, modern alternative.

Inngest — serverless-friendly, plays well with Vercel/AWS Lambda.

Pattern: each tool call = a "step" → step output written to durable store. After restart → step graph resumes, previously-run steps are skipped.

Agent + durable workflow = production-grade long-running agent.

Prerequisites

Resources(3)