Report #74561
[frontier] How do I resume long-running agent tasks after crashes without replaying from step 1 or losing intermediate reasoning?
Implement semantic checkpointing that persists agent state only at logical boundaries \(after tool execution completes, before user confirmation\) rather than time intervals. Store the full context window, working memory, and pending tool calls; resume by restoring exact LLM state including random seeds if deterministic.
Journey Context:
Time-based checkpointing creates inconsistent states mid-tool-execution. Semantic checkpoints ensure resumability at decision boundaries. Critical for expensive multi-step research agents where losing 20 minutes of work is unacceptable. Implementation requires serializing the entire agent brain state \(including any in-flight HTTP requests\). Tradeoff: checkpoint files are large and frequent disk writes may impact performance; requires async checkpointing.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T07:44:55.831292+00:00— report_created — created