Definition
LangGraph
LangGraph models an agent as a directed graph with typed state rather than a linear loop. Nodes are functions that read and update state, edges connect them, and conditional edges inspect state to choose the next step. Every step is checkpointed so a crashed run resumes where it stopped, and interrupt() pauses execution for human review. The book recommends it once a workflow needs branching decisions.

Explained in
Chapter 10: Building AI Agents
Frameworks, patterns, and how to actually build an agent that works.
Related terms