Skip to content

Interview question · Multi-Agent Systems

When does a second agent pay for itself?

When it buys something one agent cannot have: a clean context for heavy reading, time through parallel work, or a permission boundary. Prove it against a single-agent baseline with the costs written next to the gains.

mediumEssentialNewUpdated Nov 2026

TL;DR: A second agent pays when the task has independent parts and one of three gains is real: isolation (a worker reads a lot and returns a little, keeping the main context clean), parallelism (wall-clock time matters and parts can run at once), or separation (a part needs tools or data access the rest must not have). It costs several times the tokens, adds handoff latency and loses context at every boundary. Build the single-agent baseline first, then show the split wins on quality, time or safety by more than it costs.

How to approach it

Avoid answering with role names. State the three gains and the costs, give the independence test, and describe how you would prove it on a real task with numbers.

A strong answer

The three gains, each with a test.

GainIt is real whenExample
IsolationParts need far more reading than their results containSurvey forty sources, keep five findings
ParallelismParts are independent and someone is waitingCompare five vendors while the user waits
SeparationParts need different tools or data rightsOne worker runs untrusted code in a sandbox with no network

The costs. Each worker repeats the system prompt, tools and its own reasoning; the lead reads every result; handoffs lose whatever is not in the brief; parallel parts that share decisions diverge.

Prove it with numbers.

def compare(parts_minutes, tokens_per_part, lead_minutes, lead_tokens, overhead=1.3):
    single_time = sum(parts_minutes)
    single_tokens = sum(tokens_per_part)
    multi_time = lead_minutes + max(parts_minutes)
    multi_tokens = round(lead_tokens + overhead * sum(tokens_per_part))
    return single_time, multi_time, single_tokens, multi_tokens

# five vendor comparisons, illustrative
s_t, m_t, s_tok, m_tok = compare([6, 5, 7, 6, 5], [80_000] * 5, 3, 60_000)
print(s_t, m_t, s_tok, m_tok)  # => 29 10 400000 580000

Here the split cuts waiting from 29 minutes to 10 and costs 45% more tokens. Whether that is worth it depends on the product: a user waiting at a screen, probably yes; an overnight batch job, probably not. Quality is measured separately on the same tasks; in broad research, isolated workers often find more because no single context fills with every source.

When it does not pay. Sequential, coupled work (write then edit; design then implement with shared decisions); short tasks that fit easily in one context; any split justified only by role names.

The middle path. Many systems gain the isolation benefit with a single agent that spawns short-lived subagents for heavy reading, then continues itself. That is a second agent used narrowly, not a team.

What interviewers probe next

"Parts share a few decisions. Can you still split?" Fix the shared decisions first in a written contract (interfaces, naming, data shapes) that every worker receives, then split. If the decisions cannot be fixed in advance, keep one agent.

"What does the split do to debugging?" It multiplies traces. Link them under one run id with parent and child spans, or the investigation of a bad answer becomes a search across disconnected logs.

"How would you measure quality fairly?" Same tasks, repeated runs, same graders, for both designs, and report quality, time and tokens together.

What if?

What if · interview follow-ups

Hold your answer as the constraints change

A research assistant answers broad questions; you are considering a lead agent with parallel workers.

  1. Start here

    What if most user questions are narrow lookups?

How it's scored

Weak: Splits by role names (planner, coder, critic) for any task.

Hire: Names isolation and parallelism as benefits and token cost as the price, with an independence test.

Strong Hire: Adds separation of permissions, quantifies time, tokens and quality against a single-agent baseline, explains when coupling forbids splitting or needs a contract first, scales the split to the task, and links traces across agents.

Common mistakes

  • Choosing multi-agent because it sounds more capable.
  • Splitting coupled work and fixing the resulting inconsistency with more agents.
  • Comparing designs on quality without time and cost.
  • Fixed teams that run for every request regardless of difficulty.
You just read a free answer. Every topic opens its first 5 answers to anyone. Sign in and the count per topic goes to 6, and the site remembers where you stopped in each one.Google sign-in · free · no payment details
HOW DID IT GO?
0
READING SIGNED OUT

Signing in raises your free answers from 5 to 6 per topic, adds an applied lesson in every topic and easy practice tests, and the site starts remembering you: mastery per topic, bookmarks, and a next-focus recommendation. Free, no card.

Sign in free
UP NEXT ON YOUR JOURNEY
DISCUSSION · 0

Nobody has commented. Post a correction or another way to answer.