From DevOps ‘Heart Attacks’ to AI-Powered Diagnostics With Traversal’s AI Agents

Anish Agarwal and Raj Agrawal, co-founders of Traversal, discuss how their AI agents automate root cause analysis (RCA) for critical system failures. They detail their agent's architecture, which leverages causal inference and large-scale computation to systematically find the root cause in minutes, and argue that the rise of AI-generated code makes AI-powered debugging an essential capability for modern software engineering.

4 min read
From DevOps ‘Heart Attacks’ to AI-Powered Diagnostics With Traversal’s AI Agents
source: https://www.youtube.com/watch?v=7hBG5ShQ2BA

The Evolving Role of SRE and DevOps

The role of a Site Reliability Engineer (SRE) can be understood through a healthcare analogy. High-severity incidents are like heart attacks—an immediate crisis that must be solved now. The constant stream of alerts and deployment checks is like a chronic illness—a debilitating daily pain that prevents long-term planning. The ideal state, however, is strategic infrastructure planning, which is like life-hacking—creative, forward-looking optimization.

Currently, most SREs live in a state of constant crisis management. The goal of AI agents is to automate the “heart attack” and “chronic illness” stages. This frees up DevOps and SRE professionals to focus on the more creative and fulfilling work of designing the infrastructure of the future, transforming their roles from emergency responders to strategic architects.

The Challenge of AI-Generated Code

The proliferation of AI coding assistants is creating a “tale of two worlds”:

  • Fast Fashion Code: For prototypes and non-critical applications, “vibe coding” with AI is effective. Reliability is secondary, as the code is often disposable and lacks craftsmanship.
  • Mission-Critical Code: When AI-generated code is used in enterprise systems (e.g., payments, financial services, security), it introduces significant reliability risks. The code may pass local unit tests but cause unforeseen failures when interacting with the broader, complex system.

The core problem is that when AI writes the code, human engineers lose the context and deep system knowledge required for effective debugging. This will either force companies to disallow AI coding tools for critical systems or, more likely, create an urgent need for AI-powered maintenance and troubleshooting systems to manage the resulting downtime.

Limitations of Traditional Root Cause Analysis (RCA)

The typical lifecycle of a production incident is inefficient and chaotic. It often begins with a customer complaint, escalates through a “game of telephone” across various teams, and culminates in a Slack “war room” with 30-50 people. Resolution frequently depends on a single “10x engineer” with years of tribal knowledge who can intuit the solution.

Despite being the second-largest software spend for most companies, observability platforms primarily solve the problem of data creation and visualization (MELT: metrics, events, logs, traces). The complex, manual workflow of troubleshooting that sits on top of this data has remained largely unchanged, leaving a critical gap for AI agents to fill.

Traversal’s AI Agent Architecture

Traversal’s agents are designed to automate the complex workflow of troubleshooting. Their architecture is built on several key principles:

  • Systematic, Not Intuitive: The agents do not try to mimic the intuitive, context-driven leaps of a human expert. Instead, they perform a more systematic and sequential search, leveraging large-scale computation to traverse the system’s dependency graph and methodically uncover the path to the root cause.

  • Two-Phase Approach:

    • Offline Phase: The system first builds a rich dependency map of the customer’s environment. It uses LLMs to understand semantic relationships in logs and code. Crucially, it also applies statistical methods drawn from the founders’ academic research in causal inference and gene regulatory networks to identify causal links from system behavior.
    • Online Phase: When an incident occurs, the agent uses this pre-computed dependency map along with real-time incident data to intelligently and efficiently navigate the system to pinpoint the root cause.
  • Key Architectural Decisions:

    • The system only requires read-only access to customer data, simplifying security reviews and accelerating adoption.
    • It is LLM-agnostic, designed to integrate with a customer’s existing enterprise contract with a provider like OpenAI or Anthropic, avoiding lengthy security and procurement hurdles.
    • A critical lesson learned from early deployments was to move complexity from hardcoded prompts to inference-time compute. This allows the agent to leverage the improving reasoning capabilities of foundation models and has been key to achieving over 90% accuracy in 2-4 minutes for incidents where the answer exists in the data.

The Future of Observability and SRE

The rise of AI-powered operations will fundamentally change the SRE landscape:

  • AI-Consumable Data: Logging practices will evolve. Instead of being written for human scrolling, logs will be structured for AI consumption, containing richer semantic information and business logic to give agents the context they need. The art of instrumentation will shift toward creating this AI-readable data.

  • New SRE Skills: SREs will need to become experts in the failure modes of AI systems, which differ from traditional software. Their role will involve marrying classic reliability principles with a new fluency in AI.

  • Reliable “Vibe Coding”: With a safety net of AI-powered testing and automated debugging tools like Traversal, it may eventually become feasible to use AI-generated code even in the most critical systems. The burden of maintenance and reliability will shift from the human developer to autonomous AI systems.

Share post

Stay In The Loop! Subscribe to Our Newsletter.

Get updates straight to your inbox. No spam, just useful content.

Recommended for You