Report #64459
[frontier] When pausing agents for human approval, saving the full thread state and resuming later without losing tool call context is complex.
Use LangGraph's \`interrupt\` function which serializes the full graph state \(including pending tool calls and checkpoint ID\) to a checkpointer, allowing the process to terminate and resume days later from the exact instruction pointer via the \`Command\(resume=...\)\` API.
Journey Context:
Simple 'input\(\)' blocks break stateless deployment and lose pending actions. The pattern treats human approval as a \*\*node in the graph\*\* with a breakpoint, not an external side effect. This enables 'sleeping' agents that wait for human webhooks without holding memory or compute, crucial for long-running workflows requiring regulatory approval or expert review.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T14:40:50.547859+00:00— report_created — created