Online course, Engineering
5 lessons of 30 minutes, 155 minutes in total: Python code, a task and a quiz in each.
No card needed. The first two lessons are free after sign-up, all lessons come with Pro at $9 a month.
Lesson 1, 35 minAgent Orchestration: Routines and HandoffsThe course shows how to build agents on the OpenAI API: routines and handoffs between agents, a coding agent with a shell tool in an isolated folder, a function-calling loop with a reasoning model through the Responses API, a four-agent system with triage, and strict Structured Outputs schemas. 5 lessons of 30 minutes, Python code.
A routine is a system prompt plus a set of tools; a handoff is a function that returns another agent. In the task you build a Triage Agent with a transfer_to_refund tool and a Refund Agent with look_up_item and execute_refund, then check that the conversation moves between them. The lesson uses Swarm, which OpenAI replaced with the Agents SDK, where handoffs follow the same idea.
Routines and handoffs → coding agent → reasoning models and function calls → multi-agent with Structured Outputs → Structured Outputs and Pydantic basics. The first two lessons are free.
Patterns for building multi-agent systems: routines as step sequences, handoffs for transferring control between agents, implementation from scratch and with the Swarm library.
1Agent Orchestration: Routines and Handoffsfree35 minExploring orchestration patterns from the official OpenAI cookbook: routines as system prompt + tools, handoffs for transferring control between agents, and how this is implemented in Swarm.Building a coding agent with the Agents SDK: apply_patch and shell tools, isolated workspace, user feedback loop.
2Coding Agent: GPT-4.1 + Agents SDKfree30 minBuilding a coding agent with GPT-4.1 via the OpenAI Agents SDK: web_search + shell tools, ShellExecutor with an isolated workspace, scaffold → feedback → iteration loop.Managing function calling with reasoning models o3/o4-mini via the Responses API: reasoning effort, previous_response_id, handling tool outputs.
3Function Calls with Reasoning Models (o4-mini)30 minUsing o4-mini via the Responses API: reasoning effort, conversation memory via previous_response_id, defining tools and handling function_call outputs in the agent loop. o4-mini shut down on Oct 23, 2026.You get it when you finish every lesson. Each certificate has its own code, so an employer can check it on our site. You can add it to LinkedIn.
See how a certificate is checkedThe lessons retell five OpenAI Cookbook notebooks (MIT license): "Orchestrating Agents: Routines and Handoffs" (Oct 2024), a coding agent example, "Handling Function Calls with Reasoning Models" (Apr 2025), "Structured Outputs for Multi-Agent Systems" and "Introduction to Structured Outputs" (Aug 2024). Academl is not affiliated with OpenAI.
Swarm, which the first lesson uses, calls itself an educational project in its README and has been replaced by the Agents SDK (MIT, Python 3.10+): handoffs, tools, the agent loop and shell-command approvals now live there. The models in four lessons are outdated: o4-mini shut down on Oct 23, 2026, and gpt-4o will shut down on Jan 14, 2027, with gpt-6-luna as the replacement. For reasoning work OpenAI suggests starting with gpt-6-astra. In November 2026 the coding agent lesson was rewritten for gpt-6-astra and the current Agents SDK: ShellTool with an executor and needs_approval, ApplyPatchTool and sandbox agents. The Cookbook's coding agent notebook (the GPT-5.1 version) is now marked archived.
The Structured Outputs lesson mentions the Assistants API, which was removed on Aug 26, 2026, while json_schema with strict works in both Chat Completions and the Responses API (via text.format there). OpenAI's Agent Builder shuts down on Nov 30, 2026, and OpenAI points custom agents to the Agents SDK. The coding agent lesson gives a short overview of the managed Agents API on the Codex harness (public beta since Sep 10, 2026) and of Codex.
The Agents SDK. In the Swarm README, OpenAI calls Swarm an educational project and recommends the Agents SDK for all production use. The first lesson explains routines and handoffs on Swarm because the whole mechanism fits in a few functions; the Agents SDK ships the same idea ready-made, with tracing and approvals.
With a handoff, the chosen agent takes over the conversation and answers the user for the rest of the turn. With an agent as a tool, the manager agent keeps the conversation and only receives the specialist's result. Per the Agents SDK docs, handoffs fit when routing is part of the workflow, and agents as tools fit bounded subtasks.
The multi-agent lesson suggests splitting when one agent has 15 or more tools and quality drops, or when you need to see which agent did what. With 1–3 tools, a single agent is simpler. Every extra agent adds another API round trip, so keep the count low when latency is tight.
Per OpenAI's guide: the Responses API is for direct model calls and building an agent from scratch, with all logic on your side. The Agents SDK runs the agent loop, tools and handoffs inside your application. The Agents API is a managed agent on the Codex harness that OpenAI runs and persists. The course works with the first two, and the coding agent lesson explains when the Agents API or Codex is the simpler choice.
The lesson keeps shell and apply_patch inside a dedicated workspace folder and sets needs_approval=True: the run pauses before every command and file edit, and you approve or reject each one with state.approve() or state.reject(). The folder only sets the working directory, so for isolation the lesson shows sandbox agents: a SandboxAgent gets its own environment, Unix-local, in Docker or with a hosted provider.
Advanced16 Python lessons: function calling in Claude and OpenAI, ReAct from scratch, planning, memory, MCP, LangChain and CrewAI, human-in-the-loop, security, deploy.
Certificate
IntermediateMCP course: why the protocol exists, which servers to install first, when to build your own and when a plain tool call is enough.
Certificate
Intermediate, ClaudeLearn Claude tool use (function calling) in Python: JSON Schema tools, tool_result, tool_choice, structured outputs, a 4-tool support chatbot.
Certificate
Intermediate9 lessons on AI agents in Python with the Anthropic SDK: the agent loop, tool calling, memory, orchestrator–worker, MCP, A2A, evals, guardrails, deployment.
CertificateThe first two lessons are open after a free sign-up. Sign up with email or Google to get 7 days of full access to the whole course and catalog.
Sign upBuilding a 4-agent data analysis system with Structured Outputs and strict: true: triage, preprocessing, analysis, and visualization agents.
Introduction to Structured Outputs: JSON Schema vs Pydantic parse helper, response_format, function definitions with strict: true.
5Structured Outputs: JSON Schema + Pydantic30 minStructured Outputs in Chat Completions: response_format with json_schema, the SDK parse helper via Pydantic, strict: true in function definitions. The Assistants API part is outdated: that API was removed on Aug 26, 2026, and schemas work in the Responses API via text.format.AI Agents fundamentals explains the concepts without tying them to a provider, and AI Agents: From Architecture to Production goes from architecture to MCP and evaluation. This course is Python code for OpenAI models: handoffs, the Agents SDK, reasoning models and strict schemas between agents.
Solid Python and basic OpenAI API knowledge: calling a model, function calling, JSON. You need an OpenAI API key. If function calling is new to you, start with the OpenAI API from A to Z course.
5 lessons of 30 minutes, 155 minutes in total, with a certificate with a verification code after all lessons. The first two lessons are always free, sign-up gives 7 days of full access with no card, then Pro is $9 a month or $79 a year. API calls are billed by OpenAI separately.