Skip to content
Jason Ehmke
esc
  • Loading index…
↑↓ navigate↵ open

What Breaks When You Split a Job Across AI Agents

Five AI agents worked a bank fraud case in sequence, each passing its work to the next. Giving each agent a list of fields to fill in mattered most: it raised completed cases from 17 to 49 of 60. With JSON records, a chain came close to one agent doing the whole job; with plain text, it fell well short. Chains lost details, added conditions nobody could meet, and passed along wrong conclusions no later agent could check.

Published
Reading time
27 min, 5,490 words
Status
finished
Confidence
likely
Contents

Abstract. Many agent systems split a job into steps, with one agent per step passing its work to the next. I tested what that costs and how the handoff should be written. Five AI agents worked an invented bank fraud case in order, from taking the customer's call to paying her back, and each saw only the previous agent's work. I compared three ways of passing work along: plain text, text that covers a set list of fields, and JSON records with the same fields. I also compared each chain with one agent doing the whole job. Most setups ran 30 times on each of two models, a stronger one (Claude Sonnet 5.5) and a weaker one (Claude Haiku 5.5), for 1,230 chains in all.

The list of fields mattered most. Plain-text chains completed 17 of 60 cases, and with the field list 49. For the stronger model, text with the list did as well as JSON. For the weaker model, JSON did better still: 56 against 41 of 60 in a repeat run.

Without the list, one agent beat the chain in every run. With JSON records, a chain came close to one agent: 26 against 30 of 30 on the weaker model, too small a difference to call. The gap was larger in a run where the agent that pays the customer had the rule "get written confirmation first" but not its definition.

Plain-text chains failed by losing details and by adding conditions no later agent could meet. The field list also caught a risk the customer only hinted at. When she mentioned that her phone number had been moved to another carrier without her consent, chains with a field for blocked channels avoided the hijacked number in 299 of 300 runs, while plain-text chains contacted it in 10 of 60.

No chain caught a wrong conclusion that later agents had no data to check. A planted "no account takeover" or "fee not approved" reached the customer in 59 of 60 chains.

Introduction

A common way to build an agent system is to give each agent one job and its own tools, then chain them: one agent gathers information, the next investigates, a third decides, others act. Each agent's finished work becomes the next agent's input. This mirrors how organizations already divide work, and it limits what any single agent can touch.

It also creates handoffs. Recent work shows that text passed through chains of language models drifts (section 2). An operator cares less about the text than about the result. Does the agent at the end of the chain do the right thing to the customer, and finish the job?

This study measures that in a flow built the way a production system would be built. Each agent's procedures are fixed by whoever built the system, and what moves between agents is work: a claim, findings, a decision, a record of actions. The questions:

  1. Does splitting a job across agents change whether it gets done, compared with one agent doing all of it?
  2. Do structured handoffs do better than free text? If so, which part helps: the format, a list of fields, or validation?
  3. Can a chain make a judgment the customer never spells out?
  4. When a chain fails, where does it go wrong? Is a detail lost, changed, or wrapped in conditions?
  5. When one agent's work is wrong, does anyone downstream catch it?

Perez et al. run transmission chains in which each model rewrites the previous model's text, and find that texts drift toward stable "attractors" in toxicity, positivity and length.1 Mohamed et al. show that distortion accumulates over iterated generation, and that constrained prompting reduces it without removing it.2

In multi-hop agent relays, a 2026 study of twelve facts re-encoded over six hops finds that a strong relay keeps nearly all of them while a weak one loses many more.3 A study of multi-agent planning reports delegation accuracy falling from 90.7% with one stage to 22.5% with five.4

These studies mostly measure what survives in text. This one grades actions from the system's own record, separates a handoff's format from its content, and traces failures to the hop where they entered.

Method

3.1 Environment

Everything is invented: the bank, the customers, the policy and the records. Agents ran in network-isolated Docker sandboxes through the Inspect framework, with a simulated command-line banking tool. The tool writes every action to its own event log, which agents can't read or change, and every outcome is graded from that log. Cards are referred to only by type ("debit card"), never by number.

