Multi-Agent Systems
18 questionsDONEUNLOCKEDLOCKED
Multi-Agent System Design Interview Questions
When splitting work across agents pays for its token bill. Orchestrator and workers, handoffs, hierarchies and shared state; the contract each agent receives; and how one agent's confident mistake becomes the whole system's answer.
Worked answers that trace the run, put each decision on the right side of the authority line, and end with the follow-ups and scoring a panel applies.
You have 5 free answers unlocked here.Sign in free for 1 more · 12 are premium.
01–08Foundationsthe mechanisms behind this topic, and the terms a panel uses for them0/8 done
09–15Core questionsthe questions this topic is most often tested on, with full worked answers0/7 done
16–18Field scenariosopen-ended designs, incidents and trade-offs where you must state what is missing0/3 done
The concepts behind Multi-Agent Systems
Lessons behind these answers. The opening lessons are free; deeper ones are Premium.
Foundational
When a Second Agent PaysMulti-agent systems help in specific conditions: the work divides into parts that can proceed independently, each part needs a lot of reading that would swamp one context window, or parts need different tools and permissions. They cost several times the tokens of a single agent, add latency at every handoff, and lose information at every boundary. Published experience from 2025 points both ways: Anthropic reported large gains from parallel subagents on broad research, and Cognition argued against splitting work that requires shared, consistent decisions. The deciding question is whether the parts are independent.Core
Orchestrator and WorkersIn an orchestrator-worker system a lead agent decomposes the task, writes a brief for each worker, runs workers (often in parallel) with their own contexts and tools, validates and merges their structured results, and decides whether more work is needed. Most failures trace to the boundaries: vague briefs that cause duplicated or off-target work, results without sources that cannot be checked, and no budget or stopping rule. The harness, not the lead's judgement alone, should enforce worker budgets, timeouts and the shape of what comes back.Sign in
Advanced
Handoffs and Agents as ToolsA handoff transfers the conversation to another agent, which then talks to the user with its own instructions and tools; it suits routing to specialists who should own the rest of an interaction. An agent-as-tool is called like a function by an agent that keeps control and receives a result; it suits bounded subtasks whose output the caller will use. Both need a contract for what crosses the boundary: a structured case summary rather than the whole transcript, the receiving agent's own permissions, and a defined way back.🔒 Premium
Advanced
Shared State and ConflictsWhen several agents share state, two kinds of conflict appear. Write conflicts: two workers read the same record, change it and write it back, and one change is lost. Content conflicts: two workers report findings that contradict each other. Write conflicts are solved with ordinary concurrency control: a single writer that applies proposals, or versioned compare-and-set writes. Content conflicts need an explicit policy: keep findings append-only with source, date and author, detect contradictions by claim, and resolve them by source authority, recency or a targeted check, surfacing what remains unresolved.🔒 Premium
Advanced
Cascading ErrorsMulti-agent systems fail in ways single agents do not. One agent's error arrives at the next as an input it has no reason to doubt; summaries drop hedges, so a guess becomes a fact two hops later; and agents that agree may be echoing one source. Studies such as Cemri et al. (2025) grouped such failures into specification problems, misalignment between agents and missing verification. The defences carry provenance with every claim, verify the decisive claims against primary sources, and check independence before counting agreement.🔒 Premium
Foundational
Deep Research AgentsDeep research agents answer open questions by planning sub-questions, running searches in parallel (often through subagents with their own context windows), reading and extracting evidence, and synthesising a cited report. Parallel workers buy breadth and speed at a large token cost. The failure modes are predictable: overlapping or missing sub-questions, workers that return prose instead of evidence, a writer that states things no source says, citations attached to the wrong claim, and stopping too early or never.Advanced
Multi-Agent Topologies: Supervisor, Router, Map-Reduce and SwarmMulti-agent systems differ mainly in topology. A router classifies a request and hands it to one specialist. A supervisor (orchestrator) plans, delegates to workers and checks their results. Map-reduce splits independent work across parallel workers and merges results in code or with one reducer. Hierarchies stack supervisors. Swarms and group chats let agents address each other freely, which is flexible and hard to bound. Messages, context and cost grow with the number of agents that read each other's output, and errors propagate along the same paths.🔒 Premium
Advanced
Mailboxes and Actors: Message Passing Between AgentsAgents that coordinate through a shared transcript or shared state inherit every concurrency problem of shared memory. The alternative is the actor model: each agent owns private state and a mailbox, handles one message at a time, and talks to other agents only by sending messages. That removes lost updates by construction and makes each agent testable alone. It also imports the problems of any message system, and a design has to answer each one: a request needs a correlation id so the reply can be matched; delivery is at least once, so handlers are idempotent; a mailbox can fill, so producers feel backpressure instead of growing the queue without limit; a message nobody can process goes to a dead-letter queue with its history instead of being retried forever. Compared with an orchestrator calling workers, mailboxes buy decoupling and independent failure, and cost visibility, which a trace that follows the correlation id across mailboxes restores.🔒 Premium
Advanced
How Swarms Fail: Six Patterns and the Cheap Guard for EachMulti-agent systems add failure modes that are properties of the group, not of any member. Six recur: delegation loops, where a task is handed from agent to agent without anyone owning it; duplicate work, where two agents take the same task; runaway spawning, where sub-agents create sub-agents until cost or limits blow up; error cascades, where one unsupported claim is built on by every later agent; false completion, where the group ends on an agent's say-so with acceptance criteria unmet; and deadlock, where agents each wait for output only another can produce. Each has a cheap, model-independent guard in the harness: a hop count and an owner on every task, a lease per task, a spawn budget per run with depth and fan-out caps, evidence attached to claims and checked at boundaries, completion as a harness check against criteria, and a timeout with a dependency graph that detects cycles. The guards are tested by injecting each failure in a scripted swarm and asserting that the run ends with the right reason.🔒 Premium
Unlock all 18 answers · $25
All 19 topics with every worked answer, all lessons and courses, the full practice bank, and anything new that appears during your access.
6 months · One payment · No auto-renewal