Instruction Conflict Failures in Agents With Multiple System Prompts
Multi-agent systems silently follow the wrong instruction while appearing to succeed.
Guide · Agent Failure Modes
The 14 failure modes of the MAST taxonomy (Berkeley, 2025) in three categories, what each one looks like in an agent trace, and how to check for it.
Trace Taxonomy Editors · Updated
Multi-agent LLM systems mostly fail in three ways: the system was designed with gaps (unclear roles, specs and stopping rules), the agents lose or ignore information as they hand work to each other, or nobody checks the result properly. That is the finding of Why Do Multi-Agent LLM Systems Fail? (Cemri et al., UC Berkeley), which names 14 failure modes across those three categories. The taxonomy is called MAST.
Every one of the 14 leaves marks in a trace. This guide lists them with the paper's definition, what each looks like in the spans of a run, and a check you can run for it.
The paper has been revised since it first appeared in March 2025. The shares below are from v3; check the arXiv page for the latest version.
| ID | Failure mode | Category | Share in MAST-Data (v3) |
|---|---|---|---|
| FM-1.1 | Disobey task specification | System design issues | 11.8% |
| FM-1.2 | Disobey role specification | System design issues | 1.5% |
| FM-1.3 | Step repetition | System design issues | 15.7% |
| FM-1.4 | Loss of conversation history | System design issues | 2.8% |
| FM-1.5 | Unaware of termination conditions | System design issues | 12.4% |
| FM-2.1 | Conversation reset | Inter-agent misalignment | 2.2% |
| FM-2.2 | Fail to ask for clarification | Inter-agent misalignment | 6.8% |
| FM-2.3 | Task derailment | Inter-agent misalignment | 7.4% |
| FM-2.4 | Information withholding | Inter-agent misalignment | 0.85% |
| FM-2.5 | Ignored other agent’s input | Inter-agent misalignment | 1.9% |
| FM-2.6 | Reasoning-action mismatch | Inter-agent misalignment | 13.2% |
| FM-3.1 | Premature termination | Task verification | 6.2% |
| FM-3.2 | No or incomplete verification | Task verification | 8.2% |
| FM-3.3 | Incorrect verification | Task verification | 9.1% |
Share of all failures the paper observed across MAST-Data. It varies by framework, model and task.
Failures that show up while the system runs but were decided before it ran: the architecture, the prompts, the roles and how state is kept. The paper's point is that these are not just the model failing to follow instructions; a better-designed system gets more out of the same model.
What it is. The output ignores a constraint or requirement the task stated.
In the trace. The root span's input names a constraint (a format, a limit, a file not to touch) and the final output or a tool call breaks it, with no span where an agent decided to drop it.
How to check for it. Extract the explicit constraints from the task input once, then test the final output and every write-type tool call against them.
Read more: Instruction conflict failures in agents with multiple system prompts
What it is. An agent steps outside the responsibilities of its assigned role and behaves like another agent.
In the trace. Spans attributed to one agent call tools or make decisions reserved for another: a reviewer that edits code, or (the paper's ChatDev example) a CPO agent that ends the conversation without the CEO agent's agreement.
How to check for it. Keep an allow-list of tools and actions per role and flag any span where an agent uses one outside its list.
Read more: Out-of-policy action execution by autonomous agents
What it is. Steps that were already completed are repeated without need.
In the trace. The same agent issues the same tool call with the same or near-identical arguments several times in one run, or re-posts a plan it already posted.
How to check for it. Hash (agent, tool, normalized arguments) per span and count repeats within a run. This needs no judge model.
Read more: Reading multi-step agent traces without an LLM judge
What it is. Context is truncated unexpectedly and the agent falls back to an earlier state of the conversation.
In the trace. An agent's prompt input shrinks sharply mid-run, and its next messages refer to a plan or value that later turns had already replaced.
How to check for it. Record input token counts per model span and flag drops between consecutive turns of the same agent; compare the values it cites with the latest ones in the run.
Read more: Goal drift in multi-step autonomous agents
What it is. The agents don't recognize when the interaction should stop, so it carries on.
In the trace. The deliverable already exists several spans before the end, and the run ends on the framework's turn or iteration limit rather than on an explicit completion.
How to check for it. Tag how every run ended (explicit finish, error, turn cap, timeout). A rising share of turn-cap endings is this mode.
Failures in the flow of information between agents while they work together. The paper notes that standard message formats (it names MCP and Agent2Agent) don't remove these: they happen even when every message is well formed, and similar symptoms can come from different modes.
What it is. A dialogue restarts without reason, losing the context and progress made so far.
In the trace. Opening moves (a greeting, a fresh plan, a first-step tool call) reappear in the middle of a run, and later spans redo work that earlier spans finished.
How to check for it. Flag planning or kickoff messages that occur after the first step of a run.
What it is. Faced with unclear or incomplete input, an agent proceeds on an assumption instead of asking.
In the trace. A required field or identifier is missing from the input, no clarification step appears, and a later tool call carries a value nothing upstream supplied.
How to check for it. Trace every argument of a write-type tool call back to a source in the run; a value with no source is either an assumption or a fabrication.
Read more: Fabricated identifier returns in tool-calling agents
What it is. The agents drift away from the intended objective toward irrelevant or unproductive work.
In the trace. Each step looks reasonable next to the one before it, but the later spans are working on a different goal from the one in the root input.
How to check for it. Compare each agent's stated sub-goal with the original task at fixed intervals in long runs, not only at the end.
Read more: Goal drift in multi-step autonomous agents
What it is. An agent has information that would change another agent's decision and doesn't share it.
In the trace. A fact appears in one agent's tool result (an error, a failed test, a constraint) and is missing from the handoff message it sends to the next agent.
How to check for it. Diff each handoff payload against the tool results its sender received since the last handoff.
Read more: Root-cause attribution across parallel agent spans
What it is. An agent disregards input or recommendations from another agent.
In the trace. Agent B receives a correction or warning from agent A, and B's next action is the same one it would have taken without it.
How to check for it. For messages that contain a correction, check whether the receiver's next tool call or output changed.
Read more: Tool result misinterpretation in LangGraph pipelines
What it is. What an agent reasons it should do and what it actually does disagree.
In the trace. The reasoning text in a model span says one thing (“run the tests”, “use the second file”) and the tool call in the same span does another.
How to check for it. Compare the action named in the reasoning with the tool name and arguments that follow it.
Read more: Distinguishing model errors from tool errors in agent traces
Failures in checking the result: stopping too early, checking too little, or checking wrongly. The paper finds that systems with explicit verifier agents (MetaGPT and ChatDev among them) generally fail less, and that a single low-level check at the end is not enough.
What it is. The task ends before all the needed information is exchanged or the objectives are met.
In the trace. The run reports success, but some sub-tasks in the plan have no span that produced their output.
How to check for it. Match the plan's sub-tasks to output-producing spans before accepting a success status.
What it is. Checking of the outcome is skipped or only partly done, so errors pass through.
In the trace. There is no verifier span at all, or the verifier only checks that code compiles or output parses. The paper's example is a ChatDev chess program that passes superficial checks while breaking the rules of chess.
How to check for it. Record what each verification span actually tested, and flag runs where it covered form but not the task's requirements.
What it is. Verification runs but fails to validate or cross-check the information or decisions that matter.
In the trace. A verifier span approves an output that a later step, a user or a test shows to be wrong.
How to check for it. Sample approved runs and re-check them independently; track how often the verifier agreed with a result that turned out wrong.
Read more: Reading multi-step agent traces without an LLM judge
The authors split fixes into tactical ones (prompts, roles and how agents talk) and structural ones (changes to how the system is built). In their case studies on AG2 and ChatDev, tactical fixes gave limited and inconsistent gains, and changing how the agents were connected cut failures more than changing their prompts.
| Category | Tactical | Structural |
|---|---|---|
| System design issues | Clear role and task definitions, further discussion between agents, self-verification, conversation pattern design | Comprehensive verification, confidence quantification |
| Inter-agent misalignment | Cross-verification, conversation pattern design, mutual disambiguation, modular agent design | Standardized communication protocols, probabilistic confidence measures |
| Task verification | Self-verification, cross-verification, redesigning the topology for verification | Comprehensive verification and unit test generation |
MAST, the Multi-Agent System Failure Taxonomy, is a classification of why multi-agent LLM systems fail, from the UC Berkeley paper “Why Do Multi-Agent LLM Systems Fail?” by Cemri et al. It sorts failures into 14 modes in three categories: system design issues, inter-agent misalignment and task verification.
It was built from multi-agent traces, and the inter-agent modes need more than one agent. Most of the system design and verification modes (step repetition, termination, verification) also show up in a single agent with tools, and can be checked the same way.
In v3 of the paper, the largest shares of observed failures were step repetition, reasoning-action mismatch, unawareness of termination conditions and disobeying the task specification. Shares differ by framework, model and benchmark, so measure your own system rather than assume its mix.
Not on its own. The paper argues that many failures come from how the system is designed and how agents coordinate, and that a well-designed system gets better results from the same model.
Multi-agent systems silently follow the wrong instruction while appearing to succeed.
Why agents that get every step right can still end up off-goal.
Agents return success while silently failing, evading all standard monitoring.
Causal graph reconstruction separates where agent failures begin from where they appear.
Diagnose multi-step agent failures using deterministic signals instead of LLM judges.
Behavioral patterns reveal what error codes miss about repeated agent failures.