Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Agentic AI & Multi-Agent Masterclass: Build, Test & Secure
New

Agentic AI & Multi-Agent Masterclass: Build, Test & Secure

Build AI agents and multi-agent teams in Python line by line, then test, secure and deploy them, and watch one learn
Created byAnil Kumar
Last updated 11/2026
English

What you'll learn

  • Build an AI agent in Python with tools, memory, a step limit and a live log you read line by line
  • Grow one agent into a supervisor-led team of specialist agents that check each other's work
  • Build LangGraph workflows with routing, loops with a hard limit and human approval with checkpoints
  • Study a real research lab where an AI agent learns to solve a maze from its own memory and lessons
  • Share tools through an MCP tool server and give each agent only the tools it is approved to use
  • Put an agent behind a FastAPI service with settings, secrets, JSON logs, trace ids and an audit log
  • Add retries with backoff, a rate limit and a token budget so an agent service survives real traffic
  • Measure agents with an eval: an answer key, graders and a release gate that blocks a weaker version
  • Write offline tests with a fake model and fake tools that run in under a second and cost nothing
  • Threat-model an agent and defend it against prompt injection with least privilege, approval and redaction
  • Check an unknown MCP tool server before trusting its tool descriptions and replies
  • Build a warehouse of robot agents where the model decides what, code finds the route and the world checks

Course content

11 sections • 63 lectures • 6h 53m total length
  • From LLM Chatbots to Autonomous Workflows10:00
  • Agent, Tool, Workflow and Multi-Agent System Compared5:59
  • Course Project, Lab Environment and Workflow Overview6:56
  • Set Up Your Computer9:03
  • Connect a Model and Check Everything8:33

Requirements

  • Basic Python: functions, classes, running scripts, installing packages.
  • Basic terminal use: moving between folders and running commands
  • A computer with Linux, macOS, or Windows 10/11 with WSL

Description

This course contains the use of artificial intelligence

An AI agent does not only answer. It looks things up, calculates, opens tickets and asks a person before anything risky. A team of agents can split a job, check each other, and finish work no single prompt could. That power is also the risk: an agent that can act can loop forever, spend your budget, or be tricked by one hidden sentence. This course teaches you to build agents that are useful, measured and safe, one small file at a time.

Every lecture reads real code line by line, then runs it and reads the real output. Nothing is a paraphrase: the logs on screen are the logs the code printed.

You build:

  • Your first AI agent: a research helper with a search tool, a calculator, memory with a token budget and a step limit.

  • A multi-agent team: a supervisor that hands work to a researcher, an analyst and a reviewer through a shared notebook.

  • Agentic workflows in LangGraph: routing, loops with a hard limit, and a refund workflow that pauses for a manager's approval and resumes later.

  • An MCP tool server: tools shared by every agent, with checks at the door for who may call, what goes in and what comes out.

  • A web service: the agent behind FastAPI, with settings and secrets, searchable JSON logs, trace ids, an audit log, retries, a rate limit and a token budget.

  • An evaluation suite: an answer key, graders and a release gate that caught a one-line prompt change dropping the score from 10/10 to 2/10.

  • Offline tests: a fake model and fake tools that check the loop in a fraction of a second, for free.

  • Security labs: a deliberately vulnerable agent, four defenses, and the same attacks run against both, plus how to meet a tool server you did not write. Attacks run only against a scripted model, never a real provider.

Then everything comes together in a real-world project from our own research lab, the Agents World Lab:

  • An AI agent is dropped into a maze it has never seen. On attempt 1 it runs out of moves; it writes down what it learned; on attempt 3 it walks to the goal in 16 moves. You watch every move in a live log, then read the lab's code line by line.

  • A warehouse of robot agents fills orders: the model decides what to do, a route planner finds the way, and the world checks every move. You also see the seven real attempts it took to get there, failures included.

How the course is taught

  • Problem first: before any code, you see what the program does and which problem it solves.

  • Concept first: every idea is an animated workflow diagram, explained in plain words, with every new term defined.

  • Line by line: each code file opens with what it does, then each block is explained before it runs.

  • Real output: runs use the OpenAI API, or a free local model through Ollama, and the tests and attack labs use a scripted model so they print the same output every time.

  • Focused lectures of 5–11 minutes.


Who this course is for:

  • Python developers who want to build AI agents that work beyond a demo
  • Engineering students who want to learn real AI use cases by reading and running real code.
  • Working professionals moving from chatbots to agents, teams of agents and agent workflows.
  • AI and ML engineers who need their agents tested, measured and running as a service.
  • Security engineers who want to see how agents get attacked and how to defend them.