AI agents rarely break because the model is weak. They break because of eight boring things: thin knowledge, bad tool calls, retry storms, duplicate actions, expired access, risky actions with no human check, silent failures and runaway costs. Fix those eight and an agent that works in a demo will keep working when real people use it.
I'm Sivaguru, founder of LotsTech. I run the built-in agent in every one of our other apps on LotsAgent, the product I build, so these failure modes are not theory for me. This guide is for founders putting an agent into their own product or business, and for AI consultants and agencies building agents for clients. For each failure I'll show what it looks like, why it happens, and the fix that works whatever you build on. Then a short rollout plan and a checklist you can run before an agent goes unattended.
You may have seen claims like "78% of AI agents never reach production". I couldn't trace those to an original source, so they're not here. You don't need a scary statistic to know agents fail. You need to know how.
Why demos work and production doesn't
A demo has clean data, a friendly user and one happy path. Production has messy data, surprising questions, APIs that time out and expired tokens. And the math works against you. An agent's job is a chain of steps: read, decide, call a tool, read the answer, decide again. If each step works 99% of the time, a 20-step job finishes cleanly only about 82% of the time (0.99 to the power of 20). At 95% per step, 20 steps succeed about 36% of the time. Every step you add is another chance to fail, so reliability has to be designed into every step, not hoped for at the end.
Failure 1: The agent answers from thin air
What it looks like: a customer asks your help-center assistant about an exception to your refund policy. The agent doesn't know, so it guesses, confidently. Or it forgets what the customer said two messages ago and asks again.
Why it happens: the model is built to be helpful, and helpful without facts turns into invention. Give it a vague prompt and no source material, and it fills the gap.
The fix:
- Give the agent real knowledge: your docs, help pages, policies, product data. Answers should come from that first.
- Make "I don't know, here's who can help" an allowed answer. An honest gap is cheaper than a wrong promise.
- Have it link the page it answered from, so people (and you) can check.
- Watch what it couldn't answer and fill those gaps every week.
There is a real case on this. Air Canada's chatbot told a passenger he could claim a bereavement fare after his trip, which wasn't the airline's policy. A Canadian tribunal ruled the airline was responsible for what its chatbot said and ordered it to pay (BBC, checked 26 November 2026). Your agent's words are your words.
Where LotsAgent fits: an agent answers from its knowledge first, links the source page, and says so when its knowledge doesn't cover the question. Knowledge gaps lists the topics it couldn't answer, most asked first, so you know what to write next. For what an agent should and shouldn't remember between conversations, see how AI agent memory actually works.
Failure 2: Tool calls that look right and aren't
What it looks like: the agent calls your CRM with a field that doesn't exist, or the right tool with the wrong ID. Worse: it queries user_id when the record uses client_uuid, gets back an empty but valid result, and tells the customer "I couldn't find your account". No error anywhere. Just a wrong answer.
Why it happens: the model generates tool arguments that look plausible. APIs change fields without telling you (schema drift), and an empty result is easy to read as "nothing there" instead of "I asked the wrong question".
The fix:
- Validate every tool call against its schema before it runs. A made-up argument should be caught at the boundary, not by the API three systems later.
- Describe each tool in plain words, including what an empty answer means, and keep the list short.
Where LotsAgent fits: each action you add says what it does (reads, changes data, sends something or deletes), and you can press Test on an action to check it before the agent uses it. If your product has an OpenAPI description, you import it instead of hand-writing tool definitions. More on this in how business tools become agent-callable through MCP.
Failure 3: Retry storms
What it looks like: an API returns a 503. The agent retries. And retries. Forty identical calls later, the job still hasn't finished, the API provider is rate-limiting you, and you've paid for every model call in between.
Why it happens: "if it fails, try again" is the default almost everywhere. Without rules about which errors to retry, how long to wait and when to stop, a passing hiccup becomes a storm.
The fix: sort errors before you retry them.
| Error | What it usually means | What to do |
|---|---|---|
| 429 (rate limit) | Too many calls too fast | Wait, then retry with a longer delay |
| 503, network timeout | Temporary problem | Retry with exponential backoff and a little randomness (jitter) |
| 400 (bad request) | The call itself is wrong | Don't retry the same call; fix the arguments or stop |
| 401, 403 | Access expired or not allowed | Don't retry; reconnect or ask a person |
Then add three guards:
- A retry budget: 3 to 5 tries per call, then stop and report.
- A timeout on every call, so one hung API can't freeze the whole job.
- A circuit breaker: if a tool fails several times in a minute, stop calling it for a few minutes instead of hammering it.
For long multi-step jobs, also save progress after each step. Then when step 6 of 7 fails, you redo step 6, not everything before it. If your setup can't do that, keep jobs short and make every step safe to run twice (next section).
Where LotsAgent fits: every action call has a timeout (10 seconds unless you change it, up to 30) and a cap on how many calls an agent can make per minute, so a stuck API can't drag a conversation on forever.
Failure 4: Retries that do things twice
What it looks like: the agent sends an email, the network drops before the reply comes back, the agent retries, and the customer gets two emails. Same with invoices, refunds, records and charges.
Why it happens: a timeout doesn't tell you whether the action happened. It only tells you that you didn't hear back.
The fix: make actions idempotent. Give every action a unique key (an idempotency key) and send it with the call. If the other side has already done that action, it returns the first result instead of doing it again. Many payment and email APIs support this. Where one doesn't, check before acting ("did I already create this?"). Any action that can't be made safe to repeat should go behind a human check (failure 6).
Failure 5: Access that's too wide or quietly broken
What it looks like: two opposite problems. The agent's login token expires mid-job, a call returns 401, and the CRM update never happens. Or the agent has admin access to everything, so one bad decision can touch data it never needed.
Why it happens: agents often run with one shared, powerful key that someone set up once and forgot. Tokens expire, keys rotate, and nobody tells the agent.
The fix:
- Give each agent only the tools and access its job needs. A lead-triage agent reads email and writes to one CRM object; it doesn't need billing.
- Prefer read-only wherever the job only reads.
- When the agent works for a signed-in person, let it act with that person's own rights, not a master key.
- Treat 401 and 403 as "stop and tell someone", never as "try again".
Where LotsAgent fits: an in-app agent acts as the signed-in person with their own rights, checked by your app's own permission rules. A viewer can only look. Text inside emails, pages and documents is read as data, never as instructions, so a sneaky line in an email can't give the agent new orders. More in AI agent security, identity and audit trails.
Failure 6: Risky actions with nobody checking
What it looks like: a dealership chatbot built on ChatGPT was talked into "agreeing" to sell a 2024 Chevy Tahoe for $1. It wasn't legally binding, but it went viral (Business Insider, checked 26 November 2026). Now picture the same agent with access to send quotes, issue refunds or delete records.
Why it happens: without explicit rules, an agent treats "send the email" and "look up the order" as the same kind of step. Both are just tool calls.
The fix: sort every action the agent can take into three groups before it goes live.
- Runs on its own: reading, searching, drafting, categorizing, internal notes.
- Waits for a person: anything that sends, deletes or moves money. The person sees exactly what will happen and says yes or no.
- Never runs from an agent: anything you'd never want automated, such as changing the account owner.
Unattended runs need special care. A scheduled job at 3am has nobody to approve anything, so the safe rule is: an action that needs approval doesn't run there. The job stops and tells you what is waiting.
Where LotsAgent fits: this is built in. Anything that sends, deletes or moves money waits for the person to press Confirm on a card that shows what will happen, with names instead of IDs. Cancel, and nothing changes. Scheduled runs, the API and MCP have nobody to confirm, so those actions don't run there; the run tells you which action is waiting. You can also set an action to always ask. More on drawing the line in adding a human review step.
Failure 7: Silent failures and slow drift
What it looks like: the agent "completed successfully" but never sent the follow-up. Or it worked well for three weeks, then quietly got worse. No error, no alert, clean logs.
Why it happens: most failures don't throw errors. People start asking new kinds of questions. Your instructions pile up patches until they contradict each other. A tool's answer changes shape. The agent keeps answering, just worse.
The fix:
- Log every action: what the agent was asked, which tools it called, what came back, what it did.
- Alert on what you'd want to know at 3am: repeated errors, a spike in tool failures, an action waiting for approval.
- Review a sample of real conversations every week, and look at the trend, not just today.
- Test against real questions, including the ugly ones, every time you change the instructions, knowledge or tools. A test set of happy-path questions gives false confidence.
- Ask yourself one question regularly: if the agent failed yesterday, would I know?
Where LotsAgent fits: every action call is listed in Activity. For the sidebar and the web address, Activity shows conversations, people, messages, tool calls, errors, Confirm cards and thumbs up or down, per day and as a timeline per conversation. Test lets you try the agent before people see it, and Stop now turns the agent's sidebar off at once if something looks wrong.
Failure 8: Costs that spiral
What it looks like: a weekly job meets ten thousand records instead of five hundred, calls the model once per record, and the month's budget is gone by Wednesday. Or a public chat gets hammered by one visitor.
Why it happens: every model call costs a little. Loops, retries and big inputs multiply "a little" fast, and nobody sees it until the invoice.
The fix:
- Set a hard daily spend cap per agent, with a warning before you hit it.
- Limit how many messages one person can send per day.
- Batch work instead of calling the model once per row, and look for runs that retry without end.
Where LotsAgent fits: each agent has a daily spend cap with an email at 80%, each person has a daily message limit on the sidebar, and your account has a monthly limit across all agents. Plans are priced by number of agents (Starter $19 a month for 1 agent, Pro $75 for 5, Business $200 for 20; yearly gets 2 months free), and usage beyond the included credits is what the AI costs plus 20%, with no per-seat or per-answer charge. Details on the pricing page and in what an AI agent actually costs to run.
The missing piece: an owner
Every failure above gets fixed faster when one named person owns the agent. One person who knows what it may do, reads the review, gets the alert and can switch it off. Agents without owners drift, because nobody's job is to notice. If you build agents for clients, decide on day one who owns each one on your side and on theirs. The full operating model is in every AI agent needs an owner.
A 7-day rollout plan
You don't need months to get an agent running safely. You need the steps in the right order. This is the plan I'd follow for a first agent.
- Day 1: one job, done once. Pick the simplest real workflow with a clear success condition (answer billing questions from your docs, draft replies to support tickets, triage inbound leads). Connect only the one tool it needs. Run it by hand and check the result.
- Day 2: a job description and scoped access. Write what the agent does, what it must not do, and what it does when unsure. Cut the tool list to the minimum. Read-only wherever possible.
- Day 3: knowledge and memory. Add the docs and data it answers from. Decide what it should remember between conversations and what it should forget.
- Day 4: approvals and logs. Put every action into one of the three groups (runs alone, waits for a person, never). Confirm every action is logged and you can find any run.
- Day 5: break it on purpose. Turn off a connection, feed it a malformed input, hit a rate limit. The agent should log the failure, retry sensibly, stop when retries run out, and tell someone. Nothing should happen twice.
- Day 6: audit it with fresh eyes. Walk through identity, access, memory, logs, approvals, failure handling and who gets alerted, as if you inherited the agent from someone who just left. The 30-minute AI agent audit is the checklist I use.
- Day 7: go live, watched. Put it in front of real people with someone watching the first day. Then move to a daily five-minute log review for the first week, and a weekly one after that.
If the day 6 audit fails, the agent doesn't go unattended. The order matters more than the dates. Add a second workflow only when the first one's review takes five minutes and the alerts have gone quiet.
The checklist
Run this before any agent works unattended.
| Failure | Check |
|---|---|
| Answers from thin air | Answers come from real knowledge, link the source, and "I don't know" is allowed |
| Bad tool calls | Arguments are validated; tools are few and clearly described |
| Retry storms | Errors are sorted; retries have backoff, a budget and a timeout |
| Duplicate actions | Actions carry idempotency keys or check before acting |
| Access problems | Least privilege; acts with the person's own rights; 401 means stop |
| Risky actions | Sends, deletes and money wait for a person; unattended runs skip them |
| Silent failures and drift | Every action logged; alerts set; weekly review of real conversations |
| Costs | Daily spend cap, per-person limit and a kill switch |
| Ownership | One named owner with the authority to switch it off |
Related reading: How to Build One AI Agent That Works With Email, Slack and Your Calendar and How to Build an AI Agent That Reads Email, Makes a Decision, and Follows Up.
FAQ
What is the most common reason AI agents fail in production?
In my experience it's the gap between the demo and real use: thin knowledge, tool calls nobody validated, and failures nobody sees. The model is rarely the problem. The steps around it are.
How do I stop an agent from retrying forever?
Sort errors first: retry 429s, 503s and timeouts with exponential backoff, never retry 400s, 401s or 403s. Give every call a timeout and every job a retry budget of 3 to 5 tries, then stop and report.
How do I stop an agent from sending the same email twice?
Use idempotency keys on actions that change something, so a repeat returns the first result instead of acting again. For actions you can't make safe to repeat, require a person to confirm them.
Which actions should always need human approval?
Anything that sends something to a customer, deletes data or moves money. Reading, searching and drafting can run on their own. Scheduled jobs with nobody watching should skip approval-needed actions and tell you what is waiting.
Do I need to build all of this myself?
You can, and on a framework you will. Or you can use a platform where approvals, logs, limits and a kill switch are already there. That's why I built LotsAgent: Confirm cards, Activity, spend caps and Stop now come with every agent.
Try it on one workflow
Pick one job from this week, build the agent, and run the checklist above before it goes unattended. If you want approvals, logs and spend limits already in place, start the 14-day trial at lotsagent.com. No card needed. The docs cover setup step by step.
Updated 26 November 2026.
