Agentic AI Could Shorten COBOL Modernization, but Mainframe Replacement Still Has Work Ahead
AI agents may cut some COBOL migrations from months to weeks. CIOs still need to assess reliability, testing and the role of mainframes.

COBOL’s long run in enterprise IT may face a new kind of pressure: AI agents that can map what old applications do and help rebuild them on modern platforms. OutSystems CEO Woodson Martin says his company is using this approach to reduce some migrations from six months to a year to eight weeks, with a goal of reaching seven days. That’s a striking target, but it doesn’t mean CIOs can treat mainframe replacement as a quick switch.
Agents could speed up a difficult migration
Replacing a COBOL application requires more than translating its code. Teams need to understand the business rules embedded in that code, how components depend on each other, and whether a replacement behaves correctly in real operating conditions. Much of that knowledge can be difficult to recover when documentation is incomplete and experienced staff are leaving.
OutSystems’ Legacy Modernization Services, launched in June and powered by AWS Transform, uses agents across several steps. They scan COBOL code, build dependency graphs and extract business logic. That information can help teams assemble a detailed specification for the application. A low-code development platform can then be used to build a replacement, while another agent can run regression tests against the new code. OutSystems says its process keeps a human involved.
The potential shift is in how much of the analysis and implementation can be automated. Low-code tools have already helped replace older applications over time. Agentic AI could add a way to inspect a legacy system, infer how it works and turn those findings into requirements for a new build. If that process holds up in practice, organizations could spend less time reconstructing application behaviour by hand.
Martin described the work as developing requirements with an agent and then building with agents, while adding agentic capabilities to applications that currently run on COBOL. OutSystems focuses on complex industry use cases, and Martin pointed to insurance as one area where COBOL applications remain widely used.
Migration speed is only one measure
A move from a manual project measured in months to a process measured in weeks could change how CIOs plan legacy modernization. Shorter projects may reduce the time teams must support parallel systems and may free staff and budgets for other work, including AI initiatives. Those benefits depend on the replacement meeting the application’s operational requirements, not just on how quickly a new version can be produced.
Regression testing is therefore a central part of the proposed workflow. A replacement needs to preserve the behaviours that customers, employees and connected systems rely on. A generated specification can guide development, but teams still need to decide whether it captures the rules correctly and whether tests cover the important cases. The source describes agents helping with those tasks; it doesn’t provide independent results showing how often migrations succeed or how the eight-week figure was measured.
The seven-day target is a goal Martin says OutSystems hopes to reach. It should be treated as a target, rather than an established delivery time for every application. Systems differ in size, dependencies and business complexity, and the cited timeline doesn’t establish that all COBOL workloads can move on the same schedule.
COBOL and mainframes remain entrenched
COBOL was designed in 1959, and mainframes also date to the 1950s. Despite their age, these systems continue to support important workloads in industries including airlines, banking, insurance, healthcare and retail. Their staying power reflects years of investment and a record of reliability, as well as the effort involved in replacing applications that are deeply integrated into business operations.
The shortage of people with the skills to maintain older systems adds pressure. The issue has surfaced before: around the year 2000, organizations had to review COBOL code to ensure systems would handle dates beyond 1999. That episode showed how much business continuity can depend on understanding and updating software that has been in place for decades.
For CIOs, AI-assisted modernization offers a possible route to reduce that dependence. But the practical decision remains application by application: whether the system should move, what requirements must carry over, and how the replacement will be tested and supported. The available claims point to a faster way to do some of the work, not evidence that every established mainframe workload is ready to move.
Enterprise software may change around the work
The argument for replacing legacy applications sits within a broader change in enterprise software. As agents take on tasks through APIs, some applications may shift from being mainly systems of record to systems of action. The underlying records still matter, while agents could change how people and software interact with them.
That shift could affect the value customers get from packaged software and the way vendors charge for it. It could also give organizations more room to change core business capabilities. Still, replacing a mature enterprise application with a homegrown system is a different proposition: companies have put substantial time and money into their existing platforms, and those systems are not always a source of competitive advantage in the first place.
Agentic AI may give CIOs a new option for work they have wanted to tackle for years. The next question is whether teams can verify the reconstructed business logic, complete testing and support the replacement after migration. If those parts hold up, COBOL’s role could shrink over time, with some workloads leaving mainframes. Until then, migration speed is a promise to measure against the reliability the existing systems have earned.