Using AI with Legacy Systems That Have No API

A legacy system with no API does not block AI. It changes where the AI connects. Instead of calling the application, the AI reads from its database copies, exports and documents, or works through a controlled integration layer that sits beside the system. Reading is the safe place to start. Writing back is added later, through one narrow, governed path. At Sentient Concepts we see the integration, the controls and the day-to-day operation as one piece of work, because a connection nobody owns after go-live is where these projects fail.
This article is for enterprise leaders in banking, insurance, manufacturing and logistics who run core systems that were never built to be connected, and who want document processing, conversational agents or workflow automation without a multi-year replacement programme.
Key Takeaways
No API means no clean front door, but there are at least four other routes: read-only data copies, scheduled exports, document recognition and a purpose-built integration layer.
Start with read-only, informational use cases where a person sees the result before anything changes in the system of record.
Writes should pass through one narrow, logged path that reuses the application’s own business rules, never direct changes to the production database.
In Malaysia, BNM’s RMiT policy, the PDPA amendments of 2024 and the National AI Guidelines shape how the integration is tested, approved and documented.
Reliability comes from the operating model: named owners, exception queues, monitoring and a measured business result.
Table of Contents
Why a missing API makes AI harder, and what remains possible
An API gives software a stable, documented way to ask a system for data or to instruct it. Without one, three things go wrong. The business rules are buried inside screens, batch jobs or stored procedures that nobody has fully documented. The data is reachable only by methods that were not designed for outside use. And any change you make from outside can bypass the checks the application normally enforces.
What AI can still do is considerable, because most of the value in these environments sits in the information the system produces rather than in the system’s internals. Loan files, claims forms, bills of lading, delivery notes, certificates of analysis and supplier invoices all leave the legacy system as documents, reports or extracts. A language model or a document-recognition pipeline can read them, classify them, pull out the fields that matter and pass a structured result to the next step.
The practical question is therefore not “how do we make this system modern” but “which of the available doors is safest for this particular task”.
Five ways in when there is no API
Read-only access to the data
The lowest-risk route is to give the AI a copy of the data rather than the live system. One practitioner’s account of introducing AI to legacy estates lists the options for read-only access: a read replica, change data capture, a periodic export, an event stream, a materialised view, a reporting database or a narrowly scoped read-only adapter. Each lets the AI see current or near-current records without any ability to alter them.
For many use cases, a nightly or hourly extract is enough. Summarising a customer’s history for a relationship manager, flagging anomalies in a settlement file or drafting a reply to a policyholder does not need real-time data. If you are deciding how to prepare and present such extracts for analysis, this guide to data analytics insights covers how raw numbers become usable decisions.
Scheduled exports and file drops
Most old systems can already produce reports, flat files or EDI-style messages for other departments. These outputs are an integration point you already own. An AI service that picks up a file from a controlled location, processes it and returns a result file behaves like any other batch consumer, which is a pattern your operations team understands and your auditors have seen.
Document and screen recognition
Where the only output is a PDF, a scanned form or a screen, intelligent document processing does the reading. Optical and intelligent character recognition (OCR and ICR) turn images and handwriting into text, and a language model then interprets the text: which clause is this, which amount is the premium, which field is missing. This is the route that matters most for Malaysian firms, because paper, multi-language documents and mixed templates are the norm.
Interface-level automation
When there is neither a database you may touch nor a file you can export, software can operate the application’s screens the way a clerk does, with the AI deciding what to enter or read. It is a legitimate tactical bridge, but it is brittle: a changed screen layout or a slow response can break the flow. It needs exception handling and monitoring from the first day, and it suits low-volume or transitional processes better than the core of a high-volume operation.
An integration layer
The durable answer is a small layer that sits between the AI and the legacy system and exposes only the operations you decide to allow. This is where a modern protocol such as the Model Context Protocol (MCP), which lets AI agents call defined tools, becomes useful. The legacy system stays as it is. The layer translates a request such as “retrieve policy status” into whatever the old system understands, and records every call.

