A company decides to put an agent over its operations. The CRM and the finance tool have modern interfaces and connect in a day. Then comes the system that runs the warehouse, or the billing, or the job costing. It is fifteen years old, nobody who built it is left, the vendor's documentation is a PDF, and it holds the numbers the business actually relies on. Someone on the project says that the data sits in a database, and a database can be read and written. That sentence is where the risk begins.

This piece sets out the three routes an agent can take into an old system, the conditions under which each is safe, and the one route we advise a company to refuse.

Why the old system is different for an agent.

An agent that only reads is a modest risk. An agent that acts changes records, sends messages and moves money, so the way it reaches a system decides how much damage a wrong action can do and how easily it can be undone.

An old system is hard in four ways. It may have no interface designed for outside callers. Its rules, such as how an invoice is posted or how stock is reserved, may live in the application's code rather than in the data. Its logging may be thin, so you cannot see afterwards what changed. And it may be fragile, with a vendor whose support depends on how you use it. Each route below handles these four problems differently.

Route one: the supported interface.

Check first whether the system has any supported way of exchanging data with other software. It might be a web service, an import and export function, a scheduled file exchange, a reporting interface or a vendor connector. Older products often have more than people remember, and it is common for the documented option to be unused because nobody asked.

This route is the safest for writing. The application receives the request through its own door and applies its own rules: validations, posting logic, permissions and the audit trail. A record created this way is a record the system recognises as its own.

The costs are speed and coverage. The interface may be slow, may limit how much you can send, and may cover only some functions. Often that is fine. An agent that updates a few hundred records an hour does not need a fast interface, and the rules it passes through are worth the slowness.

Route two: a read-only copy.

Many questions an agent answers do not need live data. How much stock is on hand, what a customer owes, which jobs are over budget: a copy made every hour or every night is often enough. Take a copy of the data into a reporting database, a warehouse or an export, and let the agent read from that.

This route protects the old system twice. The agent cannot change anything, because it has no write access to the source. And the load of the agent's questions falls on the copy rather than the live system, which matters when the old system is slow.

Two cautions. The copy must be labelled with its age, so the agent and its readers know that the figure is as of six this morning. And the copy must be made through a supported route or by the vendor's reporting tools; a process that reads the live tables heavily can slow the system people are working in.

When the agent needs to act, it uses route one or, as a last resort, route three. The pattern is simple to state: read from the copy, write through the front door.

Route three: the screen.

If the system offers no interface and no export, the remaining route is the screen: software that operates the application the way a person would, clicking and typing. It works with almost anything, which is its appeal.

It is also the most fragile. A change to a screen layout, a new field or a different pop-up message can break it, often without any error. It runs at the speed of the interface. And while the application still applies its own rules, the automation can mistake a warning for a success.

Use this route when nothing else exists, and add controls: have a person approve each batch before it runs, keep a log of each screen action with a timestamp, and test after every vendor update. We have written about when to prefer an interface to a click path in RPA versus AI agents.

The route to refuse: writing to the tables.

The tempting fourth route is to let the agent write directly into the system's database tables. It looks efficient. The data is right there, and the write is fast.

We advise against it, for a reason that is about how business software works. The tables hold data. The rules live in the application. When an invoice is posted through the application, the application writes the invoice, updates the customer balance, creates the ledger entries, checks the period is open and records who did it. A direct write to the invoice table does only the first.

The result is a record that looks right on screen and is wrong underneath: totals that do not match the ledger, a balance that does not move, no audit entry. These errors are found at month end or in an audit, long after the agent made them, and are costly to trace because the cause is invisible. It also tends to void the vendor's support, which is a poor trade for a system nobody else can fix.

There is one narrow exception: a table that is explicitly provided for imports, where the vendor documents a staging area and the application then processes it. That is route one in disguise, because the application still applies its rules.

Choosing a route.

For each function the agent needs, ask four questions, in order.

  1. Does the system have a supported way to do this? If so, use it.

  2. If the agent only needs to know something, can it read from a copy? If so, make the copy.

  3. If it must act and there is no supported way, can a person approve each batch while the agent uses the screen?

  4. If the only remaining option is a direct write, stop and treat the system as part of the modernisation project, not the agent project.

The fourth answer is not a failure. It is a signal that this system is the next thing to fix, as we described in why you do not need a new ERP to get agents: the layer goes over what you run, and the old system gets a proper interface when the work justifies it.

Where we come in.

We start with a no-risk discovery. We list the systems your agent would touch, find what supported interfaces and exports each already has, and show which route fits each function before anything is built. You pay for the discovery only if you go on to a build. A build comes with a guaranteed estimate, so if we estimate low, we absorb the difference. After go-live, Managed Technical Operations keeps the copies, the interfaces and the agent's access in order as the old systems change or are retired.

Read from a copy. Write through the front door. Leave the tables to the application.

Know whether your business is ready for an ERP before you sign for one.

The ERP Readiness Review is a 90-minute working session plus a written scorecard across master data quality, documented exceptions, integration scope and data ownership. Fixed scope, no obligation. Or see how we approach it.

Book the ERP Readiness Review

More on the same problem:

Where we're not the right answer

We'll tell you if we're a fit. If we're not, we'll tell you that too.

  • Your current stack works and nobody wants to change it
  • You want licences resold at a discount and nothing else
  • Your internal team owns the operating model and is not handing it over
  • You want hours of configuration work and nothing run for you: that is on our services pages, and it is not a managed solution
How we start

Most of our best clients come to us with a feeling, not a plan.

"Something isn't working." "We're outgrowing our tools." "We're afraid to make the wrong move." No-Risk Discovery is a short, practical conversation that gets you clarity before you commit to anything big. We'll tell you if we're a fit. If we're not, we'll tell you that too.

Talk to us

Have a question about this?

Say who you are and ask. A person replies within one business day.

About you
What are you looking for?
An agentic solution (AI OS) is licensed and sold with managed services. An integrated solution is built for a professional services fee. A Service is professional work, done by the hour, the month or the project. Not sure yet is a fine answer.

Agentic solutions (AI OS)

Integrated solutions

Services

Platforms You Use or Are Considering

Your details are never shared or sold.