AI-accelerated Legacy Modernisation

Bookmark
Rate this content

Our world runs on IT built in the 80s and 90s by engineers who are now retiring. This is becoming very worrying for corporates who have critical systems running on legacy code that only a handful of people still understand.

That's where GenAI arrives. With its almost magical transpilation abilities, it is the innovation that was needed to kickstart the legacy modernisations that had been postponed for too long.

Having worked on critical modernisations for more than 15 years, I jumped on the opportunity to experiment with how LLMs can accelerate complex migration projects. 

I will share the concrete experience we have accumulated on a wide range of stacks (Swift->React-Native, Eclipse RCP -> Spring Boot, Java 1.6 Spring -> Java 21 Spring Boot, PHP ZF1 -> Symfony 7), cover both the good surprises and the limitations that we uncovered, and share our current playbook to best leverage AI when migrating a legacy system.

This talk has been presented at TechLead Conf London 2025: Adopting AI in Orgs Edition, check out the latest edition of this Tech Conference.

FAQ

Modernizing legacy IT systems presents challenges such as legacy ecology, reliability rupture, feature freeze, and migration mutiny. These include difficulty understanding outdated systems, fear of disrupting functional systems, halting new feature development, and lack of enthusiasm from legacy system teams.

Modernizing legacy IT systems is crucial due to the risks they pose, including business risks, security vulnerabilities, and compliance issues. These systems are outdated and can lead to significant financial losses, security breaches, and regulatory penalties.

AI accelerates the modernization process by handling complex coding tasks, improving system documentation, and facilitating better understanding of dependencies. It helps in breaking down legacy systems into manageable parts and supports efficient migration and updating processes.

While AI brings speed, it also introduces variance, which can lead to chaos if not properly managed. Ensuring quality and avoiding 'vibe coding' are essential to mitigate these risks and maintain system reliability.

Theodo applies AI through its Lean Tech approach, focusing on value for the customer, creating a tech-enabled network of teams, ensuring high-quality coding practices, and continuous improvement through Kaizen. This method aims to balance speed with system reliability.

Lean Tech is a system developed by Theodo that combines Lean Thinking with software engineering principles. It emphasizes customer value, modular team networks, high-quality coding, and continuous improvement to maintain agility and quality in system modernization.

Examples include Nike Capital's $440 million loss due to reactivating old code, Ukraine's power grid being remotely cut due to outdated systems, and Citigroup's repeated erroneous transfers leading to fines.

Theodo reduced a migration project timeline from an estimated 70 weeks to 21 weeks by utilizing AI to speed up code generation, improve system understanding, and streamline the migration process through Lean Tech principles.

Fabrice Bernhard
Fabrice Bernhard
23 min
28 Nov, 2025

Comments

Sign in or register to post your comment.
Video Summary and Transcription
Discussing the importance of adopting AI in legacy modernizations and the risks associated with outdated systems, challenges in legacy ecology, reliability rupture, and migration mutiny. Exploring Lean Tech at Theodos for maintaining agility and customer value, improving system architecture through visualizing endpoints and high-quality coding. Optimizing accuracy with agent coders, industrializing migration with LeanTech principles for 10x acceleration. Leveraging AI for product building, AI model evaluation, and the preference for Claude over GPT in migration.

1. Adopting AI in Legacy Modernizations

Short description:

Discussing the importance of adopting AI in legacy modernizations and the risks associated with outdated systems, such as business, security, and compliance risks due to legacy IT challenges.

So yes, I want to talk to you today about our learnings in adopting AI in legacy modernizations. And first, why this is actually a very important problem is that our world is running on legacy IT systems built more than 20 years ago. As software has eaten our world and taken over planes, cars, homes, and healthcare, this has actually been built as layers and layers on top of the legacy IT running our world, the energy, and transport, finance, communication infrastructures. And this is actually starting to show some quite big issues because it's creating three types of risks.

First, the business risk. For example, Nike Capital, a trading company, rushed to release a new feature and they reactivated by mistake that code in the systems that they hadn't touched for nine years, but they had forgotten to delete it. And this created weird training activities and they lost $440 million in just one day. Then there's a security risk. Another example is that the Scala system controlling Ukraine's power grid that dated from the Soviet era and allowed attackers to remotely cut power twice in the country. And finally, a compliance risk.

You know, when Citigroup is transferring $81 trillion to one of their clients by mistake, which makes you want to become a Citigroup client, of course. And it's actually the 10th time that they've transferred more than $1 billion by mistake. Well, every time they managed to undo the transfer, but at some point they get fined $136 million for these very clunky systems. So investing in modernizing IT legacy is becoming a global problem. But of course, all organizations across the world are procrastinating because modernizations are incredibly difficult problems. We kind of categorize the challenges in four categories.