Our AI integration and MCP servers work is built around this idea: the agent gets a short list of approved actions, not the keys to the system.
Start with reading, then earn the right to write
The same practitioner argues that the safest first AI use cases are informational: search, summarisation, classification, drafting and recommendation, where a human sees the result before anything changes. We agree with the principle, and it maps well to the enterprise functions that came to us for help.
In insurance, an AI can read a submission pack and prepare an underwriting summary for the underwriter to approve. In banking, it can extract and check fields from a loan application and queue discrepancies for an officer. In logistics, it can read customs and delivery paperwork and propose the matching shipment record. In manufacturing, it can read supplier certificates and compare them with specifications. In each case the person decides, and the legacy system receives only what the person accepts.
Writing is a separate decision. When an AI agent needs to create or update a record, the update should go through a narrow facade that calls the same application services a user would, so the system’s own validation still applies. Direct SQL against the production database skips those rules and is the quickest way to create records that look valid and are not.
Treat what a model tells you about old code the same way. The advice from that source is to regard an LLM’s explanation of legacy logic as a hypothesis to verify, not a specification. Undocumented behaviour stays undocumented until someone confirms it against the running system.
What this looks like in Malaysian operations
The local evidence is encouraging. A Malaysian national logistics enforcement system that used AI for decisions raised accuracy from 55% to 95%, cut manual cases from 350,000 to 39,000 a year and cleared a year of backlog. The same showcase describes ICR and OCR workflow automation for regulatory document assessment, which made multi-language brochure and specification reviews faster, more consistent and more audit-ready.
Those results come from document-heavy, rules-heavy work, the same profile as trade documentation, claims, onboarding files and quality records. Your own numbers will differ, so set the baseline before you start: how many documents, how many minutes of handling each, what error and rework rate, and what turnaround time.
Making a no-API integration reliable and auditable
A connection that works in a demonstration is not yet a connection you can run. Five habits separate the two.
Define autonomy per operation. Rather than calling an agent “autonomous” or “supervised”, decide for each operation: this one the AI may do alone, this one only after approval, this one never. That framing, put well by the same practitioner, turns a vague risk conversation into a table your risk and operations teams can sign.
Build the exception path first. Every automated flow needs a defined route for the document that cannot be read, the field that fails validation and the answer the model is unsure about. The exception queue, who works it and how quickly are part of the design, not an afterthought.
Test beyond the happy path. For regulated institutions the standard is explicit. BNM’s RMiT policy expects testing that, where applicable, includes unit, integration, user-acceptance, application-security, stress, regression, exception and negative testing. It is a sensible checklist for any enterprise, regulated or not.
Separate environments. RMiT also requires production to be segregated from development and testing environments for critical systems, and system changes to be independently reviewed and approved. An AI layer should follow the same discipline as any other change to a core system.
Monitor and keep evidence. Log every request, the data the model saw, the output, the human decision and the version of the model and prompts in use. Track accuracy, exception rate and turnaround over time, because model behaviour and source documents both drift.
The Malaysian rules that apply
Malaysia has no dedicated AI statute. Guidance comes from several layers, summarised in a legal overview of Malaysian AI regulation:
The National Guidelines on AI Governance and Ethics were launched on 20 September 2024 and the National AI Office followed on 12 December 2024. A law firm’s practice review notes the guidelines are voluntary and set out seven principles, including reliability, safety and control, and privacy and security.
The Personal Data Protection (Amendment) Act 2024 introduced obligations in phases from 2025, covering data processors, breach notification, data protection officers and cross-border transfers. Guidelines issued by the Personal Data Protection Commissioner’s department on 30 April 2026 expect a data protection impact assessment where processing uses technology new to the organisation, and say individuals must be told when AI is used in automated decision-making involving their personal data.
The Cyber Security Act 2024 came into force on 26 August 2024 for national critical information infrastructure entities and cybersecurity service providers.
For banks, insurers and takaful operators, BNM’s RMiT, effective 1 June 2023, requires technology-risk management that covers new and emerging technology risks and a named chief information security officer.
For a no-API integration, the practical consequence is that the new layer, the data it touches and the people who approve it must all be documented before go-live. Our own guides on Malaysia’s AI regulations and on AI data governance mapped to ISO/IEC 42001 and the PDP rules go deeper on the mapping. Confirm the obligations that apply to your own entity with your compliance team or legal counsel.
What implementation involves
A sound project follows a sequence that our AI project lifecycle guide sets out in detail. Applied to a no-API system, it runs as follows.
First comes readiness and data diligence: which data exists, where it can be reached safely, how clean it is and who owns it. Next is use-case prioritisation, which favours high-volume, document-heavy, low-write processes with a measurable baseline. Then the architecture decision: read replica, export, recognition pipeline or integration layer, chosen per use case. Engineering follows, with the controls above built in, and then deployment, monitoring and ongoing optimisation.
The access you need is narrower than most leaders expect: read access to a copy or an export for the first phase, a test environment that resembles production, and a business owner with authority to approve exceptions. The skills are a mix of data engineering, integration, model evaluation and process knowledge. The last is the one most often missing, and it lives with your operations staff, not in the technology.
Measure results in business terms: cost per document, processing time, exception and rework rates, audit findings and, for underwriting or onboarding, turnaround time. Report risk next to them: how many outputs were overridden by humans, how many exceptions were escalated, and whether any control failed.
Where we come in
If your target is document processing, a conversational agent or an agent that moves work between systems, our workflow automation with AI agents service covers the use case, and AI governance and agent security covers the controls around it. One senior team owns strategy, build and operation, so the person who designs the integration layer is still accountable when it runs in production.

To discuss a specific legacy system and the process you want to automate, start from our main site.
Our perspective
Most legacy AI projects stall at a handoff. A strategy team recommends, an engineering team builds, and a third team inherits something it did not design. With no API, that is especially costly, because the knowledge of how the old system really behaves is the scarcest asset in the project. We engineer for production from day one. That means the integration layer, the approval rules, the audit trail and the monitoring are designed together, with continuity, governance and measured business results as the brief. It is why we keep one senior team accountable for strategy, build and operation. Our advice to enterprise leaders is to resist the replacement reflex. Pick one document-heavy process, connect it through the safest door available, prove the saving against a baseline, and extend from there. The old system keeps doing what it does well, and the AI removes the manual work around it. Thomas Samuel
FAQ
Can AI work with a legacy system that has no API at all?
Yes. The AI can read data from a replica, export or reporting copy, extract information from documents and screens, or act through an integration layer built beside the system. The right door depends on whether the task only needs to read or must also write back.
Is it safe to let an AI agent write directly into a legacy database?
It is not the route we recommend. Direct database writes skip the validation the application normally applies. Writes should pass through a narrow, logged path that reuses the application’s own services, with human approval where the operation is sensitive.
Which processes are the best first candidates?
High-volume, document-heavy processes where a person reviews the result: underwriting summaries, loan file checks, trade and delivery documentation, supplier certificate review. They have clear baselines, so savings are easy to measure.
Does Malaysian regulation allow AI around core banking or insurance systems?
Malaysia has no AI-specific statute, but BNM’s RMiT policy applies to licensed banks, insurers and takaful operators and expects rigorous testing, separated environments and independent approval of changes. The PDPA amendments add duties where personal data is processed. Your compliance team should confirm how they apply to your entity.
Sources
Recommended