Free course · by Debugshala, Indore
AI Agents Tutorial
19 free lessons, in the order we teach them in class: start at lesson 1 and work down. Every lesson has an analogy, a diagram, code you can run or copy, a quick quiz and an FAQ.
- 19Lessons
- 3Modules
- ~3 hReading time
- FreeAlways
01Agent Foundations
- AI Agents Explained: LLM, Tools, Memory and the Agent LoopAI agents explained: how an LLM, tools, memory and a loop work together, the ReAct pattern, planning and guardrails, with a toy agent you can run in Python.
- AI Agent vs LLM vs RAG: Key Differences with ExamplesAI agent vs LLM vs RAG: what each one does, how they differ on knowledge, actions and cost, and how to pick the right one, with runnable Python simulations.
- Building Blocks of AI Agents: Role, Tools, Memory, GuardrailsThe six building blocks of AI agents: role, task, tools, memory, guardrails and cooperation, how each shapes behaviour, and a Python agent spec you can lint.
- 5 Agentic AI Design Patterns Explained with Python ExamplesThe 5 agentic AI design patterns, reflection, tool use, ReAct, planning and multi-agent, explained with when to use each and runnable Python simulations.
- 5 Levels of Agentic AI Systems: From Responder to AutonomousThe 5 levels of agentic AI explained: basic responder, router, tool calling, multi-agent and autonomous, who controls the flow at each, and how to pick a level.
- Memory in AI Agents: Short-Term, Long-Term, Episodic and MoreMemory in AI agents explained: short-term context, semantic, episodic and procedural long-term memory, and how agents save, retrieve and forget, in Python.
- Agentic AI Glossary: 40 Must-Know Terms Explained SimplyAgentic AI glossary: 40 must-know terms, from agent loop and tool calling to MCP, A2A, guardrails and agentic RAG, each in plain English with examples.
02Building Agents
- Build a ReAct Agent from Scratch in Python (No Framework)Build a ReAct agent from scratch in Python: write the prompt, parse Thought and Action text, run tools safely, stop loops, then plug in a real LLM.
- Tools and Function Calling for AI Agents: A Practical GuideHow function calling works in AI agents: JSON Schema tool definitions, the call and result cycle, safe validation, and a real API loop, with Python examples.
- Multi-Agent System Patterns: 7 Ways AI Agents Work TogetherMulti-agent system patterns explained: sequential, parallel, loop, router, aggregator, hierarchical and network, with handoffs, trade-offs and Python demos.
- Agentic RAG Explained: Build a Self-Correcting RAG AgentAgentic RAG explained: how an agent routes questions, grades retrieved passages, rewrites weak queries and falls back to other sources, with Python code.
- Guardrails for AI Agents: Input, Tool and Output ChecksGuardrails for AI agents explained: input filters, tool allowlists, human approval, output checks and run budgets, with Python code and an Agents SDK example.
- How to Evaluate AI Agents: Metrics, Test Sets and CodeHow to evaluate AI agents: outcome, trajectory, efficiency and safety metrics, test sets, pass@k vs pass^k and LLM judges, with a runnable Python harness.
- Deploying AI Agents to Production: Architecture and CodeDeploying AI agents to production: API, queue and worker design, streaming, checkpoints, retries, idempotent tools, tracing and costs, with Python examples.
- A2A and AG-UI Explained: Agent Protocols with Python ExamplesA2A and AG-UI agent protocols explained: agent cards, tasks and states, streamed UI events, how they differ from MCP, and Python code for both protocols.
03Agent Projects
- Build a Multi-Agent Research Assistant in Python: Full ProjectBuild a multi-agent research assistant in Python: planner, parallel searchers, cited writer and fact-checker, simulated offline, then a real Agents SDK version.
- Build a Voice RAG Agent in Python: Speech In, Answers OutBuild a voice RAG agent in Python: voice activity detection, speech-to-text, retrieval, speech-friendly answers and text-to-speech, simulated, then for real.
- Build a Multi-Agent Travel Finder in Python with LangGraphBuild a multi-agent travel finder in Python: parse a trip request, search flights and hotels in parallel, fit a budget, write an itinerary, then use LangGraph.
- Build a Financial Analyst AI Agent in Python with MCP ToolsBuild a financial analyst AI agent in Python: parse stock questions, compute return, volatility and drawdown in code, serve them over MCP, check every report.