Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
AI Agents Explained: How Modern AI Agents Work
New
Rating: 5.0 out of 5(6 ratings)
9 students

AI Agents Explained: How Modern AI Agents Work

A no-code visual guide to LLMs, tool calling, memory, RAG, MCP, multi-agent systems, evals and safety
Last updated 11/2026
English

What you'll learn

  • Explain how AI agents work, from LLM tokens to the perceive-think-act-observe loop and ReAct
  • Understand tool calling, memory and RAG well enough to judge any agent product
  • Describe how agents plan, reflect and when a simple workflow beats an agent
  • Explain MCP and the main multi-agent patterns: supervisor, pipeline, handoff, reviewer
  • Evaluate agents for task success, cost, latency and reliability
  • Spot risks like prompt injection and design safe agents with guardrails and human approvals

Course content

11 sections • 70 lectures • 4h 24m total length
  • Welcome: what you will understand by the end4:13

    Welcome to AI Agents Explained. Key ideas: Agents are already in the tools you use; Understanding beats button-clicking; Analogy, diagram, example, misconception, recap; No code needed, just curiosity.

  • Chatbot vs workflow vs agent4:17

    People use the word agent for almost anything with AI inside. Key ideas: Chatbot: one question, one answer; Workflow: fixed steps designed by a developer; Agent: the model chooses the steps in a loop; Many great products are workflows, not agents.

  • The levels of autonomy, from copilot to autonomous4:11

    When people say an agent is autonomous, they rarely say how autonomous. Key ideas: Autonomy is a ladder: suggest, assist, delegate, autonomous; Match the level to the cost of mistakes; Earn autonomy with evidence; Different actions can have different levels.

  • How to use this course, cheat sheets and quizzes2:51

    Before we dive into how language models work, let me show you how to get the most out of this course in just a couple of minutes. Key ideas: Watch in order, then use the cheat sheets; Quizzes check understanding, not memory; The design canvas is your final project.

  • Section 1 Quiz

Requirements

  • No coding or AI experience needed
  • A computer or phone with internet access
  • Curiosity about how AI tools really work

Description

This course contains the use of artificial intelligence.


AI agents are everywhere: in coding tools, customer support, research assistants, office apps and personal assistants that book, write, search and act for you. Every company is talking about agentic AI, yet most people, including many professionals who use these tools every day, cannot explain what actually happens inside an agent. What is a tool call? Where does the memory live? Why do agents sometimes go off the rails, cost too much, or get tricked by a web page? This course answers those questions clearly, visually and without code.


AI Agents Explained is a slide-based, concept-first course taught by a software engineer who builds with AI every day. Instead of chasing the newest app, we open the hood. Every lecture uses clean animated diagrams to show how modern agents work step by step: the language model at the center, the loop that lets it think and act, the tools it calls, the memory it keeps, the knowledge it retrieves, the plans it makes, and the guardrails that keep it safe.


You will start with the foundations. You will see how large language models read tokens, predict the next word, use a context window and why they hallucinate. You will learn what reasoning models do differently and how to think about model size, speed and cost. With that base, you will learn the agent loop itself: perceive, think, act and observe, and the ReAct pattern that powers many real agents. We will trace a real agent run together, decision by decision, so the idea becomes concrete.


Next, you will understand the building blocks that make agents useful. You will read an annotated tool call and see exactly how a model chooses and uses a tool, from simple APIs to browser and computer use. You will learn the difference between short-term and long-term memory, how summaries and context compaction work, and what an agent should never remember. You will see embeddings and vector search visually, learn how retrieval-augmented generation (RAG) grounds an agent in your own documents, and learn the most common ways RAG fails and how teams fix them.


Then we go deeper than other introductory courses. You will learn how agents plan: breaking goals into tasks, plan-and-execute, reflection and self-critique, and, just as important, when a simple workflow is better than an agent. You will understand the Model Context Protocol (MCP), the open standard that connects agents to apps and data, including hosts, clients, servers, tools, resources and prompts. You will learn the main multi-agent patterns, such as supervisor, pipeline, handoff and reviewer, and the hidden costs of agent teams.


Most beginner courses stop there. This one does not. You will learn how professionals evaluate agents: task success, trajectory evaluation, LLM-as-judge, latency and cost math, observability and building a small eval set. You will learn the security side that every manager and builder must understand: prompt injection, least privilege, sandboxing, human-in-the-loop approvals and governance. Finally, you will break down real-world case studies, including a coding agent, a research agent and a customer support agent, and use the agent design canvas to plan an agent for your own work.


Every section ends with a short quiz, and the course includes a full practice test so you can check your understanding. You also get downloadable cheat sheets for every section, a glossary of agent terms, the agent design canvas, an agent-worthy task checklist and a risk checklist you can use at work.


Why learn from this course? Because it is built to last. We teach the patterns and principles behind every agent product rather than button clicks that change every month. When you finish, you will be able to read any AI announcement, product page or architecture diagram and understand what it really means. You will be able to talk confidently with engineers, evaluate vendors, spot risky designs, and decide where agents can genuinely help your team.


Here is what makes the learning stick. The course runs over four hours across seventy lectures. Each lecture is focused and usually three to five minutes long, so you can learn on a commute or between meetings. Each concept is introduced with a simple everyday analogy, then shown as an animated diagram, then connected to a real product you already know. Ideas build on each other in a deliberate order, so by the final section you can draw a complete agent architecture from memory and explain every box and arrow. The quizzes are written to test understanding, not memorization, and every answer comes with an explanation. If a concept still feels unclear, ask in the Q&A: questions are answered by the instructor, and common questions become new lectures or updates, so the course keeps improving with its students.


No coding is required. If you can use a web browser and you are curious about how AI really works, you are ready. Developers are welcome too: this course gives you the mental model before you pick a framework, so you learn LangGraph, the OpenAI Agents SDK, CrewAI or n8n much faster afterwards.


A note on how this course was made: the narration uses an AI-generated voice, and AI tools helped with drafting and visuals. All content was planned, written, reviewed and fact-checked by the instructor, Maisha Farzana Taki, a software engineer, and every example reflects her own experience building with AI.


What is inside, section by section: (1) Welcome and the big picture, where you learn the difference between a chatbot, a workflow and an agent, and the levels of autonomy. (2) How LLMs work, in plain terms: tokens, next-token prediction, context windows, temperature, hallucinations, reasoning models and choosing a model. (3) The agent loop: anatomy of an agent, perceive-think-act-observe, ReAct, stopping conditions and why loops fail. (4) Tool calling: function calling, reading a tool call as JSON, how models choose tools, and browser and computer use. (5) Memory: short-term, long-term and profile memory, compaction and privacy. (6) RAG and knowledge: embeddings, vector search, chunking, hybrid search, reranking and agentic RAG. (7) Planning and reasoning. (8) MCP. (9) Multi-agent systems. (10) Evaluation, cost and reliability. (11) Safety, guardrails, real-world case studies and the future of agents. Each section has its own quiz and a one-page cheat sheet you can download and keep.


Enroll today and finally understand how modern AI agents work, from the first token to a safe, evaluated, multi-agent system.

Who this course is for:

  • Professionals and managers who want to understand AI agents before adopting them
  • Product managers, designers and analysts working with AI features
  • Students and career switchers building real AI literacy
  • Developers who want a clear mental model before learning an agent framework
  • Founders and consultants evaluating AI agent tools and vendors