'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.

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.

Science & Technology

The Hidden Dangers of Using Generative AI in Your Business

Rushing to adopt generative AI can derail your business. Here's what leaders need to know.

Science & Technology

We Spent a Decade Building Virtual Worlds — What We Discovered Could Reshape the Future of Business

What we learned about scale, AI and ownership when we tried to connect thousands of people in real time.

Growing a Business

This One Leadership Move Will Transform Your Team's Loyalty and Performance

Most leaders focus on technical skills, but this lesser-known trait quietly shapes team loyalty, engagement and long-term performance.

Growing a Business

There's a Hidden Cost of Overnight Growth — Here's What It Is and Why Slow and Steady Wins the Race

Growth that lasts isn't about the moment or the initial hype. It's about what happens in the months and years that follow.

Business Culture

Why Hustle Culture Is the Most Dangerous Lie Founders Still Believe

Research shows productivity drastically declines after working 44 hours per week or more. So why is hustle culture still pushed in entrepreneur circles? It's time to forget that mentality and lead like a real hustler.