An agent is more than a chat response
A conventional language model suggests text; an employee decides what to do with it. An agent can call a tool: find an email, update a CRM record, create a task or send a message. It therefore has permissions and real-world side effects. The key pilot question is not only “how well does the model reason?” but also “what can it technically do without a person?”
OWASP identifies excessive functionality, broad permissions and excessive autonomy as causes of Excessive Agency risk. One OWASP example gives an agent that only needs to read documents access to a tool that can also modify or delete them. A mistake, ambiguous request or instruction hidden in an input document can then affect the system of record, not just the answer. Microsoft separately describes the path from prompt injection to tool invocation and recommends least privilege per tool, rechecking authorization at each action, and human confirmation for sensitive operations.
Start by separating work into three levels
A useful starting pattern is “read → prepare → execute.” These should not be three modes sharing the same broad permissions; they should be three distinct permission sets.
- **Read.** The agent receives only the data needed for the task, such as requests from one support queue. Search and read access is enough for an initial pilot. Writes, deletion, export and external sending are disabled.
- **Prepare.** The agent proposes a reply draft, a change or a list of actions. The result is saved as a proposal, not applied. The employee can see the original record, the suggested change and what should be checked.
- **Execute.** A separate operation applies an allowed change after independent policy checks and, where consequential, approval by an authorized employee.
Consider a hypothetical invoice assistant—this is an architecture example, not a reported company case. It can read an incoming invoice, extract the supplier, amount and date, compare them with an order record and prepare a draft for approval. But payment, changing supplier bank details and submitting a payment order remain with an employee or an existing controlled process. Even a very confident “everything matches” should not itself turn into money already sent.
Permissions belong in code, not only in a model instruction
A system instruction such as “do not delete files” is useful guidance, but it does not replace a prohibition in the API. If the agent has no delete tool, or its identity lacks delete rights, one generation error cannot perform that action.
For each integration, write a short permission matrix:
| Integration | At the start | Later, if needed |
| --- | --- | --- |
| Email | Read a selected mailbox; prepare drafts | Send only after approval |
| CRM | Read a selected pipeline; propose changes | Update approved fields only |
| Files | Read a specific folder | Create a copy or draft; deletion stays disabled |
| Finance system | Read statuses and reference data | Create an approval request, not make a payment |
The matrix should not say merely “CRM access.” It should specify principal, resource and action: agent X may read requests in queue Y, but not browse all contacts; it may suggest a status change, but not apply it directly. Grant tool access by allowlist, not “connect everything in case it becomes useful.” If a connector exposes dozens of functions, keep only the ones required. A shared administrator account, shared password or permanent account-wide token turns a small pilot into a broad trust boundary.
Approval must bind to the exact action
An “Approve” button is useful only when the employee can understand exactly what they are approving. Before execution, show:
- which record and environment will be changed;
- the current and proposed values;
- who will receive a message or what external effect will occur;
- which data the agent used;
- who approved the action and when.
Approval should be tied to a specific set of parameters and expire quickly. If the agent changes the recipient, amount or email text after review, the earlier approval is no longer valid. Rights also need to be checked again at execution time: a user may have lost a role, the record may have changed, or the draft may have become stale between approval and write. The control belongs in the server layer or destination system, not only in the chat interface.
For risky operations, start with stricter defaults: deny by default, allowlist actions, require human approval, cap the number of operations and provide a way to stop execution. Financial transfers, data deletion, permission changes, bulk mail, public posting and production changes should not be opened to an agent in the first pilot.
Identity, logs and an emergency stop
Give the agent a distinct identity or technical user with minimal rights, a named owner and a fast revocation path. Do not hand it an employee’s personal password or put a secret in the prompt. If the agent acts “on behalf of a user,” preserve that relationship and check permission for each specific operation.
Log more than the model’s text. Record the action chain: who initiated the request, which agent ran, which tool and resource were selected, which parameters passed validation, whether approval occurred and what the destination system returned. Keep secrets and unnecessary personal data out of logs; identifiers and a safe representation of changes are usually enough for diagnostics. Provide token revocation, account disablement and a way to block all tools without stopping the rest of the business.
Limit steps and retries. If a model loops, it should not create tasks indefinitely or spend without a bound. Add timeouts, a cost ceiling, rate limits and a human alert after repeated failures. A small business does not necessarily need a separate expensive platform: some controls can live in an existing API gateway, task queue and role system—provided the team verifies that permissions are actually enforced by downstream systems.
Test the pilot and measure its result
NIST recommends matching human oversight to the risk context and documenting governance, testing and monitoring. In practice, a small pilot can be tested on copies or historical data without permission to change production records.
Prepare a short test set:
- a normal task with correct data;
- an email or document containing an unrelated instruction such as “ignore the rules”;
- a request that tries to retrieve another department’s data;
- an ambiguous case where the agent should stop and ask a person;
- a repeated task to check idempotency and duplicate prevention;
- an integration failure, expired token and role revocation mid-process.
Measure not only the share of good drafts, but also unsafe attempts, actions blocked by checks, employee corrections and minutes of manual work. For the first stage, compare the existing process and the pilot on the same sample. If the agent saves time but requires constant supervision, that is also useful evidence: narrow the task rather than automatically giving it more permissions.
A narrow design has a cost. Separate permissions, audit and approval take design and ongoing effort; every connector adds boundaries to verify. Start with one queue, one read operation and one kind of draft. After reviewing logs and negative tests, add one specific capability at a time.
A practical next step
Choose one repetitive workflow and answer four questions: what data does the agent truly need; what result may it only prepare; which action could be irreversible; and who is authorized to approve it? Start with reading and drafts on an anonymized sample, test access boundaries, logs and shutdown, and then decide whether one limited write capability is justified.
The principle is simple: an agent’s authority should follow the consequences of its actions, not the maximum feature set of the chosen platform. Let it help with routine work; keep the universal master key with an accountable person for now.
