swarm

Measure emergent failures in multi-agent systems using Python.

39|4|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/swarm-ai-research/swarm --skill swarm-swarm-ai-research
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swarm
Source: https://github.com/swarm-ai-research/swarm/tree/main
Command: npx skills add https://github.com/swarm-ai-research/swarm --skill swarm-swarm-ai-research

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires swarm-safety, numpy, pandas, matplotlib, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill helps you measure emergent failures that appear when many AI agents interact, even when individual agents are safe.

Core Features & Use Cases

  • Interaction-Level Safety Metrics: Calculate metrics like illusion delta and quality gaps to assess systemic risks.
  • Governance Experiments: Test different governance mechanisms, such as audits, staking, and sanctions.
  • Multi-Agent Safety Benchmarks: Reproduce and evaluate benchmarks for various scenarios to improve safety.

Quick Start

To run a simulation with three agents, use the following command:

python examples/illusion_delta_minimal.py

Frequently Asked Questions about swarm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I measure emergent failures in multi-agent systems?

You can measure emergent failures in multi-agent systems by running Python simulations that calculate interaction-level safety metrics like illusion delta and quality gaps to assess systemic risks.

What are multi-agent safety benchmarks and how do they work?

Multi-agent safety benchmarks reproduce and evaluate various simulation scenarios to test systemic risks that appear when many AI agents interact, even when individual agents are safe.

How do I test governance mechanisms like audits and staking for AI safety?

You can test governance mechanisms for AI safety by running governance experiments with different configurations of audits, staking, and sanctions to observe their effects on multi-agent interactions.

Can I use numpy and pandas to calculate systemic risk metrics for AI agents?

Yes, you can use numpy and pandas to calculate systemic risk metrics for AI agents, as the simulation requires these dependencies to process interaction-level safety data and governance configurations.

How do I run a multi-agent simulation with three agents in Python?

To run a multi-agent simulation with three agents in Python, execute the command `python examples/illusion_delta_minimal.py` to calculate the illusion delta metric for systemic risk assessment.

What simulation scenarios do I need to assess multi-agent systemic risks?

You need simulation scenarios and governance configurations as inputs to assess multi-agent systemic risks, measuring emergent failures through safety benchmarks and interaction-level metrics.