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.

LangGraph diagram from Intelligence at Scale
Diagram from chapter 10, Building AI Agents

Explained in

Chapter 10: Building AI Agents

Frameworks, patterns, and how to actually build an agent that works.

Related terms

This is one term. The chapter is the argument.

Intelligence at Scale: 22 chapters, 65,000 words, 80-plus diagrams. Kindle, paperback and hardcover on Amazon.

Buy on Amazon.com
← All terms