[KongchangAI]
Concept检查点 / checkpoint

checkpointer

LangGraph's durable execution mechanism, which saves a state snapshot after each execution step and supports resuming from the most recent checkpoint after an interruption. It is the basis for human approval that spans extended periods.

Core Facts

Timeline (last 90 days)

Nov 16

LangGraph's interrupt() throws an internal signal in the current node; after the graph engine catches it, it writes the paused state to the checkpointer, and the process can exit normally.

Unverified50%
Nov 10

In LangGraph, the checkpointer is responsible for persisting a state snapshot after each node executes, and together with thread_id it enables session recovery, resuming from checkpoints and multi-user isolation.

Unverified50%
Nov 6

In LangGraph, a running graph may be reading and writing the same state, and an external thread calling update_state() to modify the state may cause race conditions, such as external messages being overwritten or inconsistency between the checkpoint and the in-memory state.

Unverified50%
Oct 31

LangGraph's checkpointer is a component that persists the graph execution state by thread_id, where each thread corresponds to a conversation or task flow, and the complete state snapshot after each node executes is written to a storage backend (in-memory, SQLite, Redis, Postgres, etc.).

Unverified50%
Oct 31

In multi-tenant scenarios, isolation of the LangGraph checkpointer is usually achieved by encoding the tenant ID into the thread_id or by using separate namespaces.

Unverified50%
Oct 30

In LangGraph, thread_id identifies an independent execution thread, and the checkpointer stores and retrieves state snapshots by thread_id; if the thread_id is not stable, the checkpoint cannot be found on resume, and the approval flow breaks.

Unverified50%
Oct 30

Compiling the graph with a checkpointer and passing a stable thread_id is a necessary condition for persisting the waiting state of human approval.

Unverified50%
Oct 13

Production environments should use a persistent checkpointer instead of InMemorySaver, together with an appropriate data retention policy.

Unverified50%
Oct 12

LangGraph's checkpointer persists a snapshot of the current state after each node execution, attaching a thread_id as the session identifier.

Unverified60%
Oct 12

The checkpointer only covers a single thread, and facts that should survive across sessions should be placed in the store.

Unverified50%

3 more timeline events

All Facts (14)

Verified

LangGraph supports persisting a state snapshot of each step of graph execution through its built-in Checkpointer mechanism, enabling checkpoint-resume capability.

90%
Unverified

LangGraph's checkpointer persists a snapshot of the current state after each node execution, attaching a thread_id as the session identifier.

60%
Unverified

LangGraph's interrupt() throws an internal signal in the current node; after the graph engine catches it, it writes the paused state to the checkpointer, and the process can exit normally.

50%
Unverified

In LangGraph, the checkpointer is responsible for persisting a state snapshot after each node executes, and together with thread_id it enables session recovery, resuming from checkpoints and multi-user isolation.

50%
Unverified

In LangGraph, a running graph may be reading and writing the same state, and an external thread calling update_state() to modify the state may cause race conditions, such as external messages being overwritten or inconsistency between the checkpoint and the in-memory state.

50%
Unverified

In multi-tenant scenarios, isolation of the LangGraph checkpointer is usually achieved by encoding the tenant ID into the thread_id or by using separate namespaces.

50%
Unverified

LangGraph's checkpointer is a component that persists the graph execution state by thread_id, where each thread corresponds to a conversation or task flow, and the complete state snapshot after each node executes is written to a storage backend (in-memory, SQLite, Redis, Postgres, etc.).

50%
Unverified

Compiling the graph with a checkpointer and passing a stable thread_id is a necessary condition for persisting the waiting state of human approval.

50%
Unverified

In LangGraph, thread_id identifies an independent execution thread, and the checkpointer stores and retrieves state snapshots by thread_id; if the thread_id is not stable, the checkpoint cannot be found on resume, and the approval flow breaks.

50%
Unverified

Production environments should use a persistent checkpointer instead of InMemorySaver, together with an appropriate data retention policy.

50%
Unverified

The checkpointer only covers a single thread, and facts that should survive across sessions should be placed in the store.

50%
Unverified

When using create_agent, checkpointing capability can be obtained directly just by passing the checkpointer parameter, without writing a graph by hand.

50%
Unverified

LangGraph saves state snapshots between each node via a Checkpointer (such as SQLite Saver) and distinguishes different sessions using thread IDs.

50%
Unverified

In LangGraph, in-session state persistence is handled by the checkpointer, keyed by thread_id, allowing a run to be paused and resumed with the state intact.

50%

Source Articles