Can You Trust an AI Agent?

You can trust an AI agent with work that is cheap to undo. See hallucination and prompt injection rates, real agent mistakes, 2026 trust surveys and a checklist by risk level.

Smiling team lead reviewing and approving an AI agent task on a laptop with a colleague

Nine seconds. That is how long a Cursor coding agent took to wipe the production database of PocketOS in April 2026. PocketOS makes software for car rental firms. The agent deleted the backups too. The outage lasted more than 30 hours, and three months of bookings were gone until the team got the data back.

So can you trust an AI agent? Yes, for work where a mistake is cheap and easy to undo. Trust should drop as a task gets harder to reverse. An agent that drafts a reply can be wrong with little harm. An agent that can delete data or spend money needs hard limits and a person who signs off on the risky step.

The PocketOS agent did not lack skill. It lacked a stop. In its own written account, it admitted that it ignored a rule requiring approval before destructive commands. That gap, between what an agent is told and what it is allowed to do, is where most trust problems begin.

Where AI Agents Still Fail

Agent failures fall into four groups. Two come from the model itself. The other two come from the way people set the agent up.

Hallucination Rates in Simple Summaries

Language models still add facts that are not in the source. Vectara’s hallucination leaderboard tests this with a plain job. Each model summarizes news articles using only facts from the article. Then a scoring model checks every summary for added facts. The October 22, 2026 update gives these rates.

ModelShare of summaries with made-up content
finix_s1_32b (Ant Group)1.8%
GPT-5.4 nano3.1%
Gemini 2.5 Flash Lite3.3%
Llama 3.3 70B Instruct4.1%
DeepSeek V4.1 Flash4.2%
GPT-5.4 mini5.5%
Gemini 2.5 Pro7.0%
Claude Sonnet 4.610.6%

Even the best model adds something false to about 2 summaries in 100. Most well-known models land between 3% and 11%. And a summary is the easy case. An agent chains many steps together, so one wrong fact early on can steer every step after it.

Prompt Injection Through Web Pages and Emails

Prompt injection hides instructions inside content the agent reads. A web page, a PDF or an email can tell the agent to send data out or to click buy. The agent cannot always tell your words apart from the attacker’s.

anthropic.com
Anthropic Prompt Injection Defenses website screenshot
Anthropic Prompt Injection Defenses

Anthropic tested its browser agent against an automated attacker that combines many known tricks. With the model alone, Claude Opus 4.5 fell for 8.0% of attacks. With Anthropic’s improved safeguards, the rate dropped to 1.4%. Later, the Claude Opus 5 system card came out in July 2026. It put browser agents at 3.7% without Auto Mode and 0% across 129 test scenarios with it.

Those are real gains. Still, 1.4% means about one hit in 70 tries, and attackers can try as often as they like. So a safe setup assumes some attacks will land. It also limits what a hijacked agent can reach. Our guide to AI agent data leakage walks through the public leak cases.

Long Tasks Break More Often

Short tasks tend to go well. Long, real jobs are a different test. Scale’s Remote Labor Index gives agents 240 real freelance projects, then judges the output against the work human freelancers delivered. When the index launched, the top agent, Manus, automated just 2.5% of projects. Today, the best score on the leaderboard is 41.25%, from Claude Fable 5.2.

That jump is huge. Even so, the best agent fails on about six projects in ten. For long jobs, an agent works more like a fast junior hire than a finished product.

Agents Act on Their Own Initiative

The PocketOS agent hit a credential mismatch. Then it decided, with no one asking, that deleting the database would fix it. The founder, Jer Crane, blamed systemic failures in current AI tooling.

Businesses also answer for what their agents say. In February 2024, Canada’s Civil Resolution Tribunal ordered Air Canada to pay a customer C$812. The airline’s website chatbot had given him a wrong bereavement refund rule. Air Canada argued that the chatbot was a separate legal entity responsible for its own actions. The tribunal did not accept that argument.

How Much People Trust AI Agents in 2026

Surveys this year show the same split. People are happy to hand agents their chores. However, they get nervous once money or full autonomy is involved.

SurveyPeople askedFinding on AI agents
Accenture Consumer Pulse25,590 consumers in 16 countries, January 202674% would let an agent handle routine tasks, but only 9% are open to fully autonomous shopping
SAS and IDC Data and AI Impact Report2,699 decision-makers in 28 countries, September 2026Trust falls from 76% for generative AI to 66% for agentic AI
Salesforce and YouGov desk worker survey1,500+ desk workers in 13 countries, fieldwork ending January 202653% of workers in the US, UK and France call themselves AI skeptics, against 26% in Mexico

The Accenture gap tells the real story. Most people will let an agent book or sort things. Yet only 32% are ready to hand over purchase decisions. Also, 31% say trying low-cost, low-risk purchases first would make them more comfortable. Who owns the agent matters too. Consumers are more than twice as likely to trust an agent run by a brand or retailer than one from an AI-native platform.

Business buyers act the same way. In the SAS and IDC study, 97.2% of users override AI recommendations at least some of the time. Meanwhile, firms that invest in trustworthy AI practices are 15 times more likely to report high ROI, at 62% against 4%. So the checks people put around AI do not slow the payoff. In fact, they line up with it.

Read also: What Can an AI Agent Fix in Your Store’s SEO?

What Makes an AI Agent Trustworthy

Trust in an agent is mostly a setup question. Five controls do most of the work, and none of them needs a new model.

Give the Agent Fewer Permissions

