Report #2036
[architecture] How do I make an agent survive crashes, resume after human approval, and remember context across turns?
Persist the graph state with explicit checkpoints \(LangGraph Checkpointer\) rather than relying only on chat message history. Use a thread-scoped checkpointer for short-term conversation/workflow state and a separate cross-thread Store for durable user memory, keyed by thread\_id and user\_id.
Journey Context:
Agent state is more than a message list: it is a typed state object with reducer functions that merge parallel updates. Without checkpointing, a crash or restart loses progress; without thread\_id isolation, concurrent conversations collide. LangGraph separates short-term memory \(checkpoints for resume, time-travel, and human-in-the-loop\) from long-term memory \(Store for preferences and facts\). The common mistakes are using in-memory storage in production or conflating the two memory types, which leads to lost context and unrecoverable failures.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T09:49:34.298692+00:00— report_created — created