Skip to content
mentoor

Topic 5 of 5 · 5 min read

Measuring the gain of a multi-agent version

Goal: Design a side-by-side comparison of single and multi-agent versions on one task set and decide from the results which to keep.

Do not decide by feel: run the single-agent and the multi-agent versions on the same tasks and compare quality, cost and time side by side. The extra complexity of a team of agents is justified only if the numbers show a gain you care about.

Check yourself · 1 of 3

What makes a comparison of single and multi-agent versions fair?

Choose one answer

Why it matters

Multi-agent demos look impressive, and they often win on a few chosen examples. Anthropic's own account reports a 90.2% gain on its internal research eval, and also that these systems use about 15 times the tokens of a chat. You need both numbers for your own task before choosing.

How to run the comparison

  1. Fix a task set. Take 20 to 50 real tasks, covering easy and hard, wide and narrow. Anthropic started with about 20 queries and found that early changes had large effects, so even a small set can show big differences. Write the set down before you run anything.
  2. Define success before running. Pick a check you can apply the same way to both versions: a test suite, a rubric scored by a human, or a list of facts the answer must contain. If an LLM grades the answers, spot-check its grades by hand.
  3. Run both versions on every task, with the same model family, tools and instructions where possible, so the only change is the structure. Run each more than once, since agents vary between runs.
  4. Record three things per run: quality score, total tokens or cost, and wall-clock time.
  5. Compare per task type, not only the average. A team might win on wide tasks and lose on narrow ones.
  6. Decide with a rule written in advance, for example: keep the multi-agent version only if quality rises by 10 points or more and cost stays under three times.

Before and after

Weak: "We tried the multi-agent version on three examples and it felt better." Three hand-picked cases, no cost, no baseline.

Stronger result table:

Task type Single score Multi score Single cost Multi cost
Wide (30 sources) 62 81 1.0x 9x
Narrow (one doc) 88 86 1.0x 6x

The decision follows from it: use the team only for wide tasks, route narrow ones to a single agent.

What goes wrong

  • Unequal conditions. The multi-agent version gets better prompts or more tools, so you measure the effort, not the structure.
  • One run per task. Agent output varies, so a single run can mislead.
  • Quality only. A 3-point gain at 10 times the cost is rarely a win.
  • Tuned on the test set. If you adjust the team until it passes these tasks, hold out some tasks you never tuned on.

Examples

Decision rule written first

Before the trial the team writes: "Keep the multi-agent version if mean quality improves by at least 10 points and cost per task stays under 3x." After 40 tasks, quality is up 4 points at 9x cost. The rule says drop it, and nobody has to argue.

A fair setup

Both versions use the same model family, the same search tool and the same 30 tasks, each run three times. Answers are scored with one rubric by two reviewers who do not know which version produced which answer.

Key points

  • Compare the two versions on the same fixed task set, with the same tools and model family.
  • Define the success check and the decision rule before running anything.
  • Record quality, cost and time for every run, and repeat runs because agents vary.
  • Break results down by task type, since a team may win on wide tasks and lose on narrow ones.
  • Hold back tasks you did not tune on, so the result is not just fitted to your test set.

Common mistakes

  • Judging from a few hand-picked examples.
  • Giving the multi-agent version better prompts or tools than the baseline.
  • Running each task once and treating one result as the truth.
  • Choosing the decision rule after seeing the results.

Check yourself · 2 of 3

A multi-agent version scores 3 points higher than the single agent but costs 10 times as much. What should you conclude?

Choose one answer

Check yourself · 3 of 3

Why run each task more than once for each version?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic