
Build AI Agents That Use Tools
Learn how tool-using AI agents really work: the agent loop, well-designed tools, MCP connections and retrieval over your own data. Then add the guardrails, evaluations and rollout habits that make an agent safe to ship.
What you'll be able to do
- Explain the agent loop and implement it in a few lines of plain Python
- Design tools with clear names, precise descriptions, narrow inputs and helpful errors
- Describe what the Model Context Protocol (MCP) is and decide when it is worth using
- Ground an agent in your own documents with retrieval and cited sources
- Add least-privilege permissions, human approval and prompt-injection defenses
- Build a small evaluation set, trace every run and roll an agent out in stages
Syllabus
3 modules · 7 lessons · 1 h 26 min
Module 1
How agents work
See what separates an agent from a chatbot and build the loop that every agent runs on.
Module 2
Giving agents abilities
Design tools a model can use correctly, connect them through MCP and ground answers in your own data.
- 3Designing Great ToolsHow to write tool names, descriptions, inputs and errors that a model can use correctly.Quiz13 min
- 4Connecting Tools with MCPWhat the Model Context Protocol is, what servers expose, and when it is worth using.Quiz11 min
- 5Grounding Agents in Your DataUse retrieval so the agent answers from your documents and shows where each fact came from.Quiz14 min
Module 3
Making agents reliable
Add guardrails and human approval, then evaluate, trace and ship your agent in stages.
About this course
You have called a model from code, or you use a chat assistant every day. The answers are good, but they stay on the page. This course is about the next step: agents that look things up, call tools and finish multi-step tasks, without you holding their hand through every step.
It is written for developers and technical builders. You do not need a framework or a specific provider. Every code sample is short, plain Python with a stand-in helper, so the ideas carry over to whichever SDK and model you use. The concepts are the durable ones: the agent loop, tool design, the Model Context Protocol, retrieval, guardrails and evaluation.
The course is text-based and built around one running example: a support triage agent for Mint Kettle, a small online tea shop. Across seven lessons you will give it instructions, tools, access to the help center, safety limits and a test set. Each lesson has a worked example, copyable prompts, a hands-on exercise and a short quiz.
By the end you will have a design you can apply to your own agent: a clear loop, a small set of well-described tools, grounded answers, approval gates for risky actions and a way to prove that each change makes things better.