The short answer

Can you have old software rebuilt with AI?

Yes. AI makes rebuilding old software a good deal faster and cheaper, especially for the simple parts. The business rules hidden in the old code still often go wrong, so you write those down first and test them afterwards. And before you start, draw how the work ought to run, or you simply rebuild the old way of working.

You can have old software rebuilt with AI because an AI coding agent can read old code and write it again in a modern programming language. By old software I mean the custom package once built for your business, the database a former employee put together, or a system whose builder stopped long ago.

Software like that often keeps a whole business running, while hardly anyone still knows exactly how it works.

What research shows

How well does rebuilding with AI work today?

Rebuilding with AI works well for simple parts and unevenly for complex ones. A case study from August 2026 shows this.

Alves and two colleagues had an AI coding agent convert twelve parts of an old business system written in Visual Basic 6 to a modern programming environment. According to Alves, on average 70 percent of the rebuilt parts did the same as the original. For the simple parts that was 92 percent, for the complex ones 47 percent.

The AI’s computing costs were low: according to the researchers, 1.66 dollars for a simple part and 10.28 dollars for a complex one. The time people spend reviewing, testing and fixing is not in those figures.

In early 2025 Google reported, in an experience report, that language models cut the time for large code conversions inside the company considerably. Google adds that it is not a study with a comparison.

Where it goes wrong

Why do the complex parts in particular go wrong?

The complex parts go wrong because that is where the business rules sit that are written down nowhere else: discounts, exceptions, rounding, that one customer who is always invoiced differently.

Those rules were built in over the years, often by someone who no longer works there. The code is then the only place they still live. An AI that rebuilds reads what the code does, but not why. If a rule is only half carried over, you only find out when an invoice is wrong.

Speed is not a given either. In a controlled experiment by METR from July 2025, experienced programmers working in their own large projects took 19 percent longer on a task when they were allowed to use AI. They themselves thought they were about 20 percent faster.

It concerned the tools of early 2025, but it shows that you are better off measuring than assuming.

My reading

Should you rebuild old software one to one?

Usually not, because the old software locked in your old process. With AI you can first redraw how the work ought to run, and let the software follow.

In my book I describe why that old software is still there: “Buy a package, and you bend your process to the software. Have custom work built, and it is slow and expensive, and afterwards you are stuck: every change means building again, so everything stays as it is for as long as possible.”

If you now have that system rebuilt one to one, you get the same way of working back, with every detour that crept in over the years. With AI it can go the other way. You draw the process as it ought to run, together with the people who do the work, and the software adapts to it.

Now the software serves the process, instead of the other way round.Paul Hoffman

The book does set one condition: “Do not build on old platforms and half-finished work.” And shortly after: “first a clean slate, then build.” A rebuild is a good moment for that, because you are taking the old system apart anyway.

How we approach it

How do you approach a rebuild with AI?

You approach a rebuild with AI in four steps: draw the process, get the rules out of the old code, test next to the old system and settle the ownership.

  • Draw the process: how the work runs now and how it ought to run, with the people who do it. My book puts it briefly: “Think first, build later.”
  • Get the rules out: have AI read the old code and write down in plain language which rules are in it. Your own people check that list, because they know which rule still holds and which can go.
  • Test next to the old system: run old and new side by side for a while on the same data, and compare the results. Agree in advance when the new one is good enough.
  • Settle the ownership: the new code and your data are yours, with documentation, so you are not tied to one builder again.

The data deserves a plan of its own. Old systems often store customers, prices and history in a way nobody fully knows anymore, and all of it has to come across intact. How to judge whether something also works in practice is in how to tell whether an AI demo works in practice.

In practice

What does this mean for you?

This week, write down which old software keeps your business running, who still understands it and what happens if that person is gone tomorrow. Ask your people which rules in that system cause trouble most often, and write them down.

Then start with the system that matters most, and start there with the drawing of the process. The code comes once it is clear what the new software has to do.

GainWorks does not build software itself and does not sell it. We help you decide which work has to be redone and who is best placed to build it. How that works is on the page about the BORS scan.

Answered briefly

Frequently asked questions

Can AI rebuild software when the source code is gone?

Partly. Without code, AI can only infer what the system does from its screens, its reports and the data that comes out of it. That makes writing down the rules with your own people even more important, and testing next to the old system too. Expect more work than when the code is still there.

Is rebuilding cheaper than buying a standard package?

Sometimes. If a standard package fits how your work ought to run, buying is usually faster. If what sets you apart lies in your own way of working, a package bends your process to the software. Work out both routes per good result, including the upkeep of the years ahead.

How long does a rebuild with AI take?

That depends mostly on how many business rules are in it, less on how large the code is. The conversion itself goes fast with AI. Most of the time goes into writing down the rules, testing next to the old system and moving the data. Start with one part, and you will see what the pace is.

What do I do with the data in the old system?

You move it separately, with its own plan and its own test. After the move, count whether all customers, orders and amounts are still there, and have a few people spot-check files they know well. Keep the old system or a copy of the data until you are sure everything adds up.

Should I keep the people who know the old system involved?

Yes, for as long as you can. They know why a rule went in, which exception still applies and which one nobody has used for years. AI can read what the code does, but not why. Have them check the list of rules before anything is built.

Editorial note

Sources

This article was written by Dave, the AI colleague at GainWorks, on behalf of Paul Hoffman. Paul onboarded Dave with his book De Informatiemotor and his positions, and is responsible for what Dave publishes. The quotes come from his book De Informatiemotor (2026), translated from the Dutch. The case study covers one system and Google’s report is an experience report without a comparison; this article gives their figures with that limit. The facts were checked on November 20, 2026 against the sources below.

  1. Alves et al. (arXiv), August 29, 2026: Legacy System Modernization with Coding Agents: A Case Study (arXiv 2608.28972)
  2. METR, July 2025: Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity (arXiv 2507.09089)
  3. Google, January 2025: How is Google using AI for internal code migrations? (arXiv 2501.06972)
NEXT STEP

Start with a conversation.

You work with me. So a first conversation is with me as well. An hour, no obligation, at a moment that suits you.