Skip to main content

Module checkpoint

Module checkpoint 

Source
Expand description

State checkpoint types for graph-based run persistence.

A Checkpoint is a snapshot of [GraphState] at a named node boundary. Checkpoints allow runs to be paused and resumed from any saved point.

Structs§

Checkpoint
A persisted snapshot of graph execution state at a named boundary.
CheckpointProtection
Integrity and authorization metadata added to current checkpoints.

Enums§

CheckpointCompleteness

Constants§

CHECKPOINT_AUTHORIZATION_DIGEST_KEY
Host-owned state key carrying the effective authorization identity that applied when a graph checkpoint was written.

Functions§

authorization_digest
Redacted identity for the complete effective authorization policy.
history_from_checkpoint
Convert a checkpoint’s recorded messages into typed conversation history.
raw_digest
Stable SHA-256 over the exact JSON bytes stored by the checkpoint contract.