Skip to content

Field NotesWho Fixes Your AI Agent When It Stops Working?

Playbooks

Who Fixes Your AI Agent When It Stops Working?

Glyph-field title card on dark carbon: dense playbooks texture glowing purple, article title "Who Fixes Your AI Agent When It Stops" on staggered dark slabs.
When an autonomous AI agent fails in production, the legal and commercial responsibility always belongs to your business, not the software vendor or model provider. If you build workflows internally, your staff absorbs the repair work. With software add-ons, support stops at the API boundary. Only managed operations pair automated agent execution with an accountable team that monitors, diagnoses, and repairs live failures.

When software automates customer conversations, invoice processing, or intake qualification, it feels like permanent leverage. A repetitive administrative task that used to consume twenty hours a week disappears into background automation. The software routes messages, extracts data from attached forms, updates your records, and issues confirmation notes without demanding your attention.

Then something drifts. A customer receives a quote promising terms your business doesn't offer. An invoice routing pipeline stops attaching purchase orders to bills because an upstream accounting field was renamed. Or a lead qualification agent stops sending notifications because an authentication credential quietly expired overnight.

When that happens, who fixes it?

If you ask the vendor selling the underlying model, they point you to the software layer. If you ask the SaaS platform hosting the integration, they confirm that their servers are running and suggest you check your custom prompt. And if you ask the legal system or the customer who received the bad quote, the answer is completely unambiguous: you own the mistake.

The Illusion of Autonomous Perfection

The most dangerous assumption a founder can make about automated systems is treating an AI agent like a finished appliance. When you buy a refrigerator or install a static database trigger, the machine either runs or it suffers a power cut. It doesn't rewrite its own operating rules when the weather changes.

AI agents don't work that way. An agent operates at the intersection of natural language, shifting software interfaces, and fuzzy inputs. It depends on third-party language models that update behind the scenes, software connectors that enforce strict security boundaries, and customers who phrase standard requests in unpredictable ways.

When an agent breaks, it almost never crashes loudly. There's no blue screen, no warning sirens, and no HTTP 500 error alerting your IT manager that the pipeline is dead. Instead, it enters what systems engineers call gray failure: the infrastructure reports that everything's healthy, but the output has turned completely counterproductive.

The legal reality of this failure mode was made starkly clear in the case of Moffatt v. Air Canada.1 A passenger used Air Canada's customer-facing chatbot to inquire about bereavement fares following the death of his grandmother. The chatbot informed him that he could purchase regular-fare tickets immediately and submit an application for a retroactive bereavement discount within ninety days. In reality, Air Canada's published tariff policy required bereavement fares to be requested prior to travel. When the passenger submitted his refund request, Air Canada refused to pay.

When the dispute reached the British Columbia Civil Resolution Tribunal, Air Canada presented a defense that shocked commercial observers: the airline argued that the chatbot was a separate legal entity responsible for its own actions, and that the company couldn't be held liable for its automated advice.1

The tribunal dismissed the airline's argument. The tribunal member ruled that Air Canada remained entirely responsible for all representations made on its website, whether delivered via static text or an automated conversational agent, and awarded damages for negligent misrepresentation.1

The takeaway for small and mid-sized businesses isn't subtle. In the eyes of customers, regulators, and courts, your agent isn't an experimental contractor or a sovereign digital entity. Its statements are your statements, its errors are your liabilities, and its failures are your operational defects.

The Anatomy of a Broken Agent

To understand why fixing an agent is difficult, you have to examine why agents break in the first place. Traditional software breaks when code encounters an unhandled exception. An agent breaks because the environment around it shifts while the code keeps executing.

In an empirical study of long-running autonomous agents in production, researcher Wei Wu analyzed twenty-two production incidents across forty scheduled agent workflows protected by 4,286 unit tests and 827 governance checks.2 The study documented twenty-eight separate silent failure occurrences where automated testing reported complete health while the agent generated plausible, counterfeit narratives. Most critically, unit tests and preflight checks caught almost zero novel failures in advance. Seventy percent of all silent failures were discovered only when a human inspected the actual product output.2

Wu labeled this phenomenon fail-plausible behavior: when an upstream system returns bad data or an error log leaks into the context window, a language model doesn't halt. It weaves the error into a fluent, convincing response that conceals the underlying breakdown from automated monitors.2

Three technical failure mechanisms trigger this breakdown across everyday small-business workflows:

