'Building It Ourselves': Morgan Stanley Created an AI Tool to Fix the Most Annoying Part of Coding. Here's How It Works. Morgan Stanley first introduced the AI tool in January, and it has since saved developers 280,000 hours of work.

By Sherin Shibu Edited by Melissa Malamut

Key Takeaways

  • Morgan Stanley’s new AI tool translates code in older languages into plain English.
  • The bank’s developers can then use the English specs to rewrite the code into a newer language.
  • The tool has helped Morgan Stanley's 15,000 developers save time.

Morgan Stanley built its in-house AI tool to tackle a difficult coding problem: reworking old legacy code into more updated coding languages.

Morgan Stanley introduced the AI tool, which is based on OpenAI's GPT models, in January, per The Wall Street Journal. The tool, called DevGen.AI, translates code in older languages, such as Perl (released in 1987), into plain English, which developers can then use as a basis for rewriting the code into newer languages like Python.

Related: Amazon Cloud CEO Predicts a Future Where Most Software Engineers Don't Code — and AI Does It Instead

Mike Pizzi, Morgan Stanley's global head of technology and operations, told WSJ that in the five months since its launch, DevGen.AI has worked through nine million lines of code, saving the firm's 15,000 developers roughly 280,000 hours of work.

Pizzi said that Morgan Stanley opted to build the tool itself because tech companies didn't have any solutions that could fit Morgan Stanley's exact specifications. Commercial tools lacked expertise in deciphering older coding languages, especially those specific to a company.

"We found that building it ourselves gave us certain capabilities that we're not really seeing in some of the commercial products," Pizzi told WSJ. "We saw the opportunity to get the jump early."

Related: Morgan Stanley Plans to Lay Off 2,000 Workers, Replacing Some with AI

Morgan Stanley trained DevGen.AI on languages within its own code base, including languages customized for the company. However, the AI tool still has growing to do when it comes to full translation. Though the tool can, in theory, rewrite code from an older language to a newer one, it doesn't know how to write the new code efficiently or as well as a human developer, Pizzi said.

That's why Morgan Stanley is keeping human developers involved in the process of translating old or legacy code to new languages. Pizzi disclosed that the firm will not be reducing its software engineering workforce as a result of the AI tool, though the company did lay off 2,000 of its 80,000-person workforce in March.

Morgan Stanley has released several AI apps for employees, including one that helps them summarize video meetings and another that quickly finds information for them from the company's body of research.

Morgan Stanley CEO Ted Pick told investors last year that the AI tools could save employees up to 15 hours per week and be "potentially really game-changing," per Reuters.

Sherin Shibu

Entrepreneur Staff

News Reporter

Sherin Shibu is a business news reporter at Entrepreneur.com. She previously worked for PCMag, Business Insider, The Messenger, and ZDNET as a reporter and copyeditor. Her areas of coverage encompass tech, business, strategy, finance, and even space. She is a Columbia University graduate.

Want to be an Entrepreneur Leadership Network contributor? Apply now to join.

Buying / Investing in Business

From a $120M Acquisition to a $1.3T Market

Co-ownership is creating big opportunities for entrepreneurs.

Business Ideas

70 Small Business Ideas to Start in 2025

We put together a list of the best, most profitable small business ideas for entrepreneurs to pursue in 2025.

Business News

AI Could Cause 99% of All Workers to Be Unemployed in the Next Five Years, Says Computer Science Professor

Professor Roman Yampolskiy predicted that artificial general intelligence would be developed and used by 2030, leading to mass automation.

Buying / Investing in Business

Big Investors Are Betting on This 'Unlisted' Stock

You can join them as an early-stage investor as this company disrupts a $1.3T market.

Leadership

Lead From the Top: 5 Core Responsibilities of a CEO

Knowing exactly what the chief executive's role entails is critical for steering a company to success.