TL;DR
Multi-agent systems break at the seams — the handoff where one agent passes control to another and context is dropped, the goal drifts, private information crosses a boundary, an action over-reaches, or a task silently disappears. Existing agent benchmarks score single-agent task success and collapse the handoff into one bucket, or attribute failures only after the fact. SEAM makes the handoff the unit of measurement.
It generates self-labeling multi-agent traces with injected failures across five modes with objective ground truth, runs a cheap-heuristic-then-LLM-judge cascade over them, and reports FNR, FPR and precision per mode with bootstrap CIs and a cost per trace. On the real-judge confirmation run it observed zero false alarms (0 of 59 clean units, 95% Wilson upper bound 6.1%) at precision 47/47 (95% lower bound 92.4%) and recall 0.580 (FNR 0.420, bootstrap CI [0.333, 0.531]), for about $0.0005 per trace.
The design target was zero false alarms rather than maximum recall, because a handoff detector that cries wolf gets switched off. What that buys and what it costs are both reported: the cascade eliminates 42% of judge calls, and the per-mode profile is deliberately uneven — leakage is caught at FNR 0.143 while goal drift sits at 0.667.
This is a two-evening design-and-implementation exercise on multi-agent reliability, not a completed research program. The repo says so, and so does this page. It is here because the measurement design is worth reading, not because the numbers settle anything.
The seam is the unit
Ask most agent benchmarks how a multi-agent run went and you get one number: did the task succeed. That number is real, and it is nearly useless for debugging, because every distinct way the system can fail arrives compressed into the same word. A sub-agent that never received the customer's account ID and a sub-agent that received it and quietly solved a different problem both come back as failed.
The alternative most work reaches for is post-hoc attribution: run the system, look at the failures, and have a model or a human decide which agent was to blame. That produces a story rather than a measurement, and the story is generated by the same class of system whose reliability is in question.
SEAM changes what gets counted. The unit is the handoff itself, and a handoff either preserved what it was supposed to preserve or it did not. That reframing is what makes objective ground truth possible at all.
Five modes with objective ground truth
Five things go wrong at a boundary, and each is defined so that whether it happened is a fact rather than a judgment call:
context_loss— a fact the receiver needed did not cross.goal_drift— the task that arrives is not the task that left.info_leakage— something private crossed a boundary it should not have.unsafe_escalation— the receiver claims more authority than it was handed.dropped_task— control crosses and the work is simply never done.
The ground truth is objective because it is injected. The generator does not observe a failure and label it; it breaks a specific thing on purpose and records what it broke. There is no annotator to disagree with, which is the property that makes per-mode error rates meaningful.
Traces that label themselves
The generator produces multi-agent traces and injects failures into them under seed control, so every trace ships with its own answer key. The confirmation run used 200 generated traces on a seeded 60-dev / 140-test split, with the detector tuned on dev and reported on test.
Self-labeling is what makes the whole thing affordable. Hand-annotating handoff failures at the granularity of five distinct modes is expensive enough that nobody does it at a useful n, and the annotations you get back are exactly the judgment calls the design was trying to avoid.
The cascade, and where the money comes off
A detector meant to run on every production trace has a hard cost ceiling, so cheap lexical heuristics run first and only uncertain traces escalate to the LLM judge. On the confirmation run that eliminated 42% of judge calls — 81 of 140 traces escalated — at about $0.0005 per trace at list price.
The rail that makes this safe is asymmetric on purpose: the cascade never auto-accepts a positive on a cheap signal. Savings come off the negative side, where a mistake is recoverable, and every claimed failure still costs a judge call. Getting that asymmetry backwards is how cost optimization quietly becomes a worse detector. It is the same construction as the production judge cascade in ROGUE, restated here as a standalone measured artifact.
Error rates that survive noisy labels
A detector with known error rates can recover the true prevalence of a failure from its own noisy observed rate. SEAM does this with a Rogan-Gladen correction, inverting measured TPR and FPR, with a delta-method interval (Feng / Lee) propagating the binomial uncertainty, plus threshold selection to a target false-positive rate and a cost-versus-FNR frontier.
The load-bearing piece is not the correction. It is the certification gate in front of it: the corrected number is reported only when TPR exceeds FPR by a statistically distinguishable margin. The Rogan-Gladen denominator is (TPR − FPR), so a detector carrying no real signal divides by something near zero and returns a confident, enormous, meaningless prevalence. The gate makes that case return nothing instead.
The repo's flip-injection demo feeds the realized noise rates back into the estimator, which then recovers prevalence as an algebraic identity. That verifies the arithmetic; it does not establish robustness. A genuine robustness test estimates TPR and FPR on a held-out split — that is the version worth citing, and it is not what the demo does. The repo says this in the same words.
Where it fails: the real-data axis
Scenario seeds are grounded in real material — AgentDojo, multi-party privacy scenarios, and Who&When (MIT), a dataset of real orchestrator-to-sub-agent handoffs annotated with a gold failing agent and step. Who&When asks a different question from the synthetic metrics: not "can the detector find an injected failure" but "does it flag the boundary a human annotator marked as the failure?"
On the real-judge run it localized 0 of 6. That is reported as its own line rather than folded into the headline, and it is reported without spin in either direction: a 6-trace smoke test cannot support a claim that the detector works on real traces, and it cannot support a claim that it does not. It is a null observation on a sample too small to carry weight, and the honest move is to say so and leave it visible.
Reproducible without a key
A deterministic seeded mock backend runs generate → detect → calibrate → report end to end with no API key:
uv run seam evaluate --backend mock
So the pipeline is verifiable by anyone, and the paid Fireworks run (gpt-oss-120b) is a confirmation layer on top rather than the only path to a number. That ordering matters for a small project: if the only way to check the work is to spend money, most people will take the numbers on trust instead, which is exactly what a measurement project should not be asking for.
Limitations and scope
- It is a two-evening exercise. Design and implementation, not a research program. Everything below follows from that and none of it is a surprise.
- The headline numbers are on synthetic traces. Zero false alarms and 47/47 precision are measured against failures the generator injected. That is what makes the ground truth objective, and it is also the reason the numbers do not transfer to production traces on their own.
- The real-data axis returned nothing. 0 of 6 localized on Who&When, on a sample too small to interpret. It is left in the open rather than dropped.
- The de-biasing demo verifies arithmetic, not robustness. Feeding realized noise rates back into the estimator recovers prevalence by construction. The held-out-split version is the one that would count.
- Goal drift is the mode that matters most and is caught least. At FNR 0.667, a lexical prior genuinely cannot see it — a drifted task reads as a perfectly coherent different task. Closing that gap is a semantic problem, not a threshold one.
- Cost is list price, not a bill. ~$0.0005 per trace is computed from published rates rather than measured against an invoice.
Conclusion
The contribution is the framing: make the handoff the unit, define failure modes whose ground truth can be injected rather than annotated, and then report the per-mode profile instead of one averaged recall — because the profile is where the useful information lives. A detector that catches leakage six times in seven and drift one time in three is a genuinely different tool from one with the same headline recall spread evenly.
The rest is discipline the numbers only survive because of: a cascade that saves money on the side where mistakes are recoverable, a certification gate that returns nothing rather than a confident quotient of near-zero, and a real-data axis left visibly unpassed.