[Paper Review] RIVA: Leveraging LLM Agents for Reliable Configuration Drift Detection
RIVA is a two-agent system (Verifier and Tool Generation) that robustly verifies IaC-defined infrastructure against drift by cross-validating multiple independent tool calls, improving reliability when some tools give misleading outputs.
Infrastructure as code (IaC) tools automate cloud provisioning but verifying that deployed systems remain consistent with the IaC specifications remains challenging. Such configuration drift occurs because of bugs in the IaC specification, manual changes, or system updates. Large language model (LLM)-based agentic AI systems can automate the analysis of large volumes of telemetry data, making them suitable for the detection of configuration drift. However, existing agentic systems implicitly assume that the tools they invoke always return correct outputs, making them vulnerable to erroneous tool responses. Since agents cannot distinguish whether an anomalous tool output reflects a real infrastructure problem or a broken tool, such errors may cause missed drift or false alarms, reducing reliability precisely when it is most needed. We introduce RIVA (Robust Infrastructure by Verification Agents), a novel multi-agent system that performs robust IaC verification even when tools produce incorrect or misleading outputs. RIVA employs two specialized agents, a verifier agent and a tool generation agent, that collaborate through iterative cross-validation, multi-perspective verification, and tool call history tracking. Evaluation on the AIOpsLab benchmark demonstrates that RIVA, in the presence of erroneous tool responses, recovers task accuracy from 27.3% when using a baseline ReAct agent to 50.0% on average. RIVA also improves task accuracy 28% to 43.8% without erroneous tool responses. Our results show that cross-validation of diverse tool calls enables more reliable autonomous infrastructure verification in production cloud environments.
Motivation & Objective
- Address configuration drift in IaC by enabling robust verification even with unreliable tooling.
- Leverage multi-agent collaboration to cross-validate tool outputs and reduce false alarms.
- Evaluate RIVA against a ReAct baseline on the AIOpsLab benchmark under faulty-tool conditions.
- Quantify how tool call history and the hyperparameter K affect verification reliability.
Proposed method
- Introduce a two-agent architecture: Verifier Agent and Tool Generation Agent that share a Tool Call History.
- Use cross-validation across K independent tool calls per property to determine drift reliability.
- Have the Tool Generation Agent propose diverse, distinct tool calls for the same property and record results in Tool History.
- Require K verified tool paths before a property is concluded as satisfied or violated.
- Evaluate using modified AIOpsLab benchmarks with unreliable tools to simulate silent tool errors.
Experimental results
Research questions
- RQ1How can agentic AI verify IaC compliance reliably when tools produce incorrect outputs?
- RQ2Does cross-validation across multiple tool calls improve drift detection accuracy versus a single-agent baseline?
- RQ3What is the impact of the diagnostic-path parameter K on verification success and efficiency?
- RQ4How does RIVA perform on localization, detection, and analysis tasks under erroneous tool responses?
Key findings
- RIVA improves average task accuracy from 27.3% (baseline ReAct with faulty tools) to 50.0% on average under erroneous tool responses.
- Without erroneous tools, RIVA raises average accuracy from 28% (ReAct) to 43.8%.
- RIVA with K=2 outperforms ReAct across tasks, achieving higher success rates (e.g., 43.75% vs. 28.00% for some settings).
- RIVA generally requires fewer steps and fewer tokens than ReAct, indicating greater efficiency (e.g., most tasks completed within 15 steps vs. broader ReAct trajectories; 38,000 vs. 78,000 tokens with correct tools).
- With erroneous tools, at most 17 steps are needed for RIVA, while some ReAct runs exceed 37% of the time hitting 45 steps.
- Increasing K to 3 yields zero reported success due to environmental constraints in AIOpsLab, highlighting K’s critical role and environment dependence.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.