Most agent “frameworks” give you a loop, a model call, and a prayer. They do not give you a guarantee that when your worker dies between “tool call succeeded” and “state saved,” the agent resumes from the right step without double-charging a customer or re-sending an email.
That guarantee is what durable execution is for. It’s the difference between an agent that usually finishes and one that provably finishes exactly once, even across crashes, deploys, and multi-day waits. We’ve spent the last two quarters running agent workloads across the four engines that matter — Temporal, Restate, Hatchet, and Inngest — and the differences are starker than the marketing suggests.
This is the missing half of our agent harness argument: the model isn’t the moat, and neither is the orchestration framework. The runtime that makes execution durable is where reliability actually lives.
Why Agents Break Without Durable Execution
An LLM agent loop is the worst possible workload for naive infrastructure:
- Long-running. An agent might wait hours for a human approval or days for a webhook.
- Stateful. The full conversation, tool results, and intermediate reasoning have to survive a restart.
- Side-effect-heavy. Every tool call — an API charge, a DB write, an email — is a side effect. Re-running one is a bug, not a retry.
- Unpredictable. The agent decides its own next step, so you can’t pre-declare the workflow graph.
A queue gives you retries but not resumption. A database gives you state but not orchestration. Durable execution engines give you both: they journal every step, and on failure they replay from the last durable checkpoint instead of from zero.
The catch — and it’s the thing every comparison skips — is that LLM payloads are enormous compared to what these engines were built for. A single conversation context can be 50 KB–2 MB. A tool result can carry a whole document. This is where the engines split apart.
The Four Contenders at a Glance
| Temporal | Restate | Hatchet | Inngest | |
|---|---|---|---|---|
| Model | Workflows + activities | Durable functions + virtual objects | Tasks + durable tasks | Event-driven step functions |
| Written in | Go | Rust | Go | Go + TypeScript |
| Self-host | Yes (MIT server) | Yes (BSL runtime, MIT SDKs) | Yes (MIT, Postgres) | Yes (open-source dev server) |
| State store | Event history + Cassandra/Postgres/SQLite | Durable log | Postgres | Managed log (cloud) |
| First-class SDKs | Go, Java, TypeScript, Python, .NET, PHP, Ruby | TypeScript, Java/Kotlin, Python, Go, Rust | TypeScript, Python, Go, Ruby | TypeScript, Python, Go, Kotlin |
| Free tier | $1,000 trial credits | 50k actions/mo | 100k runs/mo | 50k executions/mo |
| Paid floor | $100/mo | $75/mo | $0 (usage $10/1M) | $99/mo |
| Agent-specific tooling | OpenAI Agents SDK integration | Agent patterns in docs | Durable tasks + HITL | AgentKit |
Temporal: The Incumbent, and It Shows
Temporal is the most battle-tested durable execution platform on the market — Stripe, Snap, and Coinbase run on it — and its agent story is the most concrete. In April 2026, Temporal shipped a first-party integration with the OpenAI Agents SDK, including an activity_as_tool helper that turns Temporal Activities into OpenAI-compatible tool schemas. The agent’s tool calls become durable Activities; the whole loop is a Workflow.
That’s genuinely the right architecture. The problem is the substrate underneath it.
Temporal’s event history was never designed for LLM payloads. Temporal Cloud enforces a 2 MB per-payload limit and a 4 MB event-history transaction limit, and workflow event history is capped (51,200 events / 50 MB on Cloud). Every argument you pass into a workflow or activity gets persisted to history. Pass a 30 KB conversation context through a 20-step agent loop and you’ve burned a big chunk of your event budget on state, not steps.
The workaround is the “claim check” pattern: offload the payload to S3 and pass a reference token through history. It works, but it’s exactly the kind of glue you hoped the engine would abstract away. Running agents on Temporal means you will spend real engineering time on payload plumbing.
What we like:
- The most production-proven of the four. Multi-region, 99.99% SLA, SOC 2.
- Deterministic replay is a real correctness guarantee, not a vibe.
- The OpenAI Agents SDK integration is the only first-party agent SDK among these tools.
What we don’t:
- $100/month to start, and Actions-based pricing adds up fast for chatty agent loops.
- History-as-state is hostile to large, frequent LLM payloads.
- The learning curve (workflow determinism rules, workers, namespaces) is the steepest here.
Verdict: Pick Temporal when you’re already running Temporal, or when you need the highest SLA and audit story for regulated agent workloads — and budget for the payload plumbing.
Restate: Durable Execution as a Library, Not a Platform
Restate is the contrarian entry — built by the original creators of Apache Flink, written in Rust, and deployed as a single binary. Its pitch, per Thoughtworks’ Technology Radar, is “workflows as code, stateful event processing, the saga pattern, and durable state machines” without the ceremony.
The design differences matter for agents:
- Journaled execution, not event-sourced replay. Restate logs the results of steps rather than replaying deterministic code. That means fewer determinism constraints — you can call external APIs inside a durable function without Temporal’s “activities only” split-brain.
- Virtual objects. Keyed, stateful handlers that combine RPC, state, and timers in one primitive. This maps cleanly onto per-session or per-user agent state.
- Latency. Restate claims a 10-step workflow with p99 latency under 100 ms — meaning you can use durable execution per call, not just for big orchestrations.
The licensing is the asterisk. The runtime is BSL 1.1 (source-available, with a “Public Restate Platform” carve-out), while the SDKs are MIT. That’s fine for most teams but it’s not MIT, and it matters if you’re building a competing managed platform.
Pricing is aggressive at the low end — free up to 50k durable actions/month, from $75/month — and Restate’s BYOC model is aimed squarely at Temporal’s biggest pain point: at high volume (5,000 actions/sec), Restate claims ~$23k/month in license versus what it pegs as ~$300k/month in Temporal action cost. Even discounting the marketing math, the shape of the pricing — capacity-based license rather than per-action — is more predictable for bursty agent traffic.
What we like:
- The lowest ceremony of the four. Durable functions feel like normal code.
- A single Rust binary — no Cassandra cluster, no separate worker fleet to babysit.
- Fast enough to use per-request, which changes where you apply it.
What we don’t:
- Youngest ecosystem; the agent patterns are docs, not first-party SDK integrations.
- BSL runtime is a real governance consideration for some enterprises.
- Smaller community than Temporal, so fewer war stories and fewer people to hire.
Verdict: Restate is our default recommendation for teams starting fresh in mid-2026. It delivers 90% of Temporal’s durability with a fraction of the operational and conceptual overhead — as long as you’re comfortable with the BSL license.
Hatchet: The Pragmatic Middle Ground
Hatchet positions itself as “durable execution without the overhead, backed by Postgres.” That one sentence is the whole strategy: the engine is MIT-licensed, you already know how to run Postgres, and the SDKs are TypeScript, Python, Go, and Ruby.
Its durable tasks primitive works like a mini-Temporal: a task can wait (sleep, event) and spawn children, and each of those operations writes a checkpoint to a durable event log. On retry, Hatchet replays from the checkpoint, giving you exactly-once semantics for the parts of your agent loop that aren’t trivially idempotent.
The key difference from Temporal: Hatchet runs its checkpointed state on Postgres you already operate, and it ships OpenTelemetry tracing, Prometheus metrics, and a dashboard out of the box. For a team that’s already running Postgres and doesn’t want to stand up a Temporal cluster, this is the shortest path to durable agent loops.
Pricing is also the friendliest at the entry level: a free tier with 100,000 runs/month, then $10 per 1M task runs. You can go quite far on the free tier before the meter moves.
What we like:
- MIT, Postgres-backed — the most boring, adoptable architecture of the four.
- Durable tasks give you exactly-once semantics without the full Temporal determinism rulebook.
- OTel and Prometheus built in, which matters when you’re already tracing agents.
What we don’t:
- The durability model is younger and less battle-tested than Temporal’s.
- Fewer advanced primitives (no virtual objects, no saga library as mature as Restate’s).
- Postgres is the durability store — at extreme throughput you’re now tuning Postgres, not just the engine.
Verdict: Hatchet is the right pick when you want durable execution and a zero-surprises ops story: MIT license, Postgres, first-class TypeScript/Python. It won’t win a features arms race with Temporal, but it’ll be running in production weeks sooner.
Inngest: Serverless-First, and AgentKit Is Real
Inngest takes the opposite philosophy: instead of a stateful cluster with long-lived workers, you write event-driven functions and Inngest manages durable state on your behalf. Steps are HTTP calls into your own serverless functions (Vercel, Cloudflare Workers, Lambda), and Inngest holds the state and the retry/checkpoint logic.
For agents specifically, Inngest ships AgentKit — a framework for composing single agents into Networks with a Router and persisted Network State. It’s the most opinionated “this is for agents” tooling in this group, even if it’s a layer above the core workflow engine rather than a deep SDK integration.
The trade-off is architectural: Inngest’s durability lives in its managed service (or the open-source dev server, which is a local mirror of the platform). Self-hosting the full platform is technically possible but it’s not the primary path — the cloud product is the product. If you’re fine with that, the developer experience is the best of the four: define step.run(), step.sleep(), step.waitForEvent(), and Inngest handles retries, state, and replay.
Pricing is volume-friendly: a generous Hobby tier (50k executions/month), then Pro from $99/month with 1M executions included.
What we like:
- The best DX of the four, full stop. Serverless-native, minimal boilerplate.
- AgentKit gives you multi-agent composition with a router and shared state out of the box.
- CEL-based event matching and granular step-level retry are genuinely nice to work with.
What we don’t:
- Cloud-centric. Full self-hosting is a second-class citizen.
- Less control over the durability substrate — you’re trusting Inngest’s log, not your own.
- Per-execution pricing can surprise you with very chatty agent loops.
Verdict: Inngest is the best choice for serverless/Next.js teams and anyone who wants multi-agent orchestration with the least infrastructure. It’s the wrong choice if you need to own the state store or run fully on-prem.
The Decision Framework
Here’s the heuristic we’ve settled on after running these side by side:
- Do you already run Temporal? → Stay on Temporal. Don’t introduce a second engine for agents; use the OpenAI Agents SDK integration.
- Do you need to self-host everything, MIT-only? → Hatchet, full stop. It’s the only MIT option with a first-class durable-execution story and no cloud dependency.
- Starting fresh and want max capability with minimal ops? → Restate, assuming the BSL license clears your legal review.
- Serverless/Next.js stack, or want multi-agent composition without building it? → Inngest.
The one decision we’d flag as a mistake is treating this as a framework question rather than an infrastructure one. Durable execution is part of the same durability gap that kills production agents — and it has more in common with your database choice than with picking between, say, Google ADK and the OpenAI SDK. You’ll live with the payload limits, licensing terms, and state-store ops for years. Pick accordingly.
The Bottom Line
If you’re shipping agents that touch money, state, or humans — and you should assume all of them eventually do — a plain framework loop is not enough. You need the step you just executed to survive the next deploy.
- Temporal is the safe, proven, expensive incumbent. Use it if you’re already there.
- Restate is the capability-per-ops-dollar leader for greenfield teams. Watch the license.
- Hatchet is the boring, adoptable MIT default. Hard to get fired for choosing it.
- Inngest is the DX champion for serverless teams. Best agent tooling, least state ownership.
Our team’s default in mid-2026: Hatchet for self-hosted/MIT shops, Restate for new capability-first builds, Inngest for serverless, Temporal when it’s already in the building. The worst choice isn’t any of these four — it’s assuming your agent framework will handle durability for you.