Library / Artificial Intelligence

Build AI Agents in Python: LangChain, LangGraph, MCP & RAG

On Udemy

About this course

This course teaches you to build AI agents in Python by building six of AI agents. Each module takes one concept, explains it, and then uses it in a working project, so that by the end you know every piece an agent needs: structured output, tool calling, MCP, RAG, LangGraph, and an agent that checks its own work.

What you will build

Six projects, one per module, and each one runs by the end of its module:

  • An email-to-CRM parser that turns messy emails into validated records, built with LiteLLM, Pydantic and Instructor, with a Streamlit UI on top.

A stock research agent that calls a live price tool and a web search tool in a ReAct loop. You write the loop by hand first, then replace it with LangChain, and trace every step in LangSmith.

Your own MCP server and MCP client, plugged into a LangChain agent and into Claude Desktop, and then a meeting-prep agent that reads a calendar and Notion through MCP.A document Q&A agent with RAG built by hand: chunking, embeddings, ChromaDB, similarity search, and short-term and long-term memory so that it can answer follow-up questions.

A pitch deck analyst in LangGraph with typed state, parallel branches, conditional routing, checkpointers, a pause for human approval, vision on the slides, and debugging in LangGraph Studio.

An agentic RAG agent that routes its own questions, rewrites bad queries, retries failed retrieval, audits a whole document, and ships with a Chainlit chat UI.How the course works

You build every line yourself, with GitHub Copilot for completions, the way a working developer does. Nothing is pasted in from a finished file. Every new thing, from Pydantic to decorators to async to graphs, is explained the moment it first appears and before it goes into your project, so that when something breaks you know why.

Everything runs for free on a local model with Ollama.

Read the full description on Udemy on Udemy (opens in a new tab)

Ready to start? Continue on Udemy to enroll.

Start learning on Udemy (opens in a new tab)

Prices, discounts and availability are set by Udemy. We may earn a commission when you purchase through links on this site.