LangGraph Agents & Multi-Agent Systems
Build reliable agents as graphs: state, nodes, edges, loops, tools, memory, human approval, streaming, sub-graphs and multi-agent supervisors, with every example run for real offline.
Syllabus
Why Agents Need Graphs
- Chains, Agents and Workflows
- The LangGraph Model: State, Nodes, Edges
- Your First Graph
- State Reducers: Replace or Accumulate
Control Flow: Branches, Loops, Commands, Fan-Out
- Conditional Edges and Routing
- Loops: Retry, Refine and Reflect
- Recursion Limit: The Safety Net
- Command: Update State and Route Together
- Fan-Out With Send (Map-Reduce)
Agents With Tools
- The Tool-Calling Agent as a Graph
- Prebuilt Agents With a Real Model
- Designing Tools That Agents Use Well
- Agent Limits, Costs and Stop Conditions
Memory, Persistence and Time Travel
- Checkpointers and Threads
- State History, Replay and Time Travel
- Long-Term Memory With a Store
- Managing Long Histories: Trim and Summarise
Human Approval, Reliability and Streaming
- Human-in-the-Loop With interrupt()
- Retry Policies and Error Handling
- Streaming Updates, Values and Tokens
Multi-Agent Systems
- Why and When to Use Multiple Agents
- The Supervisor Pattern
- Hand-Offs and Swarm-Style Networks
- Sub-Graphs and Hierarchical Teams
Testing, Evaluating and Deploying
- Testing Graphs Without a Model
- Evaluating Agents: Trajectories, Tools and Outcomes
- Deploying, Observability and Guardrails