Log inStart free
LESSON 23.04 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW

Routers, supervisors and multi-agent systems

One trip task moves through a router, a supervisor and its workers.


Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 23.04 · AGENT BAY7 AGENTS · BUDGET €1,200
01
Stage 1 of 6 · Agents and tools
A multi-agent system splits one task across agents. Each agent has its own prompt, context and tools.
Explain it simply

Each column is one agent with its own short prompt. A worker gets only one tool, like a specialist on a team. The teal task asks for a whole trip under 1,200 euros. No agent sees what another agent reads.

Six columns: user, router, supervisor, flights, three hotels workers, weather. The task box holds the trip request.

task, reportstoolsproblemssubtasks, answerturn waiting
1234567891011UserRouterwordsprompt 56Supervisorcalculatorprompt 65Flightsflights()prompt 30Hotels ×3hotels()prompt 31Weatherweather()prompt 25asktaskPlan a trip from LIS to PAR, ROMand BER and back to LIS. Stay 2nights in each city. Spend under€1,200.agents, one column each · rounds run downthe task1234567891011UserRouterwordsprompt 56Supervisorcalculatorprompt 65Flightsflights()prompt 30Hotels ×3hotels()prompt 31Weatherweather()prompt 25asktaskPlan a trip from LIS to PAR, ROMand BER and back to LIS. Stay 2nights in each city. Spend under€1,200.agents, one column each · rounds run downthe task
Toy: the 23.C1 trip, 3 cities and 4 tools; the agents are fixed rules, not trained models
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
Ca=prompta+messagesa\sy{ctx}{data}{C_a} = \text{prompt}_a + \text{messages}_a
Crouter=56, Cflights=30 tokens at the startC_{\text{router}} = 56,\ C_{\text{flights}} = 30\ \text{tokens at the start}

An agent's context is its prompt plus every message it reads.

Common mix-ups

MYTHA router can hand any task to one agent.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01If every PAR→ROM seat is free, does the team need more or fewer rounds?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
  • 5 more stages and 3 live controls
  • 2 mix-up cards and 3 predict-then-reveal checks
  • Watch it as a narrated video, in three voices
  • Every Pro lesson and capstone · 656 in total

$99 a year, or $15 a month. Cancel any time.