
Rewriting legacy code is the easy part. Knowing what it actually does is where modernisation succeeds or fails. Our AI Lab is researching how to get there faster, without letting AI guess.

Many organisations still run on applications that have evolved for decades. The code keeps performing critical business functions, but the documentation is outdated or gone. What remains lives in source code, scattered documents and the heads of a few specialists.
At a recent Lunch & Learn, Rudi Maelbrancke, Business Lead at the AI Lab and enterprise architect, shared ongoing research into an AI-assisted approach to this problem. The goal is not to rewrite an application automatically. It is to help teams truly understand the current system before they decide how to change it.
Converting legacy code to a modern language updates the technology, but it doesn't tell you why the application exists. A syntactic conversion won't reveal:
That's why the AI Lab looks at modernisation through four dimensions: organisation, process, data and technology. Together they help identify business capabilities that can become manageable modernisation slices.
The approach combines two very different kinds of intelligence. Two local compilers analyse the application without any language model. One maps where elements are defined, the other builds context graphs that show what may be affected by a change. The result is a structural foundation grounded in the actual code and documentation.
Only then do large language models come in, to help interpret what those structures mean for the architecture and the business. The distinction matters, because a generated interpretation should never be mistaken for a fact.
The architecture repository keeps them apart:
Uncertainty stays visible instead of hiding behind confident output. Business owners and subject-matter experts then confirm whether the inferred processes, responsibilities and interactions match how the application really works. AI accelerates the analysis, but people stay in charge.
To make the findings useful for both engineers and business stakeholders, Rudi uses Simon Brown's C4 model, which describes the architecture at four levels: system context, containers, components and code. High-level views support conversations about responsibilities and capabilities, while detailed views let engineers examine dependencies and implementation.
The generated views are starting points for investigation and validation, not finished descriptions of the system.
Reverse engineering is only the beginning. As teams learn more, they add confirmed facts, revise inferences and resolve open questions in the repository. The architecture becomes a living source of knowledge that supports impact analysis, planning and future implementation, rather than a document that is written once and forgotten.
That also makes incremental modernisation possible. Instead of treating a legacy application as one indivisible block, teams can identify capability boundaries and tackle smaller, more controlled changes.
Legacy modernisation should begin with understanding. Deterministic tools establish the structural facts, AI supports the interpretation, and human experts validate what remains uncertain and add the knowledge that code alone can't provide. The result is a more transparent legacy landscape and a stronger evidence base for every modernisation decision.