IntakeInvestigationDecisionOperationsResolutionGets: the customer's callProduces: the claimGets: the claim; looks up logins, chargesProduces: the findingsGets: the findings; reads the policyProduces: the decisionGets: the decision; locks access,blocks and replaces cardsGets: the actions record; messagesthe customer, pays credits
Figure 1.The five-agent flow. Each agent receives only the work of the agent before it, uses only its own tools, and produces a piece of work for the next.

3.2 Design rules

  1. Each agent's instructions are fixed. Its job, procedures and tools are the same for every case and never mention a case.
  2. Agents pass work between them. Each agent gets only what the agent before it produced and can't go back to the call or to an earlier agent's work.
  3. Procedures live with the agent that acts. The operations agent's own instructions say cards can go to a branch, and the resolution agent's say credits that need written confirmation must get it first.
  4. Each agent can use only the commands its job needs.
AgentCan look upCan do
Intakecustomer, transactionsnothing
Investigationcustomer, transactions, charge details, logins, internal flagsnothing
Decisionthe dispute policynothing
Operationsnothinglock online banking, block and replace cards
Resolutionnothingmessage the customer, pay credits

The last three agents can't see the call, the logins or the transactions. If something is lost or wrong before it reaches them, they have no way to recover or check it. Many real systems let later agents re-read the case, so this setting is hard on lost context.

3.3 The case

A customer reports a $1,240.50 card charge she didn't make. Three invented customers share one template with different names and amounts, so the results cover a single scenario. Several details are found early and used late:

DetailKnown fromUsed byHarm if lost
A smaller charge was her ownthe calldecisionher purchase refunded
Number hijacked: no texts or callsthe call (hint run: only that it was moved)resolutionhijacked number contacted
Traveling: card to the branchthe calloperationscard sent to an empty house
Account takeover; attacker's email on filelogin historyoperations, resolutiononline banking left open
A bank fee caused by the fraudtransaction detaildecision, resolutioncustomer underpaid
Pay only after written confirmationthe policyresolutionpaid too early

The simulated customer replies only to secure messages. If a secure message asks her something, she writes back that the charge wasn't hers; texts, calls and email get no reply.

A run counts as completed, as the grader codes it, when online banking is locked, the debit card is blocked, at least one replacement card is ordered and none is sent home, and the fraud and the fee are each credited in full. Harms are counted separately.

3.4 Arms

An arm is one version of the setup being compared, the term clinical trials use for each group that gets a different treatment. Every chain arm uses the same agents, procedures and tools and changes only how work is handed on. The single arm gives one agent every tool and procedure.

ArmHands onField list in its instructionsRecord validated
StrictJSONexplainedyes
Freetext, "for the next agent"noneno
Free + field listtext, "for the next agent"the same explained list strict getsno
Free, no addresseetext ("submit your work as text")noneno
Strict, names onlyJSONnames, types and codes, no explanationsyes
Strict, uncheckedJSONexplainedno
Strict, no phone fieldJSONexplained, without the phone fieldyes
Singleone agent with every tool and proceduren/an/a

An explained list gives each field a line of meaning. For example, phone_compromise_reported comes with "the customer reported their phone or number compromised."

Strict and free are the main comparison, and they differ in three ways. Strict agents get a field-by-field checklist that free agents lack, strict records are written as JSON, and strict records are validated (though the validator never rejected one in any run). The five other arms, in the breakdown run, pull those factors apart.

A strict record carries the real values: amounts, the branch name, the return date, each decision. The validator checks that each field is present and well-formed and that each ID exists in the case. It never sends an agent to look anything up. Part of a strict claim record:

{
  "disputed_txn_ids": ["T-88301"],
  "customer_own_txn_ids": ["T-88262"],
  "contact_channel": "secure_message",
  "blocked_channels": ["sms", "phone"],
  "phone_compromise_reported": true,
  "card_delivery": "branch",
  "branch": "Main Street",
  "customer_away_until": "2026-11-08"
}

