
Explore the course structure from fundamentals to production, covering line chain and line graph foundations, intelligent retrieval with rag and memory, deep dives into multi-agent orchestration, and real-world production projects.
Explore LangChain core concepts LCEL and runnable chains by building a basic chain with a chat prompt template, a model, and an output parser, then execute and batch process inputs.
Demonstrate streaming real-time outputs in a LangChain-based AI agent using LCEL, prompts, a chat model like Chat OpenAI, a parser, and chain.stream to display chunks as they arrive.
Build your first chain in LangChain by creating a prompt with product and audience variables, configuring a model, instantiating a parser, and testing the tagline output.
Configure model settings—temperature, max tokens, timeouts, retries, and model quarks—and optimize cost by streaming responses, choosing cheaper models, and caching identical requests.
Explore configuring LangChain with multiple providers, and use system, human, and AI messages to manage multi-turn LLM conversations across OpenAI and Anthropic.
Create a function that accepts a question and a list of model names for a multi-model setup, retrieves responses from all models, and returns a model-to-response dictionary.
Explore how to build reusable chat prompt templates and multi-message prompts. Understand system, human, AI, and tool messages in LangChain, and master prompt composition for modular AI agents.
Learn to build and format chat prompts with LangChain by using chat prompt templates, variables, and from messages constructs, including system, human, and AI messages, plus few shots examples.
Explore prompt templates in LangChain v1 by running a consolidated file that demonstrates chat templates, message types, dynamic history, few-shot examples, and prompt composition.
Explore hands-on output parsers, including string, JSON, and Pydantic, to produce structured outputs with prompts, an LLM, and chained invocations.
Explore the smart q&a bot architecture, transforming a user question with a LangChain chat prompts template and OpenAI model, then producing a structured output via QnA response structured output class.
Explore the document class structure in linkchain by building a sample document with page content, metadata, and author fields, then update and inspect immutable documents.
Explore why chunking matters for large-language models and retrieval augmented generation, covering text splitters like recursive character text splitter, chunk size and overlap, embeddings, vector databases, and semantic chunking strategies.
Explore hands-on use of text splitters with a focus on the recursive character text splitter in LangChain to preserve semantic coherence and natural text boundaries for downstream LLM tasks.
Learn how to create embeddings with OpenAI embeddings models via LangChain, choosing TextEmbedding3Small or TextEmbedding3Large for different dimensions, and embed single or multiple texts for vector databases.
Set up chroma within LangChain to create a vector store from documents using an embedding model, persist it, and run a similarity search to retrieve relevant documents.
If you are using Python 3.14 and run into issues with ChromaDB, this is expected right now. Python 3.14 is very new and most libraries have not fully caught up yet. ChromaDB relies on Pydantic for configuration, and the version it uses internally (Pydantic v1) has known compatibility issues with Python 3.14's updated type inference and typing internals.
Recommended solution: use Python 3.11 or 3.12. These versions are currently the safest choices for ChromaDB and most AI/ML libraries.
Using pyenv:
pyenv install 3.12.2
pyenv local 3.12.2
Using uv or conda:
uv venv --python 3.12
or create a new conda env with Python 3.12
Why this happens: Python 3.14 introduced changes to how types are handled internally, and many libraries (including Pydantic v1 and projects built on top of it like ChromaDB) need time to update and release compatible versions. ChromaDB will likely support Python 3.14 in a future release once those updates are in place.
Pro tip: For production-grade AI/ML projects, stick with Python 3.11 or 3.12 for now. They are stable, fast, and have the best ecosystem and library compatibility. If you are on 3.14 and things are breaking, do not debug for hours - just switch your environment to Python 3.11 or 3.12 and rerun the Chroma sections.
Master similarity search with scores using Chroma and LangChain, retrieving top results and their scores from a vector store with embeddings, and learn how distance versus similarity scores affect relevance.
Apply metadata filtering to similarity search by passing a filter object with a topic criterion, narrowing results to database-related documents from Pinecone, Chroma, and vector stores.
Explore using a vector store as a retriever for chains, compare similarity and MMR retrieval, and fetch three documents to illustrate diverse, well-rounded results.
Set up a vector store with Chroma, split documents into chunks using a recursive splitter, and configure a retriever to test with sample text and queries for a rag system.
Ground LLM responses in retrieved, embedded documents indexed in a vector store. Connect the user query to the retriever with context and sources via an output parser.
Identify the limitations of basic RAG and describe advanced techniques—multi query retrievers, self query retrievers, contextual compression, and hybrid search—for better precision and context.
Implement hybrid search for rag by combining bm25 keyword retrieval with semantic retrieval. Build vector store, deploy an ensemble retriever with 40% keyword and 60% semantic weights, and evaluate results.
Learn to build a two-stage parent document retriever for rag, balancing small-chunk search precision with large-chunk context using in-memory vector stores, embeddings, and recursive text splitters.
The lecture demonstrates building a basic conversation memory in memory.py, saving context pieces in an in-memory chat history to let the language model recall previous topics across a chat.
Trim messages to fit the context window using token-aware strategies, preserving system messages, and demonstrating last-token trimming and max tokens for memory efficiency.
Explore windowed memory by implementing a sliding window that keeps the last K exchanges, balancing cost and context limitations while dropping older messages.
Develop a production-ready rag system that ingests documents, uses smart chunking with metadata, multi-query retrieval, and contextual compression, storing in a Chroma vector store to deliver sources and confidence.
Build your first node in a line graph by generating three questions about a topic, answering the first, and returning both questions and the answer using a LangGraph workflow.
Learn multipath routing using a graph-based flow that analyzes task urgency and complexity via a large-language model, routing tasks to senior team, specialist, or quick response.
Explore cycles and loops to turn a simple chain into a self-correcting code writer that uses LangGraph, validates with real Python compilation, and iterates until correct.
Explore how checkpointing turns stateless graphs into durable memory by persisting conversations with SQLite via line graph checkpoints, enabling history, branching conversations, and undo capabilities.
Explore agent handoffs in LangGraph by building a triage routing system with structured outputs that direct queries to sales, support, or billing specialists.
Learn parallel agent execution for research, creative, and technical tasks, then apply map-reduce and hierarchical reduce to map documents to summaries and reduce to a cohesive final overview.
Explore a hands-on message passing pattern by building a multi-agent pipeline (researcher, fact checker, summarizer) that grounds prompts, validates findings, and generates a final summary.
Coordinate a production multi-agent research system with a supervisor, search agents, an analyst, and a report writer to produce and quality-check a final report.
Explore observability for multi-agent systems and learn how traces, metrics, and evals reveal how supervisors, writers, and LLM calls perform, using LangSmith for end-to-end traceability.
Apply defense in depth for LLM apps by layering input sanitization, PII detection, an LLM guard, and output validation; mask PII and block prompt injection with regex.
Adopt production considerations by applying input validation, guard, process, and output validation, and add rate limiting, user authentication, OpenAI moderation or Azure content safety, PII services, and WAF protections.
Demonstrates semantic caching with a two-layer cache that normalizes queries, hashes them, and caches responses to reduce LLM calls; highlights exact-match limitations and embedding extensions.
build a production-ready api with Lang Smith tracing, input sanitization, PI detection and masking, add rate limiting, caching, error handling, retries, logging, health checks, docker deployment for FastAPI, LangGraph.
Implement an in-memory TTL cache with lowercase key normalization to cut duplicate LLM calls and save costs. Use JSON logging and metrics to monitor latency and cache performance in production.
Wire five independent modules—security, caching, monitoring, the agent, and config models—into a single FastAPI app with health, metrics, and rate-limiting endpoints powered by LangChain and LangGraph.
Test and dockerize the production LangGraph API, validating security with input sanitizer, PII detector, and output validator, while enabling caching, health checks, and Docker Compose deployment.
Explore building production-grade ai agents with LangChain and LangGraph, grounded in blankchain fundamentals, rag pipelines, and landgraf state management for scalable multi-agent workflows.
Stop building AI demos. Start shipping AI agents that handle real workloads in production.
Most LangChain and LangGraph tutorials teach you how to call an LLM and leave you on your own when it is time to build something real.
This course picks up where they stop. From Lecture 1, you will build production-ready AI agent systems using the same patterns companies are paying $150K salaries for in 2026.
This is a project-first, production-first course covering LangChain v0.3, LangGraph 1.0, RAG pipelines, multi-agent orchestration, security, testing, LangSmith observability, FastAPI deployment, and Docker.
All code uses the latest stable APIs as of January 2026.
What you will build:
Customer Support Agent: RAG-powered knowledge base with Chroma, structured issue classification, automatic ticket escalation. Target: reduce Tier-1 support tickets by 40 percent.
Multi-Agent Research System: Specialist agents running in parallel with state management, convergence patterns, and quality loops. Target: cut research time from 4 hours to 20 minutes.
Production FastAPI + LangGraph API: Full request pipeline with security middleware, response caching, rate limiting, structured logging, metrics, LangSmith tracing, and Docker deployment to Render
What you will learn:
LangChain v0.3 Mastery: LCEL chain composition, structured output with Pydantic, multi-provider LLM switching (OpenAI, Anthropic, HuggingFace), streaming, and batch processing
Complete RAG Pipelines: Document loading, intelligent text splitting, embeddings, vector stores with Chroma, and 4 advanced retrieval patterns: Multi-Query, Contextual Compression, Hybrid Search, and Parent Document Retriever
LangGraph Deep Dive (4 hours): State machines with TypedDict, conditional routing, self-correcting loops, human-in-the-loop workflows with interrupt patterns, and checkpoint persistence
Multi-Agent Orchestration: Supervisor pattern, agent handoffs, parallel execution with fan-out and fan-in, inter-agent communication, and hierarchical team structures
Production Security: Prompt injection defense with regex patterns, PII detection and masking for emails, SSNs and credit cards, LLM-as-Guard pattern, and output validation
LLM Testing and Evaluation: Unit tests with mocks, integration tests, regression tests, AB prompt testing, and semantic scoring across correctness, relevance, coherence, and helpfulness
Production Deployment: FastAPI integration, rate limiting, response caching with SHA-256 hashing and TTL, structured JSON logging, metrics collection, LangSmith tracing, Docker, and cloud deployment to Render
How this course is different:
Most AI courses stop at hello world demos. This course is production-first from day one. Every concept is taught through working, deployable code. Security and testing are dedicated modules, not afterthoughts. You will implement error handling, fallbacks, cost optimization, and monitoring throughout. The final API project wires everything together into a system you can actually ship.
This course is for you if:
You are a Python developer who wants to add AI agent engineering skills to your toolkit
You have done LangChain tutorials and can call an LLM, but do not know how to build something that handles errors, scales, and stays stable in production
You are a backend or full-stack developer who wants to integrate AI agents into existing products and APIs
You are targeting the AI engineer role and need a portfolio of deployed, real-world projects to show employers
Requirements:
Python at an intermediate level (functions, classes, decorators, type hints)
Basic command line familiarity
An OpenAI API key (costs roughly $2 to $5 for the entire course)
No prior LangChain or LangGraph experience required
About the instructor:
Paulo Dichone is an AI engineer and educator with over 340,000 students across 71 courses. Every pattern in this course comes from real production systems. You will get the same battle-tested approaches, shortcuts, and lessons learned from building AI applications that run in the real world.