• 151

    Projects submitted

  • 112

    Published projects

  • 70

    Comments left

  • 116

    Number of votes

  • 42

    days until voting ends

← 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 17

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
      • Emilio Patricio

        Emilio Patricio

        Grupo GarLo

        CIO / CDTO

        Successful legacy modernization starts with understanding what the business cannot afford to lose. This project puts that principle into practice by using AI to uncover embedded business rules and translate them into traceable specifications, with human validation at every critical step. Its greatest value lies in making institutional knowledge reusable and giving teams a stronger foundation for modernization decisions. A practical example of AI supported by engineering discipline and clear accountability.
        Reply
    • Luis Angel Rodríguez Alemán

      Luis Angel Rodríguez Alemán

      Clinical Data Ingestion Engine

      CIO

      a recurring question nowadays is whether AI is producing enough ROI. And I guess this project directly addresses that question: when AI is put to work in tasks where it can excel at, it will definitely yield a good ROI. I praise the innovative approach of this project and specially like the third stage: instead of directly producing new, modern software based on the AI-driven analysys of the legacy systems, they decided to do things in the orthodox way: first produce requirements and requirement analysis in order to produce good-quality software (not only modern one). Congratulations, therefore, Emilio and your team on this outstanding project.
      Reply
      • Emilio Patricio

        Emilio Patricio

        Grupo GarLo

        CIO / CDTO

        Thank you very much for your thoughtful feedback and kind words. You have captured the essence of our approach.
        AI should not replace sound software engineering principles; it should amplify them. Modernizing legacy systems is not simply about translating old code into new technologies, but about recovering business knowledge, understanding requirements, and building better, more sustainable software.
        The real ROI of AI comes from applying it where it creates measurable business value, reduces risk, accelerates execution, and improves quality.
        Technology evolves, but the fundamentals of good engineering remain relevant. Combining AI capabilities with proven methodologies, human expertise, and common sense is, in my view, the foundation of successful digital transformation.
        Thank you again for recognizing our team's work and vision!
        Reply
  • Carlos Ramirez

    Carlos Ramirez

    Executive Technology & Digital Transformation

    CIO & CTO

    One of the biggest needs for companies is to modernize their technological infrastructure, but this goes beyond just the technology itself.

    It also involves improving processes, working on technology adoption, creating an investment plan, and establishing technology governance.

    Excellent project, Emilio, for transforming a company through technology.
    Reply
    • Emilio Patricio

      Emilio Patricio

      Grupo GarLo

      CIO / CDTO

      Thank you! I fully agree: modernization requires aligning technology with processes, people, investment priorities, and clear governance. In this project, AI helps us recover critical business knowledge from legacy systems, while human validation keeps business needs at the center. Lasting value comes when teams adopt the changes and the organization can sustain them.
      Reply
  • Enrique Alonso Rodriguez

    Enrique Alonso Rodriguez

    CEN del PAN

    IT Director

    Many modernization initiatives fail because organizations underestimate how much critical business knowledge is hidden inside legacy applications. This project addresses that challenge head-on by combining AI-powered reverse engineering with expert validation and governance. Creating a traceable path from legacy behavior to modern architecture is a significant achievement and a valuable contribution to the future of enterprise transformation. Congratulations Emilio Patricio and the entire Grupo GarLo team.
    Reply
    • Emilio Patricio

      Emilio Patricio

      Grupo GarLo

      CIO / CDTO

      Thank you for your thoughtful feedback and for recognizing the Grupo GarLo team! You’ve highlighted the core of our approach: understanding and preserving the business knowledge embedded in legacy systems before changing them. AI helps accelerate discovery, while expert validation and traceability give us the evidence to make informed modernization decisions. Making that knowledge accessible to future teams is one of the most valuable outcomes of this work.
      Reply
  • Prasad Tripurari

    Prasad Tripurari

    Ramoji Group IT

    CTO

    Nice one and demonstrating theutilization of AI strategically is very well.
    Reply
    • Emilio Patricio

      Emilio Patricio

      Grupo GarLo

      CIO / CDTO

      Thank you! For me, using AI strategically starts with a simple question: what business problem are we trying to solve, and how will we know we’ve made a difference?
      Reply
  • Farhan Tufail

    Farhan Tufail

    Invictus Solutions Pvt Ltd

    CEO and CITO

    Thank you for sharing this excellent overview. The AI-driven legacy modernization methodology you have outlined is impressive and addresses a fundamental industry challenge — organizations not fully understanding the systems they need to replace.
    I particularly appreciate:
    • The structured four-stage approach
    • The human validation governance layer
    • The focus on traceability from legacy behavior to modern implementation
    • The practical stance that AI should generate specifications, not directly rewrite code
    The paradigm shift from assumption-based rewriting to discovery-and-validation-based modernization is exactly the right direction. This has the potential to significantly reduce risk and effort in legacy transformation projects.
    Would love to see some real-world case studies and measurable outcomes as this evolves. Congratulations to the team!
    Reply
    • Emilio Patricio

      Emilio Patricio

      Grupo GarLo

      CIO / CDTO

      Thank you for such a thoughtful review. Your point about understanding the system before replacing it gets to the heart of the work. A few lines of legacy code might look like a workaround until someone in operations explains why a store needs them to process a return. AI can surface that behavior and draft a specification. The people who rely on it can tell us whether to preserve it, change it, or retire it.
      I agree that the next step is a case study with measurable outcomes. I’d start with one business process and report three things: how long it took to produce a validated specification, how many undocumented rules the team confirmed, and how many of those rules have passing acceptance tests in the new system. That would give us a concrete basis for judging where the approach saves effort and reduces risk.
      Reply
  • RUBEN ROSETE

    RUBEN ROSETE

    Televisa Univision Inc

    Depury Director of the Content Creation Engineering

    La ingeniería inversa y la generación de especificaciones impulsadas por IA para sistemas heredados transforman el mantenimiento de software antiguo —como COBOL o sistemas monolíticos sin documentar— de una tarea arqueológica manual a un proceso semi-automatizado de alto impacto. Mediante modelos de lenguaje avanzados combinados con análisis estático de código, es posible extraer reglas de negocio ocultas, mapear dependencias de datos y generar documentación moderna (como diagramas, historias de usuario o especificaciones de API) junto con pruebas automatizadas que protegen el comportamiento original antes de cualquier migración.

    Sin embargo, el éxito de este enfoque exige rigor técnico y supervisión humana para evitar alucinaciones en las que la IA confunda errores históricos del código con reglas de negocio válidas. Debido al tamaño masivo de los sistemas empresariales y a la sensibilidad de su código fuente, la mejor estrategia consiste en implementar arquitecturas híbridas (herramientas deterministas + LLMs) en entornos privados, aplicando una validación constante por expertos del dominio y avanzando de forma incremental módulo por módulo.

    Felicidades Emilio que gran proyecto.
    Reply
    • Emilio Patricio

      Emilio Patricio

      Grupo GarLo

      CIO / CDTO

      Muchas gracias por tus comentarios y por enriquecer la reflexión con una perspectiva tan acertada.

      Coincido plenamente: el verdadero valor de la IA en la modernización de sistemas heredados no está en generar código nuevo, sino en recuperar el conocimiento del negocio que quedó atrapado durante décadas en el código existente. El gran desafío no es tecnológico, sino de gobernanza y entendimiento.

      No todo lo que hace un sistema legado es una regla de negocio; muchas veces simplemente perpetúa errores históricos.

      Por eso, nuestra propuesta parte de un principio fundamental: la IA descubre y documenta, las herramientas deterministas verifican y los expertos del negocio validan.

      Modernizar no significa reescribir lo que existe, sino comprender qué debemos preservar, qué debemos corregir y qué debemos transformar.

      ¡Muchas gracias por tus palabras y por aportar a esta conversación!
      Reply
  • Alexandro Brito

    Alexandro Brito

    Grupo Nichos

    CIO

    This project marks a milestone in technological maturity in Mexico by tackling one of the biggest bottlenecks to corporate competitiveness: reliance on critical, undocumented legacy systems. Rather than blindly generating new code, the initiative combines large language models, Retrieval-Augmented Generation (RAG), and static code analysis with a mandatory human-validation layer to extract, audit, and preserve hidden business rules before modernization. Spanning 49,000 human-hours executed entirely in Mexico, this governance-first methodology minimizes operational risk, transforms technical debt into reusable engineering assets, and positions domestic IT leadership as a creator of world-class solutions.
    Reply
    • Emilio Patricio

      Emilio Patricio

      Grupo GarLo

      CIO / CDTO

      Thank you for this insightful assessment. You have captured the essence of our initiative: modernization is not simply about replacing legacy technology, but about preserving business knowledge, mitigating operational risks, and building sustainable technological capabilities.
      We firmly believe that AI should amplify human expertise, not replace engineering judgment. Combining artificial intelligence, software engineering, and governance allows us to transform decades of technical debt into strategic digital assets.
      Equally important, this initiative demonstrates that Mexico has the talent, expertise, and technological leadership to develop world-class solutions, rather than merely consume them.
      The real transformation is not in generating new code, but in understanding, preserving, and evolving the business intelligence embedded within it.
      Technology is the enabler. Human intelligence, governance, and business value are the driving forces.
      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.