LangChain / LangGraph
Framework-specific idioms for stateful agents
This page shows every pattern that LangChain / LangGraph has published or written about — 5 in total. Each one includes a simple picture of how it works, a short explanation, an example of when to use it, and its trade-offs (the good parts and the not-so-good parts).
Reading patterns from one source at a time matters because it lets you see how a single company or team thinks about building AI agents, and compare their ideas side by side. If a pattern here also appears in the bigger Deep Catalogue, you will see a link so you can read the full, detailed version.

3A.01StateGraph
LangGraph's core abstraction: a directed graph of nodes (LLM calls, tools, functions) with explicit state passing between them.
3A.02Checkpointer / Persistence
Persist state between runs so agents can pause, resume, and support human-in-the-loop workflows.
3A.03LangGraph Human-in-the-Loop
Framework primitives for interrupts, edits, and rewinds — built on top of checkpointing.
See 1B.11
3A.04Subgraph Composition
Graphs nested inside graphs — a whole sub-agent appears as a single node in a parent graph.
3A.05Conditional Edges
Router functions on edges decide where to go next based on current state — the LangGraph realisation of the Routing pattern.
See 1A.03, 1B.07