Abstract
AI for IT Operations (AIOps) aims to automate complex operational tasks, such as fault localization and root cause analysis, to reduce human workload and minimize customer impact. While traditional DevOps tools and AIOps algorithms often focus on addressing isolated operational tasks, recent advances in Large Language Models (LLMs) and AI agents are revolutionizing AIOps by enabling end-to-end and multitask automation. This paper envisions a future where AI agents autonomously manage operational tasks throughout the entire incident lifecycle, leading to self-healing cloud systems, a paradigm we term AgentOps. Realizing this vision requires a comprehensive framework to guide the design, development, and evaluation of these agents. To this end, we present AIOPSLAB, a framework that not only deploys microservice cloud environments, injects faults, generates workloads, and exports telemetry data but also orchestrates these components and provides interfaces for interacting with and evaluating agents. We discuss the key requirements for such a holistic framework and demonstrate how AIOPSLAB can facilitate the evaluation of next-generation AIOps agents. Through evaluations of state-of-the-art LLM agents within the benchmark created by AIOPSLAB, we provide insights into their capabilities and limitations in handling complex operational tasks in cloud environments.
Introduction
As cloud systems evolve into hyper-scale microservice architectures, manual management has become increasingly untenable for human operators. While AIOps has traditionally focused on siloed tasks—such as anomaly detection or root cause analysis—the ultimate goal is AgentOps: a vision of "self-healing clouds" where AI agents autonomously manage the entire incident lifecycle. However, the field lacks a standardized, dynamic environment for testing these agents. Existing benchmarks often rely on static datasets that fail to capture the interactive and messy nature of live cloud operations. AIOpsLab addresses this gap by providing a comprehensive "gym" for evaluating autonomous cloud agents.
The AIOpsLab Framework
AIOpsLab is designed to orchestrate live microservice deployments, inject realistic faults, and evaluate agent performance in real-time. The framework consists of several core components:
- The Orchestrator: Manages the lifecycle of both the agent and the cloud environment, serving as the central engine for experiments.
- Agent-Cloud Interface (ACI): A specialized API tailored for LLMs, providing clean hooks for telemetry (e.g.,
get_logs,get_metrics) and action execution (e.g.,exec_shell). - Fault Library and Generator: Utilizes tools like ChaosMesh to inject a variety of symptomatic (e.g., network loss) and functional (e.g., misconfigurations) faults.
The framework categorizes operational tasks into a four-level taxonomy of increasing difficulty: Detection, Localization, Root Cause Analysis (RCA), and Mitigation.
Experimental Setup and Benchmark
The AIOpsLab benchmark utilizes two popular open-source microservice applications from DeathStarBench: SocialNetwork and HotelReservation. The authors curated a suite of 48 unique problems based on 10 distinct fault types, including revoked authorization privileges and incorrect scaling. Four LLM-based agent baselines were evaluated: GPT-3.5-Turbo, GPT-4-Turbo, ReAct (a reasoning and acting framework), and FLASH (a workflow automation agent).
Results and Analysis
The evaluation revealed significant performance gaps between models and task types. FLASH emerged as the top performer with an overall accuracy of 59.32%, followed by GPT-4-W-SHELL at 49.15%. In contrast, GPT-3.5 struggled significantly, achieving only 15.25% accuracy.
A critical finding was the sharp decline in performance as task complexity increased. While detection is largely successful (FLASH achieved 100% accuracy), mitigation remains a significant challenge, with even the best agents maxing out at approximately 54%.
As shown in the figure above, accuracy tends to plateau after 10 to 15 steps. Agents that fail to solve the problem within this window often succumb to "information overload," where excessive log data exhausts the context window or leads to reasoning loops. Simple models like GPT-3.5 often get stuck in infinite loops of the same error, whereas more advanced agents like ReAct demonstrate an ability to self-correct based on error messages.
Conclusion
AIOpsLab provides a necessary foundation for the development of autonomous cloud agents. While current LLMs show promise in detection and basic localization, the "final frontier" of mitigation requires improved multi-step planning and better telemetry filtering to prevent context exhaustion. Future work will focus on refining agent reasoning through qualitative evaluation and optimizing the cost-efficiency of these autonomous systems.
Summary updated