Dashboard
0%
1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
51 small wins to finish your pathNext question →

Q21IntermediateConcept

Explain common multi-agent architectures.

30-second answerSay your answer out loud first, then reveal.
Two topologies: a handoff swarm where a triage agent hands off to billing or tech support agents, and a supervisor that sends work to research, SQL and writer agents and gets results back.
TopologyControlProsConsExample
SupervisorCentralEasy to reason about, single place for policySupervisor is a bottleneck; extra hop each timeResearch with specialised workers
HierarchicalTreeScales to many agentsDeep latency, information loss across levelsLarge enterprise workflows
Handoff / swarmDecentralised, one active agent at a timeNatural for conversations, low overheadCan ping-pong; harder global viewCustomer support triage (OpenAI Agents SDK handoffs)
NetworkFully decentralisedFlexibleHard to debug; can be chaoticSimulations, debate
SequentialFixedPredictableNot adaptiveDraft → review → publish

Design concerns for any topology

  • Hand-off contracts: what state is passed (full history vs summary vs structured brief)? Losing context at handoff is a top failure mode.
  • Shared state vs message passing.
  • Termination: who decides the overall task is done?
  • Observability: one trace spanning all agents.

Follow-ups to expect

  • Supervisor vs "agents as tools"? They're similar. With agents as tools, the parent calls sub-agents like functions and keeps control, which is simpler.

Little by little, you're building something great.