Key takeaways
- A legacy system does not block AI. It raises the cost of the connection and narrows the choice of method.
- There are four ways in: an existing interface, a database replica, file exchange, and screen automation as a last resort.
- One vendor estimates $100,000 to $200,000 per system with no interface and $30,000 to $60,000 for one with modern documented interfaces.
- RAND’s interviews with 65 practitioners put weak infrastructure among the root causes of failed AI projects, so test the connection before the model.
Why legacy systems are the hard part
Older systems were built for people at a screen. They often have no documented interface, the business rules sit in code nobody wants to touch, and a change needs a release window. An AI model does not care how old the system is. The connection does. RAND’s study of failed AI projects, based on 65 interviews, lists inadequate infrastructure to manage data and deploy models among the root causes.1
Four ways to connect
Connection methods for systems without a modern interface
| Method | How it works | Main risk |
|---|---|---|
| Existing interface or message queue | Use whatever the system already exposes, even if old, and wrap it in a small modern service. | Limited coverage: some data or actions are not exposed. |
| Read-only database replica | Copy the tables the workflow needs to a separate database and let the AI read there. | Data is slightly behind, and writing back needs another route. |
| File exchange | The system exports and imports batch files on a schedule, as it does for other partners. | Slow feedback when a file is rejected. |
| Screen automation | Software operates the user screens the way a person would. | Breaks when a screen changes. Use only when nothing else exists. |
Whatever the method, keep the AI out of the legacy system itself. Put a thin service in front of it that offers a few named operations, such as “get open orders for customer” or “create draft credit note”. The model calls those operations and nothing else. When the old system is replaced one day, only that service changes.
What it costs
Public figures are scarce and come from suppliers. Radixweb’s July 2026 estimate, from its own projects, is $30,000 to $60,000 per system for modern documented interfaces, $100,000 to $200,000 for an undocumented system with no interface, and $120,000 to $300,000 for a mainframe.2 Whatever the exact amounts, the gap between the first and the last is the planning fact: the same AI workflow can cost several times more because of the system behind it. More detail is in the AI integration cost guide.
Choosing the first workflow
- 01
Prefer reading to writing
A workflow that reads from the old system and writes to a newer one avoids the hardest part.
- 02
Pick stable data
Tables and exports that have not changed in years make durable connections.
- 03
Prove the connection first
Move real records end to end with no AI in the loop. If that fails, the model will not save it.
- 04
Keep a manual route
People must be able to do the task the old way on the day the connection is down.
When replacing the system is the better answer
Integration is not always right. If the system is due for replacement within a year or two, if nobody can change it safely any more, or if the data inside is too poor to trust, money spent on a connection is partly wasted. In those cases an AI workflow that works from exports and documents can still pay back while the replacement is planned. Our technical debt benchmark helps size that decision.
Frequently asked questions
Can AI work with a system that has no API?
Yes. The usual routes are a read-only copy of the database, scheduled file exchange, or a small service built in front of the system. Screen automation is a last resort.
Do we need to modernise before using AI?
Not necessarily. A thin service in front of the old system lets an AI workflow run now and survives the later replacement.
Is it risky to connect AI to a mainframe?
The risk is controlled by limiting the AI to a few named operations, starting read-only and logging every call. The model never gets direct access to the system.
More AI integration guides
- Enterprise AI integration services: connect AI to the systems you already run
- AI integration cost in 2026: what drives the price and how to estimate yours
- AI integration with ERP and CRM: how to connect AI to SAP, NetSuite, Dynamics, Salesforce and HubSpot
- MCP integration for enterprise systems: what the Model Context Protocol changes
- AI integration vs AI implementation vs AI consulting: which one you need
- How to choose an AI integration partner: a 12-point checklist
Sources
- RAND Corporation, “The Root Causes of Failure for Artificial Intelligence Projects and How They Can Succeed” (Ryseff, De Bruhl, Newberry, 13 August 2024), 65 interviews. rand.org
- Radixweb, “AI Integration Cost for Legacy Systems” (3 July 2026). A vendor’s estimate from its own delivery data, not an independent survey. radixweb.com
