The key points
- OWASP names the risk excessive agency and traces it to three causes: too much functionality, too many permissions and too much autonomy.
- Sort every action by whether it can be undone, who sees it and what it costs, then set approval by that sort.
- Rules belong in the downstream system, which checks every call, not in the model's instructions.
- Stopping conditions, per-run cost caps, rate limits and a full activity log keep a mistake small.
- Start with approval on every outward action and loosen one action at a time as the log earns trust.
What is excessive agency in an AI agent?
Excessive agency is the name OWASP gives to an agent being able to do more than its job needs. The OWASP Gen AI Security Project lists it as LLM06:2025 in its Top 10 for LLM Applications. It describes the vulnerability as one that enables damaging actions in response to unexpected, ambiguous or manipulated model output, whatever caused the malfunction.
OWASP traces it to three root causes: excessive functionality, excessive permissions and excessive autonomy. In plain words, the agent has tools it does not need, those tools can reach more than they should, or the agent acts without a person checking. Each one has a matching fix, and all three are design decisions made before the agent runs.
Which actions can an agent take without approval?
Those that are reversible, stay inside your own systems, and cost nothing outside them. Reading a record, summarising a document, drafting a reply, tagging a lead or filing a document in the right folder all fit. If the agent gets one wrong, a person fixes it in seconds and nobody outside the business ever knows.
Everything else needs a yes first. That includes sending a message to a customer, changing a price, refunding, deleting, posting publicly, approving a payment or touching a record that other systems depend on. The table below sorts common actions into three tiers.
How do you decide where an action sits?
Ask four questions about the action. Can it be undone? Who outside the business will see it? Does it spend money or move data out? Does it create a commitment, such as a promise to a customer or a legal statement? Reading and preparing is tier one. Changing your own records in a way you can reverse is tier two. A no on the first question, or a yes on any of the other three, puts the action in tier three.
Take an agent that handles supplier invoices. Reading the invoice and extracting fields is tier one. Creating a draft entry in the accounts is tier two: it is internal and reversible, and a person sees a queue of drafts. Releasing the payment is tier three. It is the only step that cannot be taken back, so it always waits for a named approver. The same sort applies to any task, which is how scoping an AI automation project starts, and it is why an agent that only reads and drafts is a far smaller risk than one wired to your payment system.
Why not rely on the prompt to keep the agent in line?
A prompt is advice to a model, and a model can be wrong, confused or manipulated by text it reads. OWASP's list of mitigations says this directly under "complete mediation": enforce authorization in the downstream systems rather than relying on the model to decide whether an action is allowed. It also advises narrow tools over open-ended ones such as running a shell command or fetching any URL, least-privilege access such as read-only database credentials, and acting in the context of the specific user with scoped authorization.
Anthropic's Agent SDK shows the same principle in a product. Its permissions documentation describes a fixed order of checks on every tool call, run by the framework and not by the model: hooks, deny rules, ask rules, the permission mode, allow rules, and finally your application's own callback, where your code can ask a person. A deny rule blocks a call even in the mode that skips prompts, and the documentation warns that this skip-prompts mode should be used only in controlled environments. The takeaway for a business owner is that the safe line is drawn in code that sits between the agent and your systems.
What limits keep a mistake small?
Approval gates decide what needs a yes. Limits decide how far a wrong action can travel before anyone notices. Anthropic's engineering guide, Building effective agents, warns that the autonomous nature of agents means higher costs and the potential for compounding errors. It recommends extensive testing in sandboxed environments along with appropriate guardrails, and notes stopping conditions such as a maximum number of iterations are common to maintain control.
OWASP adds that logging, monitoring and rate limiting will not prevent excessive agency but can limit the damage. In a build, five limits do that work. When something odd happens, the log is how you find out what the agent did and why.
- A maximum number of steps per run, after which the agent stops and asks for help
- A cost ceiling per run, so a loop cannot run up a bill
- A rate limit on outward actions, such as messages sent per hour
- A complete log of every tool call, its inputs and its result
- A switch a named person can use to pause the agent at once
How do approvals work without slowing the team?
Make approval a queue, not an interruption. The agent prepares the action in full and parks it: the drafted email, the proposed refund, the invoice entry with its source document attached. A person opens the queue once or twice a day, reads each item, and approves, edits or rejects. Approving a good draft takes seconds.
The Model Context Protocol applies the same idea to tools. Its tools specification says there should always be a human in the loop with the ability to deny tool invocations, and says applications should show the tool inputs to the user before calling the server and ask for confirmation on sensitive operations. An MCP server puts those confirmations in the client and input checks in the server, which is covered in the separate answer on what an MCP server is.
Loosen the rules one action at a time. Start with approval on every outward action. When the log shows weeks of approved drafts with no edits, move that one action to run alone and keep the rest gated. Softivum builds AI agents this way: the narrowest permission per tool, an approval gate before anything irreversible, every action logged, and a supervised run beside your current process before any step runs alone.
Three tiers of agent actions and the default approval rule for each
| Tier | Examples | Default rule |
|---|---|---|
| 1. Read and prepare, inside your systems | Search the CRM, read an invoice, summarise a call note, draft a reply | Runs alone, logged |
| 2. Change your own records, reversible | Tag a lead, create a draft entry, update a status, add a note, file a document | Runs alone with a review queue, or a daily sample check |
| 3. Outward, costly or hard to undo | Message a customer, refund, delete, change a price, post publicly, release a payment | Needs a named person's approval every time |
Set the approval line for a new agent
List every tool and action
Write each thing the agent can do, in plain words, including reads. If a tool is not on the list, the agent does not get it.
Sort each into a tier
Apply the four questions. Reads and preparation are tier one, reversible changes to your own records are tier two, and any action that cannot be undone, reaches outside, costs money or commits you is tier three.
Narrow the permissions
Give each tool the smallest access that does the job, such as a read-only database login, and run it as the person the work is for.
Put the rule in the system, not the prompt
Enforce approvals and limits in the code between the agent and your tools, so an instruction in a document cannot switch them off.
Add caps and a log
Set step, spend and rate limits, record every tool call, and name who can pause the agent.
Run it gated, then loosen
Start with every outward action on approval. Move one action at a time to run alone only after the log shows it is safe.
Before the agent runs unattended
- Every tool is listed and each one has a tier
- No tool is broader than the task needs
- Outward, costly and irreversible actions wait for a named approver
- Approvals and limits are enforced outside the model
- Step, spend and rate caps are set
- Every tool call is logged with inputs and result
- A named person can pause the agent immediately
Sources
Rules and guidance this answer relies on. Policies change, so check the current version before acting on it.
