Aegis: Automated Error Generation and Attribution for Multi-Agent Systems

Fanqi Kong, Ruijie Zhang, Huaxiao Yin, Guibin Zhang, Xiaofei Zhang +5 more
9/17/2025
26 citations
cs.ROcs.MA

No official code found. Best implementation: kfq20/AEGIS (29 stars, Python, MIT, last commit 2026-02-28).

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.

Show full abstract

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/.

View on arXivView PDF

Code Implementations(1)

kfq20/AEGISCommunity70%
MIT

AEGIS: Automated Error Generation and Attribution for Multi-Agent Systems

295Python, ShellSep 16, 20259 months agoMIT

Similar Papers

Cite this paper

@article{kong2025aegis,
  title  = {Aegis: Automated Error Generation and Attribution for Multi-Agent Systems},
  author = {Fanqi Kong and Ruijie Zhang and Huaxiao Yin and Guibin Zhang and Xiaofei Zhang and Ziang Chen and Zhaowei Zhang and Xiaoyuan Zhang and Song-Chun Zhu and Xue Feng},
  year   = {2025},
  eprint = {2509.14295},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.14295v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.14295.svg)](https://codeofpaper.com/paper/2509.14295)

Discussion