← All courses

Introduction to LangGraph (LangChain Academy)

Design state graphs: state schema, nodes, plain and conditional edges, reducers. Build tool-using agents (the ReAct pattern) and routers. Manage conversation memory: checkpointers, message trimming/filtering, summarization, external databases (SQLite).

Log in to start →

Course preview

What you will learn

Explore the full curriculum before you enrol. Lessons unlock after purchase or free enrolment.

01

Introduction and Setup

Topics covered

  • Set up the working environment: Python 3.11+, a virtual environment, dependencies, API keys.
  • Understand the unified chat model interface in LangChain: `invoke`, `stream`, and the `model` and `temperature` parameters.
  • Learn to work with messages (`HumanMessage`, `AIMessage`) and connect the Tavily web search tool.
1 lesson10 questions~25 min
02

LangGraph Basics: Graph, Router, Agent

Topics covered

  • Build your first graph: state (`TypedDict`), node functions, plain and conditional edges, `START`/`END`.
  • Wire an LLM into the graph: a chain with tool calling and a router.
  • Assemble a full ReAct agent with a "model → tools → model" loop and add memory via a checkpointer.
1 lesson10 questions~25 min
03

Chatbot State and Memory

Topics covered

  • Learn different ways to describe a state schema: `TypedDict`, `dataclass`, Pydantic — and when you need runtime validation.
  • Understand reducers: why they're needed for parallel updates and how to write a custom one.
  • Learn to separate schemas: private state between nodes, and separate input/output schemas for a graph.
1 lesson10 questions~25 min
04

Human-in-the-Loop

Topics covered

  • Learn to stream graph execution: `values` and `updates` modes, and token-by-token streaming via `astream_events`.
  • Set breakpoints (`interrupt_before`) so a human can approve agent actions.
  • Edit the state of an interrupted graph: `update_state`, a stub node for human feedback, `as_node`.
1 lesson10 questions~25 min
05

Parallelization, Subgraphs, and Map-Reduce

Topics covered

  • Run nodes in parallel (fan-out/fan-in) and understand why shared keys require a reducer.
  • Move logic into subgraphs with their own state schemas and connect them via shared keys.
  • Apply map-reduce via the `Send` API: a dynamic number of parallel branches.
1 lesson10 questions~25 min
06

Long-Term (Cross-Session) Memory

Topics covered

  • Distinguish short-term memory (within a thread, checkpointer) from long-term memory (across threads, Store).
  • Learn the LangGraph Store: `namespace`, `key`, `value`, and the `put` / `get` / `search` methods.
  • Save memory against a schema: a user profile via `with_structured_output` and its limitations.
1 lesson10 questions~25 min
07

Deployment

Topics covered

  • Understand the components of the LangGraph Platform: LangGraph Server (API), Redis, Postgres, CLI, SDK, Studio.
  • Build a deployment for the `task_maistro` app: `langgraph.json`, a Docker image, a `docker-compose` with three services.
  • Connect to the deployment: the LangGraph SDK and Remote Graph; run background and blocking runs.
1 lesson10 questions~25 min
08

Final Exam

Final exam
35 questions~60 min