Glossary
Excessive agency
Excessive agency is a risk where an AI system is given more functionality, permissions or autonomy than its task needs. When the model errs or is manipulated, that surplus turns a small mistake into real damage.
Updated
What excessive agency is
Agency is the ability of a model to act, by calling tools, changing data or contacting people. Excessive agency means that ability goes beyond what the job requires. The OWASP Top 10 for LLM Applications lists Excessive Agency as a risk in its own right.
The underlying cause is usually a design choice, not a model flaw. Models sometimes produce wrong or unexpected output. If the surrounding system has granted too much power, those errors have consequences.
The three common causes
The risk is often described in three parts, which can occur together.
- Excessive functionality: the agent can use tools it does not need, such as a mail plugin that can also delete messages.
- Excessive permissions: the tools run with broad access, such as a database account with write rights when only reads are needed.
- Excessive autonomy: high-impact actions happen with no check or approval.
Examples and scenarios
An assistant is meant to summarise an inbox. It is connected to a mailbox tool that can also send and delete. A planted instruction in one message tells it to forward confidential threads, and it does, because nothing limits it.
A coding agent is given a cloud key with administrator rights to fix a minor build issue. A misread instruction leads it to remove a production resource. A narrower key, or a required approval, would have stopped the action.
Common practices
Mitigation follows the three causes. Limit the tools an agent can call to those the task needs. Run tools with the narrowest permissions and short-lived credentials, in the context of the requesting user where possible. Require human approval for actions that are destructive, financial or outward facing.
The risk compounds with other attacks. Prompt injection tells an agent what to do, and excessive agency decides whether it can do it. Reducing agency therefore limits the impact of many different failures at once, including ones that nobody has anticipated yet.
Teams also check actions against policy outside the model, since the model's own judgement cannot be the only control. Logging each action and testing agents against hostile inputs before release help find surplus capability early.
How Cager handles excessive agency
Cager lets builders set boundaries for data, web, actions and credentials. Credentials stay outside the agent, and connected tools get short-lived credentials. Sensitive actions such as writes, deletes, payments and outbound messages are checked against policy before they execute and can require human approval.
Behavioural detection compares the agent's proposed tool path with the task the user requested, because permission is not the same as intent. Cager is designed to keep an agent's reach close to what its task needs, and each agent runs in its own isolated microVM.