Expert analysis

AI agent connected to ERP – what it really does, where it breaks and what messy data costs

An agent that answers questions from a knowledge base and an agent allowed to read stock levels and change an order status in ERP are two different projects. They differ in architecture, risk and price – not by a few percent, but several times over. This article covers what happens once you cross that line: which processes actually work, why deployments fail on data rather than on the model, and what the cost picture looks like in practice.

Author: Kacper Włodarczyk, Founder of ALGORCOMPPublished: August 23, 2026Reading time: 14 min readAI / AI AgentsFor: Mid-sized company
AI agent connected to ERP – what it really does, where it breaks and what messy data costs

Three levels of agent access to ERP – and what each one changes

A conversation about an AI agent in ERP only becomes concrete once someone asks about the scope of permissions. The question is not „do we connect an agent to ERP”, but what exactly it is allowed to do with a record. Three levels – read, propose, write – are three different projects under one name.

Level one is read. The agent queries ERP and answers in sentences instead of tables: what is the status of an order, how much stock is left, when the last invoice was issued to this customer. Risk is limited to exposing data to someone who should not see it – so the permissions layer matters here, not business logic. This is the cheapest and fastest starting variant.

Level two is propose. The agent prepares a document but does not confirm it: a draft order, a draft correction, a preliminary match of payments to invoices. A human sees the finished record, checks it and approves with one click. This level usually delivers the best ratio of effect to risk, because it removes 60–80% of the work while keeping control over every write.

Level three is write. The agent changes system state on its own – creates a counterparty, changes an order status, generates a warehouse document. This is where integration ends and an engineering project begins: you need limits, pre-write validation, an operation log, a rollback path and a regression test for every change to the source system's API. Most deployments that cause trouble jumped from level one straight to level three, skipping level two.

  • read – the agent answers questions about data, risk sits in permissions
  • propose – the agent prepares a record for human approval, best effect-to-risk ratio
  • write – the agent changes system state, requires limits, validation, logging and rollback
  • jumping from read straight to write is the most common design mistake
Levels of agent access to ERP and the implementation work each requires
LevelWhat the agent doesMain riskRequired safeguards
ReadAnswers questions about operational dataExposing data beyond a user's permissionsRole mapping, filtering by user permissions, query log
ProposePrepares a document or record for approvalApproval fatigue and clicking „confirm” without readingHighlighting generated fields, confidence threshold, sampled quality checks
WriteChanges system state independentlyA bulk error executed faster than anyone can reactVolume limits, pre-write validation, operation log, rollback, regression tests

Five processes where this genuinely works

First: taking in customer orders. An order arrives by email, in a PDF or in a spreadsheet – a different format every time. The agent reads the document, matches line items to codes in ERP, flags whatever it cannot match unambiguously, and produces a draft order. The salesperson approves instead of retyping. The biggest saving comes not from typing but from searching for the right item code.

Second: statuses and dates. Questions like „what is happening with the delivery for customer X” consume tens of minutes a day per person in trading and manufacturing companies, because answering means checking two or three systems. A read-only agent answers in one place and cites the source of every number. This is the simplest starting variant with an immediately visible effect.

Third: consistency checks between records. The agent compares data across systems and reports mismatches: a counterparty with a different tax ID in CRM and ERP, an order with no cost assigned, a delivery with no warehouse document. Published market examples show account reconciliation shrinking from several days of work to hours. Here the agent does not write – it only points to where a human should look.

Fourth: matching payments to documents. A classic process in which rules cover 70–80% of cases and the rest needs judgement. The agent handles the rest: reads the transfer description, recognizes an abbreviated company name, spots a single payment covering several invoices, and proposes an allocation for approval.

Fifth: preparing data for a sales conversation. The agent pulls purchase history, open orders, overdue receivables and recent complaints into a single note before a meeting. It changes nothing in the system and saves a salesperson fifteen minutes before every visit.

  • order intake from email or PDF into a draft ERP document
  • answers about statuses, dates and stock levels in one place
  • consistency checks across ERP, CRM and warehouse systems
  • payment matching for the cases rules do not catch
  • a preparation note ahead of a sales conversation
