RIVA: Leveraging LLM Agents for Reliable Configuration Drift Detection
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 multiagent 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 AIOp-sLab 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.
Cite this item
Abuzakuk, S. O. C., Crijns, L., Kermarrec, A.-M., Pires, R., & de Vos, M. (2026). RIVA: Leveraging LLM Agents for Reliable Configuration Drift Detection. Proceedings of the Sixth European Workshop on Machine Learning and Systems, 499–509. https://doi.org/10.1145/3805621.3807644
Click Copy to copy the citation, or select the text manually.
3805621.3807644.pdf
Main Document
Published version
openaccess
CC BY
1010.11 KB
Adobe PDF
9d0dec76bf06dc73f6b40c16fe71031a