How-to

Integrating agents with ERP and core systems safely

Core systems hold the records a business runs on. Connect agents through governed interfaces, with narrow tools, validation and a way to undo.

By iFortis Worldwide ResearchPublished Updated 3 min read

On this page

SummaryIntegrate agents with ERP and core systems through the supported interfaces of those systems, wrapped as narrow, validated tools behind a gateway. Keep business rules in the system of record, make every write idempotent and reversible where possible, and start with read access before allowing posts.

The principle: the system of record stays in charge

An ERP, a core banking platform or a policy administration system already enforces years of business rules, controls and audit requirements. An agent should work through those controls, never around them. That means no direct writes to database tables, no screen automation where an interface exists and no copy of the rules reimplemented in a prompt. The agent decides what to ask for. The core system decides whether it is allowed.

Choose the integration route

  • Published APIs and services. The first choice. They carry validation and authorisation with them.
  • Events and messages. Good for triggering agents when something changes, and for decoupling load.
  • Integration middleware. Use what exists. An established integration layer already knows the quirks of each system.
  • User-interface automation. A last resort for systems with no interface. Fragile, slow and hard to secure. Plan to replace it.

Custom code inside the core system should be kept to a minimum. It complicates upgrades, and the point of an intelligence layer is to add capability above the core without disturbing it. That is the approach behind modernisation with intelligent automation.

Wrap interfaces as narrow tools

Do not hand an agent a generic connector to the whole ERP. Build specific tools that match business actions.

  • "Get open purchase orders for supplier" instead of a general query tool.
  • "Create goods receipt against order line" with typed, validated fields.
  • Clear descriptions, including when the tool should not be used.
  • Responses trimmed to the fields the agent needs, with sensitive data removed.

Validate every argument before the call reaches the core system: formats, reference data, ranges, and the authority limit of the agent. Reject and explain. A clear error lets the agent correct itself or escalate.

Make writes safe

  • Idempotency. Attach a unique key to every write so a retry cannot create a duplicate posting.
  • Staging. Where the system supports it, park or draft the document first and post after checks or approval.
  • Reversibility. Know the compensating transaction for each write: the reversal, the credit, the cancellation.
  • Segregation of duties. An agent that creates a supplier should not also approve payment to it. Apply the same conflict rules as for staff.
  • Period and state awareness. Check posting periods, locks and document status before acting.

Multi-step work across systems needs care. If step three fails, steps one and two must be undone or the case flagged in a consistent state. Design this explicitly. Do not leave it to the model to tidy up.

Protect performance

Agents can generate far more calls than people. Apply rate limits and queues at the gateway. Schedule heavy reads away from period-end and batch windows. Cache reference data that changes rarely. Agree capacity with the team that runs the core system before go-live, not after the first slowdown.

Give the agent meaning as well as access

Field names in core systems are cryptic, and the same term means different things in different modules. Agents perform better with a business-level description of entities and relationships than with raw schemas. An ontology or semantic layer over the core data reduces wrong joins and misread fields, and it survives a change of underlying system.

Roll out in order of risk.

  • Read-only access first: enquiries, summaries, reconciliation proposals.
  • Drafts next: the agent prepares, a person posts.
  • Low-value, reversible postings within tight limits.
  • Wider authority only with evidence from the earlier stages.

Checks before go-live

  • The agent has its own identity and role in the core system.
  • Every action appears in the standard audit log of that system, attributable to the agent.
  • Tests have run against a recent copy with realistic volumes.
  • Internal audit and the system owner have reviewed the design.
  • The upgrade and patch calendar includes regression tests for the agent tools.

The Enterprise Intelligence Fabric describes how this layer sits above existing platforms.

All insights RSS feed

Tell us the outcome you need

The first meeting is a working session about your situation, with an engagement lead, not a sales call.

Contact us Submit an RFQ