• 151

    Projects submitted

  • 74

    Published projects

  • 3

    Comments left

  • 6

    days until voting starts

← Back to list

AI-Driven Reverse Engineering and Specification Generation for Legacy

  • Project manager on customer side

    Emilio Patricio

    Grupo GarLo

    CIO / CDTO

  • Category

  • Nomination

  • Goals

    The project aims to transform the modernization of legacy systems by using Generative AI to reverse-engineer source code, databases, interfaces, integrations, configuration files and technical dependencies, converting fragmented legacy knowledge into structured, traceable documentation and business specifications.

    The objective is to significantly reduce the time, cost and human dependency involved in understanding legacy platforms while preserving critical business rules and system behavior. The resulting specifications become the foundation for designing modern architectures and generating new software with AI-assisted engineering, creating a controlled bridge from legacy code to modern platforms.

    The approach seeks to make legacy modernization faster, more scalable, auditable and less dependent on undocumented institutional knowledge.

  • Timeline

    november, 2025 — november, 2026
  • Project completion year

    2026

  • Project scale

    49000 human-hours
  • Results

    The project established a repeatable AI-driven methodology for understanding and modernizing legacy systems, transforming source code and fragmented technical artifacts into structured architecture documentation, data models, business rules and validated functional and technical specifications.

    It significantly accelerated the discovery and documentation phase, reducing dependence on scarce legacy-system experts and converting previously undocumented knowledge into reusable engineering assets. The approach also created traceability between legacy behavior, business requirements, specifications and future implementations.

    By separating AI-driven analysis from human validation and governance, the project established a controlled foundation for AI-assisted modernization, reducing the risk of losing critical business logic during migration.

    Most importantly, the project created a scalable modernization model that can be reused across different legacy applications.

  • Project uniqueness

    The innovation is not simply using AI to generate code; it is using AI to create a controlled knowledge and engineering layer between legacy systems and their modernization.

    The solution establishes a continuous chain: Legacy Code → AI Reverse Engineering → Architecture & Dependency Model → Business Rules → Data Model → Functional & Technical Specifications → Modern Architecture → AI-Assisted Development.

    AI analyzes heterogeneous artifacts and correlates source code, database structures, stored procedures, interfaces, configurations and dependencies to reconstruct how the system actually works. Human architects and business experts validate the resulting knowledge, creating governance and traceability before any new code is generated.

    This approach converts undocumented legacy complexity into reusable engineering assets and creates a repeatable modernization factory rather than a one-time migration exercise.

  • Software used

    Generative AI / LLM platforms; AI coding assistants; source-code repositories; VB6 and modern development environments; SQL Server and database analysis tools; static code analysis; AST/code parsing; Git; API analysis; documentation and knowledge repositories; vector databases/RAG; Python; REST APIs; CI/CD and DevSecOps tools; cloud infrastructure.

  • Solution from the Global CIO catalog

    The project does not use solutions from the Global CIO catalog

  • Project implementation complexity

    The principal complexity was not Generative AI itself, but establishing reliability, traceability and governance when analyzing mission-critical legacy systems.

    Legacy applications contain inconsistent coding practices, undocumented dependencies, duplicated logic, obsolete technologies and business rules embedded in databases and code. AI therefore cannot be treated as an autonomous source of truth.

    The project combined code analysis, AI reasoning, contextual retrieval, structured knowledge models and human validation. Every conclusion had to be traceable to its source artifact, with contradictions and uncertainty explicitly identified.

    The solution also had to preserve business continuity by understanding undocumented legacy behavior before modernization. The resulting architecture combines AI acceleration with engineering governance, enabling scalable modernization without compromising control, security or accountability.

  • Description

    Legacy modernization frequently begins with a fundamental problem: organizations do not fully understand the systems they need to replace. Over years of modifications, documentation becomes obsolete, business rules remain embedded in source code, database logic becomes distributed across applications and stored procedures, and critical knowledge becomes dependent on a small number of experienced developers.

    This project introduces an AI-driven engineering methodology to address that problem.

    The first stage ingests and analyzes legacy artifacts, including source code, database schemas, stored procedures, configuration files, interfaces, APIs, batch processes and technical documentation. Generative AI is used to identify application components, dependencies, data flows, architectural patterns and hidden relationships across these artifacts.

    The second stage converts the technical analysis into structured knowledge. The platform reconstructs application architecture, identifies functional modules, documents data entities and relationships, maps integrations and extracts business rules embedded in legacy logic.

    The third stage transforms this knowledge into formal specifications. Instead of asking AI to directly rewrite legacy code, the process generates functional requirements, technical requirements, use cases, process descriptions, data specifications, API definitions, acceptance criteria and modernization recommendations.

    Human validation is incorporated as a governance layer. Architects, developers and business experts review critical findings, resolve ambiguities and approve specifications before they become inputs to development.

    The fourth stage uses the validated specifications as the foundation for modern architecture and AI-assisted development. This creates a traceable relationship between the original legacy behavior, the documented business rule, the new specification and the resulting modern implementation.

    The methodology can be applied to different legacy technologies and architectures and is particularly valuable for systems where documentation is incomplete and business knowledge is embedded in decades of accumulated code.

    The project therefore changes the modernization paradigm from “rewrite what we think the legacy system does” to “discover, document, validate, specify and then modernize what the business actually depends on.”

    The expected outcome is a repeatable AI-enabled modernization capability capable of reducing analysis effort, accelerating specification creation, preserving institutional knowledge and improving confidence in legacy transformation decisions.

  • Project geography

    It's implemented only in México

  • Additional presentations

Comment 2

Only authorized users can comment.
We suggest you or register.

  • Emilio Patricio

    Emilio Patricio

    Grupo GarLo

    CIO / CDTO

    This project demonstrates how Generative AI can become a strategic enabler of legacy modernization, going beyond code generation to recover critical business knowledge, improve traceability, and reduce the risks associated with complex transformations. The combination of AI-driven analysis, human validation, and engineering governance provides a scalable and repeatable approach to modernizing legacy platforms while preserving essential business logic. A compelling example of how AI can turn technical complexity into a sustainable business capability.
    Reply
    • Emilio Patricio

      Emilio Patricio

      Grupo GarLo

      CIO / CDTO

      The primary benefit for business leaders and IT decision-makers is the ability to modernize legacy systems faster, with lower analysis costs and reduced dependency on scarce technical experts. By transforming undocumented code and fragmented system knowledge into validated business rules and technical specifications, organizations can reduce modernization risks, preserve critical business logic, improve decision-making, and accelerate the delivery of new digital capabilities. This approach enables enterprises to turn legacy complexity into a strategic advantage while maintaining business continuity, governance, and control.
      Reply
  • Customer

    Grupo GarLo

We use cookies for analytical purposes and to deliver you the best experience with our website. Continuing to the site, you agree to the Cookie Policy.