RESEARCH
When Should Enterprises Let AI Agents Act Alone?
An accurate model can still make the wrong change, or make the right change twice.

Short Answer
The real test for autonomy is whether your applications and controls can enforce the rules, confirm what actually happened, and fix mistakes when something fails. Let the model interpret the request, let deterministic code enforce the rules, let people handle the exceptions, and let the agent act on its own only where clear limits are in place and outcomes can be verified.
Picture an engineering team reviewing an AI agent that updates invoice records. In a 2026 research paper posted to arXiv, researchers tested an AI agent on a simulated database where it had to update an invoice, create a related record, and set its status to ‘RECORDED’. To see how it handled technical problems, the researchers also introduced network timeouts and incomplete database writes. One version of the agent retried failed tool calls without first checking whether the original operation had already succeeded.
Under the most failure-prone test conditions, that retry-only agent passed the final database checks in 24 of 25 runs (96%). However, 19 of those same 25 runs (76%) also produced unwanted duplicate operations (actions that should have happened only once).
This raises an important question: How can both results be true?
When the agent calls a tool to create the invoice record, the database can commit that write. However, the network connection times out before the agent receives confirmation. The agent now faces some uncertainty: did the write fail, or did it succeed? It then retries without checking the database first, creating a duplicate record. The final database check still passes because the expected record exists; it simply misses the extra write created along the way.
Requiring human approval before the agent creates the record wouldn’t necessarily prevent this. A human reviewer could authorize this action, but that wouldn't establish whether the first database write succeeded after the network timeout. Using a more intelligent model on its own doesn't solve this either: even a model that interprets prompts and picks tools better still can't see whether a timed-out database write went through. Preventing duplicates requires safeguards outside the model (such as checking the database before retrying and making API calls safe to repeat), which we’ll break down later in the article.
The results of this simulated experiment aren’t representative of normal failure rates at real companies. But they do expose critical challenges enterprises face as they move from AI assistants that recommend actions to autonomous agents that can actually run workflows, interact with sensitive data, or operate production systems.
These points are starting to show up in real enterprise scenarios as well. In Measuring Agents in Production, Pan and colleagues surveyed 306 practitioners across 26 domains, and interviewed 20 teams deploying agents, focusing their main analysis on 86 responses describing pilot or production environments. Core technical performance (including reliability, robustness, and scalability) was ranked most frequently as the hardest development challenge. And among the 60 respondents who answered the agent autonomy question, 68% limited agentic execution to no more than 10 steps before human intervention. Separately, among the 31 respondents to the evaluation question, 74% reported using human evaluation.
For CIOs and enterprise architects, the decision on autonomy rarely comes down to letting agents run free versus putting a human in front of every workflow. An agent should act on its own only when doing so delivers a meaningful benefit and the policy engines, backend services, and verification checks around it can enforce permissions, validate live state, confirm the outcome, and recover from failures.
Six ways to execute a business workflow
Enterprises don’t need to assign one level of autonomy to an entire AI application; a single application can route tasks across six execution paths depending on the work and its risks:
| Execution Path | Who executes? | When it fits | Example |
|---|---|---|---|
| Manual handling | Employee | Key context is located outside the system, or human judgment is needed | A fulfillment specialist calls a warehouse supervisor when tracking data is missing |
| Deterministic/rules-based automation | Application code and downstream services | The request is structured, the rules are known, and outcomes are observable | A signed-in shopper selects an eligible order and presses Cancel |
| AI interpretation + deterministic execution | LLM interprets the request; deterministic code executes | The request is unstructured, but standard rules determine what happens next | A model identifies which item the shopper means; the application code enforces ownership and cancellation rules |
| AI proposal + human approval | LLM prepares, and employee authorizes | A person must exercise judgment or make a material policy exception | A support lead decides whether to absorb the cost of a late cancellation |
| Bounded autonomous execution | Agent executes within an enforced control layer | The sequence of actions cannot easily be defined in advance, policy controls can enforce limits, and mistakes can be managed | An agent investigates conflicting order and warehouse records, choosing which systems to query based on what it finds. It can cancel eligible items and issue refunds under a $100 cap, while separate policy controls enforce those limits. |
| Pause and escalate | Application stops, and employee investigates | The request is disputed, potential harm is too high, or the application can’t tell whether an earlier step succeeded or not | A cancel request to the warehouse times out with no reply, so the application holds the confirmation email and flags staff to check the parcel before anyone retries |
Drawing the line between human approval and bounded autonomy starts with being clear about what approval actually covers.
Approval is not one thing
While most people intuitively understand the “human in the loop” concept, approval can actually apply to three different decisions.
- Customer consent establishes what someone wants. A shopper confirming “Cancel both items” doesn’t prove those items are still eligible for cancellation.
- Standing permission establishes what an application is allowed to call. A service account may have access to update any order in Shopify, but that grant doesn’t mean every order should be changed, or that the agent picked the right one.
- Transaction exception approval gives a person flexibility to exercise their judgment. A support lead may authorize a late cancellation, absorb the cost of a shipped item, or reject a request that doesn’t meet standard policy.
These checks solve different problems, and so do the steps that follow: verifying eligible requests, executing the action, confirming the result, and recovering from failures. A workflow that gets approval right can still break at the execution or verification step.
This is why just adding a human approver isn’t a cure-all. Human review is mainly useful when the reviewer brings authority, judgment, or outside context the agent and its connected apps lack - like a finance manager signing off on an above-limit payment, a support lead granting a policy exception, or an engineer spotting that another team is already running scheduled maintenance. Manual execution wins outright for the same reason when people rely on off-system context and working relationships no API can reach, like a collections specialist who knows about a payment dispute that was never logged.
Without that added context or authority, approval just shifts the problem. If an agent has no access to the warehouse system, a support rep reviewing only the agent's summary has no way of knowing whether the parcel has already been picked. Worse yet, while that request sits in an approval queue, the warehouse may pass the shipping cutoff.
The goal is to put human judgment in places where it can change the outcome positively, not remove people entirely.
One cancellation, three different systems
To see how this plays out in practice, consider this example: a shopper asking to cancel their entire order and get a refund, with their order split across two shipments (shipment A and shipment B). Three different ecommerce tools are involved in handling this request – Gorgias handles the support request, Shopify manages the order, and ShipBob oversees warehouse fulfillment.
There are a few ways the agent can mistake the job for being done when it isn’t:
- Storefront vs. warehouse: Gorgias’s AI Agent uses a built-in Shopify cancellation integration (which Gorgias calls an Action) that checks whether an order is marked unfulfilled, then cancels it, restocks inventory, initiates a refund, and emails the shopper. Gorgias explicitly warns that this Shopify action doesn’t notify the third-party fulfillment service. A separate ShipBob integration attempts to stop warehouse fulfillment, and the agent must also use the Shopify cancellation action to issue the refund.
- Partial fulfillment: Just because Shopify still shows an order as unfulfilled doesn’t mean the warehouse can stop the shipment. Suppose the warehouse has already picked shipment B, but shipment A is still on the shelf. Under ShipBob’s cancellation rules, a shipment can only be canceled if it has not been picked, packed, or shipped. When an agent calls ShipBob’s order cancellation API endpoint on a split order like this, ShipBob can return ‘PartialSuccess’ (stopping shipment A while leaving shipment B in motion), along with an optional ‘canceled_shipment_results’ list showing what happened to each parcel. If the agent treats Shopify’s unfulfilled status (or ShipBob’s ‘PartialSuccess’ reply) as a full cancellation, it can issue a full refund and promise the shopper the order is canceled while shipment B is still being shipped.
- Race conditions at the cutoff: Even an accurate status check can go stale in seconds. Shipment A may still be cancelable when the agent checks at 10:00:00, then get picked at 10:00:05. The warehouse system must enforce the cutoff at the exact moment it applies the change rather than rely on the agent’s earlier lookup.
- Asynchronous refunds: An accepted cancellation request doesn’t mean the customer’s money has been returned. Shopify’s ‘orderCancel’ API call runs asynchronously; it replies with a job ID (essentially a tracking number to check on the request later), not confirmation that the cancellation actually finished. Even after Shopify creates a ‘Refund’ record, Shopify tracks that record separately from the status of the underlying payment transactions, which can still be pending or fail.
What, then, can the agent truthfully tell the shopper? Only what ShipBob and Shopify have actually verified: ShipBob stopped shipment A, shipment B was already picked and may require a return, and the refund in Shopify is still pending.
Gorgias, which coordinates the API calls to Shopify and ShipBob, only solves part of this. It does give support teams useful guardrails for clear-cut errors: it records API requests, responses, and errors in an event log linked to the ticket. When a multi-step workflow fails outright, Gorgias stops the remaining steps and escalates the ticket to a human rep. However, the grey areas are harder to predict. IT teams still must test whether Gorgias’s ShipBob integration treats a ‘PartialSuccess’ reply as an error, which parcel-level details reach the agent, whether the confirmation email can be held, and what happens after a timed-out reply.
Although this walkthrough combines documented API behavior rather than a reported customer incident or tested Gorgias–ShipBob–Shopify deployment, the lesson holds across enterprise software: a successful tool call, a closed support ticket, and a fulfilled customer promise are three different things.
AI agents don’t invent new software failures – they make them easier to trigger
Lost replies, stale lookups, and duplicate writes existed in software systems long before LLMs. What changes with AI agents is where the choice of action comes from.
When a shopper clicks a ‘Cancel order’ button, the required action is straightforward: the application verifies the order belongs to that shopper and is still eligible to cancel, then submits the change. When a shopper writes, "Can I cancel the blue one and still get the other by Friday?", the right action is more ambiguous - they might be asking a question, authorizing a partial cancellation, or looking for reassurance before deciding.
An LLM can interpret that message, ask which item the shopper means, and extract the order number. But that doesn’t mean the model should also decide which APIs to call, in what order, or when to retry. Once the shopper’s intent is clear, deterministic code can enforce the rules and execute the allowed change.
Anthropic makes a similar point in Building Effective Agents: a workflow follows steps predefined in code, while an agent chooses its own steps and tools as it works. That flexibility helps when the next step genuinely depends on new information. The trade-off is that every extra decision gives the model another chance to pick the wrong API, update the wrong record, run steps out of order, or retry an action that already went through.
To prevent those mistakes, IT teams put technical guardrails outside the model – like policy engines and workflow checkpoints. These are essential, but each only guards a specific part of the workflow:
- Policy engines: Tools like Amazon Bedrock AgentCore Policy check tool calls passing through the AgentCore Gateway against permission rules – for example, blocking a money transfer unless an approval step already ran earlier in the session. That stops unauthorized API calls, but an approved call still doesn’t prove a warehouse stopped a shipment or that a payment cleared.
- Workflow checkpoints: Agent frameworks like LangGraph save checkpoints so an agent can pick up where it left off after a crash or timeout. But if a workflow crashes right after a payment or ERP update has already gone through, resuming from the last checkpoint can repeat that step and send the same request twice - a risk LangGraph explicitly flags in its fault-tolerance docs.
How to prevent retries from creating duplicate operations
If policy engines and workflow checkpoints can’t confirm what happened after an agent calls an API, what can? Return to the arXiv invoice experiment (Verified Tool Calls Improve LLM Agent Reliability Under Non-Atomic Failures).
Using the same Gemini Flash-Lite model, the researchers added a software wrapper around the agent’s tool calls that checked the database before retrying and used idempotency keys to reduce repeat writes.
| High-fault invoice simulation | Runs reaching required final state | Runs with duplicate operations |
|---|---|---|
| Retry-only baseline | 24 of 25 (96%) | 19 of 25 (76%) |
| Verification-aware wrapper | 25 of 25 (100%) | 5 of 25 (20%) |
Adding that verification layer cut duplicate operations from 76% down to 20%, a sharp drop (though still not zero). Because the researchers turned on several safeguards at once under artificially high failure rates, one cannot credit any single feature for the entire improvement. Still, the contrast is clear: changing the tool-call wrapper around the model - not upgrading the model itself - is what drove the improvement.
Preventing retries from turning into duplicates involves three steps working together:
- Log a unique ID before calling the API: Assign and save one persistent ID for each intended operation before sending the first request, so that record survives if the agent crashes.
- Check the target system before retrying (state reconciliation): If a call times out, check the database, warehouse, or payment system to see whether the original operation succeeded. Treat an unknown outcome as unconfirmed, not failed.
- Reuse the same idempotency key: Where the target API supports it, send the same key with the original request and every subsequent retry so the target service recognizes repeat attempts and prevents duplicates.
Even idempotency keys have limits. Stripe’s API v1 documentation notes that Stripe can automatically delete stored idempotency keys after 24 hours; if an agent retries a request with an expired key after that window, Stripe treats it as a brand-new request. IT teams must check how long each target API actually remembers those keys rather than assuming a saved key prevents duplicates on retries forever. If the outcome still can’t be confirmed and a safe retry isn’t guaranteed, the application should pause and escalate rather than guess.
What controlled autonomy looks like in practice
Two real-world setups, from Google’s site reliability engineering (SRE) team and security vendor Qualys, show how organizations separate an AI agent’s reasoning capabilities from the ability to change live production systems.
During a production outage, relying on humans for fixes can prolong downtime. But letting an agent execute fixes directly in production is risky. Google splits a task like this across two separate components:
- AI Operator investigates alerts and proposes a fix.
- The Actuation Agent (which Google also calls the Mitigation Safety Verification Agent) decides whether and how that fix is allowed to run. Before touching production, it turns the proposal into a concrete plan, does a dry run, ensures it is working on an active incident, and checks whether another change is already in progress on the same system.
The Actuation Agent can also adjust the level of autonomy needed dynamically. If it flags higher risk or unusual conditions in production, it converts an autonomous action to human review. High-stakes operations always require an engineer, while well-defined fixes for minor incidents can run without case-by-case approval.
Once a fix starts, the Actuation Agent tracks ongoing changes until they finish, and lets engineers pause actions or revoke autonomous permissions at any point. Afterward, AI Operator waits for a set interval to check whether the alert clears, and re-investigates or escalates to an engineer if it doesn't.
However, even that alert check has limits. Just because an alert clears doesn’t mean that the root cause is fixed. Also, what counts as a "minor" incident varies from one enterprise to the next, and Google’s write-up does not report a quantitative comparison of the agent’s success rate against human engineers. The key takeaway for IT teams is the underlying architecture: separate the agent’s ability to propose a fix from its authority to execute it, and verify system health before and after the change.
Qualys offers another example of tightly ring-fencing changes driven by autonomous agents. In its October 12, 2026 release notes for TruRisk Eliminate, Qualys describes how Agent Sara recommends which patches to prioritize, while configured ring jobs deploy them in stages, from lab to staging to production, based on preset success criteria. In its November 9, 2026 Q3 earnings remarks, Qualys reported that customers deployed more than 180 million patches over the prior 12 months using TruRisk Eliminate, with 60% running autonomously and a rollback rate below 1 in 8,000.
Although these figures come from one vendor and rollbacks do not capture every possible failure, the underlying pattern largely matches Google’s approach: verify conditions before and after acting, limit the blast radius, and keep a fast way to pause or roll back if something breaks.
Five questions to answer before letting an agent act
Google and Qualys show that bounded autonomy can work - but rather than approving an agent for production outright, first evaluate each type of action it can take. A single customer support agent can use different levels of autonomy depending on the task, such as handling routine address updates automatically, routing refund exceptions for manual approval, and holding cancellations whenever the warehouse status isn't clear.
For each type of action, here are five questions to consider:
- Does the agent actually need to choose its own actions? Once the model understands a request, can deterministic code enforce the rules and call the right APIs? Test that setup first before giving the model broader control over which tools or workflows to run.
- Can you verify the request upfront and the actual outcome afterward? Before the agent makes a change, confirm who is making that request, which exact record is involved, and whether company policy allows it. Checking those details up front isn't enough, though. For example, an order that looked cancelable a moment ago can still be packed and shipped before the cancellation reaches the warehouse. Afterward, verify what actually happened (such as a stopped shipment or a settled refund) instead of assuming success.
- What happens if the action is wrong or incomplete? Account for the financial risk, whether the change can be undone, whether a retry could cause duplicate operations, and how many mistakes the agent could make before anyone notices. Unfortunately, no guardrail eliminates risk completely; the company has to decide which mistakes it can afford to clean up afterward, which ones need human sign-off first, and which ones should be blocked outright.
- Does human review improve the decision enough to justify the delay? Weigh the extra context, judgment, or authority a person brings to the workflow against the cost of waiting, such as a missed shipping cutoff or a longer outage.
- Can you enforce clear limits and revoke permissions quickly? Set hard boundaries on which actions, records, volumes, or dollar amounts the agent can interact with. Tie every human approval to the exact details the reviewer signed off on (such as the specific account and dollar amount), so the agent can’t change them before executing. Record what the agent tried to do and what actually happened. Assign an owner who can pause live changes, investigate unclear outcomes, and scale back agent autonomy if things start going wrong.
Your answers point directly to one of the six execution paths from earlier:
- Deterministic/rules-based automation or AI interpretation + deterministic execution when fixed rules can handle the change once the request is clear (Question 1).
- AI proposal + human approval when a person brings policy judgment, formal sign-off authority, or context the connected apps lack, and the workflow can afford the delay (Question 4).
- Manual handling or Pause and escalate when you cannot confirm eligibility or verify the final outcome, or when the downside of a mistake exceeds what the business will absorb (Questions 2 and 3).
- Bounded autonomous execution only when the agent benefits from choosing its own steps, the connected apps can verify the result, and you can enforce hard limits and revoke permissions quickly (Questions 1 through 5).
Use these five questions to weigh trade-offs rather than as a rigid pass-or-fail checklist. Letting an agent automatically issue a small $15 credit that can't be undone may be completely fine. Meanwhile, a change that can technically be reversed, like rebooking a canceled shipment or correcting a billing entry, may still be too risky if fixing a mistake is slow, expensive, or unreliable.
Measure what actually happened, not just what the agent tried
In its guide to evaluating AI agents, Anthropic separates the agent’s transcript (what it said and which tools it called) from what actually changed in the underlying systems. A polished, confident reply can easily sit on top of a failed update or a duplicate database row. Running each test case multiple times matters too: if an agent succeeds on a task 75% of the time on independent runs, the odds of passing three tries in a row drop to roughly 42%. Real-world failures tend to cluster around the same hard edge cases rather than happen at random, so that math is only an illustration, but it shows why one clean test run does not prove an agent is ready.
To evaluate an agent fairly, test it head-to-head against simpler ways of handling the same workflows: whether by your existing team, standard automation, or AI paired with deterministic code. Run each option on the same types of requests, under the same policies, over the same timeframe.
Track four points from start to finish:
- Errors and unauthorized actions: Track mistakes (such as changing the wrong item or dollar amount, or taking an action that should have been blocked) across all incoming requests, not only the ones the agent marked complete.
- Verified completion and true turnaround time: Record how many requests are actually finished end-to-end, and how long it takes for the underlying applications to confirm the change (such as a stopped shipment or a cleared refund), not just how fast the agent reports the task as complete.
- Extra work and total operating cost: Count declined requests, escalations, retries, duplicate actions, and the time spent manually reviewing approvals or fixing mistakes, along with ongoing integration maintenance, monitoring, and model costs.
- Rare, high-impact errors: Make the effort to track severe mistakes separately. A high overall success rate or low average cost per request can easily hide a single major billing error, compliance failure, or production outage.
Beyond measuring normal pilot traffic, deliberately stress-test the agent on hard edge cases before expanding its permissions (such as ambiguous wording, requests arriving seconds before a shipping cutoff, partial cancellations, details that change after approval, or dropped confirmations after a backend service already completed a change). Keep these tests separate from your regular traffic so they don't skew everyday cost and accuracy projections.
Then use those results to adjust the agent's permissions over time. Stick with deterministic code for any workflow where it matches the agent's results at lower cost and risk. As your team improves the integrations between the agent and your business apps so you can verify each change, you can gradually let it handle more tasks on its own. And if your logs show unexpected updates, duplicate payments, or missing confirmations, pull those permissions back until your team can verify every change the agent makes.
Enterprises don't have to choose between agents that do everything autonomously and humans who approve everything manually. Let the model interpret the request, let deterministic code enforce the rules, let people handle the exceptions, and let the agent act on its own only where clear limits are in place and outcomes can be verified. This is how enterprises move past pilot demos and put autonomous agents to work safely and effectively.
Sources
- Mansoor, Phadke and Rana — Verified Tool Calls Improve LLM Agent Reliability Under Non-Atomic Failures (arXiv, 2026, v1)
- Pan et al. — Measuring Agents in Production (arXiv, v2)
- Gorgias — AI Agent Actions: Make Changes to Shopify Orders
- Gorgias — AI Agent Actions: Connect AI Agent to ShipBob
- ShipBob Developer API — Cancel Shipment (2026-07) and Cancel Order (2026-07)
- Shopify GraphQL Admin API — orderCancel (2026-07) and Refund (2026-07)
- Gorgias — View Event Logs for AI Agent Actions
- Anthropic Engineering — Building Effective Agents (December 19, 2024)
- Amazon Bedrock AgentCore — Policy in Amazon Bedrock AgentCore: Control Agent Interactions
- LangGraph — Fault Tolerance: Retry Boundaries and Idempotency
- Stripe API — Idempotent Requests
- Google SRE — AI Engineering for Reliable Operations
- Qualys — TruRisk Eliminate Release 4.2.1 (October 12, 2026)
- Qualys — Q3 FY2026 Earnings Prepared Remarks (November 9, 2026)
- Anthropic Engineering — Demystifying Evals for AI Agents (January 9, 2026)
