Aegis: Automated Error Generation and Attribution for Multi-Agent Systems
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
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 a 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. Our project website is available at https://kfq20.github.io/Aegis-Website/.
Key facts. Cited by 22 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 56 of its 86 references that are in the map. First posted on arXiv 17 Sep 2025.
Builds on
56 of 86 references.
Closest ancestors · 5
Same direction, newest first
- 2025TRAIL: Trace Reasoning and Agentic Issue Localization13 May
- 2025Which Agent Causes Task Failures and When? On Automated Failure Attribution of LLM Multi-Agent Systems30 Apr
- 2025Why Do Multi-Agent LLM Systems Fail?17 Mar
- 2024AFlow: Automating Agentic Workflow Generation14 Oct
- 2024LLM-Based Multi-Agent Systems for Software Engineering: Literature Review, Vision and the Road Ahead7 Apr
Other references · 51
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2024GPT-4o System Cardcited by 4,588
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2020Supervised Contrastive Learningcited by 2,829
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
- 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,848
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
38 more
- 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,784
- 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Societycited by 1,395
- 2023GAIA: a benchmark for General AI Assistantscited by 1,128
- 2018Attention-based Deep Multiple Instance Learningcited by 1,095
- 2023Encouraging Divergent Thinking in Large Language Models through Multi-Agent Debatecited by 1,011
- 2024Large Language Model based Multi-Agents: A Survey of Progress and Challengescited by 769
- 2023AgentVerse: Facilitating Multi-Agent Collaboration and Exploring Emergent Behaviorscited by 598
- 2024Self-Play Fine-Tuning Converts Weak Language Models to Strong Language Modelscited by 557
- 2024Mixture-of-Agents Enhances Large Language Model Capabilitiescited by 438
- 2025Multi-Agent Collaboration Mechanisms: A Survey of LLMscited by 431
- 2023Multi-Agent Collaboration: Harnessing the Power of Intelligent LLM Agentscited by 333
- 2023SciBench: Evaluating College-Level Scientific Problem-Solving Abilities of Large Language Modelscited by 256
- 2024Scaling Large Language Model-based Multi-Agent Collaborationcited by 241
- 2024Magentic-One: A Generalist Multi-Agent System for Solving Complex Taskscited by 232
- 2025R-Zero: Self-Evolving Reasoning LLM from Zero Datacited by 228
- 2025AgentSociety: Large-Scale Simulation of LLM-Driven Generative Agents Advances Understanding of Human Behaviors and Societycited by 186
- 2025Multi-agent Architecture Search via Agentic Supernetcited by 179
- 2024AutoDefense: Multi-Agent LLM Defense against Jailbreak Attackscited by 145
- 2024OASIS: Open Agent Social Interaction Simulations with One Million Agentscited by 132
- 2024On the Resilience of LLM-Based Multi-Agent Collaboration with Faulty Agentscited by 99
- 2024Flooding Spread of Manipulated Knowledge in LLM-Based Multi-Agent Communitiescited by 86
- 2024PsySafe: A Comprehensive Framework for Psychological-based Attack, Defense, and Evaluation of Multi-agent System Safetycited by 80
- 2025ReMA: Learning to Meta-think for LLMs with Multi-Agent Reinforcement Learningcited by 79
- 2019Macro F1 and Macro F1cited by 70
- 2025G-Safeguard: A Topology-Guided Security Lens and Treatment on LLM-based Multi-agent Systemscited by 59
- 2025Self-Challenging Language Model Agentscited by 59
- 2025Beyond Pass@1: Self-Play with Variational Problem Synthesis Sustains RLVRcited by 54
- 2025Self-Questioning Language Modelscited by 50
- 2024NetSafe: Exploring the Topological Safety of Multi-agent Networkscited by 29
- 2025We Should Identify and Mitigate Third-Party Safety Risks in MCP-Powered Agent Systemscited by 27
- 2025AutoCodeBench: Large Language Models are Automatic Code Benchmark Generatorscited by 26
- 2025Measuring General Intelligence with Generated Gamescited by 24
- 2025Feedback-Driven Tool-Use Improvements in Large Language Models via Automated Build Environmentscited by 19
- 2025MASLab: A Unified and Comprehensive Codebase for LLM-based Multi-Agent Systemscited by 14
- 2024Self-Prompt Tuning: Enable Autonomous Role-Playing in LLMscited by 12
- 2025Goal-Aware Identification and Rectification of Misinformation in Multi-Agent Systemscited by 8
- 2025Demonstrations of Integrity Attacks in Multi-Agent Systemscited by 8
- 2025Enhancing LLM-Based Social Bot via an Adversarial Learning Frameworkcited by 7
50 most cited of 51 All 51 (JSON)
Built on by
Citing papers per year: 2025: 3; 2026: 19.
22 papers.
Sort:
By area:
- 2026From Agent Traces to Trust: A Survey of Evidence Tracing and Execution Provenance in LLM Agentscited by 37
- 2026Rethinking Failure Attribution in Multi-Agent Systems: A Multi-Perspective Benchmark and Evaluationcited by 24
- 2025Metacognitive Self-Correction for Multi-Agent System via Prototype-Guided Next-Execution Reconstructioncited by 7
- 2025Agentic Services Computingcited by 6
- 2026Efficient Failure Management for Multi-Agent Systems with Reasoning Trace Representationcited by 6
- 2026Beyond Individual Intelligence: Surveying Collaboration, Failure Attribution, and Self-Evolution in LLM-based Multi-Agent Systemscited by 6
- 2026VerifyMAS: Hypothesis Verification for Failure Attribution in LLM Multi-Agent Systemscited by 5
- 2026Conformal Agent Error Attributioncited by 4
- 2026Evolve as a Team: Collaborative Self-Evolution for LLM-based Multi-Agent Systemscited by 4
- 2026Observability and Fault Injection for LLM-Based Multi-Agent Systems in Software Engineeringcited by 3
- 2025Convergence dynamics of Agent-to-Agent Interactions with Misaligned objectivescited by 1
- 2026DIG to Heal: Scaling General-purpose Agent Collaboration via Explainable Dynamic Decision Pathscited by 1
10 more
- 2026RankJudge: A Multi-Turn LLM-as-a-Judge Synthetic Benchmark Generatorcited by 1
- 2026ASCon: A Direction-Aware Reciprocal Agent--Step Contextualization Model for Failure Attribution in Multi-Agent Systemscited by 1
- 2026Detect Before You Attribute: Cascade Failure Attribution for Multi-Agent Systemscited by 1
- 2026Diagnosis-Driven Automatic Repair for Agentic Workflow via Symbolic Inferencecited by 0
- 2026Beyond LLM-Based Reasoning: Lightweight GNNs for Agent Failure Attributioncited by 0
- 2026Maat: Independent Deterministic Contract-Based Governance for Multi-Agent LLM Workflowscited by 0
- 2026Do LLM Agents Execute the Plans They Declare? From Planning-Mode Declaration to Pattern-Specific Executioncited by 0
- 2026AECG: Asymmetric Experience Consolidation and Governance In Multi-Agent Systemscited by 0
- 2026Dream2Discern: Learning from Hard Latent Variants for Runtime Failure Prediction in Multi-Agent Systemscited by 0
- 2026MAS-Gate: Unlocking Multi-Agent System Lifecycle via Node-Centric Quantificationcited by 0
- 2026MAS-Gate: Unlocking Multi-Agent System Lifecycle via Node-Centric Quantification13 Oct 2026
- 2026Dream2Discern: Learning from Hard Latent Variants for Runtime Failure Prediction in Multi-Agent Systems12 Oct 2026
- 2026AECG: Asymmetric Experience Consolidation and Governance In Multi-Agent Systems4 Oct 2026
- 2026Do LLM Agents Execute the Plans They Declare? From Planning-Mode Declaration to Pattern-Specific Execution29 Sep 2026
- 2026Maat: Independent Deterministic Contract-Based Governance for Multi-Agent LLM Workflows27 Sep 2026
- 2026Detect Before You Attribute: Cascade Failure Attribution for Multi-Agent Systems30 Aug 2026
- 2026Observability and Fault Injection for LLM-Based Multi-Agent Systems in Software Engineering25 Aug 2026
- 2026Beyond LLM-Based Reasoning: Lightweight GNNs for Agent Failure Attribution19 Aug 2026
- 2026ASCon: A Direction-Aware Reciprocal Agent--Step Contextualization Model for Failure Attribution in Multi-Agent Systems11 Aug 2026
- 2026Diagnosis-Driven Automatic Repair for Agentic Workflow via Symbolic Inference3 Jul 2026
- 2026From Agent Traces to Trust: A Survey of Evidence Tracing and Execution Provenance in LLM Agents3 Jun 2026
- 2026Evolve as a Team: Collaborative Self-Evolution for LLM-based Multi-Agent Systems28 May 2026
10 more
- 2026RankJudge: A Multi-Turn LLM-as-a-Judge Synthetic Benchmark Generator20 May 2026
- 2026VerifyMAS: Hypothesis Verification for Failure Attribution in LLM Multi-Agent Systems17 May 2026
- 2026Beyond Individual Intelligence: Surveying Collaboration, Failure Attribution, and Self-Evolution in LLM-based Multi-Agent Systems14 May 2026
- 2026Conformal Agent Error Attribution7 May 2026
- 2026Rethinking Failure Attribution in Multi-Agent Systems: A Multi-Perspective Benchmark and Evaluation26 Mar 2026
- 2026Efficient Failure Management for Multi-Agent Systems with Reasoning Trace Representation23 Mar 2026
- 2026DIG to Heal: Scaling General-purpose Agent Collaboration via Explainable Dynamic Decision Paths27 Feb 2026
- 2025Convergence dynamics of Agent-to-Agent Interactions with Misaligned objectives11 Nov 2025
- 2025Metacognitive Self-Correction for Multi-Agent System via Prototype-Guided Next-Execution Reconstruction16 Oct 2025
- 2025Agentic Services Computing29 Sep 2025
- 2026From Agent Traces to Trust: A Survey of Evidence Tracing and Execution Provenance in LLM Agentscited by 37
- 2025Metacognitive Self-Correction for Multi-Agent System via Prototype-Guided Next-Execution Reconstructioncited by 7
- 2025Agentic Services Computingcited by 6
- 2026Beyond Individual Intelligence: Surveying Collaboration, Failure Attribution, and Self-Evolution in LLM-based Multi-Agent Systemscited by 6
- 2026VerifyMAS: Hypothesis Verification for Failure Attribution in LLM Multi-Agent Systemscited by 5
- 2026Conformal Agent Error Attributioncited by 4
- 2026Evolve as a Team: Collaborative Self-Evolution for LLM-based Multi-Agent Systemscited by 4
- 2026Observability and Fault Injection for LLM-Based Multi-Agent Systems in Software Engineeringcited by 3
- 2025Convergence dynamics of Agent-to-Agent Interactions with Misaligned objectivescited by 1
- 2026DIG to Heal: Scaling General-purpose Agent Collaboration via Explainable Dynamic Decision Pathscited by 1
- 2026ASCon: A Direction-Aware Reciprocal Agent--Step Contextualization Model for Failure Attribution in Multi-Agent Systemscited by 1
- 2026Detect Before You Attribute: Cascade Failure Attribution for Multi-Agent Systemscited by 1
12 most cited of 18 All 18 (JSON)
- 2026MAS-Gate: Unlocking Multi-Agent System Lifecycle via Node-Centric Quantification13 Oct 2026
- 2026Dream2Discern: Learning from Hard Latent Variants for Runtime Failure Prediction in Multi-Agent Systems12 Oct 2026
- 2026AECG: Asymmetric Experience Consolidation and Governance In Multi-Agent Systems4 Oct 2026
- 2026Do LLM Agents Execute the Plans They Declare? From Planning-Mode Declaration to Pattern-Specific Execution29 Sep 2026
- 2026Maat: Independent Deterministic Contract-Based Governance for Multi-Agent LLM Workflows27 Sep 2026
- 2026Detect Before You Attribute: Cascade Failure Attribution for Multi-Agent Systems30 Aug 2026
- 2026Observability and Fault Injection for LLM-Based Multi-Agent Systems in Software Engineering25 Aug 2026
- 2026ASCon: A Direction-Aware Reciprocal Agent--Step Contextualization Model for Failure Attribution in Multi-Agent Systems11 Aug 2026
- 2026Diagnosis-Driven Automatic Repair for Agentic Workflow via Symbolic Inference3 Jul 2026
- 2026From Agent Traces to Trust: A Survey of Evidence Tracing and Execution Provenance in LLM Agents3 Jun 2026
- 2026Evolve as a Team: Collaborative Self-Evolution for LLM-based Multi-Agent Systems28 May 2026
- 2026VerifyMAS: Hypothesis Verification for Failure Attribution in LLM Multi-Agent Systems17 May 2026
12 newest of 18 All 18 (JSON)
- 2026Rethinking Failure Attribution in Multi-Agent Systems: A Multi-Perspective Benchmark and Evaluationcited by 24
- 2026Efficient Failure Management for Multi-Agent Systems with Reasoning Trace Representationcited by 6
- 2026Beyond LLM-Based Reasoning: Lightweight GNNs for Agent Failure Attributioncited by 0
- 2026Beyond LLM-Based Reasoning: Lightweight GNNs for Agent Failure Attribution19 Aug 2026
- 2026Rethinking Failure Attribution in Multi-Agent Systems: A Multi-Perspective Benchmark and Evaluation26 Mar 2026
- 2026Efficient Failure Management for Multi-Agent Systems with Reasoning Trace Representation23 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2026Agent Error Dataset: Scaling 50,000 Error--Diagnosis Pairs for Failure Analysis and Error-Aware Post-Training
- 2025CORRECT: COndensed eRror RECognition via knowledge Transfer in multi-agent systems
- 2025Aegis: Taxonomy and Optimizations for Overcoming Agent-Environment Failures in LLM Agents
- 2026Towards Self-Improving Error Diagnosis in Multi-Agent Systems
- 2025Where Did It All Go Wrong? A Hierarchical Look into Multi-Agent Error Attribution
- 2026Error-Propagation Modeling for Failure Attribution in LLM-Based Multi-Agent Systems
- 2025AgenTracer: Who Is Inducing Failure in the LLM Agentic Systems?
- 2026EDGE: Error Dependency Graph-Guided Multi-Error Attribution in Multi-Agent LLM Systems