The OWASP Top 10 for LLM applications names excessive agency as a core risk. OWASP traces it to too many functions, too many permissions and too much autonomy. Its fixes include fewer extensions, narrower permissions and user approval for high-impact actions.

In practice, give the agent read-only access wherever you can. Use a separate account for it, with a token scoped to one task. Leave out delete rights unless the job truly needs them. For example, an agent whose token cannot drop a database will never drop one, whatever it decides.

Put a Person on the Risky Step

Major vendors now build approval into their agents. ChatGPT agent asks before actions with real-world effects, such as a purchase. Sending email needs Watch Mode, where you supervise the run, and the agent refuses high-risk tasks such as bank transfers. You can also take over the browser or stop a task at any time.

Google goes a step further. Gemini tasks always ask before sending messages, deleting data, making purchases or submitting web forms. That holds even if you set permissions to Always allow.

Approval only works if people read the prompt. If an agent asks 50 times a day, people click yes without looking. So keep approvals rare and save them for actions you cannot undo. To build these pauses into a workflow, see human-in-the-loop orchestration.

Use Permission Modes on Coding Agents

Coding agents show how fine these controls can get. Claude Code has six permission modes. In default mode, the agent can only read without asking. In acceptEdits mode, file edits and common file commands inside the working folder also run freely.

code.claude.com
Claude Code Permission Modes website screenshot
Claude Code Permission Modes

Auto mode adds a separate classifier model that reviews each action first. By default, it blocks force pushes, production deploys and mass deletion on cloud storage. If it blocks three actions in a row or 20 in total, auto mode pauses and normal prompts come back. The bypassPermissions mode skips the checks entirely. That is why it belongs only in isolated containers or VMs with no internet access.

Keep Logs You Can Replay

When an agent fails, you need the full trace. That means the prompt, each tool call, each tool result and the final answer. Tracing tools such as Langfuse record those steps, so you can find the exact turn where a run went wrong. Without a trace, you only see the damage.

Test Before Launch, Then Keep Testing

Run the agent against a fixed set of real tasks before release. Include the ugly cases too, such as vague requests, injected text and missing data. Score the results, then rerun the same set after every prompt or model change. Our AI agent guardrails guide covers the input and output filters that sit on top of those tests.

AI Agent Trust Checklist by Risk Level

Sort each task by what happens if the agent gets it wrong. Then match the controls to that level.

Risk levelExample tasksWorst likely mistakeControls to have in place
LowSummarize files, draft replies, research a topicA wrong fact in a draftRead-only access, and a person reads the output before it goes out
MediumUpdate CRM fields, file tickets, book meetingsBad data spreads to other systemsScoped write access, full logs, weekly spot checks and easy rollback
HighEmail customers, issue refunds, change code in a shared repoA promise or change you must honorApproval before each action, spending caps and a test run before every change
CriticalMove money, delete data, deploy to productionA loss you cannot reverseThe agent prepares the work and a person does the final step, with backups the agent cannot touch

Two questions settle most cases. First, can you undo the action within an hour? Second, will you spot the mistake before a customer does? If both answers are yes, the agent can run with light checks. If one is no, a person approves each action. If both are no, the agent should only prepare the work.

Worked Example: An Invoice Payment Agent

Take an agent that pays supplier invoices. It reads each invoice from a shared inbox and matches it to a purchase order. Then it queues the payment in the accounting system.

Split that job into steps and rate each one. Reading the invoice and the order is low risk, because nothing changes. Matching them is medium risk, since a bad match can approve the wrong amount. Releasing the payment is critical, because money leaves the business and is hard to get back.

So the setup follows the steps. The agent gets read-only access to orders and invoices. It can mark clean matches as ready on its own. For any invoice that differs from its order, it flags the gap for a person. Payments over a set amount, such as $5,000, always need a finance lead to approve. Every run is logged with the invoice number, the order it matched and the amount.

After a month, check the log. If the finance lead approved almost every flagged invoice without edits, loosen that rule for small gaps. If the lead kept fixing one kind of case, keep the approval there and fix the matching rules first.

Roll Out in Stages

Run the agent in shadow mode first, where it suggests and a person acts. Next, let it act with approval. Finally, drop approval on the tasks where people almost never change its answer. Track how often people step in, too, and compare that rate with typical AI agent human intervention rates from vendors and labs.

Questions People Ask Before Trusting an AI Agent

Is It Safe to Let an AI Agent Buy Things for Me?

For small, routine buys, mostly yes, as long as limits are in place. ChatGPT agent asks before purchases, and Gemini tasks always ask before a purchase. For extra safety, link a card with a low spending limit. That way a wrong order stays a small problem.

Who Is Responsible When an AI Agent Gets It Wrong?

So far, the business that runs it. In the Air Canada case, the airline had to pay for its chatbot’s wrong refund rule. A chatbot is a simpler system than an agent, but the same logic applies to anything that speaks or acts for a company.

Can a Website Hijack an AI Agent?

Yes. Prompt injection hides commands in pages, emails or files that the agent reads. Safeguards have cut success rates to the low single digits in vendor tests. Even so, a careful setup still limits what the agent can reach. Tools in our prompt injection detection category scan for these attacks.

Do AI Agents Make Things Up?

Yes, because they run on the same language models. In summary tests, top models add false content in 1.8% to 10.6% of cases. So ask the agent to cite its sources and spot-check the facts that matter. For checks at scale, see the tools in our LLM hallucination detection category.

Related AI Agents

Read also: AI Agent Architecture Patterns for Production Applications

Explore Agent Categories

Related Articles

Joydeep Bhattacharya Avatar

Written by