Get GenAI guide

Access HaxiTAG GenAI research content, trends and predictions.

Tuesday, September 9, 2025

Morgan Stanley’s DevGen.AI: Reshaping Enterprise Legacy System Modernization Through Generative AI

As enterprises increasingly grapple with the pressing challenge of modernizing legacy software systems, Morgan Stanley has unveiled DevGen.AI—an internally developed generative AI tool that sets a new benchmark for enterprise-grade modernization strategies. Built upon OpenAI’s GPT models, DevGen.AI is designed to tackle the long-standing issue of outdated systems—particularly those written in languages like COBOL—that are difficult to maintain, adapt, or scale within financial institutions.

The Innovation: A Semantic Intermediate Layer

DevGen.AI’s most distinctive innovation lies in its use of an “intermediate language” approach. Rather than directly converting legacy code into modern programming languages, it first translates source code into structured, human-readable English specifications. Developers can then use these specs to rewrite the system in modern languages. This human-in-the-loop paradigm—AI-assisted specification generation followed by manual code reconstruction—offers superior adaptability and contextual accuracy for the modernization of complex, deeply embedded enterprise systems.

By 2025, DevGen.AI has analyzed over 9 million lines of legacy code, saving developers more than 280,000 working hours. This not only reduces reliance on scarce COBOL expertise but also provides a structured pathway for large-scale software asset refactoring across the firm.

Application Scenarios and Business Value at Morgan Stanley

DevGen.AI has been deployed across three core domains:

1. Code Modernization & Migration

DevGen.AI accelerates the transformation of decades-old mainframe systems by translating legacy code into standardized technical documentation. This enables faster and more accurate refactoring into modern languages such as Java or Python, significantly shortening technology upgrade cycles.

2. Compliance & Audit Support

Operating in a heavily regulated environment, financial institutions must maintain rigorous transparency. DevGen.AI facilitates code traceability by extracting and describing code fragments tied to specific business logic, helping streamline both internal audits and external regulatory responses.

3. Assisted Code Generation

While its generated modern code is not yet fully optimized for production-scale complexity, DevGen.AI can autonomously convert small to mid-sized modules. This provides substantial savings on initial development efforts and lowers the barrier to entry for modernization.

A key reason for Morgan Stanley’s choice to build a proprietary AI tool is the ability to fine-tune models based on domain-specific semantics and proprietary codebases. This avoids the semantic drift and context misalignment often seen with general-purpose LLMs in enterprise environments.

Strategic Insights from an AI Engineering Milestone

DevGen.AI exemplifies a systemic response to technical debt in the AI era, offering a replicable roadmap for large enterprises. Beyond showcasing generative AI’s real-world potential in complex engineering tasks, the project highlights three transformative industry trends:

1. Legacy System Integration Is the Gateway to Industrial AI Adoption

Enterprise transformation efforts are often constrained by the inertia of legacy infrastructure. DevGen.AI demonstrates that AI can move beyond chatbot interfaces or isolated coding tasks, embedding itself at the heart of IT infrastructure transformation.

2. Semantic Intermediation Is Critical for Quality and Control

By shifting the translation paradigm from “code-to-code” to “code-to-spec,” DevGen.AI introduces a bilingual collaboration model between AI and humans. This not only enhances output fidelity but also significantly improves developer control, comprehension, and confidence.

3. Organizational Modernization Amplifies AI ROI

Mike Pizzi, Morgan Stanley’s Head of Technology, notes that AI amplifies existing capabilities—it is not a substitute for foundational architecture. Therefore, the success of AI initiatives hinges not on the models themselves, but on the presence of a standardized, modular, and scalable technical infrastructure.

From Intelligent Tools to Intelligent Architecture

DevGen.AI proves that the core enterprise advantage in the AI era lies not in whether AI is adopted, but in how AI is integrated into the technology evolution lifecycle. AI is no longer a peripheral assistant; it is becoming the central engine powering IT transformation.

Through DevGen.AI, Morgan Stanley has not only addressed legacy technical debt but has also pioneered a scalable, replicable, and sustainable modernization framework. This breakthrough sets a precedent for AI-driven transformation in highly regulated, high-complexity industries such as finance. Ultimately, the value of enterprise AI does not reside in model size or novelty—but in its strategic ability to drive structural modernization.

Related topic:

How to Get the Most Out of LLM-Driven Copilots in Your Workplace: An In-Depth Guide
Empowering Sustainable Business Strategies: Harnessing the Potential of LLM and GenAI in HaxiTAG ESG Solutions
The Application and Prospects of HaxiTAG AI Solutions in Digital Asset Compliance Management
HaxiTAG: Enhancing Enterprise Productivity with Intelligent Knowledge Management Solutions
Empowering Enterprise Sustainability with HaxiTAG ESG Solution and LLM & GenAI Technology
The Application of HaxiTAG AI in Intelligent Data Analysis
How HaxiTAG AI Enhances Enterprise Intelligent Knowledge Management
Effective PR and Content Marketing Strategies for Startups: Boosting Brand Visibility
Leveraging HaxiTAG AI for ESG Reporting and Sustainable Development