Aegis: Automated Error Generation and Attribution for Multi-Agent Systems
Fanqi Kong, Ruijie Zhang, Huaxiao Yin, Guibin Zhang, Xiaofei Zhang, Ziang Chen, Zhaowei Zhang, Xiaoyuan Zhang, Song-Chun Zhu, Xue Feng
Abstract
Large language model based multi-agent systems (MAS) have unlocked significant advancements in tackling complex problems, but their increasing capability introduces a structural fragility that makes them difficult to debug. A key obstacle to improving their reliability is the severe scarcity of large-scale, diverse datasets for error attribution, as existing resources rely on costly and unscalable manual annotation. To address this bottleneck, we introduce Aegis, a novel framework for Automated error generation and attribution for multi-agent systems. Aegis constructs a large dataset of 9,533 trajectories with annotated faulty agents and error modes, covering diverse MAS architectures and task domains. This is achieved using an LLM-based manipulator that can adaptively inject context-aware errors into successful execution trajectories. Leveraging fine-grained labels and the structured arrangement of positive-negative sample pairs, Aegis supports three different learning paradigms: Supervised Fine-Tuning, Reinforcement Learning, and Contrastive Learning. We develop learning methods for each paradigm. Comprehensive experiments show that trained models consistently achieve substantial improvements in error attribution. Notably, several of our fine-tuned LLMs demonstrate performance competitive with or superior to proprietary models an order of magnitude larger, validating our automated data generation framework as a crucial resource for developing more robust and interpretable multi-agent systems. Recent research on MAS error attribution remains fundamentally constrained by data scarcity. Existing benchmarks are strikingly small. Who&When (Zhang et al., 2025c) provides only 184 annotated errors, MASFT (Cemri et al., 2025) analyzes just over 150 tasks to derive 14 error modes, and TRAIL (Deshpande et al., 2025) contains 148 traces with 841 labeled errors. All of these rely
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- DoVer: Intervention-Driven Auto Debugging for LLM Multi-Agent Systems cites CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Society
- StepFinder: A Temporal Semantic Framework for Failure Attribution in Multi-Agent Systems cites CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Society
- StepFinder: A Temporal Semantic Framework for Failure Attribution in Multi-Agent Systems cites Generative Agents: Interactive Simulacra of Human Behavior
- StepFinder: A Temporal Semantic Framework for Failure Attribution in Multi-Agent Systems cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Society cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Generative Agents: Interactive Simulacra of Human Behavior cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Improving Factuality and Reasoning in Language Models through Multiagent Debate cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Among Us: Measuring and Mitigating Malicious Contributions in Model Collaboration Systems cites Improving Factuality and Reasoning in Language Models through Multiagent Debate
Cited by top-tier papers3
- DoVer: Intervention-Driven Auto Debugging for LLM Multi-Agent SystemsMing Ma, Jue Zhang, Fangkai Yang, Yu Kang et al.ICLR 2026 · 24 citations
- StepFinder: A Temporal Semantic Framework for Failure Attribution in Multi-Agent SystemsTaiyu Zhu, Yifan Wu, Weilin Jin, Ying Li et al.KDD 2026 · 2 citations
- Among Us: Measuring and Mitigating Malicious Contributions in Model Collaboration SystemsZiyuan Yang, Wenxuan Ding, Shangbin Feng, Yulia TsvetkovACL 2026 · 1 citation
Builds on23
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
- Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna et al.NeurIPS 2020 · 7,049 citations
- CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model SocietyGuohao Li, Hasan Hammoud, Hani Itani, Dmitrii Khizbullin et al.NeurIPS 2023 · 1,975 citations
- Generative Agents: Interactive Simulacra of Human BehaviorJoon Sung Park, Joseph C. O'Brien, Carrie Jun Cai, Meredith Ringel Morris et al.UIST 2023 · 1,882 citations
- Improving Factuality and Reasoning in Language Models through Multiagent DebateYilun Du, Shuang Li, Antonio Torralba, Joshua B. Tenenbaum et al.ICML 2024 · 1,562 citations
Related papers
- AgenTracer: Who Is Inducing Failure in the LLM Agentic Systems?Guibin Zhang, Junhao Wang, Junjie Chen, Wangchunshu Zhou et al.ICLR 2026 · 107 citations
- Towards Self-Improving Error Diagnosis in Multi-Agent SystemsJiazheng Li, Emine Yilmaz, Bei Chen, Thu LeACL Findings 2026
- MAS-GPT: Training LLMs to Build LLM-based Multi-Agent SystemsRui Ye, Shuo Tang, Rui Ge, Yaxin Du et al.ICML 2025
- FAMA: Failure-Aware Meta-Agentic Framework for Open-Source LLMs in Interactive Tool Use EnvironmentsAmir Saeidi, Venkatesh Mishra, Souradeep Mukhopadhyay, Gaowen Liu et al.ACL Findings 2026
- Multi-agent Architecture Search via Agentic SupernetGuibin Zhang, Luyang Niu, Junfeng Fang, Kun Wang et al.ICML 2025
