Advanced LangGraph: Agents in Production
Take your LangGraph agents to production: the runtime from the inside, durable execution, fault tolerance, multi-agents, custom middleware, guardrails, MCP, v3 streaming, Agent Server, Docker, security, observability and evaluation. 20 labs with a local model in Docker, based on the official documentation.
Advanced · 25 hours · 20 lessons · Course language: Spanish and English
The next step after Intermediate LangGraph. You understand the runtime from the inside (Pregel, channels and supersteps) and write flows with the functional API. You kill processes halfway and resume them from PostgreSQL, compare durability modes and use pending writes so effects aren't repeated. You set up retries, timeouts, error handlers with compensation, draining on SIGTERM and a shared cache in Redis. You serve fifty conversations at once with async and resolve races on the same thread. You build multi-agent systems with subagents, handoffs, routers and skills, write your own middleware, put up layered guardrails with personal data detection and connect other teams' tools with MCP. You master v3 event streaming with your own transformers, publish your agents on the Agent Server with authentication and double texting strategies, and build Docker images and your own API with SSE streaming. You encrypt checkpoints, shrink them with DeltaChannel, give memory an expiry, observe with callbacks and Prometheus, and evaluate with agentevals and a judge model. You finish with a multi-agent pricing platform in production. Every command is explained and every result is real. The first 3 classes are free and include a video. The lessons, quizzes and videos are in English; the lab code and the local model's answers keep their original Spanish, and every lesson explains the names.
What you will learn
- Explain LangGraph's runtime (Pregel, channels and supersteps) and use the functional API
- Design durable, fault-tolerant execution: retries, timeouts, compensation, draining and caching
- Serve many users with async, connection pools and per-thread concurrency control
- Build multi-agent systems with subagents, handoffs, routers and skills
- Write your own middleware and layered guardrails, and connect tools through MCP
- Publish agents with the Agent Server, v3 streaming, Docker and your own API
- Protect data with encryption, DeltaChannel, retention and anonymization
- Observe and evaluate agents with metrics, agentevals and a judge model
Skills
LangGraph, Pregel, Functional API, Durable execution, Multi-agents, Middleware, Guardrails, MCP, Agent Server, FastAPI, Docker, Agent evaluation
Program
Module 1: The runtime and durable execution (free classes)
Pregel from the inside, the functional API and processes that survive a crash.
Project: A pipeline that resumes from PostgreSQL without repeating work.
- LangGraph's runtime from the inside: Pregel, actors and channels, supersteps and the advanced course's environment.
- The functional API: @task and @entrypoint, parallel tasks, previous, interrupts and determinism.
- Durable execution: A process that dies and resumes, durability modes and pending writes.
Module 2: Fault tolerance and performance
Retries, timeouts, compensation, draining, caching in Redis and async.
Project: A batch that withstands downed APIs, deploys and double clicks.
- Retries, timeouts and compensation: RetryPolicy, TimeoutPolicy, error handlers, sagas and default policies.
- Graceful shutdown and caching: Draining with RunControl on SIGTERM and node caching in memory and in Redis.
- Async and concurrency: AsyncPostgresSaver with a pool, 50 conversations at once and races on a thread.
Module 3: Multi-agent systems
Subagents, handoffs, parallel routers and skills.
Project: A help desk by area and a router for internal queries.
- Subagents: A coordinator with specialists as tools and dispatch with an enum.
- Handoffs between agents: Handoffs with Command.PARENT, an active agent and a valid history.
- Routers and skills: Queries split in parallel with Send and skills loaded on demand.
Module 4: Agent engineering
Custom middleware, layered guardrails and tools through MCP.
Project: An agent with role-based permissions, protected data and another team's tools.
- Custom middleware: Hook order, tools by role, a dynamic model, state and jumps.
- Layered guardrails: PIIMiddleware, custom detectors, input filters and an output reviewer.
- MCP: other teams' tools: A FastMCP server over stdio and HTTP in Docker, MCPAdapter and approval by annotations.
Module 5: Streaming and deployment
v3 events, Agent Server, authentication, double texting, Docker and SSE.
Project: Your agent published as an API, in containers.
- v3 event streaming: Projections, the event protocol, custom transformers and pauses.
- The Agent Server: langgraph.json, langgraph dev, the REST API, the SDK and approvals through the API.
- Agent Server in production: Custom authentication, assistants with context and double texting strategies.
- Docker in production: The official image and your own API with uv, a healthcheck, SSE and persistence.
Module 6: Security, quality and final project
Encryption, DeltaChannel, retention, observability, evaluation and the complete platform.
Project: A multi-agent pricing platform with management approval.
- Data security and cost: DeltaChannel, AES-encrypted checkpoints and memory that expires.
- Observability: Callbacks, Prometheus metrics and anonymized traces.
- Agent evaluation: Trajectories with agentevals, prompt comparison, a judge model and a quality gate.
- Final project: a pricing platform: Subagents, MCP, a structured recommendation, management approval, encryption and Docker.
Prerequisites
- Having completed Intermediate LangGraph, or a good command of stateful graphs, checkpointers, interrupts and create_agent
- Python with async/await and some knowledge of Docker and HTTP APIs
- Docker Desktop with at least 8 GB of memory, and uv (class 1 sets up the environment)
Next courses
- Coding Agents with Codex and Claude · Advanced · 25 hours
Program with AI agents like a professional team: Claude Code, OpenAI Codex and your own agents with the Claude Agent SDK. - Advanced Docker: Kubernetes on Your Computer · Advanced · 20 hours
Take your containers to Kubernetes with a real three-node cluster on your computer: deployments, services, autoscaling, storage, Gateway API, Helm, Kustomize, security and GitOps. 20 labs with real cases, based on the official documentation.