Skip to content
be-human.ai
← Back to the journal

Testing & reliability

Graceful Degradation for AI Agents When a Tool Goes Down

When an AI agent's tool is down, queue the task, answer with verified facts only, or hand off to a person. Here is how to decide which path applies.

Be Human typographic cover with the title: Graceful Degradation for AI Agents When a Tool Goes Down
Conceptual illustration created with AI · Be Human

When a tool an AI agent depends on is unavailable, the agent should take one of three paths: queue the task for a safe retry, answer with facts it has verified, or hand the case to a named person. It should not fill the gap with a plausible guess. Graceful degradation is the set of rules that decides which path applies to each failed step, and those rules need to exist before the outage starts.

Key takeaways

  • Decide the fallback for each tool before an outage, not during one.
  • A guess is never a fallback. If the agent cannot verify a fact, it must say so.
  • Queue an action only when it can be retried safely, with a key that prevents a second execution.
  • Hand off when the decision needs authority, judgment or data the agent cannot reach.
  • Test each path with a planned failure, then review the results with the people who own the work.

Why guessing is the failure to design out

A language model is built to produce a fluent answer. When a lookup times out, the model still has earlier messages, policy text and partial data in its context, so it can write a reply that sounds correct and is not. The customer or staff member sees a confident sentence and has no reason to suspect the missing call behind it.

The first design question is therefore not how to keep the agent online, but what the agent may say and do when it cannot check. Those two questions have different answers. Keeping an agent online is a reliability project. Limiting what it asserts without evidence is a control, and in a business setting that control matters more.

A timeout also needs careful handling. The request may have succeeded after the agent stopped waiting, so the honest status is unknown, not failed. Treating unknown as failed often leads to a repeated action, which is how duplicate bookings and double refunds appear. The guidance on reporting timeouts as unknown rather than failed covers this distinction in detail.

The three safe paths: queue, verified answer or hand off

Queueing means the agent records the task with its inputs, the reason it could not finish, the owner, and a retry condition. It fits work that is not urgent and can be repeated without harm. For any write, the retry needs an idempotency key so the downstream system recognizes the same request. Payment providers such as Stripe document this pattern, because a repeated request should never create a second charge.

A verified answer means the agent responds only with facts it already holds from a source it can name and check, and it states what it could not confirm. A reply such as: your order was received, I cannot confirm the shipping status right now, and the team will reply in this thread, is far more useful than an invented delivery date.

Handoff means a person takes over. The agent passes the decision, the evidence it gathered, the customer state and what it has already told the customer, so the person does not restart the conversation. A handoff that forces someone to reread the whole transcript is only half finished. Sending the decision rather than the mess is the discipline that makes handoffs usable.

A decision guide for each failed tool call

Use these questions in order whenever a tool call fails or returns an unknown result:

  • Is the requested step a write, such as a refund, booking, message or change to a record? If yes, do not repeat it until its status is confirmed. Queue it with an idempotency key, or hand it off.
  • Is the step a read whose answer already sits in verified memory with a known source? If yes, answer from that memory and state how old it is.
  • Does the customer or staff member need a decision now? If yes, hand off with a short summary and the open question.
  • Can the question wait safely? If yes, queue it with a retry window and tell the requester when to expect an update.
  • Has the retry limit been reached? If yes, stop, record the failure type, and notify the owner.
  • Is the requested information outside what this agent is permitted to share? If yes, decline politely and route the request to the authorized person.

Build the degradation plan in five steps

  • Step 1: List every tool the agent calls, and mark each call as a read or a write. Writes deserve the strictest rules.
  • Step 2: For each tool, name the fallback path, the owner who receives handoffs, and the longest wait before the fallback starts.
  • Step 3: Define which facts the agent may state without the tool, with the source for each fact and the date a person last confirmed it.
  • Step 4: Set retry and stop rules: how many attempts, how far apart, and what the agent records as unknown.
  • Step 5: Write the message the customer or staff member sees on each path, and list what the agent must never say, such as an unconfirmed delivery date or a promised refund.

A plan like this fits on one page. If it runs much longer, the agent probably carries too many responsibilities for one role, and the first engagement should narrow its scope.

Illustrative scenario: an order question during a warehouse outage

Illustrative scenario: a customer asks whether an order has shipped, and the order lookup times out twice. An agent without a degradation plan finds an older conversation, guesses that the order left the day before, and tells the customer so. The customer waits for a parcel that has not moved.

A degraded agent behaves differently. It tells the customer it cannot confirm the shipping status at the moment, that the request is recorded, and that the team will answer in the same thread once the status is checked. It can point to the order confirmation the customer already received, because that fact is verified. In the same outage, a refund request arrives for that order. The agent does not retry the refund on every timeout. It queues one refund request with the order identifier and an idempotency key, then hands it to the finance owner with the customer's message and the lookup results. Nothing is duplicated, nothing is invented, and the person who decides has what they need.

How Be Human runs degradation in managed operations

In Be Human engagements, the degradation plan is part of the first role definition rather than a later patch. We map the tools the agent uses, set approval boundaries for writes, and agree with the business owner which queue or person receives each kind of handoff. In managed operations, incident response covers outages: we review the failed runs, check whether any action was duplicated or left unknown, and propose rule changes through a controlled process that the owner can read. We cannot control whether a third-party tool stays online, so the work focuses on keeping the agent predictable while it is down.

Test the plan before the next outage

Test degradation the way you would test a fire exit, with a planned failure. Disable one tool in a controlled environment, run the usual requests, and check three things: writes are queued rather than repeated, unverified facts are labeled as unverified, and every handoff contains enough to act on without rereading the transcript. Then repeat the exercise with the next tool. A blameless incident postmortem helps you record what happened so that each change to the rules rests on evidence. If you are not sure which of your current tasks deserves a fallback path first, the free Be Human AI diagnostic can help you find the first task worth handing to an agent.

Frequently asked questions

What is graceful degradation for an AI agent? It is the behavior an agent follows when a tool it needs is slow, failing or unavailable, and that behavior is defined in advance. Instead of stopping silently or improvising an answer, the agent queues safe tasks, answers only from verified facts, or hands the case to a person. The rules are written for each tool and each type of action.

Should an agent retry a write action when a tool times out? Only when the action can be repeated safely, which usually means the downstream system supports an idempotency key. Without that protection, a retry after an unknown result can create a second booking, charge or message. Until the status is confirmed, the write should stay in a queue or go to a person.

How does an agent avoid making up an answer when a system is down? It needs an explicit rule that unverified facts are never presented as true, plus a short list of facts it may use without a live lookup, each with a source and a confirmation date. When a question falls outside that list, the agent says what it cannot confirm and offers the next step. Planned failure tests show whether the rule actually holds.

When should a person take over from an agent during an outage? A person should take over when the decision needs authority, judgment or information the agent cannot reach, or when the customer needs an answer that cannot wait. The handoff should include the case summary, the evidence gathered, what the customer has already been told, and the open question. A good handoff lets the person act within minutes.

Your next step

See where an AI agent fits in your company first.

Take the free Be Human AI diagnostic. A few questions about your work show which task to hand to an agent first, what it needs to know and where a person approves.

Be Human editorial guidance. Examples are illustrative unless explicitly attributed. Sources provide background; implementation choices depend on your workflow.

Less busywork. More room for you.

Bring us the work you wish you had time for.

Book a call to try a personalized AI agent free for 7 days ↗Or take the free AI diagnostic →