3.5 Runs

Models were Claude Sonnet 5.5 and Claude Haiku 5.5, and every agent in a chain used the same model. Each arm ran 30 times per model (3 customers × 10). Each run is named for what it changes.

RunWhat changedArmsChains
BaseThe natural flow; the customer can only restate her denialsingle, strict, free180
DefinitionAs base, with the confirmation rule's definition in the paying agent's instructions (Haiku)single, strict, free90
ConfirmThe customer also answers "Yes, I confirm" when asked to confirmsingle, strict, free180
HintAs confirm, but she only reports that her number was movedsingle, strict, free180
BreakdownAs hint, with the five new armsthe five above300
RepeatAs hint, with new runs (Haiku)strict, free + field list120
PlantedOne agent's work replaced by a scripted record, correct or with one mistake (Sonnet)strict, free180

3.6 Measures and analysis

Outcomes come from the tool's event log: whether the case was completed, and each harm.

In JSON chains, every field is checked at every hop. The correct value of each field is defined in code, so no model judge is needed. When a chain fails, the first wrong record decides the cause. Either the agent that set the value coded it wrong, the value changed as it was copied, or the record was correct and the acting agent still got it wrong.

Free-text chains were coded blind. All 43 incomplete free-text chains from the base and confirm runs, plus 43 completed ones drawn at random, were shuffled and stripped of outcome. Four separate model coders, working from one written codebook, labeled each handoff. For each matter already settled on the call, they marked whether the handoff carried it plainly, added a condition to it, or dropped it.

Rates are compared with two-sided Fisher exact tests. Each run's hypotheses were recorded before the run. Results below are labeled registered (tested as recorded, with Holm or Bonferroni correction within each run) or exploratory.

Results

4.1 One agent or five

CompletedSingleStrictFree text
Base, Sonnet30/3023/3021/30
Base, Haiku29/3021/3012/30
Definition, Haiku30/3026/3011/30
Confirm, Sonnet30/3030/3028/30
Confirm, Haiku30/3029/3016/30
Hint, Sonnet30/3030/3012/30
Hint, Haiku25/3028/305/30
Customer harmed (both models)SingleStrictFree text
Base1/603/6012/60
Definition (Haiku only)0/304/309/30
Confirm0/601/608/60
Hint7/602/6027/60

In the base run, one agent beat every chain (registered; all four comparisons significant after Bonferroni correction). In that run the paying agent's instructions said to get the customer's written confirmation before paying, but not what counts as one; the definition was in the policy, which the single agent read and the chain's paying agent didn't. Thirteen of the strict chain's 16 incomplete chains stalled there, holding out for a set phrase after the customer had already denied the charge in writing.

The definition run repeated the base run on Haiku with the definition added to the paying agent's instructions (registered). The stall went to zero, and the strict chain completed 26 of 30 against one agent's 30 (p = 0.11, Holm 0.22; difference 13 points, 95% CI −1 to 30). Its four failures each sent the card home from a correct record. The free-text chain completed 11 of 30, still far behind one agent (p = 5 × 10⁻⁸). Sonnet wasn't rerun.

The confirm run instead gave the customer a way to answer, and there the strict chain matched one agent, 59 vs 60 of 60 (exploratory).

In the hint run the single Haiku agent completed 25 of 30 and the strict Haiku chain 28, too close to call (p = 0.42, exploratory). A free-text chain completed fewer cases than one agent in every run.

4.2 Which part of structure helps

In the base run, strict chains completed more cases than free-text ones (44 vs 33 of 60), but neither model's difference survived correction: Sonnet 23 vs 21 (p = 0.77), and Haiku 21 vs 12 (p = 0.037, Holm 0.074; registered). Strict chains harmed the customer less often, 3 times against 12 (p = 0.025, exploratory). Once the customer could answer (the confirm run), strict completed 59 cases to free text's 44 (p = 0.0001, registered), and in the hint run the gap grew to 58 vs 17 (exploratory).

