AI agent mistakes: your AI agent is not broken. Your instructions are.
AI agent mistakes: your AI agent is not broken. Your instructions are.
Most automation failures are not model failures. They are specification failures - and they are the expensive kind, because a badly-instructed agent does not crash. It quietly does the wrong thing, correctly, several hundred times.
The short answer
AI agent mistakes are usually instruction failures, not model failures. Instructions fail in five ways: an edge case nobody named, no escape hatch that lets the agent stop and ask, an output shape left undefined, local context assumed rather than stated, and nobody watching the output. A good instruction has six sections: role, input, rules, edge cases, output and escalation. Before you scale an agent, test it on twenty ugly real records, run it beside a person for a week, and keep the exception queue visible.
There is a specific moment that turns a business off automation for years. It is not the moment the tool fails to install. It is the moment three weeks later when someone notices that the AI agent has been categorising every credit note as an invoice since day one, and nobody caught it because the output looked perfectly reasonable every single time.
This is the defining risk of agentic automation, and it is badly understood. Traditional software fails loudly. It throws an error, the process stops, someone gets a notification. An AI agent fails plausibly. It produces a confident, well-formatted, entirely wrong answer, and then it does that again for every record you feed it.
For a business running on tight margins, that difference matters enormously. A loud failure costs you an afternoon. A quiet failure costs you a quarter, and it costs it in a way that only shows up when a customer, a supplier, or SARS points it out.
Why do AI agents fail in production?
AI agents fail in production in five predictable ways, and none of them needs a better model to fix. All of them require better writing.
You told it how to process an invoice. You did not tell it what a credit note is, what a pro-forma is, what to do with a statement that arrives instead of an invoice, or what happens when the same invoice arrives twice. The agent will handle all of these. It will handle them by guessing.
Nowhere in the instruction does it say "if you are not confident, stop and flag this to a human". So it never does. An agent with no permission to say "I do not know" will always invent an answer, because inventing one is the only behaviour you left available to it.
You asked for "a summary". You got a summary - a different shape every time. When that output feeds the next step in an automated chain, an inconsistent shape is a silent breakage. The chain does not stop; it just carries the wrong field forward.
Dates arrive as 03/04/2026 and the agent reads them as March. VAT is calculated at the wrong rate, or applied to a zero-rated line. Amounts come through as "R1 500,00" and get parsed as one and a half. A customer writes in isiZulu and the agent replies in English. None of this is in the prompt, so none of it is handled.
The system was tested on ten records, worked beautifully, and was switched on for two thousand. There is no sampling, no exception queue, no weekly review of what the agent flagged. The failure mode is not that it broke - it is that it kept working, unwatched, for six weeks.
How do you write instructions for an AI agent?
A prompt is a job description, not a request. The most useful mental shift is this: stop treating the instruction as a question you are asking, and start treating it as the briefing you would give a new employee on their first day. You would never say to a new admin assistant "please handle the invoices" and walk away. You would tell them what counts as an invoice, where they go, what to do with the odd ones, and who to ask when they are stuck.
Six sections cover almost everything an agent needs. If your instruction is missing one of them, that is where it will fail.
What does a good AI agent instruction look like?
Here is a supplier-document sorting task, a typical first automation for a small business. The first version is the quick one to write. The second is what actually survives contact with a real inbox.
The second version is longer, obviously. That is the point. Every extra line in it corresponds to a specific way the first version would have quietly produced a wrong number - and none of those lines takes long to write.
How do you test an AI agent before you switch it on?
Test an AI agent on twenty deliberately ugly real records with the right answers written down first, fix the instruction until the set passes twice, then run it beside a person for a week before you switch the manual process off. A good instruction still needs proving. The process below takes an afternoon, and it is the best-spent afternoon of any automation project.
Twenty real records - and deliberately choose the ugly ones. The blurry photo, the credit note, the duplicate, the one in the wrong currency. Testing on clean data tells you nothing you need to know.
Before running anything, record what the correct output is for each of the twenty. Without this you are not testing - you are reading the output and deciding afterwards whether you agree with it. That is not the same thing.
Every miss is a missing rule. Add the rule, re-run all twenty. Repeat until the set passes twice in a row - twice, because a single clean run can be luck.
For the first week, the agent processes everything and a person still does the job as normal. You are comparing two sets of answers, not trusting one. It costs a week of duplication and it buys you the confidence to actually switch the manual process off.
Anything the agent flagged goes into a queue a human clears weekly. If that queue is empty for a month, your confidence threshold is too low and things are slipping through. An empty exception queue is a warning sign, not a win.
If every step and every rule of a process can be written down in advance, we would not give it to an agent at all, and AI agents vs workflows sets out how to tell. Once an agent is live, checking its output is a standing job, and supervising digital labour covers who does it and how.
What changes for an AI agent in South Africa?
In South Africa, four things change what an agent's instruction must cover: POPIA, interruptions to power and connectivity, the languages customers write in, and margins with no room for silent error. There is a version of this article written for a business in London, and it would be shorter. South African operating conditions add specific requirements that generic automation advice simply does not cover.
POPIA changes what an agent may see. If your automation touches customer identity numbers, medical details, or financial records, the instruction needs to state what it may retain, what it must redact, and where the data may be processed. That is a prompt-level and architecture-level decision, and it needs to be made before you switch anything on, not after.
Interruptions are a design input. Power and connectivity are less reliable here than the tooling assumes. An agent that half-completed a batch when the connection dropped must be safe to re-run without double-processing. That means idempotency - a rule that says "if this record was already handled, skip it" - and it belongs in the design from day one.
Language is not an edge case. Customers write in English, Afrikaans, isiZulu, isiXhosa, Sesotho and a comfortable mix of them. An agent instructed only in English will handle those messages. It will handle them badly, and confidently.
Margins leave no room for silent error. A business with fat margins can absorb a bad automation month as a line item. On thin margins, it can be the difference between a profitable quarter and an unprofitable one. That is exactly why the answer is not "avoid automation" - it is "specify it properly and watch it".
The honest summary
The models available in 2026 are more than good enough for the everyday work a small business wants automated. Invoice capture, quote generation, first-line support, stock alerts, appointment handling, document sorting - none of these are held back by model capability any more.
What holds them back is that the business never wrote down precisely what it wanted, never defined what "unsure" looks like, and never built the fifteen-minute weekly habit of checking the exceptions. Those three gaps are where we would look first in any automation that is failing, and all three are fixable with a text editor and an afternoon.
Before you buy another tool, write a better brief for the one you already have.
Questions people ask
Can AI agents make mistakes?
Yes, and AI agent mistakes are usually plausible rather than loud. Traditional software throws an error and stops. An AI agent with unclear instructions produces a confident, well-formatted wrong answer and repeats it for every record it is given, which is why the mistake can run for weeks before anyone notices.
How do you stop an AI agent from hallucinating?
Give it permission to stop. An agent with no escalation rule has no way to say it does not know, so it tends to invent an answer instead. Permission to stop lowers that risk rather than removing it, so tell it to return null for anything it could not read, never to estimate a number, and to hand the record to a person when its confidence falls below a set threshold.
How should an AI agent handle errors?
By naming them instead of guessing past them. Give the agent named statuses such as unreadable and possible duplicate, a confidence threshold below which it marks the record for review, and one short sentence in each flagged record saying what a person needs to check.
How do you measure an AI agent's performance after launch?
Sample its output, including the records it did not flag, and keep the exception queue visible, with a person clearing it every week. Read an empty queue as a warning, not a win: if nothing has been flagged for a month, check whether the confidence threshold is too low before trusting the silence.
Book a Job Check. We look at one job with you, one real week of it, using your own numbers. You get a written Job Sheet that says what done looks like, how it will be measured, what stays with your team, what we need from you, and a quote.
Book a Job CheckParallaxAI is based in George. We take back-office jobs off your team's desk, set up around the systems you already run, and the judgement stays with your people. See how we take operations work off your desk.
Sources
- South African Revenue Service, Value-Added Tax (the 15% standard rate), read 30 November 2026.
- Protection of Personal Information Act 4 of 2013, on gov.za, read 30 November 2026.