The Bridge / Technology & AI

AG-06: When an Agent Gets It Wrong

· 3 min read AI enablement AI agents automation

Part 6 of the Agents series. The examples showed useful work; this final part asks how that work fails and why the chain continues to Evaluation.

An agent can be wrong in a more dangerous way than a chatbot. A chatbot may give a bad answer that a person reads and rejects. An agent can act on a bad answer, then act again. It can call the wrong tool, update the wrong record, contact the wrong person, or repeat a flawed step at machine speed.

The answer is not to pretend this cannot happen. The answer is to design for the day it does.

The common failures

A wrong tool call often starts with a believable similarity. Two customers have almost the same name. A document number differs by one character. An old contact remains in the record after the person changed jobs. The agent chooses the match that looks right and moves on.

Loops are another failure. A required field stays empty, so the agent checks again. The result does not change, so it checks in a different way. Each step is reasonable by itself, but the job never reaches its stop condition and may create repeated tasks, messages, or charges.

The hardest failure is the confident mistake. The agent finds incomplete evidence, fills the gap with a plausible conclusion, and writes a clean summary. Nothing in the tone warns the reader that a key fact was missing. Fluency is not proof.

Containment comes first

Containment means a failure cannot travel far. Least access matters here: an agent that can read five fields cannot corrupt fifty. Approval points stop external or irreversible actions. Limits cap the number of records and messages affected.

Duplicate protection matters too. Each action should carry a marker tied to the case and step, so a retry does not send the same request twice or create the same task again. When a tool reports an unclear result, the agent should verify the current state before trying again. Repeating first and checking later is how faults multiply.

Stop conditions should be plain: too many attempts, conflicting records, missing authority, an unexpected amount, or a result outside the expected range. Any one of them can end the run and ask for help.

Logs, undo, and honest recovery

When something goes wrong, the log is the difference between an incident and a mystery. It should show the input, the evidence used, the tool calls, the outputs, and the changes made. A person should be able to answer three questions: what happened, what was affected, and what needs to be reversed.

Undo must be planned before it is needed. Some actions can be reversed directly. Some need a compensating action, such as a correction note or a follow up message. Some cannot be undone at all, which is why they belong behind approval in the first place. Backups and version history help with records, but they do not unsend a message or restore a customer's confidence.

Why evaluation comes next

Boundaries reduce the blast radius. Logs reveal the damage. Neither proves that the agent is doing good work week after week.

Somebody has to grade the work: whether the agent chose the right records, resolved only what it was allowed to resolve, escalated at the right point, and produced reports people can trust. That grading is Evaluation, the next step in the agentic workflow chain. Agents give software the ability to act. Evaluation gives a company a disciplined way to decide whether those actions deserve more trust, less trust, or none at all.

Try this first

Ten questions about how work actually moves through your operation. No call, no slide deck.

Free operational clarity check
Talk to us

If you want a second opinion on a specific decision, that conversation is free.

Talk to Us