Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
AI Agent Frameworks in Python: CrewAI, OpenAI, Claude, ADK
New

AI Agent Frameworks in Python: CrewAI, OpenAI, Claude, ADK

One support agent built in CrewAI, OpenAI Agents SDK, Claude Agent SDK, Google ADK and PydanticAI, then measured
Created byAdi Tejus
Last updated 11/2026
English
English

What you'll learn

  • Build the same tool-using agent in CrewAI, the OpenAI Agents SDK, the Claude Agent SDK, Google ADK and PydanticAI
  • Run every framework on a free local model through Ollama, including the Claude Agent SDK with no API key
  • Measure agents fairly: 20 fixed questions, a strict scorer and a tool log that proves what really ran
  • Read the exact request each framework sends to the model and spot what it adds to your prompt
  • Build two-agent teams: hand-offs, delegation, sequential crews, sub-agents, subagents and fixed workflows
  • Trace agent runs on your own machine: spans, message history, event buses and hooks
  • Harden any agent with plain Python guards: look-ups in code, a number check with a safe reply, a time limit and a log
  • Choose a framework for a real job from measured results on two models, code size and install footprint

Coding Exercises

This course includes our updated coding exercises so you can practice your skills as you learn.

See a demo
Image of coding exercise example

Course content

5 sections • 18 lectures • 2h 19m total length
  • Five agent frameworks, one support job: who passed?5:04

    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.

  • Setup: a free local model and three Python environments7:12

    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.

  • No framework first: a 28-line agent and a 20-question exam7:21

    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.

  • Score an agent's answer fairly
  • A scripted model for agent tests
  • Quick check: One job, one yardstick
  • Build the yardstick and fix the agent loop

Requirements

  • Basic Python: functions, lists and dictionaries, and running a script from a terminal
  • A computer that can run Ollama and Python 3.11 or newer (no GPU needed; 8 GB of memory is enough for the small model)
  • No API keys and no paid accounts: every live run uses a free local model

Description

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.

Who this course is for:

  • Python developers who must pick an AI agent framework for a project and want evidence, not marketing
  • Developers who built one agent in one framework and want to see how the others do the same job
  • Engineers who need to test, trace and guard agents before they reach customers
  • Technical leads comparing CrewAI, OpenAI Agents SDK, Claude Agent SDK, Google ADK and PydanticAI for a team