# Can an AI agent work with our old systems?

Usually yes, without replacing them. An agent connects through what the system already offers. An API, a database it may read, or the exports your team already uses. Most ERPs, like SAP or Dynamics, have a way in. When a system has none, a person keeps that step and the agent prepares everything around it.

By Surinder Thakur, AI Product Designer and Builder. Published 17 Nov 2026. Topic: [Building an AI tool](https://www.surinder.design/work?type=building-an-ai-tool).

## Do we need to replace the system first?

Almost never. A replacement takes months, and the agent would wait for it.

Connect to what runs today. If the agent proves its value, you can modernise later with better evidence.

## What are the ways in?

An API, if the system has one. Read access to its database, if your IT team allows it. Scheduled exports, if that is all there is.

Some are slower than others, and most systems offer at least 1. The Ordering agent design reads live stock and prices from the merchant's ERP.

## What if the agent needs to write back?

Then it writes through the system's own rules, never around them. The old system stays the record of truth.

Every write is logged with the rule that allowed it. Your team can trace and undo it.

## When can it not connect?

When a system has no API, no exports and no database access. Some older tools are like that.

There, the agent prepares the work and a person enters it. You still save the time around that step.

## In 1 picture

Connect the agent to what runs today. Replace later, if ever.

Replace first:
- Months of migration
- The agent waits
- Risk to daily work

Connect first:
- Through its API or exports
- The agent starts on today's system
- The old system keeps running

## Next questions

- [What data do I need before building an AI agent?](https://www.surinder.design/work/what-data-do-you-need-to-build-an-ai-agent): 3 kinds. The live records the agent reads, like stock, prices or open invoices.
- [How long does it take to build a custom AI agent?](https://www.surinder.design/work/how-long-to-build-a-custom-ai-agent): The Blueprint takes 2 weeks. The build time depends on scope, so the proposal fixes it in writing before you commit.
- [Should we build a custom AI tool or buy SaaS?](https://www.surinder.design/work/build-or-buy-an-ai-tool): Buy SaaS when your process matches how the tool works.
- [Should my AI agent live in WhatsApp, Slack or its own app?](https://www.surinder.design/work/where-should-an-ai-agent-live): Where the task already starts. If orders arrive on WhatsApp, the agent answers there.

## Questions that lead here

- [Can an AI agent take B2B orders from WhatsApp, email and phone calls?](https://www.surinder.design/work/can-an-ai-agent-take-b2b-orders-on-whatsapp): Yes, when it reads the same live data your sales reps do.

Page: https://www.surinder.design/work/can-ai-agents-work-with-old-systems
