Insights

What happens when an AI agent isn't sure or gets it wrong?

By Yury Primakov ·

A well-built agent doesn't guess. When an item falls outside its rules, it stops, sends the item to a person with the reason, and the correction becomes a rule it follows next time. In MadeFire's AP pilot at a distribution company, the agent handled 799 invoices and routed 131 of them, about 16%, to a person for review.

Not sure is a feature

Most worries about AI agents come down to one question: what if it is confidently wrong? The answer is to design it so that being unsure is cheap and visible. Instead of producing an answer for every item, the agent checks its own work against rules and data it can verify, and anything that doesn't pass goes to a person. The goal isn't an agent that never asks. It is one that only asks when it should.

The checks that catch mistakes

The safety net isn't the AI model's confidence. It is ordinary checks against your own data, run on every item:

  • Does the vendor, customer or property exist in your master data?
  • Do the lines add up to the total?
  • Does it match an open purchase order, lease or engagement?
  • Is it within the price or quantity tolerance you set?
  • Has this item, or one very like it, already been processed?

One exception queue, with reasons

Items that fail a check go to a single queue your team already looks at. Each one carries the source document, what the agent read, which check failed and what it would suggest. The person reviewing it fixes or approves it in a minute instead of starting from scratch. In the AP pilot, the 131 invoices that went to review are the reason the other 668 could go through without anyone retyping them.

It looks the same in every back office

The pattern isn't specific to invoices. A logistics company's agent can read proof-of-delivery paperwork and flag a missing signature. A property manager's agent can match maintenance invoices to the right property and work order, and send anything over the approval limit to the right person. A professional services firm's intake agent can check that a new client's forms are complete and hand back the ones that aren't. In each case the agent does the routine part, runs the same kinds of checks, and puts the rest in one queue with a reason.

What changes from business to business is the rules, and those come from the people who do the work today. That is why MadeFire's Blueprint starts by sitting with them and mapping the exceptions, not just the happy path. See which processes to automate first.

Corrections become rules

When a person fixes an exception, the fix is captured: this vendor always invoices freight separately, that entity uses a different tax code, this property's invoices go to a different approver. The next time the same situation comes up, the agent applies the rule. That is why exception rates tend to fall over the first weeks, and why the people doing the review matter so much. They are teaching the system, not just cleaning up after it.

When an error gets through anyway

No process is perfect, people included. Three things limit the damage when an agent's mistake gets past the checks. First, it writes somewhere reversible, such as an import batch your posting step validates, not straight into closed books. Second, every action is logged with its source, so you can find and fix every item affected by the same mistake. Third, the fix becomes a new check, so the same mistake doesn't repeat.

Before go live, test the agent on work your team has already done and compare the results. At the distribution company, the agent matched 1,602 of 1,605 invoice lines in that test. More on safe design is in our security and data handling checklist.

Who is accountable

The business still owns its books, its customer replies and its decisions. A good build makes that easy: a named person owns the exception queue, approval thresholds are written down, and someone can pause the agent at any time. On MadeFire builds, the agent is accepted against written criteria, a single agent comes with 30 days of close support after go live, and Run plans cover monitoring, fixes and the changes that come when a vendor or a form changes. See the AP invoice case study, back-office automation and pricing.

Common questions

Will the exception rate go down over time?

Usually, yes, because each correction becomes a rule. It won't reach zero, and it shouldn't: new vendors, unusual orders and real problems still need a person.

What exception rate is acceptable?

One where the agent still saves meaningful time after you count review. In MadeFire's AP pilot, 131 of 799 invoices, about 16%, went to review. Measure your own rate on your own documents before go live.

Can we have a person review everything at first?

Yes, and many teams should. Start with a person approving every batch, compare the agent's work with what your team would have done, and let clean items through once the results hold up.

What happens when a vendor or a form changes its layout?

The agent flags what it can't read with confidence instead of guessing, and the change is fixed as part of normal upkeep. MadeFire's Run plans include monitoring, incident fixes and integration upkeep for that reason.

Want a second opinion on your own process? Book a free 30-minute review, or start the free intake and see MadeFire pricing.