Engineering brief

Durable execution is the real agent infrastructure challenge

AI Engineer3 min read · saves 18 min

At a glance

The brief is enough

Relevance
Practical value
Radar
Time horizon
This year
Warnings
None

Most agent infrastructure talks ignore what happens when a week-long research agent crashes. Restate's demo shows the failure and recovery patterns that matter more than the agent SDK you choose.

Durable execution is the missing layer for production-grade agent systems.

Watch if you are evaluating durable execution frameworks for long-running agent workflows.

Summary

The thesis. Most agent infrastructure conversations focus on agent SDKs and memory, not on the operational layer needed to run agents reliably in production. Giselle van Dongen argues that as agents evolve from single interactions to persistent, asynchronous entities within an organization, the infrastructure must evolve too. Restate, the open-source framework she demonstrates, positions itself as that durable foundation.

The problem space. Current agent tools excel at prototyping and single-agent patterns but break down when organizations need to connect distributed bits across teams. Engineers end up writing retry logic, recovery mechanisms, and state management by hand. These are not new problems, they are distributed systems problems that have been solved before in other contexts, but they are new to the agent space and rarely surface in demos.

The architecture. Restate sits as a proxy between clients and agent services, journaling every step of an agent's execution. If a process crashes after two hours, it recovers to exactly the failed step, not the beginning. The design is inspired by Apache Flink and Meta's event infrastructure, using a distributed log with a push model that achieves 45ms p99 latency for ten-step workflows. That latency claim is specific and testable.

The demo. Van Dongen shows a Slack-based research agent that does deep research with planner and sub-research agents. The demo highlights three practical scenarios: failure recovery with retried API calls, human-in-the-loop approval that can suspend execution for weeks without consuming resources, and runtime interaction where a user can inject new context into a running agent loop. These are real patterns engineering teams will encounter.

The trade-off. Restate adds an infrastructure dependency. Teams must run and operate the Restate server, even though it ships as a single binary with HA support via object storage. The programming model also requires wrapping steps in Restate SDK calls, which couples code to the framework. Teams already living with Kubernetes, message brokers, and workflow engines may see this as another layer rather than a simplification.

The bottom line for teams. The fundamental argument is sound: durable execution matters for production agents, and most teams underinvest in the infrastructure layer. The demo shows real failure modes and real recovery patterns. But the talk is also a vendor pitch for Restate, and the single-benchmark latency claim needs independent validation. Teams should assess whether their agent workloads actually need this durability before adopting it.

My take

I think durable execution is the right problem to be working on, and Restate has a credible approach. But the talk oversells by claiming this pattern applies to most agent use cases. For short-lived agents that run for seconds, the overhead of journaling every step is hard to justify. The latency benchmark is impressive but comes from a controlled demo. I'd like to see how it behaves under real production load with thousands of concurrent sessions and network partitions. Teams should experiment with this on a bounded, long-running use case, not rewrite their entire agent infrastructure around it. The hardest part, which the talk doesn't address, is convincing your organization to adopt another infrastructure dependency.

What to do with this

  1. Identify one agent workflow in your team that runs longer than 10 minutes and map its failure recovery requirements.
  2. Run a small proof-of-concept with Restate on a bounded agent use case, measuring both latency and operational overhead.
  3. Review your current agent infrastructure for hand-rolled retry logic and state management that could be replaced.

Watch the video

This video is blocked due to your privacy settings. To watch this video, please accept YouTube marketing cookies.

Related breakdowns

Get TL;DW

Too Long; Didn't Watch.

A concise breakdowns of the AI and devtools videos that actually matter for engineering leaders.

Free. Weekly. No hype.

Video and thumbnails remain the property of their respective creators. tldw.news provides editorial analysis, commentary, and discovery links to original content.