AI agents are powerful because they can take action, not just generate text. That is also what makes them dangerous in production. A safe AI agent needs more than a good model: it needs limited permissions, human approval for high-impact actions, independent monitoring, audit trails, and strict blast-radius controls. The goal is not to prevent every mistake. It is to make mistakes recoverable.
Table of Contents
- Why Are AI Agents Different From Chatbots?
- What Makes an AI Agent Dangerous in Production?
- The 7 Guardrails Every AI Agent Needs
- How to Deploy an AI Agent Safely
- Common AI Agent Safety Mistakes
- When Should You Not Use an AI Agent?
Why Are AI Agents Different From Chatbots?
An AI agent is different from a traditional chatbot because it can independently execute workflows and interact with external systems through tools.
OpenAI describes agents as systems that can accomplish tasks on a user's behalf, manage workflow execution, make decisions, and interact with external systems through tools while operating within defined guardrails.
That difference changes the risk profile completely.
A chatbot might give an incorrect answer to a customer. An AI agent could send an email, modify a database record, create a ticket, call an API, change a configuration, or trigger another automated workflow.
The model may still make the same fundamental mistake: misunderstanding the request, interpreting untrusted information as instructions, or confidently choosing the wrong action.
The difference is that an agent has the ability to turn that mistake into a real-world consequence.
| Traditional chatbot | AI agent |
|---|---|
| Generates text | Generates and executes actions |
| Usually limited system access | May access APIs, databases and tools |
| Mistakes are often informational | Mistakes can change system state |
| Human usually executes the next step | Agent may execute automatically |
| Main risk: incorrect information | Main risk: incorrect action |
This is why deploying an AI agent should not be treated simply as deploying another AI model.
The engineering question is not only:
“Can the agent perform the task?”
It is also:
“What happens when the agent is wrong?”
That second question should shape the entire production architecture.
What Makes an AI Agent Dangerous in Production?
An AI agent becomes particularly risky when it has broad access to systems and can independently perform consequential actions.
OWASP identifies Excessive Agency as a major security risk for LLM-based systems. The risk occurs when unexpected, ambiguous or manipulated model outputs can trigger damaging actions. OWASP identifies excessive functionality, excessive permissions and excessive autonomy as common root causes.
Consider an agent responsible for processing customer requests.
It may read an incoming email, retrieve customer information from a database, decide what the customer needs, and then call an external API.
If the incoming email contains malicious instructions, the agent may interpret those instructions as part of its task.
The problem is therefore not simply whether the model can recognize malicious input.
A stronger approach is to control what the agent can do even when the model makes the wrong decision.
This leads to a practical principle:
Do not build your safety strategy around the assumption that the AI will always understand the input correctly. Build the system so that incorrect decisions have limited consequences.
This approach is consistent with NIST's AI Risk Management Framework, which provides a structured way for organizations to govern, map, measure and manage AI risks across the AI lifecycle. NIST's Generative AI Profile specifically addresses risks that are novel to or amplified by generative AI.
For enterprise AI, this distinction is critical.
The 7 Guardrails Every AI Agent Needs
A production AI agent should not be given unrestricted access and trusted simply because it performs well during testing.
VAON recommends thinking about agent safety as seven independent guardrails.
The important point is that these controls should work together. If one layer fails, another layer should limit the damage.
1. Give the Agent the Least Privilege Possible
The first rule is simple:
An AI agent should only have access to the systems, data and actions it actually needs.
If an agent only needs to read order information, it should not receive permission to delete orders.
If an agent only needs to create support tickets, it should not have unrestricted access to the production database.
If an agent can complete its task without production access, do not give it production access.
This principle is closely related to the security concept of least privilege.
OWASP's guidance on Excessive Agency specifically highlights excessive permissions and excessive functionality as root causes of potentially damaging agent behavior. For example, an agent may only need to read documents while the connected tool also gives it the ability to modify or delete them.
A useful permission model looks like this:
| Capability | Example | Recommended access |
|---|---|---|
| Read | Customer/order information | Limited |
| Create | Support ticket | Allowed when required |
| Update | Customer status | Restricted |
| Delete | Production records | Usually prohibited |
| Financial action | Refund/payment | Human approval |
| Infrastructure change | Production deployment | Strong approval required |
The important question is not:
“Can the AI use this tool?”
It is:
“What is the minimum permission required for this task?”
Reducing permissions reduces the potential blast radius of an AI mistake.
2. Require Human Approval for Consequential Actions
Not every AI action needs human approval.
If an agent categorizes an internal document, requiring a human to approve every classification may eliminate the productivity benefit.
But if the agent is about to:
- issue a refund,
- send a sensitive external message,
- modify production data,
- approve a contract,
- spend money,
- delete records,
then human approval may be appropriate.
OpenAI recommends human intervention particularly when an agent exceeds defined failure thresholds or attempts high-risk actions that are sensitive, irreversible or high-stakes. Examples include large refunds, payments and order cancellations.
The key is to connect approval requirements to impact.
| Action risk | Example | Control |
|---|---|---|
| Low | Classify an internal document | Automatic |
| Medium | Create a support ticket | Automatic + monitoring |
| High | Send customer-facing response | Review or policy gate |
| Critical | Financial transaction | Human approval |
Human approval is only useful when the reviewer can understand what they are approving.
A good approval interface should show:
- What the agent wants to do
- Which system will be affected
- Which data will change
- Expected cost or impact
- Why the agent selected the action
- Relevant conversation or context
A simple “Approve / Reject” button without context does not create meaningful oversight.
3. Treat Every Agent Input as Untrusted
Prompt injection is not simply a prompt-writing problem.
An AI agent may receive instructions from:
- emails,
- websites,
- uploaded documents,
- customer messages,
- search results,
- CRM records,
- third-party APIs.
The agent cannot automatically assume that every piece of information it reads is trustworthy.
OWASP identifies prompt injection as one possible trigger for Excessive Agency, including both direct and indirect prompt injection. In agent-based systems, manipulated inputs can influence model outputs that subsequently interact with external tools.
For example, an agent could be instructed:
“Summarize this customer document.”
The document itself could contain text designed to manipulate the agent into revealing information or executing another action.
The safest approach is therefore not to rely entirely on detecting malicious prompts.
Instead, design the system so that untrusted input cannot directly unlock dangerous capabilities.
One practical rule is:
Treat external content as data first, instructions second.
For higher-risk workflows, separate:
- trusted system instructions,
- business rules,
- user requests,
- external content,
- tool permissions.
The agent may read untrusted content, but that does not mean the content should automatically control what tools the agent can use.
4. Give the Agent an Independent Reviewer
An AI agent should not always be the final authority on its own actions.
For high-impact workflows, introduce an independent reviewer or policy layer that can reject the agent's proposed action.
This reviewer can be implemented in different ways depending on the risk:
- deterministic business rules,
- validation services,
- permission policies,
- human review,
- or an independent AI judge.
The important property is independence.
OpenAI recommends layered guardrails rather than relying on a single control. Guardrails can validate inputs, outputs and tool behavior, while human review can pause a workflow before sensitive side effects occur.
A reviewer that always approves the original agent is not a meaningful control.
For example, if an agent proposes:
“Delete 8,000 customer records.”
The system should have a separate mechanism capable of responding:
“No. This action exceeds the permitted deletion threshold.”
This reviewer should also be tested deliberately.
A useful operational practice is to periodically send the system a known-bad action and verify that the safety mechanism rejects it.
A security control that has never been tested may only appear to work.
5. Keep an Independent Audit Trail
An AI agent should not be responsible for creating the only trusted record of its own actions.
The system supervising the agent should record what actually happened.
An audit trail should ideally capture:
- the requested task,
- the agent's proposed action,
- the tools it called,
- the target system,
- the actual result,
- approval decisions,
- timestamps,
- relevant system state.
There is another useful piece of information:
what the agent believed it was doing.
Suppose an agent sends a message to the wrong customer.
The audit log should make it possible to distinguish:
- what the agent intended,
- which customer it believed it was targeting,
- which API request it actually made,
- what the external system accepted.
This distinction becomes extremely valuable during incident investigation.
The infrastructure or supervisory layer should therefore maintain the trusted audit trail rather than relying exclusively on the agent's own output.
This layered approach also aligns with NIST's broader AI risk-management model, which emphasizes managing and measuring risks throughout the AI lifecycle rather than treating deployment as the end of risk management.
6. Put a Hard Limit on the Blast Radius
Assume that your AI agent will eventually make a serious mistake.
Then ask:
How much damage can one mistake cause?
This is the concept of blast radius.
A well-designed agent should have explicit limits.
Examples include:
- maximum transaction value,
- maximum number of records modified,
- API rate limits,
- daily spending limits,
- restricted environments,
- staged rollouts,
- reversible operations,
- draft-before-send workflows,
- automatic rollback.
OpenAI's guidance recommends combining guardrails with authentication, authorization, strict access controls and standard software security measures. It also recommends escalating high-risk actions to human oversight.
For example, instead of allowing an agent to immediately update 100,000 records:
- Generate the proposed changes.
- Apply them to a small test group.
- Validate the result.
- Expand gradually.
- Stop automatically when an invariant fails.
This approach accepts that AI can be wrong.
The system simply ensures that one wrong decision does not become a catastrophic incident.
7. Measure What Actually Happened, Not What the Agent Says Happened
One of the easiest mistakes in agent engineering is trusting the agent's own report.
Imagine the agent says:
“The customer record was successfully updated.”
That statement is not evidence.
Your system should independently verify the resulting state.
Instead of checking only:
“Did the API return 200?”
check:
“Does the database now contain the expected value?”
Instead of asking:
“Did the agent send the notification?”
check:
“Was the correct notification delivered to the correct recipient?”
This means observability should focus on system effects, not only agent messages.
Useful invariants might include:
- Account balance cannot become negative.
- A customer cannot receive two refunds for one transaction.
- A production configuration cannot change without approval.
- A deleted record must have a corresponding authorization event.
- A notification must have a valid recipient.
The agent can make a wrong decision.
Your monitoring system should still be able to detect that the resulting system state is wrong.
NIST's Generative AI Profile emphasizes the need for organizations to identify and manage risks associated with generative AI across different stages of the AI lifecycle.
How to Deploy an AI Agent Safely
The safest way to deploy an AI agent is to increase its autonomy gradually.
Do not start with full production access.
A practical rollout can follow five stages.
Stage 1: Observe
The agent receives real inputs but does not execute actions.
It produces recommendations or proposed actions for evaluation.
Goal: understand what the agent would do.
Stage 2: Draft
The agent can prepare outputs, but a human must execute them.
For example:
- draft an email,
- prepare a database change,
- generate a support response,
- prepare a report.
Goal: measure usefulness without giving the agent direct control.
Stage 3: Limited Automation
The agent receives permission to execute low-risk actions.
High-impact actions remain behind approval gates.
Goal: validate the system under real operating conditions.
Stage 4: Controlled Autonomy
The agent receives broader permissions within strict boundaries.
Rate limits, quotas, monitoring and rollback mechanisms become essential.
Goal: automate the majority of routine workflows.
Stage 5: Continuous Verification
Production deployment is not the end of the process.
Monitor:
- action success rate,
- rejection rate,
- abnormal behavior,
- policy violations,
- unexpected system state,
- human override frequency.
OpenAI recommends introducing human intervention mechanisms especially during early deployment, when teams are still identifying failures and edge cases.
NIST similarly frames AI risk management as an ongoing process across the AI lifecycle rather than a one-time pre-deployment activity.
| Deployment stage | Agent capability | Human involvement |
|---|---|---|
| Observe | Recommendation only | High |
| Draft | Prepare actions | High |
| Limited automation | Low-risk execution | Medium |
| Controlled autonomy | Broader execution | Targeted |
| Continuous verification | Production operation | Exception-based |
This staged approach allows a company to increase automation without making a single deployment decision irreversible.
Common AI Agent Safety Mistakes
Mistake 1: Giving the Agent Too Much Access
Problem: The agent receives broad API or database permissions because it is easier to configure.
Consequence: A single incorrect decision can affect unrelated systems.
Better approach: Start with the smallest permission set and expand only when there is a demonstrated business requirement.
This directly addresses the excessive permissions and excessive functionality risks described by OWASP.
Mistake 2: Asking Humans to Approve Everything
Problem: Every action requires manual approval.
Consequence: Employees become an approval bottleneck and eventually approve actions without reviewing them carefully.
Better approach: Use risk-based approval. Automate low-impact actions and reserve human attention for consequential decisions.
OpenAI similarly recommends human intervention for high-risk actions and situations where the agent exceeds defined failure thresholds rather than requiring human intervention for every action.
Mistake 3: Trying to Solve Prompt Injection With Prompt Engineering Alone
Problem: The team assumes a stronger system prompt will prevent malicious input.
Consequence: An unexpected input can still influence the agent's reasoning.
Better approach: Assume untrusted input will eventually reach the agent. Protect the tools and systems behind explicit permissions and validation.
OWASP specifically identifies both direct and indirect prompt injection as potential triggers for excessive agency.
Mistake 4: Letting the Agent Write the Only Audit Log
Problem: The same system that performed the action controls the record of what happened.
Consequence: Incident investigation becomes difficult, especially when the agent's internal interpretation differs from reality.
Better approach: Keep trusted audit records outside the agent's control.
Mistake 5: Measuring AI Quality Only Through Its Final Answer
Problem: The team evaluates whether the agent's response sounds correct.
Consequence: The system may look successful while quietly producing incorrect side effects.
Better approach: Measure both the response and the resulting system state.
This is consistent with the broader NIST approach of measuring and managing AI risks throughout the lifecycle rather than evaluating a model only through isolated outputs.
When Should You Not Use an AI Agent?
AI agents are not automatically the right solution for every workflow.
A deterministic workflow may be better when:
- the process is already well-defined,
- every decision follows explicit rules,
- the cost of an error is extremely high,
- the workflow has little variation,
- explainability is more important than flexibility.
For example, if a process can be reliably implemented with a conventional rule engine, adding an autonomous AI agent may introduce unnecessary risk.
NIST's AI RMF emphasizes aligning AI risk management with an organization's goals, requirements and risk tolerance. This means an AI agent should not be introduced simply because a workflow can technically be automated.
The right question is therefore not:
“Where can we use AI?”
It is:
“Where does AI provide enough value to justify the additional operational risk?”
That distinction can prevent companies from turning simple automation problems into unnecessarily complex AI systems.
Build the Brakes Before You Build the Engine
The biggest mistake in AI Agent development is treating capability as the finish line.
An agent that can call APIs, update records and execute workflows may look impressive during a demonstration.
Production is different.
The important question is what happens when the agent misunderstands a request, receives malicious input, chooses the wrong tool or makes an unexpected decision.
A production-ready AI agent should therefore be designed around seven principles:
- Least privilege — give the agent only the access it needs.
- Human approval — require review when the consequences justify it.
- Untrusted input — never assume external content is safe.
- Independent review — create a control that can reject the agent.
- Independent audit — record actions outside the agent's control.
- Limited blast radius — make failures small and recoverable.
- Outcome observability — verify what actually happened.
AI does not need to be perfect before it can be useful.
But the system around the AI needs to be designed for the possibility that it will be wrong.
At VAON, we approach AI automation from both sides: what the AI can automate and what the surrounding system must control. If your organization is evaluating an AI Agent for a real business workflow, a practical first step is to map its permissions, actions, failure modes and recovery paths before moving it into production.
Talk to VAON about an AI automation audit.
Sources & Further Reading
- OWASP GenAI Security Project — LLM06:2025 Excessive Agency
OWASP — Excessive Agency - NIST — AI Risk Management Framework
NIST AI Risk Management Framework - NIST — Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile
NIST Generative AI Profile - OpenAI — A Practical Guide to Building Agents
OpenAI: A Practical Guide to Building Agents - OpenAI Developers — Guardrails and Human Review
OpenAI: Guardrails and Human Review