cs.SESep 19, 2026

From Code to Requirements: Agentic Reverse Engineering of Business Rules at Enterprise Scale

Authors: Garima Agrawal, Prasun Das, Priyanka L, Minisha N, Akshay Sarvade, Hemath Manivanan, Sravani Joshna, Prasad Kalyansundaram

Organizations: Cognizant, Plano, Texas, USA

Abstract

Business requirements for enterprise software systems are rarely captured in structured form; the logic resides instead in source code, configuration files, and institutional memory. When these systems must be migrated, extended, or audited, the absence of formal requirements artifacts forces teams into expensive, knowledge-losing manual reverse engineering. This paper presents an agentic framework that autonomously generates Business Requirements Documents (bRDs) through reverse engineering of undocumented enterprise software. Seven specialized agents collaborate to discover user journeys, extract business rules, and synthesize a locked bRD from code, test suites, configuration, and available documentation, supported by static analysis tools, guided by embedded expert practitioner cognitive models, and overseen by human reviewers at controlled escalation points. Measured on actual execution traces across a real enterprise deployment, the framework generates comprehensive bRDs in under nine minutes per service, with extracted rules independently corroborated against real production defect records. In a comparable prior migration to the same target architecture, delivery required over two years; on the present programme the framework achieves a cost reduction exceeding 98% against a baseline derived from actual repository metrics using IFPUG complexity models and industry benchmark labor rates.

Figures & tables

Explore similar work

CardsList
  1. Reversa: A Reverse Documentation Engineering Framework for Converting Legacy Software into Operational Specifications for AI Agents

    May 18, 2026Sanderson Oliveira de Macedo, Ronaldo Martins da CostaSoftware EngineeringSoftware Engineering Agents

  2. ReqFusion: A Multi-Provider Framework for Automated PEGS Analysis Across Software Domains

    Mar 24, 2026Muhammad Khalid, Manuel Oriol, Yilmaz UygunRequirements EngineeringAutomated Software Engineering