AI agent connected to ERP – what it really does, where it breaks and what messy data costs

Where it breaks – three definitions of one concept

The most dangerous fault of an agent in ERP does not look like a fault. The agent neither refuses to answer nor invents a non-existent customer – it returns a number that is computed correctly, just from a different definition than the one the person had in mind. „How many active customers do we have” has three answers if the system holds three status fields: a flag on the record, the absence of an end-of-cooperation date, and a purchase within the last twelve months. The model picks one and never signals that a choice was made at all.

The second form of the same problem is non-standardized coding. If the same product exists under three item codes because three people entered it over the years, an agent matching order lines will generate documents against the wrong code. The difference from a human error is that a human errs once, while an agent repeats the same pattern across the entire volume – hundreds of documents before anyone notices.

The third form concerns free-text fields. Order notes, call summaries, complaint comments – often the only place where a commercial arrangement was recorded, and simultaneously the field with no formatting discipline whatsoever. An agent reading such a column can extract a conclusion that was true two years ago.

The practical conclusion for planning: before you start comparing vendors and models, check how many unambiguous definitions exist for the five concepts the agent will use most often. That is a one-day task for someone who knows the data, and the best-spent day in the whole project.

  • several definitions of one concept produce answers that are correct and incomparable
  • duplicate item codes replicate the error across the whole volume, not one document
  • free-text fields carry arrangements with no expiry date
  • entry test: how many unambiguous definitions exist for your five most-used concepts

Pre-implementation data audit – a concrete checklist

A data audit sounds like a separate consulting engagement; in practice, for a mid-sized company it is three to ten days of work and four questions asked of every area the agent will touch.

Question one – definitions. For every concept the agent will use (active customer, completed order, available stock, overdue receivable) you write down one binding definition and point to the field it must be computed from. If an area cannot name one, that is a project decision rather than a technical one, and the process owner has to make it.

Question two – completeness. What share of records have the fields populated that the agent will rely on? A customer file where 30% of entries have no industry assigned is unfit for segmentation, however good the model is. This measurement is a simple query and immediately makes the first-stage scope realistic.

Question three – duplicates and coding. How many counterparties appear more than once, how many item codes describe the same product, whether units of measure are consistent. Question four – permissions. Who is allowed to see the data the agent will return, and whether the permission model can be reproduced in the agent layer. That last one surprises people: many ERP systems enforce permissions in screens rather than in data, so an agent reading straight from the database bypasses them entirely.

  • definitions – one binding definition and a named source field per concept
  • completeness – share of records with critical fields populated
  • duplicates and coding – repeated records, item codes, units of measure
  • permissions – whether the access model can be reproduced outside ERP screens
Operations team reviewing ERP data during a process walkthrough

An agent does not fix your data architecture. If the system holds three definitions of „active customer”, the agent will pick one – faster than anyone can notice it picked the wrong one.

Safeguards: limits, rollback and a split of responsibility

An agent with write access needs three mechanisms that a classic integration never required, because an integration does exactly what it was programmed to do while an agent makes a decision.

The first is a volume and value limit. The agent may issue twenty documents an hour, not two thousand, and may not independently confirm an operation above a threshold the company sets. A limit is not a statement of distrust in the model – it reflects the fact that every system errs in series, and a limit turns a series into a single incident you can fix.

The second is logging and a rollback path. Every agent operation must be marked in the system as performed by an agent, with a record of the basis on which it was taken. Without that you can neither reconstruct the cause of an error, nor reverse a series of documents, nor answer an auditor asking who approved the write.

The third is a written split of responsibility between human and agent. According to Capgemini Research Institute research, only 48% of organizations have one – and it is exactly the document whose absence surfaces at the first serious error, when it turns out nobody can say who was supposed to check. One page with the decision split, thresholds and a named owner of the results review is enough.

  • volume and value limits turn a series of errors into a single incident
  • a log with the rationale for each operation – the precondition for diagnosis and rollback
  • operations marked as agent-performed inside the source system itself
  • a written human–agent split of responsibility (only 48% of organizations have one)

