Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
LangGraph Bootcamp: Production AI Agents with Memory & HITL
New
2 students

LangGraph Bootcamp: Production AI Agents with Memory & HITL

Build stateful AI agents in LangGraph: tools, memory, human approval, streaming, tests and deployment on local models
Created byNEXUS ACADEMY
Last updated 11/2026
English

What you'll learn

  • Build LangGraph agents from first principles: typed state, nodes, edges, reducers and runtime context
  • Run local models with ChatOllama for tool calling and structured output, choosing small models by measured scores
  • Write the agent loop by hand, then with ToolNode and create_agent middleware for call limits, retries and fallbacks
  • Control flow with conditional edges, Command, parallel branches and map-reduce with Send
  • Give agents short-term memory with InMemory, SQLite and Postgres checkpointers, and keep long conversations in budget
  • Add long-term memory with the Store: namespaces, PostgresStore and semantic search over memories
  • Put a human in the loop with interrupt and Command(resume): approve, edit, reject, and time travel to a checkpoint
  • Stream state updates, tokens and custom progress events to a client, including through a pause for approval
  • Make runs reliable with RetryPolicy, tool-error recovery, durable execution, node caching and timeouts
  • Test, trace and ship agents: pytest and trajectory tests, an evaluation gate, OpenTelemetry with Jaeger and a FastAPI service

Course content

15 sections • 143 lectures • 11h 30m total length
  • Course Documents and How to Use Them7:06
  • Section 1 Intro: The Support-Desk Agent You Will Ship2:54
  • Workflows, Agents and Graphs: What LangGraph Actually Adds5:32
  • The Six Production Problems: Memory, Pauses, Streaming, Failures, Tests, Serving5:54
  • [LAB] Bench Check: Python 3.14, Free RAM and Disk, Docker Group4:51
  • [LAB] The lgb-agents Repo: venv, Pinned requirements.lock and make check7:06
  • [LAB] Ollama in a Container: lgb-ollama, Two Small Models and a First Chat5:37
  • Choosing a Small Model by Measurement: Tool-Calling Scores and Latency5:52
  • Section 1 Wrap: A Repo, a Model and an Honest Baseline2:56

Requirements

  • Working knowledge of Python (functions, classes, type hints) and the command line. No earlier LangChain or LangGraph experience is needed
  • A machine that runs Docker (Linux recommended) with about 16 GB of RAM. No GPU and no paid API keys: every lab uses small local models via Ollama

Description

“This course contains the use of artificial intelligence.”

Most agent demos stop where production starts: the conversation is forgotten on restart, a refund goes out without anyone checking it, the user stares at a blank screen while the model thinks, and nobody can say how often the agent actually gets the answer right. This bootcamp builds one support-desk agent with LangGraph and solves each of those problems on screen, with small local models and every command really running.

First, the foundations: typed state, nodes, edges and reducers, input and output schemas, and runtime context. You connect local models through ChatOllama, define tools, read tool calls, get structured output into Pydantic models, and measure how reliably each small model calls tools before you trust it.

Next, the agent loop. You write it by hand, then replace it with ToolNode, tools_condition and create_agent with middleware for call limits, retries and model fallbacks. Control flow follows: conditional edges, Command, recursion limits, parallel branches, map-reduce with Send and the Functional API.

After that comes what makes an agent usable: short-term memory with InMemory, SQLite and Postgres checkpointers, trimming and summarising long conversations, and long-term memory in the Store with semantic search. Human-in-the-loop gets a full section: interrupt and Command(resume), approving, editing or rejecting tool calls, idempotent side effects, editing state from outside and time travel to an earlier checkpoint. Streaming shows tokens and progress events to the client, subgraphs and supervisor patterns split the work, and RetryPolicy, durable execution, caching and timeouts keep runs alive when something fails.

Finally, you prove and ship it: pytest unit and trajectory tests with a fake chat model, a live evaluation set with a measured pass rate and a regression gate, OpenTelemetry traces in Jaeger, and a FastAPI service with server-sent events, an approval endpoint and Docker Compose. The capstone runs the whole agent from a clean clone, kills the service mid-approval and resumes it.

Included: 142 lectures and about 11.5 hours of video, 95 of them recorded labs, plus 12 downloadable worksheets, templates and checklists. No GPU and no paid API keys are needed; hosted tools such as LangSmith are explained conceptually and marked as such.

Who this course is for:

  • Python developers who want AI agents that keep working outside a notebook
  • Backend and platform engineers asked to put an agent behind an API with memory, approvals and monitoring
  • Teams that want agents running on local open-weight models instead of a paid API