
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
One support job, six versions of the same agent and 20 questions with known answers. The invented price that opens the course, the free local model, how every run is recorded, and what each section builds.
Qwen 2.5 (0.5B) through Ollama, the two real dependency conflicts that force three virtual environments, pinned versions, and 25 offline tests that prove the wiring with a scripted fake model.
The shop, its three tools and the tool log; the 20 fixed questions and a strict scorer; the agent loop by hand; real runs where the model calls calculate with words; the meter that counts every framework the same way.
The 18-line agent on a local model, what function_tool sends on the wire, the seed in extra_args, tracing switched off, and a real policy question where the right tool was never called.
A TracingProcessor that prints every span on your machine, set_trace_processors versus the default exporter, and a two-agent hand-off with transfer_to_researcher captured on the wire.
Plain functions as tools, a usage budget, the answer that matched the OpenAI SDK word for word, and typed output with retries: what happens when a small model cannot produce the object.
Every message part of a run plus the usage bill, and a two-agent team where the front desk calls the researcher as a tool and both share one budget. Quick note: if you have a moment, an honest rating of the course so far helps other learners decide, and your written feedback tells me what to improve next. Thank you.
Role, goal and backstory; the words CrewAI adds to every request (468 to 774 characters); telemetry switches; a sequential crew with context; an event-bus trace where the agent invented a $100 price.
LlmAgent with OpenAILlm on Ollama, runners, sessions and events, the request ADK really sends, a sub-agent team with transfer_to_agent, and a SequentialAgent workflow with output_key.
The SDK drives the Claude Code CLI; Ollama's Anthropic-compatible endpoint lets it run locally with no key. In-process MCP tools, options that switch off built-in tools, and the extra session-title call the meter caught.
A PreToolUse hook that denies malformed order ids, tested without a model; a live run where the tool was never called; subagents with AgentDefinition and the Agent tool.
Six agents on the same 20 questions, three runs each: 7, 7, 7 for plain Python, the OpenAI Agents SDK, PydanticAI and CrewAI, 5 for Google ADK, 9, 9, 11 for the Claude Agent SDK. Every row read, the token bill, and why only one score moved.
The model only sees the request. We capture what each framework sends: identical text for plain Python and PydanticAI (20 of 20 identical answers), extra words from CrewAI, ADK and Claude Code, and the missing temperature and seed.
Five two-agent teams on the same questions (hand-off 1, delegation 5, sub-agents 0, crew 10, subagents 10 at 99,941 tokens), a fixed pipeline against the model deciding, and one prompt change measured across every framework.
Four plain Python guards around the OpenAI Agents SDK agent: look-ups in code, a number check with a safe reply, a time limit with one retry, and a JSON log. Tested without a model, audited on saved runs, then live: 16 of 20. That is a best case: the policy words were written after reading these 20 questions, so your capstone should test the guards on questions they were not written for.
The same shootout on a model with six times the parameters (qwen2.5 3B, still free and local): plain Python 19 of 20, and the small-model ranking turned upside down. Plus the guards on the bigger model, and a false alarm worth knowing about.
For each framework: what we measured, what it is good at, what it costs and the one thing to watch. Then five questions that pick a framework for your job, and the one-page recommendation you can hand to a manager.
What to change to run this shootout on your own job: your tools, your questions with known answers and your agents. The order of runs, the guards, the honest warnings, and the capstone brief.
This course contains the use of artificial intelligence.
Every AI agent framework demo looks good once. This course builds the same small agent five times, in CrewAI, the OpenAI Agents SDK, the Claude Agent SDK, Google's Agent Development Kit (ADK) and PydanticAI, plus once with no framework at all, and then measures them on the same 20 questions with known answers.
The agent is a customer support desk for a made-up electronics shop: three plain Python tools (look up an order, read a policy, calculate), one set of instructions, and a strict scorer that checks two things on every question: is every required fact in the answer, and did the agent really run the look-ups it needed. The tool log, not the model's words, is the proof.
Everything runs for free on your own computer. Every live run uses a small local model through Ollama (Qwen 2.5 0.5B, and 3B for a bigger-model check): no API key and no card, not even for the Claude Agent SDK, which we run through Ollama's Anthropic-compatible endpoint. A small model makes mistakes, and mistakes are exactly what show you which framework helps it, which one gets in its way, and which one hides what happened.
What you get in each framework section: the agent line by line, the exact request the framework sends to the model (captured on the wire), a two-agent team (hand-offs, delegation, crews, sub-agents, subagents and fixed workflows), tracing that stays on your machine, and the real errors with their fixes. Every section ends with a hands-on practical, a quiz and an assignment; the course ends with a capstone where you run the yardstick on your own agent.
All results come from real recorded runs on a 2-core cloud machine on 25 and 26 November 2026, with the framework versions pinned in the course files. Failures stay in: when an agent invented a price or skipped a tool, you see it. The narration voice is AI-generated.
This course is independent and is not affiliated with or endorsed by OpenAI, Anthropic, Google, CrewAI or Pydantic.