First, authentication and token expiration. Production business workflows don't run in isolated sandboxes; they connect to platforms like HubSpot, Google Workspace, and Salesforce. SaaS providers enforce strict security limits on OAuth access tokens: HubSpot access tokens expire after thirty minutes, Google tokens expire after sixty minutes, and Salesforce sessions can expire in fifteen minutes.3 Traditional web apps refresh these tokens when a human user clicks a button. But autonomous agents run persistent background jobs without a human present. When an access token expires mid-workflow, API requests begin failing. The agent often receives an empty payload, treats that empty payload as evidence that no records exist, and proceeds to close active tickets or create duplicate accounts based on missing data.3

Second, upstream schema drift and webhook changes. Business software updates continuously. Stripe, for example, issues major API releases twice a year with breaking changes to webhook schemas.4 When an external billing platform, CRM, or scheduling tool renames a JSON property or reorganizes a data payload, an agent's tool wrapper no longer parses incoming events correctly. The webhook endpoint returns an accepted receipt, but the agent extracts empty fields.

Third, semantic drift. Your company's pricing updates, a vendor changes service tiers, or a client asks a question combining two distinct policies. Because language models predict probable words rather than consulting deterministic logic tables, novel phrasing causes the model to guess. Unless bounded by strict policy checks, the agent invents a compromise that sounds professional but violates company rules.

The Three Operating Models: Who Holds the Pager?

Operating an automated agent requires clear ownership across system monitoring, credential maintenance, and customer liability.

Accountability and Maintenance Across AI Agent Operating Models
Operating ModelWho Monitors FailuresWho Diagnoses API DriftCustomer LiabilityFounder Burden
Internal DIY BuildInternal staff or founderInternal developer or ops leadCompany strictly liableHigh: team interrupts core work to debug
Software SaaS Add-OnPlatform monitors server uptime onlyUnassigned: vendor support points to configurationCompany strictly liableModerate: staff must troubleshoot custom settings
Managed Agent OperationsDedicated operational providerProvider engineering and operations teamCompany strictly liable with provider SLALow: client approves business rules while provider operates

Software vendors guarantee platform uptime, not workflow accuracy. Unless an operational team is explicitly contracted to manage the integration, system repair defaults to your existing staff.

Every founder deploying an AI agent eventually discovers that building an agent is only ten percent of the job. The remaining ninety percent is operating it. The fundamental question isn't how the agent was built, but who holds operational responsibility when the workflow encounters an edge case.

There are three common operational models in the market today, each placing a very different burden on your leadership team.

In the Internal DIY model, a founder or an internal operations lead builds workflows using visual builders or custom scripts. On day one, the workflow looks like a triumph of low-cost efficiency. But when an API endpoint deprecates or an authentication token expires, the system stops working. Because no external party is accountable, the problem lands directly on your highest-paid team members. Your operations manager or technical lead stops working on revenue-generating projects to spend four hours combing through execution logs and inspecting JSON payloads.

In the Software SaaS Add-On model, you enable the native AI features provided inside software you already license. The vendor manages the base platform, which eliminates custom server maintenance. However, software vendors explicitly limit their liability. Their Service Level Agreements guarantee server uptime, not output accuracy. If the agent misinterprets a complex customer request, drops an unformatted PDF attachment, or generates incorrect booking details, the vendor's help desk points back to your configuration settings. The burden of prompt tuning, data hygiene, and exception handling remains entirely on your internal staff.

In the Managed Agent Operations model, an external specialized provider treats the agent as a live operational workload. In this model, Machine-like operates the runtime, agents work the recurring tasks, and clients approve policy rules and exceptions. The operational provider monitors execution logs, maintains token lifecycles, migrates breaking API schemas, and catches edge cases before bad data reaches downstream databases. When an anomaly occurs, the provider's engineering team diagnoses and repairs the issue, ensuring that internal employees don't spend their working hours acting as software debuggers.

The Difference Between Monitoring Uptime and Operating Workflows

Many software vendors claim their tools are fully managed because they provide a status dashboard showing ninety-nine percent uptime. For a founder, confusing infrastructure uptime with operational correctness is an expensive error.

A server can report one hundred percent uptime while an agent inside it systematically misroutes every customer inquiry. If an email triage agent receives twenty inbound messages and marks nineteen of them as resolved without alerting your sales team, the server didn't crash. HTTP status codes returned 200 OK across the entire pipeline. From the cloud provider's perspective, the system performed flawlessly. From your business's perspective, you just lost nineteen qualified sales leads.

