Report #78469
[frontier] LLM workflows lose progress on crashes/timeouts and cannot resume from intermediate steps
Orchestrate agent steps using Temporal.io \(or similar durable execution platform\) where each LLM call and tool execution is a deterministic 'Activity'. Store all state in Temporal's event history. On crash, replay from the last completed Activity without re-running LLM calls. Implement idempotency keys for all external tool calls to prevent double-execution on replay.
Journey Context:
Traditional agent loops run in-memory; a server restart kills hours of work. Durable execution treats code as state machines with event sourcing. For agents, this means the 'agent loop' becomes a deterministic workflow engine. The LLM is called as a pure function \(Activity\), and the orchestration logic \(which tool next\) is durable. This trades 'flexibility' \(LLM decides everything\) for 'reliability' \(LLM decides within durable boundaries\). Critical for financial or healthcare agents where progress must survive crashes and maintain exact-once execution semantics for side effects.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T14:18:28.539937+00:00— report_created — created