Your legacy ERP is a labeled dataset
There is a clock running in enterprise software that most people outside the ERP world have never heard of. At the end of 2027, mainstream maintenance ends for SAP ECC, the ERP generation that a huge share of global manufacturing still runs on. Roughly 35,000 companies were on it. Analysts estimate about 17,000 will still be unmigrated when the deadline hits, and thousands will still be on legacy systems into the 2030s. Each of those companies is facing the same project: a multi-year, eight-or-nine-figure migration that, historically, fails to deliver its business case more often than it succeeds.
I have spent 15+ years inside these programs. RICEFW specs, SIT and UAT cycles, hypercare rotations, across aerospace, medical devices, and food processing. I have been thinking hard about what AI agents actually change here. Not the pitch-deck version. The real one. This post is my honest answer.
The market already moved
First, the thing that has already happened, so nobody thinks this is hypothetical: in May 2026, SAP announced a suite of agentic migration and modernization assistants. Agents that analyze your existing system, your custom code, and your data quality, then help configure, test, and manage the rollout of the new one. Bundled into their cloud offering, with a claimed effort reduction of 35% or more. They also opened the platform up: their agent studio now works with external IDEs and MCP toolchains, and they have published open-source MCP servers that let general-purpose coding agents work directly against their stack.
So "AI will accelerate ERP migration" is no longer a startup thesis. It is the incumbent's baseline. If someone pitches you that sentence today, they are describing a feature the vendor gives away.
But there is something more interesting hiding underneath, and I do not think it has gotten nearly enough attention.
The oracle problem, and why ERP migration is special
The dirty secret of enterprise AI is that most of it cannot be checked. An agent drafts a document, a summary, an analysis, and the only way to know if it is right is for a person to read it. That is why so many enterprise AI pilots stall: measured studies have found the overwhelming majority of GenAI pilots produce no measurable P&L impact, and one well-known randomized trial found experienced developers were actually slower with AI assistance while believing they were faster. Unverified generation just moves work downstream.
ERP migration is one of the rare enterprise problems that does not have this flaw, because the legacy system is a labeled dataset.
Think about what is sitting in a twenty-year-old ERP: every purchase order, every goods receipt, every invoice match, every posting, with its actual, audited outcome. Millions of transactions, each one a test case with a known answer. If you are building the replacement system, you do not have to argue about whether it is configured correctly. You can replay history against it and diff the outcomes. Run the new system shadow-side across a few real period closes, and the oracle is the legacy system's own output and the actually-filed financials.
old: a migration you hope is right, defended with slideware and steering-meeting opinions
new: a migration you have measured, by replaying last year's actual transactions against the new systemFinding the four thousand transactions out of forty million where two systems disagree is exactly the kind of work agents are built for. And critically, that grading loop runs without a human in it. Agents can iterate overnight: classify every difference, propose a fix for the ones that are configuration gaps, re-run, converge. The result is not a slide that says "we believe the design is sound." It is a number: "94% of last year's actual transactions produce identical outcomes in the new system, and here are the exceptions, ranked, each with its evidence."
That number ends arguments that opinions cannot.
What the new tools cannot read
Here is the blind spot. Every migration tool in the market today, the vendor's assistants, the endorsed apps, the funded startups, analyzes an existing SAP landscape. That is rational: the reachable market is the ECC installed base, so the tooling reads ECC.
But a lot of the industrial world does not run on ECC. It runs on Infor LN and Baan, on QAD, on IFS, on homegrown systems from the nineties. Often heavily customized, often documented mostly in the heads of people who are retiring. For those companies, the shiny new migration assistants read the target just fine and understand the source not at all. And the source is where the risk lives: the undocumented workaround, the plant code that means something different in one division, the pricing logic someone bolted on in 2009.
Nobody is building deep archaeology for those estates. The vendor structurally will not: it is a competitor's system, and their economics depend on the integrator ecosystem they fund. The integrators bill by the hour, so tools that remove hours are not their priority. That gap, reading the foreign legacy system from its data, its schema, its code and its behavior, then proving equivalence against it, is in my view the most valuable unclaimed ground in enterprise software right now.
The factory, not the tool
So what would I actually do with one of these migrations today? Not "buy an AI tool." I would run the project itself differently, as what I have started calling an agentic migration factory.
The idea is simple to state: the work has to happen anyway. Processes must be discovered, data decisions must be made, configuration must be entered, outcomes must be proven. A factory does that unavoidable work through agents under governance, so that every accepted result becomes a reusable, owned asset instead of consumed consulting hours.
Concretely, four patterns make it work:
1. The execution ladder. Agents touch systems through APIs where they exist. Where they do not, a supervised agent operates the browser, and every successful run gets compiled into a deterministic, replayable recipe with screen-state checks and captured before/after evidence. Reliability lives in the recipe library, not in the model. The ladder is: API first, compiled recipe second, supervised visual agent third, human last.
2. Propose-dispose. Agents never own decisions. They assemble the evidence a human would have gathered, usage history, open transactions, cross-references, and propose the answer with confidence and a written rationale. Humans bulk-approve the confident band and rule on the ambiguous tail. The decision stays owned. The cost of making it collapses.
3. The evidence ledger. Every artifact carries provenance: which agent proposed it, on what evidence, who approved it, which test proved it, how to roll it back. That is not bureaucracy. It is a better audit trail than most manual programs produce, and it is what turns browser automation from a demo into an enterprise operating model.
4. The oracle. Everything converges on replay. The factory's output is not documents. It is a convergence curve, and an honest, published residual band of things replay cannot prove.
And one honest limit, because credibility depends on it: roughly a third of the effort in these programs is structurally human and stays that way. Accountable sign-off, cross-functional alignment, and people learning new ways of working. No model moves that. The smart play is not to promise a five-year program in six months. It is to compress the internal phases hard and spend the recovered time on longer, better-supported rollouts. Same end date, three times the change-management runway. The organizations that fail these migrations mostly do not fail on code. They fail on absorption.
Own the oracle, rent the intelligence
The strategic core of all this fits in one sentence: own the workflow, the context, the oracle and the controls, and rent the intelligence.
Models are improving monthly and they are nobody's moat. Route every model, frontier or open-weight, through the same governed execution layer, benchmark them on your own real migration tasks, and keep the switching cost near zero. Done right, your factory gets faster every time any lab ships a better model. What compounds is everything around the models: the process ontology, the decision register, the recipe library, the replay corpus, the evidence ledger. That layer is yours. Nobody can ship it to you, and nobody can take it with them when they leave.
That is also why I think the durable business here is not "migration" at all. The migration wave is self-liquidating. It has a deadline and a shrinking customer count. But the same harness that proves a migration keeps proving every release, every quarter, forever. Migration is the entry. Assurance is the product.
Where this goes
My prediction for the next 24 months: agent-assisted delivery becomes table stakes on the SAP-to-SAP mainstream, priced into every bid. The differentiated ground shifts entirely to the source side, who can read the old world well enough to prove the new one, and to regulated environments where the deployment constraints are hardest and the incumbents' hosted tools cannot follow.
The companies that come out of this wave strongest will not be the ones that bought the most AI. They will be the ones that treated their own history as the asset it is, a labeled dataset, decades in the making, that can grade every step of their transformation, and built the factory that learns from it.
If you are living one of these migrations, especially off a non-SAP legacy system, I would genuinely like to compare notes.
These are my personal views, based on public information and my own experience in enterprise transformations. I am not affiliated with any vendor mentioned. Figures cited (customer counts, deadline dates, vendor claims, research findings) come from public analyst reports, vendor announcements, and published studies as of mid-2026. Treat vendor-claimed savings as claims, not measurements.
First published on ravikantdewangan.com.

