by mwfussell · 1mo ago · 0 comments
Replaying recorded results for the completed steps is the only way I know to get the same run back. That’s why I think it belongs in the runtime, for the same reason write-ahead logging belongs in the database. Any app could keep its own commit log. Almost none do, because the database does it once and does it properly.
The usual cost applies, and it’s real: replay means orchestration code must be deterministic, so model calls and I/O have to live in activities. Temporal, Restate, and others make the same trade. This isn’t a single-vendor idea.
The article is also upfront about the limits. Durable execution won’t fix a workflow that is deterministically wrong, and it says nothing about whether the work was authorised.
Question for people running agents in production: do you want your agent framework (Langgraph etc) to own this, or the runtime underneath it? And if it’s the framework, how do you handle crashes mid-running today?
Disclosure: I work at Diagrid, which published this.
No comments yet.