Mutation Testing for Multi-Agent Workflows
Nafiseh Kahani, Mojtaba Bagherzadeh
Key points
From the paper's conclusion- We adapt mutation analysis to this setting, fourteen operators in four families (delegation, allowed-tool, restriction, agent/instruction) perturb a normalized workflow manifest, and three kill criteria score whether a suite catches the change, namely K-Struct on the observed coordination, KOutcome on the task verdict or step sequence, and K-Safety on a forbidden tool call.
Abstract
Multi-agent large language model (LLM) systems are defined by explicit workflows, agents, tools, tool-access rules, and delegation paths. Most evaluations, however, report end-to-end task success rather than whether a test suite can detect faults in this coordination structure, such as a removed delegation, a silently removed restriction, a misrouted tool edge, or a faulty tool implementation. We adapt mutation analysis to this setting, fourteen operators in four families (delegation, allowed-tool, restriction, agent/instruction) perturb a normalized workflow manifest, and three kill criteria score whether a suite catches the change, namely K-Struct on the observed coordination, KOutcome on the task verdict or step sequence, and K-Safety on a forbidden tool call. Every criterion is evaluated by executing each suite against the original and the mutant through the OpenAI Agents SDK, with k=3 repeats and a majority vote. On ten OpenAI Agents SDK-derived workflows (49 reachable agents, 47 tools, 403 obligations), the evaluation executes 29,601 agent runs over a pool of 1,084 mutants. We use T-Struct only as a full-obligation reference point (MSstrict=1.000 under all three criteria) and measure how much the baseline suites miss, the bestperforming one (T-Dev*) reaches 0.717 (K-Struct) and only 0.559 (K-Safety). Restriction-removal (RES-REM) is the least detected fault for the baselines (0.19 to 0.28 vs 1.000). Executing the suites also allows the obligation-preserving operators (TOOL-FAULT, AG-SWAP, AG-PROMPTDROP) to be evaluated. A manifest-only oracle would not witness these changes. In this setting, tasksuccess- style suites catch only about half of permission violations.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- ReqTestAgent: execution-grounded language-model agents for acceptance testing under requirement ambiguity.Frontiers in artificial intelligence · 2026
- Maat: Independent Deterministic Contract-Based Governance for Multi-Agent LLM WorkflowsarXiv · 2026
- Learning to Coordinate: LLM-Guided Workflow Evolution for Token-Efficient Red TeamingarXiv · 2026
- Tool-Calling LLM Agents Under Realistic MCP Faults: Scale Does Not Purchase Fault TolerancearXiv · 2026
- SSCBench: Evaluating the Evidential Validity of Fault-Injection Tests for Tool-Using LLM AgentsarXiv · 2026
- WorkflowArena: Benchmarking Executable Workflow Orchestration in LLM-Based Multi-Agent SystemsarXiv · 2026