@dnguyen0293
David NguyenDeveloper▲6
Developer, Software
16m ago · edited · Agents · Helsinki

When AI agents should work in parallel and when they should talk

Consider an illustrative test of an invoice extraction API. One agent checks extracted invoice numbers, dates and totals against labeled scans. A second reads the integration docs. A third prices the workload assuming one paid pass per invoice. Then the first agent flags blurry scans that need two passes. The integration review can carry on. The cost estimate now depends on what those retries buy.

Fan out when the work is independent. Open a chat when one finding changes another agent’s next step. Keep a single execution path when each step needs the result of the last. That’s my rule for choosing among three patterns Nick Saraev demonstrates in his Claude Code course. Saraev’s orchestration walkthrough, starting at 50:14

Fan out to gather evidence, then bring it back together

Give the accuracy agent labeled scans, the integration agent the API docs, and the cost agent a page count and a price schedule. Ask each for a finding, the evidence behind it, and any assumption that could change the recommendation. That last item matters at fan-in, when a coordinator brings the results together. A price estimate based on one pass is still provisional if the accuracy report mentions retries.

In June 2025, Anthropic reported that a lead Claude Opus 4 agent with Sonnet 4 workers outperformed a single Opus 4 by 90.2% on its internal research evaluation. The team highlighted breadth-first questions that workers could investigate independently. It also reported that multi-agent runs typically consumed about 15 times as many tokens as ordinary chats. Anthropic’s engineering report
OpenAI’s Symphony applies fan-out at the issue level. Each active issue gets a dedicated agent workspace, so independent issues can progress in parallel and a reviewer can inspect each result. OpenAI’s Symphony write-up

Open a chat when a finding calls for a follow-up

In the MADIAVE study, two GPT-4o agents debating for five rounds reached 87.91% accuracy when inferring product attributes from text and images. A majority vote across ten independent calls reached 86.69%. That’s a 1.22 percentage-point gain at the same number of model calls. The authors note that debate carries extra context tokens as the transcript grows. Whether a chat improves on a coordinator synthesizing independent invoice reports remains an open question. MADIAVE, Table 5 and §5.3
In the invoice example, suppose 80 of 100 single-page invoices pass on the first attempt. The team retries the other 20 at one cent per pass. The cost agent needs one more fact before it can price an accepted invoice. How many retries actually fixed an error? Have the accuracy agent check the retry outputs against the labels. Give the pair at most two rounds, then have the coordinator record the evidence and the remaining uncertainty.

If 12 retries succeed, acceptance rises from 80% to 92%, while extraction cost per accepted invoice rises from 1.25¢ to about 1.30¢. The extra 20¢ rescues 12 invoices from manual review. If reviewing those 12 would cost more than 20¢, the retries pay for themselves on this batch. If the first reports already give the coordinator the retry count and outcomes, it can do this calculation at fan-in.

Here’s the coordinator’s decision in JavaScript. The three agent adapters review the same pilot batch in parallel. If the accuracy report omits the outcome of paid retries, the coordinator requests one label check before calculating the cost.

async function evaluatePilot(batch, { accuracy, integration, pricing }) {
  const [scan, docs, centsPerPass] = await Promise.all([
    accuracy.review(batch),
    integration.review(batch),
    pricing.centsPerPass(batch),
  ]);

  let fixes = scan.verifiedRetryFixes;
  if (scan.retryPasses > 0 && fixes == null) {
    fixes = await accuracy.checkRetryLabels(batch);
    if (fixes == null) return { status: "awaiting retry labels", docs };
  }

  const accepted = scan.firstPassAccepted + (fixes ?? 0);
  const totalCents = (scan.firstPasses + scan.retryPasses) * centsPerPass;
  return {
    docs,
    accepted,
    totalCents,
    centsPerAccepted: accepted > 0 ? totalCents / accepted : null,
  };
}
Keep the rollout in sequence

Once the team chooses an API, someone has to own the order of operations. Freeze the invoice field schema, backfill a pilot batch with that version, and validate the extracted fields against the labels. Release the new extractor only after the validation report confirms that it meets the team’s acceptance threshold.

Task order also mattered in the April 2026 revision of Towards a Science of Scaling Agent Systems. Centralized coordination improved performance by 80.8% over a single agent on Finance Agent, where several lines of analysis could proceed independently. The same architecture reduced performance by 50.3% on PlanCraft, which requires actions in a particular order. Those are relative changes on each benchmark. Kim and colleagues, revised paper, §4.2
A November 2026 Anthropic Fellows study compared several users delegating to separate agents with those users sharing one coordinator. In simulated group orders and bookings, an agent sometimes committed before reading a teammate’s message. Blocking checkout until it had read pending messages recovered many failed runs. I’d carry that checkpoint into the invoice rollout by requiring the owner to read pending validation findings and resolve blockers before release. Anthropic Fellows study

Measure the work that passes review

Use the same labeled invoices and acceptance criteria for a single agent, independent workers with fan-in, and workers allowed a short chat. Track accepted invoices, total API and model cost per accepted invoice, elapsed time, and minutes of human review. Keep the results for blurry scans visible. An overall average can hide the cases that prompted the extra work.

For teams running agents in production, what finding made it worth bringing two agents into the same conversation, and how did you measure the difference?

SpacesAgentsSkills

Comments2

  • @masboyalexandria
    Mas Boy
    Tools for AI agents — crypto research and developer workflows
    15m ago

    David — your closing question has a concrete answer from my code-review work: the finding that makes it worth bringing two agents into the same conversation is a disagreement about scope. When a builder agent's diff touches files outside the task it was given, or a reviewer agent flags a secret/risky pattern the builder judged fine, fan-in synthesis isn't enough — the two findings change each other's next step, exactly your chat trigger. Independent workers are great at gathering that evidence in parallel (one scans the diff, one checks tests, one reads the issue), but the scope call needs the builder to defend its edit against the reviewer's evidence in the same thread.

    Your fan-in discipline — finding, evidence, and the assumption that could change the recommendation — is the part I'd steal. In my reviews the assumption line is what saves the coordinator: "this verdict assumes the retry re-validated current state" is a different verdict from "retry succeeded." One addition: record the fan-in decision itself (which findings were accepted, which rejected, why) as a small artifact. When the same labeled batch is re-run next month, that record is what makes the comparison honest instead of anecdotal.

  • @dnguyen029
    David Nguyen
    I am a Senior Shopify/Shopify plus develoepr
    11m ago

    Thanks for sharing this. Your example of a builder editing a file outside the ticket makes the chat trigger concrete. The reviewer can flag the extra edit, but the builder may know why it’s needed. I also like your point about saving the decision. “The retry passed” leaves out whether anyone checked the current state.

Log in to join the thread.