An advanced AI course: RAG with embeddings and vector databases, AI agents, the Model Context Protocol (MCP), evaluation, privacy and production. Each lesson has a task and a downloadable solution.
Advanced · 13 lessons
Retrieval-Augmented Generation (RAG)
What Is RAG (Retrieval-Augmented Generation)? - Learn why models need your own data, how RAG works from question to answer, and build a help-center bot that answers only from your documents.
Chunking, Embeddings and Vector Search - Cut documents into overlapping chunks, understand embeddings and cosine similarity, and build a vector search page where you can change chunk size and see the results change.
Vector Databases: pgvector, Qdrant, Pinecone and Chroma - Learn what a vector database really does, how approximate search works, how to choose between the main options, and build a vector store with upsert, delete and filters behind a clean interface.
AI Agents Explained: Loops, Tools, Memory and Limits - Understand the difference between a workflow and an agent, build the agent loop with a step limit and a token budget, and give the agent memory that lasts between conversations.
Multi-Agent Systems, Frameworks and the Claude Agent SDK - Learn when several specialised agents help, build a supervisor, researchers, writer and reviewer team with hand-offs and a revision limit, and see how frameworks fit around the same ideas.
Model Context Protocol (MCP)
What Is MCP (Model Context Protocol)? - Learn what MCP is, how hosts, clients and servers fit together, what tools, resources and prompts are, and build an MCP client in Node that starts a server and calls its tool.
Build an MCP Server in Node.js and Connect It to Claude - Build a resume-tools MCP server with two tools and a resource, handle tool errors the right way, and connect it to Claude so the model can call your tools through MCP.
MCP Security: Permissions, Consent and Prompt Injection - Learn the real risks of connecting AI to tools, and build a policy layer with allow, approve and deny rules, a human approval step and a defence against prompt injection from tool results.
AI Safety, Privacy and Responsible Use - Learn how to reduce hallucinations, protect personal data by redacting it before it reaches an AI provider, and think about fairness, consent and the law when AI touches people's careers.
Your AI Learning Roadmap and Project Ideas - Review what you have built, plan your next steps, choose a portfolio project and write a project plan with data, design, safety, evaluation and cost before you write code.