Multi-agent data: everyone said “done,” but the result is wrong
Useful multi-agent data preserves how tasks are assigned, information is delivered, and artifacts are consumed; message counts, role counts, and declarations of completion do not establish those relationships.
On this page
Assigning research, calculation, and report writing to three agents resembles dividing work among colleagues. The difficult questions are familiar too: did the person calculating receive the updated source, and which version did the report use? Preserving those relationships in a dataset makes it possible to examine what kind of collaboration a model might learn.
Start with a failed handoff
Consider a teaching example: count this month's completed projects from two project records. Extraction agent A produces projects-v1.csv, then notices that one project remains in testing and corrects the file to v2. Calculation agent B has already read v1 and returned a count. Coordinator C sees both agents report completion and inserts the count into the final report. This is an invented example, not a customer case or an experimental result.
| Available record | Unanswered question | Evidence to retain |
|---|---|---|
| A: correction complete | Which file and version changed? | Artifact ID, version or content hash, and revision relationship |
| A reports v2 to the coordinator | Did B receive the update? | Recipients, message links, and the context visible in B's next input |
| B: calculation complete | Was v1 or v2 consumed? | The actual tool read and its input version |
| C: report complete | Does the report contain the right count? | Final artifact and checks against the task's rules |
Check the revision's timing first. If B finished before v2 existed, examine whether C invalidated the old count and requested recalculation after receiving the update. Investigate delivery when the update should have reached B's next decision but is absent from its context; investigate selection and execution when the update is visible but the tool still reads the old file. Missing logs mean an unknown cause. Simply annotating “B ignored A” can mislabel normal timing or a recording gap as a model error.
Why systems record tasks and progress separately
Magentic-One's orchestrator maintains a task ledger for facts and plans, and a progress ledger that helps determine progress, the next actor, and its instruction. It can replan when work stalls.[1] Collaboration state therefore extends beyond the final conversation excerpt. This is one concrete architecture, not a mandatory schema for every dataset.
The initial version of Why Do Multi-Agent LLM Systems Fail? distinguishes information not shared, another agent's input ignored, and verification and termination failures.[2] These categories suggest questions to investigate; a short utterance alone cannot establish a root cause. Nor does the study show that adding a verifier resolves every failure. The example and recording recommendations here are our data-design analysis informed by those sources.
Connect five parts of a reviewable task
- Task and assignment: root task ID, subtask ID, actor instance, and instructions, including model, system-instruction, and tool-definition versions. Two actors with the same role name are not necessarily the same instance.
- Messages and visibility: sender, recipients, reply relationships, and when a message entered the recipient's context. A private message, broadcast, or shared-file reference does not imply everyone read it.
- Tools and artifacts: arguments, execution results, and stable IDs and versions for inputs and outputs. Preserve the distinction between a completion message and the actual file.
- Dependencies and revisions: which computation consumed which artifact, and which output superseded an earlier one. Timestamps help order events but cannot establish causal relationships by themselves.
- Final checks: task constraints, check procedure, final artifact, and supported pass, fail, or unknown labels. Distinguish a timeout, an intentional stop, and verified success.
JSONL, tables, and textual sequences can all represent this information. Serializing events is not inherently wrong; losing recipients, dependencies, and versions can falsely make parallel contexts look like one conversation everyone attended. Where files cannot accompany the dataset, describe access and verification arrangements rather than leaving an unusable local path.
Report message counts, root tasks that can be grouped, and complete tasks meeting the agreed evidence requirements separately. Ten agents participating in one task may still constitute one highly correlated task, not ten independent successful examples.
Coordinator training and failure analysis need different slices
For coordinator training, an assignment decision can define a sample: the input contains the task, messages, and artifact state actually available then; the target is a reviewed next instruction. Do not insert a later v2 file or final checking answer into an earlier input. That would give training examples information unavailable at deployment. Even a successful workflow may contain poor assignments, so demonstration quality needs separate review.
Retrospective failure analysis can inspect the full chain. Its labels should still attach to observable evidence: an update not delivered, an update present in context followed by a read of an old file, a missing final check, or insufficient evidence. Task success and local handoff behavior are different labels. Before using failed trajectories, decide whether they support diagnosis, a verifier, or corrected demonstrations, then define the learning target.
To test whether preserving these relationships improves a model, hold the task partition fixed, use comparable training and inference budgets, and report the cost of added context. Keep a task's subagents, retries, and revisions from straddling training and test sets. More complete recording makes inspection easier; improved model performance still requires a controlled experiment.
Review a few handoffs before scaling collection
For structural diagnosis, deliberately include straightforward successes, updates and retries, parallel branches, and failed exits. Estimating batch quality requires a separate sampling frame and selection probabilities; a few carefully chosen examples cannot establish a pass rate. Ask someone uninvolved in collection to reconstruct responsibilities, consumed versions, delivery of critical updates, and the evidence for the final outcome.
Anthropic's research-system account notes that successful agents may follow different paths. For tasks that change persistent state, it describes evaluating the final state and necessary checkpoints rather than requiring one exact sequence.[3] Review outcomes alongside the process constraints the task actually requires, such as using the specified version. A reference trace need not be the only valid solution.
An offline record can explain a handoff without making the environment executable again. Replay also depends on dependencies, state snapshots, permissions, and external resources. State what the sample supports: reading the interaction, inspecting its relationships, or actually replaying it. That distinction helps suppliers complete the relevant material and researchers choose a defensible training or evaluation target.
