A Multi-Agent RAG Framework for Regulatory Compliance Checking of Software Requirements
Ensuring compliance with regulations poses considerable challenges for software development, particularly during the requirements specification phase. Traditional methods rely heavily on manual inspections that are time-consuming, and prone to errors. This research proposes an innovative framework that leverages the synergy of multiple AI agents to automate software requirement compliance verification partially. The framework integrates Large Language Models (LLMs), prompt engineering, and Retrieval-Augmented Generation (RAG) to analyze, detect, and revise non-compliant requirements. The core of our proposal lies in multi-agent communication, where distinct AI agents collaborate to achieve the overarching goal of compliance checking. LLMs comprehend requirements specifications, while prompt engineering guides LLMs towards compliance-related aspects. The RAG techniques detect non-compliant requirements and suggest changes. Finally, a robust Human-in-the-Loop mechanism ensures accuracy, reliability, and adaptability. A tool, available online, is implemented to translate the technology for effective application. We discuss its ability to identify non-compliant requirements in an extensive experimental evaluation.
Authors
- Agostino Cortesi (ORCID: https://orcid.org/0000-0002-0946-5440)
- Souvick Das (ORCID: https://orcid.org/0000-0002-3314-2537)
- Novarun Deb (ORCID: https://orcid.org/0000-0003-3680-3625)
- Nabendu Chaki
Institutions
- University of Calcutta (IN)
- Ca' Foscari University of Venice (IT)
- University of Calgary (CA)
- University of Luxembourg (LU)
Publication Details
- Journal
- ACM Transactions on Software Engineering and Methodology
- Published
- 2025-12-22
- DOI
- https://doi.org/10.1145/3785472
- Primary Topic
- Multi-Agent Systems and Negotiation
- Type
- article
- Field-Weighted Citation Impact
- 0.00