Step 6 of 6 in Build AI Apps and Agents.
Technical AIadvancedVideo + quiz
Getting AI Agents to Work Together
For engineers who have shipped a single agent that calls tools.
Watch the first lesson freeWelcome · 3 minSign in to watch one lesson from this course free.
What you will be able to do
Run a single agent baseline and decide which design shape fitsHandle messages, tool calls and ids in the Claude Messages APIBuild a lead agent that sends work to parallel workersSet limits and failure routes, including for duplicate events from event driven workersTrace and diagnose a multi-agent run when it goes wrongBenchmark a team against one agent to see whether extra agents repay their cost
Skills you will gain
- Orchestrator-Workers Pattern
- Agent Handoff Design
- Supervisor Agent Construction
- MCP Tool Integration
- Concurrent Tool-Call Matching
- Multi-Agent Observability
- Failure Taxonomy (MAST)
- Validation Checkpointing
- Fallback & Retry Design
- Multi-Agent Benchmarking
- Framework Selection
- Trace-Based Debugging
About this course
For engineers who have shipped a single agent that calls tools. Run a single agent baseline, choose a design shape, then build a lead agent with parallel workers in Python from the Claude Messages API: tool calls and ids, limits and failure routes, traces, and a benchmark that decides, with evidence, whether more agents are worth their cost.
Technical AI
Curriculum
Requirements
Python and reading JSON messages
A single agent that calls tools in a loop
Python 3.11 or later
A free Groq key for the lab, no card needed
A Claude API key is optional, and needs paid credit
Common questions
Do I need to know all four frameworks (LangGraph, CrewAI, AG2, OpenAI Agents SDK) to complete this workshop?
No. The workshop teaches the coordination primitives each framework represents, such as supervisor graphs, hierarchical crews, group chats and handoffs, so you can recognise and choose between them. You will work hands-on with specific frameworks in the exercises rather than becoming expert in all four.
Is more agents always better than a single well-built agent?
No. Controlled research covered in this workshop found multi-agent coordination improved performance by 80.9% on decomposable tasks but degraded it by 39 to 70% on tasks with strict sequential dependencies. Once a single agent's baseline accuracy exceeds roughly 45%, adding agents tends to produce diminishing or negative returns, so the workshop teaches you to benchmark before you decide.
How much does running a multi-agent system cost compared to a single agent?
Anthropic reported that agents typically use about 4 times the tokens of a single chat interaction, and its own multi-agent research system uses about 15 times as many tokens. That cost multiplier is why the workshop treats benchmarking against a single-agent baseline as a required step, not an optional extra.
What is the Model Context Protocol (MCP) and why does this workshop cover it?
MCP is an open protocol that standardises how an LLM application (the host) connects, through a client, to servers that expose tools, resources and prompts, over JSON-RPC 2.0. It matters here because it gives multiple agents in a system a shared, standard way to reach the same tools and data instead of each needing a bespoke integration.
What if my task fails partway through a multi-agent run?
The workshop covers three complementary defences: validating outputs with schema checks and a separate guardrail call before passing them downstream, configuring handoffs to fall back to an alternate agent dynamically with is_enabled, and persisting state at meaningful checkpoints so a workflow can resume rather than restart from the beginning.
What you walk away with
A Yallo AI Academy certificate of completion, issued when every lesson is complete and the final assessment is passed at 70% or aboveA public verification page, so a stranger can check the certificate without asking you for a filePDF download, and a one-click share to your LinkedIn profile
Yallo AI Academy certifies completion of
Getting AI Agents to Work Together