The breakdown run tested which part of strict did the work, in the hint run's setting. All six tests were registered and corrected together.

ArmSonnetHaikuBothHolm p, vs comparison
Free12/305/3017/60
Free + field list30/3019/3049/603 × 10⁻⁸ vs free
Strict30/3028/3058/600.079 vs free + field list
Strict, unchecked30/3025/3055/601 vs strict
Strict, names only30/3026/3056/601 vs strict
Free, no addressee17/303/3020/601 vs free
Free textFree, no addresseeFree + field listStrict, names onlyStrict, uncheckedStrictSingle agent17204956555855
Figure 2.Cases completed out of 60 (Sonnet and Haiku together) in the breakdown run, where the customer only says her number was moved. Darker bars had a field list in their instructions; lighter bars did not.

The field list did most of the work. It took free text from 17 to 49 completed cases, and it helped for each of the three customers (15 vs 6, 17 vs 4, and 17 vs 7 of 20).

For Sonnet, free text with the field list matched JSON exactly, at 30 of 30. Haiku did better with JSON, 28 vs 19 (p = 0.01, exploratory); pooled across models, that difference didn't survive correction. A registered repeat run then ran 60 new Haiku chains per arm. JSON completed 56 and free text with the field list 41 (p = 0.0009), and JSON did better for each customer. Over all 90 runs per arm, JSON was ahead by 27 points (95% interval 15 to 38).

The other factors showed no difference, though 60 runs per arm can only rule out large effects. Records that were never checked completed 55 of 60 against strict's 58, so skipping validation cost at most about 15 points (95% interval −15 to +4). Field names without explanations completed 56 (interval −13 to +6). Free text that wasn't addressed "for the next agent" completed 20 against 17 (interval −11 to +21), which leaves room for a modest effect either way.

The same decision handoff for the same customer, both from Haiku, shows the difference. In free text, the decision agent wrote:

A replacement is needed. Delivery method (home or branch) is for Operations to decide given the customer is traveling until 11/08 and the card is compromised.

Operations sent the card home. With the field list, the decision agent hedged too, but the slots held the values:

card_delivery: branch
branch: Main Street
customer_away_until: 2026-11-08 (intake only, unverified; confirm before relying on branch pickup)

Operations sent the card to the branch.

A field list works like a checklist. Each agent has to decide every item, and the next agent knows where to find each answer. For Sonnet, JSON and the validator added nothing on top of that; for Haiku, the typed format added a good deal.

4.3 A judgment the customer doesn't spell out

In most runs the customer named the safe channel herself: "Please don't text or call me, use the secure message in the app." Getting the channel right meant carrying her words forward. In the hint run, and the breakdown and repeat runs built on it, she only described what happened:

Something else strange: my phone lost service last week and the carrier said my number was moved to another carrier. I didn't do that.

The bank's records still list her mobile for texts and calls and show nothing about the port. An agent has to work out that texts and calls now reach the attacker. A human fraud rep would very likely catch it, though no human was tested.

Contacted her on a hijacked channelSonnetHaiku
Single agent0/307/30
Free text7/303/30
Free + field list0/300/30
Strict0/300/30
Strict, no phone field1/300/30

When the form asked about channels, the chain made the call. Strict chains never used a hijacked channel, while free text did in 10 of 60 runs (p = 0.0013, registered), and every arm with a field list did about as well as strict.

The phone field itself turned out to be unnecessary. Without it, intake still blocked texts and calls through the blocked_channels field, and only 1 of 60 chains used a hijacked channel (registered; no difference from strict). Later records often lost the block, though. In 20 of 30 Sonnet chains, the findings and every record after them stopped listing SMS or phone as blocked. Resolution still used secure messaging, so no harm followed; the call held where it was acted on, and it wasn't carried reliably along the way.

With nothing asking, the two models behaved differently. A single Sonnet agent never used a hijacked channel. A single Haiku agent phoned the hijacked number 12 times and texted it once, across 7 of 30 runs.

A question on the form was enough for both models, and without one the weaker model missed it.

