AI Hints
Home›LangGraph Tutorial
Free course

LangGraph Tutorial

Learn LangGraph from zero, one small and easy step at a time. Every idea is explained in plain words, then shown in real Python code with real graph runs and real model output.

📚 120 lessons▶ 2:08:40+ of video💻 102 code examples🖼 130 screenshots
The complete LangGraph course, free on YouTubeWatch on YouTube ↗

Course contents

Every lesson has its own page with the explanation, code you can copy, the real output, screenshots from the video, and a link that jumps straight to that moment in the video.

1. Getting Started

  1. What Is LangGraph0:00
  2. Setting Up1:08
  3. Your First Graph2:05

2. State, Nodes and Edges

  1. State3:18
  2. Nodes4:23
  3. Edges5:23

3. Running and Drawing Graphs

  1. START and END6:23
  2. Compile and Invoke7:28
  3. Drawing the Graph8:32

4. Pipelines and Updates

  1. A Pipeline9:34
  2. Partial Updates10:45
  3. Basics Quiz11:45

5. Branches and Loops

  1. Conditional Edges12:58
  2. Routing Functions14:09
  3. Loops15:16

6. Safe Loops and Practice

  1. Stopping Loops16:24
  2. Recursion Limit17:32
  3. Practice: Order Router18:34

7. Reducers

  1. Reducers19:37
  2. Appending Lists20:45
  3. Custom Reducers21:49

8. Parallel Branches and Schemas

  1. Parallel Branches22:55
  2. Input and Output Schemas24:07
  3. Branching Quiz25:07

9. Models and Messages

  1. Models in Nodes26:24
  2. Messages in State27:27
  3. add_messages28:30

10. Chatbot Graphs

  1. MessagesState29:45
  2. A Chatbot Graph30:47
  3. Prompts in Nodes31:44

11. Tools in Graphs

  1. Tools in a Graph32:45
  2. ToolNode33:48
  3. tools_condition34:42

13. Agent Practice and Routing

  1. Practice: Bookshop Agent38:50
  2. Structured Routing39:54
  3. Agents Quiz41:00

14. Checkpointers and Threads

  1. Checkpointers42:15
  2. Threads43:19
  3. Memory Across Turns44:17

15. Inspecting and Editing State

  1. Reading State45:18
  2. Editing State46:19
  3. State History47:20

16. Time Travel

  1. Time Travel48:22
  2. Forking49:36
  3. Persistence Quiz50:40

18. Custom and Mixed Streams

  1. Custom Stream Data54:58
  2. Several Stream Modes56:02
  3. Streaming Quiz57:05

19. Human in the Loop

  1. Human in the Loop58:19
  2. interrupt59:21
  3. Resuming1:00:19

21. Subgraphs

  1. Human-in-the-Loop Quiz1:04:35
  2. Subgraphs1:05:54
  3. Subgraph State1:06:56

22. Send and Map-Reduce

  1. Send1:08:01
  2. Map-Reduce with Send1:09:12
  3. Practice: Review Summaries1:10:18

23. Command and Multi-Agent

  1. Command1:11:24
  2. Multi-Agent Systems1:12:33
  3. A Supervisor1:13:37

24. Handoffs and Teams

  1. Handoffs1:14:49
  2. Specialist Agents1:15:58
  3. Practice: Shop Team1:16:58

25. Long-Term Memory

  1. Multi-Agent Quiz1:18:04
  2. Long-Term Memory1:19:23
  3. Namespaces1:20:30

26. Memory in Graphs

  1. The Store in Nodes1:21:33
  2. Remembering Preferences1:22:43
  3. Searching Memories1:23:47

27. Reliability

  1. Retry Policies1:24:52
  2. Errors in Nodes1:26:00
  3. Node Caching1:27:02

28. Context and Async

  1. Runtime Context1:28:14
  2. Async Graphs1:29:19
  3. Reliability Quiz1:30:23

29. RAG Patterns

  1. Agentic RAG1:31:41
  2. Grading Documents1:32:54
  3. Rewriting Questions1:34:03

30. Agent Patterns

  1. Corrective RAG1:35:11
  2. Plan and Execute1:36:25
  3. Reflection1:37:28

31. Project: Planning the Desk

  1. Patterns Quiz1:38:39
  2. Project: Support Desk Plan1:40:01
  3. Project: State1:41:09

32. Project: Triage and Specialists

  1. Project: Triage1:42:12
  2. Project: Policy Agent1:43:19
  3. Project: Orders Agent1:44:21

33. Project: Wiring the Desk

  1. Project: The Graph1:45:20
  2. Project: Approval1:46:28
  3. Project: Memory1:47:29

34. Project: Streaming, Tests, Review

  1. Project: Streaming1:48:29
  2. Project: Testing1:49:25
  3. Project: Review1:50:21

35. Testing and Debugging

  1. Testing Nodes1:51:21
  2. Testing Graphs1:52:20
  3. Debugging1:53:14

36. Persistence and Deployment

  1. Saving to Disk1:54:21
  2. Serving a Graph1:55:37
  3. Deployment Options1:56:40

37. Good Design

  1. Designing State1:57:44
  2. Designing Graphs1:58:44
  3. When Not to Use a Graph1:59:41

38. Patterns and Models

  1. Common Patterns2:00:42
  2. Choosing Models per Node2:01:45
  3. Advanced Quiz2:02:46