← All posts
Industry Playbooks ·

How AI Agents Work With Legacy Plant Systems That Have No API

When a plant's legacy systems don't have APIs, the work can still run through the paths those systems already offer: database access, scheduled exports, EDI, and the emails, PDFs and portal cases the work arrives in. Lily™, the first AI forward deployed engineer from InstaLILY, learns which path each system offers, builds the connectors that are missing, and runs the work inside the systems the plant already uses. It starts by only reading data, then writes changes back only through an account your IT team sets up and approves.

Last updated: 2026-11-23

How do AI agents work with plant systems that don't have APIs?

"No API" usually means no modern web API, not "No way in." Older systems still have a database, scheduled exports, EDI, and the inboxes and portals where the work arrives, and Lily works through those.

She follows the same loop on every deployment. First she learns the work: the systems, the data, the approvals and the judgment calls nobody wrote down. Then she builds what the work needs, which often means the connector a legacy system never had.

She runs it inside the systems you already use, with no migration and no new system of record. And she keeps improving, because every correction teaches her something. You can read more about how Lily builds the connectors a workflow needs.

Which connection paths does an older system usually offer?

Most older systems offer at least one of four paths: database access, exports, EDI, or the inbox and portal where requests land. And when none of them reaches far enough, Lily builds what's missing.

What the system has How the work runs through it Where it is published
Database access, for example an on-premises ERP Lily reads pricing, inventory, customers and order history, and writes quotes and orders back, so the ERP stays your system of record. You don't need to move to the cloud first. How Lily reads and writes in an on-premises ERP
Scheduled or controlled exports Lily works from the exports the system already produces. Exported data is held only as long as processing needs it, then removed. A deployment that reaches systems of record through controlled exports
EDI Orders already on EDI stay on EDI. Lily picks up the orders that never made it onto EDI. Order intake for distributors
Email, PDF, fax, web form and portal case Lily starts from the request as it arrives, in one flow, not from a clean API payload. Lily on green-screen, AS/400-era and air-gapped systems
Nothing to connect to Lily builds the connectors, logic, interfaces and workflows the work needs to finish. What Lily builds where existing software stops


What about the orders still keyed by hand after EDI and the customer portal?

EDI covers the accounts big enough to set it up. The long tail orders by email, PDF and fax, and Lily reads each one, matches it to the customer and the item, and creates the order in the ERP. Only mismatches go to a person.

That's usually the bigger queue. It's also the one nobody has automated, because there was never a clean feed to automate from.

Does this work on green-screen and AS/400-era systems, on premises or air-gapped?

Yes. Lily runs inside green-screen TMS, AS/400-era ERP, EDI and air-gapped environments, and she can be deployed in our cloud, in yours, or on premises. Read more about Lily on green-screen, AS/400-era and air-gapped systems.

The work in those environments rarely arrives clean. A typical request is an email with a photographed document attached, and she starts there.

How is this different from RPA or a bot clicking through screens?

A screen robot replays the steps someone recorded. Lily learns the work itself, including the exceptions and the approvals, builds the software it needs on whichever path the system offers, and adapts when something changes.

Things do change. A pricing rule moves, a new product appears, an approval policy changes, a connection fails. Lily stays aware of the systems, permissions and policies around the work and adjusts the software without losing the outcome.

What stays off-limits, and how is plant safety protected?

Lily works on the business side of the plant: orders, quotes, ERP records and requests. She stays out of the control layer. PLCs, SCADA and safety systems aren't systems she works in.

On the business side, access is narrow by design:

  • Deployments start read-only. Write access comes later, through a scoped service account your IT team approves.

  • Lily can't do anything the account she runs under isn't allowed to do.

  • Every action and handoff is recorded, and actions Lily takes are tagged so they can be told apart from actions a person took in the same system.

See where Lily runs and how access is controlled and how every agent action is approved and traced. For the operational technology side, NIST's guide to operational technology security is the reference most security teams use.

Who builds and maintains the connections?

Lily does. She's software that works the way a forward deployed engineer works, so the connectors, logic and workflows she builds stay with the business and keep running after go-live.

Nobody has to be hired or embedded to keep them alive. Read what an AI forward deployed engineer does.

Where should a plant start?

Start with one queue where the work arrives, such as a shared inbox, the web form or one branch. Run it read-only, measure the share handled without a person, then add write-back.

A similar operation in logistics shows the pattern. At a $12B+ third-party logistics company, reps read every email and attachment by hand to quote freight, which cost 447,000 hours a year before Lily was deployed.

Within 11 months, 71% of cases were fully automated, and reps handled the exceptions. That's a logistics desk, not a plant, but the starting point is the same: work that arrives in an inbox and has to end up in an older system.

Before a pilot, it helps to know how to evaluate an AI platform before a pilot.

Frequently asked questions

Do we need to replace or upgrade our ERP first?

No. Lily reads and writes through the ERP you already run and is never a new system of record.

Does Lily need write access to get started?

No. Most deployments start read-only. Write-back is added through a scoped service account that your IT team approves.

Can Lily run on premises or in an air-gapped environment?

Yes. Lily can be deployed in our cloud, in yours or on premises, and she runs in air-gapped environments.

What happens when Lily is unsure?

She stops and hands the request over with its context, at a threshold you set.

Who owns what Lily learns about our business?

You do. Each deployment is single-tenant, and the knowledge Lily builds about your business stays yours.

Share