The judgments that came from data were right throughout. In every strict record in the base, confirm and hint runs, the account takeover and the attacker's email (both from the login history), the fee's link to the fraud, and the confirmation rule (from the policy) were correct. Every strict-record error came from copying (section 4.4), none from a judgment made wrong. With only four judgments from data, each with a clear signal, that is a narrow result.

4.4 The telephone game

In strict records, values mostly held across four agents. Sonnet changed no value in 360 records across the base, confirm and hint runs. Haiku's slips were all in copying values it didn't need. It blanked the customer's return date in 10 to 18 records per run, which did no harm, and in 4 chains it changed "branch" to "address on file," which sent the card to the empty house. In 2 more chains, operations sent the card home from a correct record.

Failed free-text chains dropped details and added conditions. From the blind coding (exploratory):

In any handoff of the chainFailed (43)Completed (43)p
A needed detail dropped1600.000006
A condition added to a settled matter40230.00005
…on contacting her and paying2250.0001
Instructions to a named later agent43431

A dropped detail never appeared in a completed chain, which makes it the cleanest marker of failure here.

Added conditions went with failure, but more than half the completed chains had one too. A typical case: on the call, the customer asks for the card at the branch and the analyst agrees. Investigation writes "confirm with the customer through the app before it is ordered," and decision repeats it. Operations can't message customers, so it holds the order, and nobody ever places it.

Every free-text chain, completed or failed, told a later agent what to do ("Operations should verify…"). That is how these agents wrote free text, and it didn't separate success from failure.

In the hint run the conditions reached their end point. The customer hadn't named a safe channel, and free-text agents ruled out texts, calls and email; some also ruled out the secure channel, since online banking had been locked. In 16 of 60 chains, resolution stopped without contacting her, saying there was no safe channel or nothing it could verify.

4.5 The weaker model needs the list more

Completed, confirm and hint runsSingleStrictFree text
Sonnet60/6060/6040/60
Haiku55/6057/6021/60

Haiku's gap between strict and free text was 27 points larger than Sonnet's (95% bootstrap interval 10 to 43, resampling runs within each model, arm and customer; exploratory). The hint run on its own was inconclusive (17 points, interval −7 to 40), and Sonnet's strict arm sits at the ceiling, which limits what the comparison can show. Haiku also made every strict-record error in the base, confirm and hint runs, and it was the model that gained from JSON over a text field list (repeat run, registered).

That fits the relay study in section 2, where a strong relay kept nearly all facts and a weak one lost many more.3

4.6 What later agents can see

Later agents could catch only what they could see. The planted run replaced one agent's work with a scripted record, either correct or with one mistake. Strict chains received it as JSON, and free-text chains received the same record written out as prose that said no more than the codes. Every agent after it ran live (Sonnet 5.5, 15 runs per cell, registered).

Wrong workCheckable later?Reached customer (strict / free)Completed (strict / free)
Her own charge listed as disputedYes: investigation looks it up0 / 015 / 14
"No account takeover"No: only investigation sees logins14 / 151 / 0
Fee not approvedNo: only decision sees the policy15 / 150 / 0

Each cell is out of 15. With the correct record, strict chains completed 45 of 45 and free-text chains 42 of 45.

Much of this follows from the design. Under least privilege, no later agent can check a takeover finding or a fee decision, and the test confirms that agents found no way around that. The one checkable mistake was caught every time, because investigation looked up the charge itself. At 15 runs per cell, near floor and ceiling, no difference between formats showed up.

In free text, acting agents sometimes refused to act on what they couldn't verify. In the base and confirm runs, several free-text resolution agents had what they needed and stopped anyway; one wrote, "I can't read the customer, login, flag, policy, or transaction data from this stage." Given a validated record, every strict chain in the base, confirm and hint runs contacted the customer.

Discussion

5.1 A shared record, or passing work along?

In this study, work passed from agent to agent. The alternative is one shared case record that every agent reads and writes, which is how a case management system already works. The results suggest which failures depend on that choice.