Operating an agent requires continuous observability at the semantic layer, not just the network layer. That requires:

  1. Deterministic verification rails. An agent shouldn't have unmonitored permission to execute irreversible actions. Actions involving refunds, contractual commitments, public communications, or data deletion must pass through deterministic policy gates before execution.
  2. An explicit exception queue. When an agent encounters ambiguous inputs or missing data, it shouldn't guess. It must safely route the ticket to a human review queue, preserving full context so that a team member can make a definitive decision in seconds.
  3. Active API and credential maintenance. Background systems must anticipate token expiration, validate webhook payloads against strict schemas, and log failed tool attempts before state corruption spreads across connected apps.
  4. Continuous output inspection. Because automated tests miss gray failures, operational teams must conduct regular sampling of completed runs to verify that actual customer outputs match intended business policy.

What to Audit Before Deploying an Agent

Before you connect an autonomous agent to your customer inbox, accounting ledger, or CRM, don't just evaluate how well it performs in a controlled demonstration. Ask the following operational questions to understand who really owns the system when things go wrong:

First, what happens when an upstream tool returns an error? Does the agent halt and alert an operator, or does it attempt to improvise an answer using missing context? If a database lookup times out, will the agent tell the customer that the record doesn't exist?

Second, who updates the integration when APIs change? If your CRM or billing platform deprecates a webhook format, who tracks that developer changelog and rewrites the connector? If the answer is nobody on your payroll, you're buying a time bomb that will detonate during the next platform release.

Third, where do edge cases go? When a customer submits an inquiry that falls outside the agent's system instructions, who receives the escalation? If the workflow dumps unhandled exceptions into a silent error log that nobody monitors, your customers will be the ones informing you that the automation failed.

Fourth, who pays for the mistake? If the agent quotes an incorrect price or promises a turnaround time your team can't meet, what's your recourse? Software agreements universally disclaim liability for AI outputs. Unless you've structured your operations so that human approvals govern sensitive commitments, your business absorbs the entire financial and reputational loss.

Autonomous agents offer genuine operational leverage, but only when paired with clear operational ownership. Software tools can execute repetitive tasks, but they don't hold accountability. When your agent encounters the unexpected, someone has to know what broke, why it broke, and how to fix it before your customers notice. If you haven't explicitly assigned that job to a dedicated operational team, the person fixing it will always be you.

Frequently Asked Questions

Can an AI agent fix itself when it encounters an error?

No, an AI agent can't reliably diagnose and repair its own operational failures. While an agent can retry a failed network request or re-prompt a language model, fundamental failures stem from expired credentials, changed API schemas, or ambiguous instructions. When an agent attempts to self-correct without external guardrails, it frequently enters circular loops or generates plausible fabrications that compound the original problem.

Why don't software vendors guarantee that their AI agents won't make mistakes?

Software vendors license software platforms; they don't manage individual business operations. Language model outputs are probabilistic, meaning identical inputs can yield different outputs depending on context and temperature settings. Because vendors don't control your prompt configuration, data quality, or business rules, their commercial agreements explicitly disclaim responsibility for errors, hallucinations, and consequential damages resulting from AI outputs.

What's the difference between an API outage and agent drift?

An API outage is a binary infrastructure failure: a server stops responding, returns an HTTP error code, and halts execution cleanly. Agent drift is a silent semantic failure: the infrastructure remains online, but the agent's behavior degrades because of changing customer phrasing, outdated instructions, or altered data structures. Outages announce themselves loudly, whereas drift happens quietly in production.

Who is legally responsible when an AI agent makes a commitment to a customer?

Your business is strictly responsible for every commitment, quote, and statement made by your AI agent. Judicial rulings, including Moffatt v. Air Canada, have confirmed that courts treat automated agents as direct extensions of a company's website and service infrastructure. You can't disclaim liability by arguing that an automated system acted outside its intended instructions.

Sources

  1. Moffatt v. Air Canada, 2024 BCCRT 149. Civil Resolution Tribunal of British Columbia. Christopher C. Rivers. 2024-02-14.
  2. When Errors Become Narratives: A Longitudinal Taxonomy of Silent Failures in a Production LLM Agent Runtime. arXiv. Wei Wu. 2026-06-11.
  3. OAuth Token Refresh for Long-Running Agents – Production Guide. ScaleKit. ScaleKit Engineering. 2026-05-26.
  4. Handle Webhook Versioning. Stripe Documentation. Stripe. 2024-09-30.

Let's get back tothe work of humans⁠1

Frontier labs build models. We put them to work, so your team can get back to theirs.