checkpointer=True (continuations mode).
Troubleshooting
Choose one of the following based on your requirements:-
Don’t need interrupts? Use
checkpointer=Falseto opt out of checkpointing entirely: -
Need interrupts but not cross-invocation persistence? Use the default inherited mode by omitting
checkpointer:Each invocation gets a unique namespace, so parallel execution works. The subgraph starts fresh each time but can useinterrupt(). -
Need cross-invocation persistence? Use
checkpointer=True. LangGraph assigns each invocation a position-based namespace suffix (calling_node,calling_node|1, etc.) to prevent conflicts. For stable, name-based namespaces, wrap each subgraph with a unique node name — see parallel subgraphs.
Related
- Subgraph persistence — full comparison of checkpointer modes
- Persistence — how checkpointers work in LangGraph
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.