Paper | Project Page | Code
AEGIS (Automated Error Generation and Identification for Multi-Agent Systems) is a large-scale dataset and benchmark for detecting errors in Multi-Agent Systems (MAS). It addresses the critical lack of large-scale, diverse datasets with precise, ground-truth error labels for MAS, which has hampered research in understanding MAS error modes.
By systematically injecting controllable and traceable errors into initially successful trajectories, AEGIS creates a rich dataset of realistic failures. This is achieved using a context-aware, LLM-based adaptive manipulator that performs sophisticated attacks like prompt injection and response corruption to induce specific, predefined error modes. The dataset enables the development and evaluation of robust error detection methods across multiple MAS frameworks and supports the error identification task.
To generate an error dataset using AEGIS, you can use the following Python snippet, as provided in the GitHub repository:
from aegis_core.malicious_factory import MaliciousFactory
from aegis_core.agent_systems import BaseMASWrapper
# Initialize AEGIS
factory = MaliciousFactory()
# Load a MAS framework
mas_wrapper = BaseMASWrapper("dylan", config_path="configs/config_main.yaml")
# Inject errors and generate dataset
results = factory.generate_error_dataset(
mas_wrapper=mas_wrapper,
tasks=["task1", "task2"],
error_modes=["FM-1.1", "FM-2.3"],
num_samples=100
)
The malicious factory provides sophisticated error injection capabilities:
Standardized interfaces for various MAS frameworks are provided, including:
AEGIS supports 14 failure modes based on the MAST taxonomy, categorized as:
Specification Issues (FM-1.x)
Inter-Agent Misalignment (FM-2.x)
Task Verification Failures (FM-3.x)
If you use AEGIS in your research, please cite:
@article{kong2025aegis,
title={AEGIS: Automated Error Generation and Identification for Multi-Agent Systems},
author={Kong, Fanqi and Zhang, Ruijie and Yin, Huaxiao and Zhang, Guibin and Zhang, Xiaofei and Chen, Ziang and Zhang, Zhaowei and Zhang, Xiaoyuan and Zhu, Song-Chun and Feng, Xue},
journal={arXiv preprint arXiv:2509.14295},
year={2025}
}
9 commits
1 commits
Paper | Project Page | Code
AEGIS (Automated Error Generation and Identification for Multi-Agent Systems) is a large-scale dataset and benchmark for detecting errors in Multi-Agent Systems (MAS). It addresses the critical lack of large-scale, diverse datasets with precise, ground-truth error labels for MAS, which has hampered research in understanding MAS error modes.
By systematically injecting controllable and traceable errors into initially successful trajectories, AEGIS creates a rich dataset of realistic failures. This is achieved using a context-aware, LLM-based adaptive manipulator that performs sophisticated attacks like prompt injection and response corruption to induce specific, predefined error modes. The dataset enables the development and evaluation of robust error detection methods across multiple MAS frameworks and supports the error identification task.
To generate an error dataset using AEGIS, you can use the following Python snippet, as provided in the GitHub repository:
from aegis_core.malicious_factory import MaliciousFactory
from aegis_core.agent_systems import BaseMASWrapper
# Initialize AEGIS
factory = MaliciousFactory()
# Load a MAS framework
mas_wrapper = BaseMASWrapper("dylan", config_path="configs/config_main.yaml")
# Inject errors and generate dataset
results = factory.generate_error_dataset(
mas_wrapper=mas_wrapper,
tasks=["task1", "task2"],
error_modes=["FM-1.1", "FM-2.3"],
num_samples=100
)
The malicious factory provides sophisticated error injection capabilities:
Standardized interfaces for various MAS frameworks are provided, including:
AEGIS supports 14 failure modes based on the MAST taxonomy, categorized as:
Specification Issues (FM-1.x)
Inter-Agent Misalignment (FM-2.x)
Task Verification Failures (FM-3.x)
If you use AEGIS in your research, please cite:
@article{kong2025aegis,
title={AEGIS: Automated Error Generation and Identification for Multi-Agent Systems},
author={Kong, Fanqi and Zhang, Ruijie and Yin, Huaxiao and Zhang, Guibin and Zhang, Xiaofei and Chen, Ziang and Zhang, Zhaowei and Zhang, Xiaoyuan and Zhu, Song-Chun and Feng, Xue},
journal={arXiv preprint arXiv:2509.14295},
year={2025}
}
9 commits
1 commits