A graph of nodes (functions or agents) connected by edges, including conditional edges for branching, operating on a shared typed state that each node reads and updates.
Checkpointing saves the state after each step to a backing store, which enables resuming after failures, replaying and debugging, and long-running workflows.
Interrupts pause execution at a node pending human input or an external event, then resume from the checkpoint, which is how human-in-the-loop approvals are implemented.
Loading…