Legacy System Analysis with AI: Lessons from the UK GDS Trials at the Student Loans Company and UKHO
The UK Government Digital Service's trials show AI can cut legacy system analysis from weeks to hours, provided governance and engineering expertise remain in place.
This article was prepared with AI assistance from the official sources listed below, and checked automatically before publication.

The UK Government Digital Service (GDS), through its Technology in government blog, published the results of a trial of AI-assisted legacy system analysis on 14 October 2026. The trial involved the Student Loans Company (SLC), the UK Hydrographic Office (UKHO), the Met Office, and the delivery partner Kainos. This article summarises the case as a GDS case study, not an Oemah Solution project.
The challenge
According to GDS, one of the biggest obstacles to modernising older technology is understanding how existing systems work. Before modernising, an organisation needs a clear picture of how its applications work, connect and depend on one another. This process can take weeks, even months.
The causes include:
- incomplete or outdated documentation;
- knowledge concentrated in a handful of specialists;
- some systems using technology that few of today's engineers know well.
At SLC, the challenge was to analyse 33 applications written in Clojure to support modernisation planning. At UKHO, the challenge was a 20-year-old desktop application that previously had no automated testing.
The solution
GDS and its partners used an AI-assisted approach to analyse unfamiliar systems, identify dependencies, and build technical knowledge more quickly.
- SLC: AI helped analyse the whole set of 33 applications and their dependencies.
- UKHO: AI-assisted techniques were used to generate automated tests for the legacy desktop application.
The results
GDS reports that across the participating organisations, activities expected to take weeks using conventional methods were completed in a matter of hours.
Student Loans Company
- The analysis of 33 applications was estimated to take about five weeks, but was completed in less than a day.
- The results were used for migration planning and for the steps towards a supported version of Java.
- According to GDS, the most important finding was not merely the saving in effort, but that it opened up work that had previously been hard to prioritise.
UK Hydrographic Office
- Automated test coverage rose from 0% to 96%.
- Regression testing that previously took about 15 working days manually fell to about 30 minutes.
- The team reported greater confidence in changing and maintaining the application safely.
GDS stresses that the trial covered different systems and technical environments, so the results do not automatically apply to every set of legacy systems. GDS is also preparing a good-practice playbook, which is currently undergoing user testing, review and approval before publication.
Lessons for organisations in Indonesia
Many ministries, regional governments and state-owned enterprises (BUMN) in Indonesia run older applications with thin documentation and depend on a small number of experts. The GDS case offers several lessons, which are an interpretation of its findings:
- Start with understanding. GDS considers AI's strength to lie in accelerating the discovery and assessment of systems, the point at which many modernisation efforts slow down. Mapping dependencies and building tests can be a first step before deciding to rewrite.
- Automated testing lowers the risk of change. Fear of changing old systems is often a blocker; evidence from tests helps engineers assess proposed changes.
- Prepare the foundations. According to GDS, good results depend on clear ownership, access to systems and information, an experienced technical team, and an established delivery process.
- AI amplifies existing conditions. GDS concludes that AI magnifies an organisation's strengths and weaknesses alike. Without adequate controls, AI can speed up bad decisions.
- Treat it as a decision-support tool. AI is not a substitute for governance or engineering expertise, and results from one system need to be tested first in your own context.
Practical steps to consider are choosing one application with manageable risk, assigning a system owner, providing the necessary access, and involving senior engineers to verify the AI's analysis.
Sources & references
This article is a summary and interpretation by the Oemah Solution team of the sources below. Refer to the original sources for full details and context.

