Agentic Structured Graph Traversal for Root Cause Analysis of Code-related Incidents in Cloud Applications
Shengkun Cui, Rahul Krishna, Saurabh Jha, Ravishankar K. Iyer
TL;DR
Praxis tackles cloud incident RCA costs and delays by introducing an LLM-driven, structure-aware traversal over a microservice SDG and per-service hammock-block PDGs to diagnose code- and configuration-related faults. The Cross-SDG-PDG approach constrains reasoning to relevant dependency paths, enabling multi-hop RCA and outputting a comprehensive root-cause report grounded in both observability and program context. In tests on a 30-scenario Code-Cloud-RCA Benchmark, Praxis yields up to $3.1\times$ improvements in RCA accuracy and $3.8\times$ token reduction over state-of-the-art ReAct baselines, demonstrating significant gains in precision and efficiency for cloud incident analysis. The work advances practical RCA by combining graph-structured reasoning with program analysis and provides a benchmark to drive future improvements in cloud-service RCA.
Abstract
Cloud incidents pose major operational challenges in production, with unresolved production cloud incidents cost on average over $2M per hour. Prior research identifies code- and configuration-related issues as the predominant category of root causes in cloud incidents. This paper introduces PRAXIS, an orchestrator that manages and deploys an agentic workflow for diagnosing code- and configuration-caused cloud incidents. PRAXIS employs an LLM-driven structured traversal over two types of graph: (1) a service dependency graph (SDG) that captures microservice-level dependencies; and (2) a hammock-block program dependence graph (PDG) that captures code-level dependencies for each microservice. Together, these graphs encode microservice- and code-level dependencies and the LLM acts as a traversal policy over these graphs, moving between services and code dependencies to localize and explain failures. Compared to state-of-the-art ReAct baselines, PRAXIS improves RCA accuracy by up to 3.1x while reducing token consumption by 3.8x. PRAXIS is demonstrated on a set of 30 comprehensive real-world incidents that is being compiled into an RCA benchmark.
