Mistral AI described the migration of 40 000 lines of legacy Fortran code to C++ using AI agents
Mistral AI helped a European energy company migrate a reservoir simulator containing 40 000 lines of Fortran 77 to C++ using AI agents. The key was a verification harness for numerical parity and a structured team of agents with human supervision.
Companies with extensive legacy codebases (scientific, industrial and financial systems in languages such as Fortran) now have a documented approach and a provider for migration using AI agents, reducing dependence on departing authors of the original code and opening a path to modernization without a test suite or documentation.