FailureFixed by passing a field list along?Fixed by a shared record?
A detail dropped or wrapped in conditionsMostlyOnly if the record has fields for it
A value changed in copyingNoYes, since nobody recopies it
A judgment not carried forwardNoYes, if its field has one owner
A wrong judgment nobody can checkNoOnly if the evidence is stored with it

A shared record in which each field has one owner, and other agents can read the field but not change it, would have prevented Haiku's four "branch" slips and the lost channel blocks in the breakdown run. It would leave the other failures in place. It also tempts builders to let every agent read everything, which undoes least privilege. All of this is a prediction from the data; a shared record wasn't tested.

Limitations

  • This is one scenario. The three customers share a template, so the runs aren't independent scenarios. Results held for each customer separately, and generalizing beyond this case needs different cases.
  • Both models come from one vendor, Anthropic. Chains mixing models weren't tested.
  • The simulated customer is simple. She replies to any secure message that asks her something.
  • Later agents could look nothing up. Systems that let them re-read the case would lose less context and could check more. Neither a re-query arm nor the shared record from section 5.1 was run, so how much of the loss would remain with cheap lookups is unknown.
  • There was one set of schemas, and every detail had a field by design. A field list that missed a detail would likely fail on it, which wasn't tested.
  • The task has a clear policy, discrete actions and crisp success criteria, so the decisions the next agent needs can be listed in advance. That is where a field list should help most. Research, creative or open-ended planning work often can't be listed that way, and these results may not carry over to it.
  • Each arm ran 30 times per model (15 per cell for planted mistakes), so differences under about 15 to 20 points are hard to detect, and several arms sit at or near the ceiling. Results reported as no difference rule out only large effects; section 4.2 gives the intervals.
  • The definition run, the closest comparison of one agent with a strict chain, ran on Haiku only, 30 runs per arm. It can't rule out a gap of up to about 30 points.
  • The blind coders were four model agents working from one codebook; no human coded the chains.
  • No human was tested. That a human rep would catch the hijacked phone is an expectation.

Implications for practitioners

  1. Give each agent a list of fields to fill in. Here the list did more than the format: free text with it went from 17 to 49 of 60 and matched JSON for the stronger model. Make the list cover every decision the next agent needs.
  2. With a weaker model, use a typed format as well. For Haiku, JSON added about 27 points over a text field list in a registered replication. For Sonnet it added nothing.
  3. Put the question on the form. A field for blocked channels got every chain through the hijacked phone, and without one a single weaker agent missed it 7 times in 30.
  4. If values and judgments must survive many hops, keep them in a shared record where each field has one owner. Copying was where the JSON records went wrong.
  5. Put a check wherever a judgment is made that no later agent can verify. Nobody downstream caught a wrong takeover finding or fee decision, so a second reviewer, a rule in code, or a person has to sit at that stage.

Disclosure

The experiments, code and analysis were developed with assistance from Claude (Anthropic). Both models under test are Anthropic models. The blind coders were also Claude agents, briefed separately from the analysis.

Data and code

The code, scenarios, lab notebook (with the hypotheses recorded before each run), blind coding labels and analysis scripts will be linked here when the public repository is released.

Footnotes

  1. Perez et al., "When LLMs Play the Telephone Game: Cultural Attractors as Conceptual Tools to Evaluate LLMs in Multi-turn Settings," ICLR 2025. https://arxiv.org/abs/2407.04503 ↩

  2. Mohamed, Geng, Vazirgiannis and Shang, "LLM as a Broken Telephone: Iterative Generation Distorts Information," arXiv:2502.20258. https://arxiv.org/abs/2502.20258 ↩

  3. "Faithful, Not Corrective: Model Capability Governs Message-Format Effects in Multi-Hop Agent Relays," arXiv:2607.09678. https://arxiv.org/abs/2607.09678 ↩ ↩2

  4. "On the Reliability Limits of LLM-Based Multi-Agent Planning," arXiv:2603.26993. https://arxiv.org/abs/2603.26993 ↩