A Survey on AgentOps: Categorization, Challenges, and Future Directions

Zexin Wang, Jingjing Li, Quan Zhou, Haotian Si, Yuanhao Liu, Jianhui Li, Gaogang Xie, Fei Sun, Dan Pei, Changhua PeiarXiv 2025 · DOI

Introduction

As Large Language Model (LLM)-based agents transition from experimental demonstrations to production-grade tools, the need for robust operation and maintenance becomes critical. This survey introduces AgentOps, a specialized framework designed to handle the unique and often unpredictable failures of agentic systems. Unlike traditional software, agents operate in a stochastic manner, necessitating a shift from standard DevOps to a more nuanced approach that bridges deterministic code and AI reasoning.

The Observability Gap in Agentic Systems

Traditional software is deterministic; a bug typically results in a consistent failure. In contrast, LLM agents may fail due to "hallucinations," infinite loops (referred to as "neural howlround"), or memory issues like being "lost in the middle." While research has focused on building more capable agents, the maintenance of deployed systems has been largely neglected.

When a multi-agent system fails, identifying the root cause is challenging. Is it the underlying infrastructure (System-centric), the LLM's inherent limitations (Model-centric), or the guiding prompts (Orchestration-centric)? AgentOps addresses this "observability gap" by defining a taxonomy of failures and a structured management lifecycle.

The AgentOps Framework

The paper defines the AgentOps framework through four key stages:

  1. Monitoring: Beyond standard metrics like CPU usage and latency, AgentOps tracks Model Data (e.g., logits, attention maps) and Checkpoint Data (snapshots of an agent’s memory and environment).
  2. Anomaly Detection: Failures are categorized into Intra-agent issues, such as reasoning hallucinations or tool-calling errors, and Inter-agent issues, including communication redundancy or emergent "mob" behaviors.
Example of an agent hallucination during task execution, where the agent ignores correct search results to provide a wrong answer.
  1. Root Cause Analysis (RCA): A "Vanguard" strategy is proposed, utilizing Interactive Counterfactual Simulation. This allows developers to "time-travel" to a specific checkpoint, modify variables (like prompts), and re-run the execution to isolate the failure.
  2. Resolution: Solutions involve System Design (guardrails, voting mechanisms, rollbacks) and Prompt Optimization (self-correction loops).
The architecture of Agentic Systems involves complex communication and collaboration between individual agents, each possessing its own memory, reasoning, and action cycles.

Key Insights and Performance Benchmarks

AgentOps shifts the focus from "what" happened to "why" it happened. By analyzing an agent's "inner monologue" and utilizing "Cognitive State Snapshots," developers can treat failures as experimental science. However, the current state of agent performance remains a challenge. Success rates on complex benchmarks are notably low:

  • GAIA (General AI Assistants): ~32.1%
  • WebArena: ~37.2%
  • SWE-bench (Software Engineering): ~33.8%

These figures underscore that for complex tasks, the "Ops" component is currently as vital as the initial development.

Future Directions

The path forward for AgentOps involves overcoming significant hurdles, such as the "data tsunami" created by high-resolution monitoring and the causal ambiguity between model and orchestration failures. The ultimate goal is the development of Self-Healing Agents capable of real-time self-diagnosis and resolution using integrated AgentOps frameworks.

Summary updated

BibTeX
@misc{wang2025survey,
  author = {Zexin Wang and Jingjing Li and Quan Zhou and Haotian Si and Yuanhao Liu and Jianhui Li and Gaogang Xie and Fei Sun and Dan Pei and Changhua Pei},
  title = {{A Survey on AgentOps: Categorization, Challenges, and Future Directions}},
  year = {2025},
  eprint = {2508.02121},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.02121},
}
Figure