2. Challenges in Adopting AI for Modernization

Short description:

Discussing challenges in legacy ecology, reliability rupture, feature freeze, and migration mutiny. AI's potential in accelerating modernizations while avoiding chaos, illustrated through an example of a telemedicine stack migration.

The first one is legacy ecology. Once you start trying to understand the system, you realize nobody in the organization remembers the business rules. Then you've got reliability rupture. Everybody's scared to touch something that kind of works because touching it will probably create more issues at least at first. Then there's a feature freeze. You know, business is very annoyed when you tell them that you are going to stop building new features for a very long time while modernizing the underlying infrastructure. And finally, migration mutiny, because teams working on the legacy systems are often not that excited to help the team migrating to new systems, despite being actually quite critical in making the modernization success.

So this is where AI is coming, especially since I would say Cloud4, GPT4, when AI started being able to actually code decent tasks on their own. So that's a unique opportunity. And at Theodo, when AI arrived, they were wondering, OK, it's not super clear how to adopt AI and problem solving and building new products because these are very difficult, very complex issues. But probably when it comes to rewriting technologies, modernizing stacks, that should be a great place to start. The problem is that AI brings speed, but also variance. And so the combination of the two, when untamed, leads to chaos. And this is, of course, what we all know as engineers, what we're all afraid of as engineers is like crazy vibe coding going into production.

So how do we accelerate with AI, but avoid the chaos? So I'm going to show it very concretely on an example, very much inspired by a real-life example. But I've kind of merged some stuff, some multiple examples together. That example was a leading player in the telemedicine space who wanted to merge their stack. So the backend needed a full migration because it had been built on Loopback 2, which meant they were stuck with Node 10. That was unacceptable. So the idea was to migrate to Node 20 and out of Loopback. And with 114 API endpoints migrated, this seemed like a doable project in about 26 weeks.

QnA

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

The Epic Stack
React Summit US 2023React Summit US 2023
21 min
The Epic Stack
Top Content
Watch video: The Epic Stack
This Talk introduces the Epic Stack, a project starter and reference for modern web development. It emphasizes that the choice of tools is not as important as we think and that any tool can be fine. The Epic Stack aims to provide a limited set of services and common use cases, with a focus on adaptability and ease of swapping out tools. It incorporates technologies like Remix, React, Fly to I.O, Grafana, and Sentry. The Epic Web Dev offers free materials and workshops to gain a solid understanding of the Epic Stack.
The Rise of the AI Engineer
React Summit US 2023React Summit US 2023
30 min
The Rise of the AI Engineer
Top Content
Watch video: The Rise of the AI Engineer
The rise of AI engineers is driven by the demand for AI and the emergence of ML research and engineering organizations. Start-ups are leveraging AI through APIs, resulting in a time-to-market advantage. The future of AI engineering holds promising results, with a focus on AI UX and the role of AI agents. Equity in AI and the central problems of AI engineering require collective efforts to address. The day-to-day life of an AI engineer involves working on products or infrastructure and dealing with specialties and tools specific to the field.
Code on Demand: The Future of Code Collaboration
React Advanced 2023React Advanced 2023
27 min
Code on Demand: The Future of Code Collaboration
Watch video: Code on Demand: The Future of Code Collaboration
During the Talk, the speaker discusses the power of streaming and its impact on music consumption and production. They also explore the challenges and benefits of incorporating streaming into software development, using examples from Spotify. The future of code development is envisioned as a streaming world, where code is always live and changes are instantly available to everyone. The speaker emphasizes the importance of treating components as complete products, prioritizing component reviews, and enhancing the workflow for forking and contributing to components.
Webdevelopment Tailored for 2024
React Summit 2024React Summit 2024
7 min
Webdevelopment Tailored for 2024
Today's Talk covers native features in browsers, including upcoming ones and the Interop Project. Native features offer speed, compatibility, and improved debugging. Notable examples include dynamic viewport units, flexbox/grid gap, container queries, and motion path. The Interop Project ensures consistent web platform features across different browsers. Upcoming features like native CSS nesting and entry/exit animations are on the horizon.
Controlling Apps with Your Mind and AI
React Summit Remote Edition 2020React Summit Remote Edition 2020
25 min
Controlling Apps with Your Mind and AI
This Talk explores controlling apps with the mind and the future of UI and UX. It discusses the integration of VR and AR into UI and UX, the understanding of neurons and EEG headsets, connecting to Muse via Bluetooth, measuring brain waves and blink detection, feeding data to machine learning, and mind control with AR. The speaker emphasizes the importance of learning React Native, AR, React, Bluetooth, and drones for those interested in exploring these topics.