Abstract
Modern cloud infrastructures are prone to frequent failures, yet traditional human-driven Site Reliability Engineering (SRE) is increasingly unable to scale with system complexity. This paper introduces STRATUS, an autonomous multi-agent system powered by Large Language Models (LLMs) designed to detect, diagnose, and mitigate cloud incidents. Central to STRATUS is a safety framework called Transactional No-Regression (TNR), which enables agents to execute state-changing actions safely by providing a robust "undo" mechanism. Our evaluations demonstrate that STRATUS significantly outperforms existing AI agents, achieving a 1.5x to 5.4x improvement in successful failure mitigation.
Introduction
In the era of hyperscale cloud computing, failures are an operational constant. Hardware malfunctions, software regressions, and configuration errors necessitate constant vigilance from Site Reliability Engineers (SREs). However, the sheer volume and complexity of these incidents have turned human intervention into a primary bottleneck.
While autonomous AI agents offer a potential path forward, their deployment in production environments is hindered by the risk of "hallucinations" or flawed execution plans that could exacerbate existing outages. STRATUS addresses this challenge by providing a structured, safe environment where agents can perform high-stakes operations—such as service restarts or node evictions—with the guarantee that the system can always be restored to its pre-intervention state.
System Architecture
STRATUS is designed as a multi-agent system where specialized LLM-based agents are orchestrated by a deterministic state machine. This approach prioritizes predictability and safety over the open-ended conversational styles common in other multi-agent frameworks.
The system comprises four primary agents:
- Detection Agent: Monitors telemetry to identify anomalies.
- Diagnosis Agent: Localizes the fault and identifies the root cause.
- Mitigation Agent: Proposes and executes remediation steps.
- Undo Agent: Reverts the system state if a mitigation attempt fails.
These agents interact with a Control Plane that manages a toolset for telemetry collection and command execution (e.g., kubectl via NL2Kubectl), while consulting Oracles to verify system health and alert status.
Transactional No-Regression (TNR)
The defining feature of STRATUS is the Transactional No-Regression (TNR) safety specification. TNR treats every mitigation attempt as a transaction, ensuring that an agent never leaves the system in a worse state than it was found.
The process follows a strict lifecycle:
- Checkpointing: The system state is captured before any action is taken.
- Bounded Risk Window: The Mitigation agent is permitted a limited number of steps (e.g., 20 commands) to resolve the issue.
- Commit or Abort: If the mitigation is successful and health metrics improve, the changes are committed. If the attempt fails or degrades health, the transaction is aborted.
- Faithful Undo: The Undo agent utilizes a stack-based reconciliation mechanism to roll back the system.
This mechanism allows the system to safely explore various mitigation strategies. By enabling safe retries, STRATUS can learn from unsuccessful attempts without risking permanent damage to the production environment.
Evaluation and Results
STRATUS was evaluated using two rigorous benchmarks: AIOpsLab, which focuses on holistic cloud incident management, and ITBench, which covers diverse IT automation tasks.
The results highlight the efficacy of the STRATUS approach:
- Mitigation Success: Using GPT-4o, STRATUS solved 69.2% of problems in AIOpsLab and 50.0% in ITBench.
- Performance Gain: This represents a 1.5x improvement over the next best agent in AIOpsLab and a 5.4x lead in ITBench.
- Impact of TNR: Ablation studies confirm that the undo-and-retry mechanism is critical. Without TNR, the success rate on AIOpsLab dropped from 69.2% to a mere 15.4%. Even allowing retries without a formal undo mechanism only yielded a 23.1% success rate, as agents struggled to fix the collateral damage of their own failed attempts.
Discussion and Conclusion
The development of STRATUS reveals several key insights for autonomous SRE. First, the ability to safely "undo" is a transformative capability for AI agents, allowing them to iterate on complex problems where a first-time success is unlikely. Second, in high-stakes environments, deterministic state machines provide the necessary guardrails that open-ended agent debates lack. Finally, strict confinement and command-level linting are essential to prevent agents from causing system hangs or executing destructive, non-reversible actions.
While current limitations include a lack of support for concurrent mitigation agents and the challenge of achieving "perfect" rollbacks in systems with external dependencies, STRATUS represents a significant step toward safe, autonomous cloud operations.
Summary updated