What it costs – market ranges

The ranges below reflect published rates for the Polish market and line up with what we see in our own estimates. The core observation: price is driven neither by the model nor by user count, but by how many systems the agent talks to and whether it is allowed to write in them.

Running cost matters more here than in a classic IT project, because an agent lives at the seam between systems that change independently of it. An ERP API change after an upgrade, a new field on a record, a revised permission scheme – each requires work on the connector and a pass through regression tests. Companies that budget for implementation but not for upkeep end the year with an agent that has quietly stopped handling part of its cases.

It is also worth separating two items often lumped together: model cost and integration cost. In a typical operational deployment, the cost of model calls is a smaller line than connector maintenance and monitoring. It does grow quickly on poor design decisions, though – over-long instructions, retrieving a dozen documents for every query, or using the most expensive model for a classification the simplest one would handle.

  • price is driven by system count and write access, not by user count
  • connector maintenance usually exceeds the cost of model calls
  • no upkeep budget = an agent that quietly stops working in part of its cases
Indicative AI agent cost ranges on the Polish market (2026)
Agent typeImplementationMonthly running cost
Knowledge-base agent (FAQ, documents)20–60k PLN2–8k PLN
Customer service agent with CRM access60–150k PLN6–18k PLN
Analytical agent over data50–140k PLN5–20k PLN
Operational agent with write access to ERP or WMS120–250k PLN12–40k PLN

Related topics in the knowledge base

Related materials on AI agents and integration

FAQ

Frequently asked questions about AI agents in ERP

The questions that come up most often in conversations with boards and IT teams at mid-sized companies.

Will an AI agent work on our legacy ERP with no modern API?
It will, but differently and at higher cost. If the system exposes no API, the options are database reads (which require reproducing permissions outside ERP), an intermediate layer, or automation at the interface level. The last of these is the most brittle – every screen change breaks it. We compare the approaches in [RPA without an API – legacy systems](/baza-wiedzy/rpa-bez-api-stare-systemy).
Where do we start if we have ERP, CRM and a separate warehouse system?
With one process and read-only access. Pick the process where people switch between systems most often to answer a single question – usually order statuses or stock availability. A read-only agent delivers an effect in a few weeks and reveals the real state of your data before you decide on write access.
Can an agent work on data we do not want to send to the cloud?
Yes. A private AI architecture, or a model hosted in a controlled environment, is standard in such deployments – especially where counterparty data and commercial terms are involved. We cover the choice between cloud and local deployment in [AI on-premise vs cloud](/baza-wiedzy/ai-on-premise-vs-cloud).
How long does an implementation take?
A read-level agent for one process: typically 4–8 weeks including the data audit. An operational agent with write access to ERP: 3–6 months, where the largest item is not building the agent but settling definitions, testing, and agreeing safeguards with process owners.

About this page

Published
August 23, 2026
Last updated
August 23, 2026
Reviewed by
Kacper Włodarczyk, CEO ALGORCOMP
Reading time
14 min read

About the author

Kacper Włodarczyk

Założyciel ALGORCOMP

Założyciel ALGORCOMP. Specjalizuje się we wdrożeniach Microsoft 365 Copilot, Copilot Studio, Power Platform (Power Automate, Power Apps, SharePoint) oraz agentów AI dla średnich firm B2B w Polsce. Prowadzi dziesiątki projektów z zakresu strategii AI, governance Power Platform, automatyzacji obiegu dokumentów i procesów sprzedażowych. W publikacjach koncentruje się na praktycznych aspektach wdrożeń AI w organizacjach — od pierwszego POC do skalowania na całą firmę, ze szczególnym uwzględnieniem bezpieczeństwa danych, zgodności (RODO, NIS2, AI Act) i zwrotu z inwestycji.

Meet the team

Considering connecting an AI agent to your ERP?

Free 30-minute consultation: we go through the process you want to offload, the state of data in your source systems, and a realistic scope for the first stage. You leave with a data audit question list and indicative cost ranges – whether or not you decide to work with us.

Featured

Related articles