AP42 · Untraceable multi-agent system
Family: Loop, stopping and orchestration
Moderate evidence
Original names: untraceable multi-agent pipeline, loss of data provenance
The deliverable is wrong, and nobody can tell which agent introduced the error, or at which step.
Definition
Data and decisions flow between agents with no identifier for the producing agent, the step or the source.
Observable symptoms
- No way to tell which agent introduced an error; debugging means rereading every exchange.
- A deliverable that mixes trusted and untrusted sources with no marking.
Why it hurts
Automatically attributing a failure is already hard with complete traces; without provenance it becomes impossible, and access controls can no longer apply to the data.
Figures
- On failure logs from 127 multi-agent systems (Who&When), the best automatic method finds the faulty agent in 53.5% of cases, and the faulty step in only 14.2% (preprint).
- On 148 annotated traces (TRAIL), the best judge model reaches only 11% joint accuracy in locating errors: trace diagnosis cannot rest on an LLM judge alone.
Remedies from the catalogue
- A3 · Structured output — Messages between agents are structured and carry their provenance: producing agent, step, source.
- E10 · Shared state (blackboard) — A logged shared state, where every write is attributed to the agent that made it.
- G4 · Dual LLM (and CaMeL) — Values derived from untrusted content stay marked as such from one agent to the next, as in CaMeL.
Measures outside the catalogue
- Per-agent and per-tool traces, written by the harness following the OpenTelemetry GenAI conventions.
- Regular human reading of the traces, which neither an LLM judge nor an automatic method can replace.
Misused patterns
Related anti-patterns
Sources
- Which Agent Causes Task Failures and When? On Automated Failure Attribution of LLM Multi-Agent Systems — Zhang et al., arXiv, 2025-04-30
- TRAIL: Trace Reasoning and Agentic Issue Localization — Deshpande et al. (Patronus AI), arXiv, 2025-05-13
- New whitepaper outlines the taxonomy of failure modes in AI agents — Microsoft AI Red Team, 2025-04-24
Content reviewed on 2026-10-05