Multi-Agent Chaos Orchestration
Chaos & SRE Sprint β Day 5
Coordinate an adversarial Chaos Injector Agent with an autonomous SRE Guardian Agent that enforces live SLI abort gates and triggers immediate rollback upon SLO breach.
In this lab playbook, you will orchestrate a dual-agent chaos campaign: the Chaos Injector Agentescalates fault severity across 3 steps while the SRE Guardian Agent continuously monitors live SLI telemetry and automatically aborts and rolls back the experiment the instant latency exceeds 150msor HTTP 5xx errors occur.
The official reference codebase for Day 5 is hosted in the repository. Clone the repository and navigate to day-5-multi-agent-chaos to run the working solution.
git clone https://github.com/letstrnsfrm-ai/chaos-engineering-roadmap.git
cd chaos-engineering-roadmap/day-5-multi-agent-chaosConfigure Automated SLI Abort Policy
Inspect abort-policy.json defining the 3-step progressive attack campaign and the hard SLI abort guardrails (maxAllowedLatencyMs: 150).
{
"experimentName": "autonomous-multi-agent-chaos-campaign",
"sliGuardrails": {
"maxAllowedLatencyMs": 150,
"maxConsecutiveErrors": 2,
"autoRollbackOnBreach": true
},
"attackSequence": [
{ "step": 1, "name": "Mild Latency Probe (30ms)", "config": { "latencyMs": 30, "dbDeadlockActive": false } },
{ "step": 2, "name": "Regional Partition Failover", "config": { "latencyMs": 20, "partitionPrimaryRegion": true } },
{ "step": 3, "name": "Severe Latency + Deadlock Breach (180ms)", "config": { "latencyMs": 180, "dbDeadlockActive": true } }
]
}Run Dual-Agent Campaign & Verify Emergency Rollback
Execute the multi-agent orchestrator and verify that Steps 1 and 2 pass, Step 3 trips the SLI abort guardrail, and the SRE Guardian immediately restores steady state.
npm run test:day5- Configured progressive multi-step fault escalation with quantitative SLI abort guardrails.
- Verified the SRE Guardian Agent halted the experiment immediately when Step 3 breached the 150ms latency ceiling.
- Confirmed automated rollback restored 200 COMMITTED steady state without manual intervention.
π§ Knowledge Check
Why is an automated SLI Abort Gate (Emergency Stop) mandatory when running autonomous chaos agents in production or pre-production environments?