Morgan Stanley Builds AI Tool That Fixes Major Coding Issue

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.