An AI agent has no permissions of its own. It always acts on the permissions of some account, and which account decides more than the choice of model or vendor.
In the companies we talk to, this question usually comes up after implementation, at the first situation where the agent showed someone data outside their scope. It doesn't come up earlier, because the “just make it work” configuration is faster.
Below: what specifically to set up before the agent touches production.
Whose account the agent runs on
Three variants seen in practice, from the most common.
The account of the person who configured it. Usually the owner's, meaning an account that sees everything. As long as only that one person uses the agent, there's no problem. It starts the day the agent answers the whole team, because from then on everyone asking uses the owner's permissions.
A service account created for the integration. It looks tidier and can be worse. Such an account almost always gets administrator permissions, because that's the shortest path to everything working the first time. Then nobody narrows them, because the account has no owner who would notice.
The account of the person asking at that moment. The agent sees exactly what the person asking sees, no less and no more. In most uses this is the right variant, and also the first question for the vendor: does the agent act with the user's permissions or its own.
Least privilege in practice
The principle is well known: the agent gets only what it needs for the task. The difficulty is that it's implemented in the opposite direction to what convenience suggests: from zero up, not from everything down.
Start by naming the task, not the department. Not “access to the CRM”, but “read access to the jobs of the client the question is about”. The first can be ticked in five seconds; the second requires thought, and that's why it's worth something.
Look at fields, not just objects. An agent building a schedule needs people's availability, not their rates. Systems that grant permissions only at the level of a whole module force an all-or-nothing choice, and that's a real criterion when comparing tools.
Put a review date in the calendar. A permission granted “for the duration of the test” stays forever, because nobody has the task of removing it. In a company without an IT department, the only mechanism that fixes this is a date in the calendar of the person who granted the permission.
Read and write are two different permissions
Most tools glue them into one: “the agent has access to the jobs module”. Separating these two is the cheapest change with the biggest effect you can make at the start.
An agent that only reads has one risk: it'll show something to someone who shouldn't see it. An agent that writes leaves a trace in the data the whole company works on. These are two different classes of problems, switched on with one toggle.
The most important and most often confused point: “don't change anything” in the agent's instructions isn't a permission. An instruction is a request to the model, which will usually follow it. A permission is a wall the model can't pass even when it decides it should. If a vendor answers the question about read-only mode with a description of a system prompt, the correct translation is “we don't have it”.
With writes, it's worth narrowing once more. An agent changing a job's status doesn't need the right to delete records or change the price. Those are three different permissions, even though in many systems they sit under one “edit” toggle.
The third category: irreversible actions
The split into read and write isn't enough, because some writes go beyond the reach of undo.
A sent email is with the recipient. An executed transfer is at the bank. A deletion without a trash bin is a deletion. A change in an external system that keeps no history is a change without history. A write in your own system can be reversed if there's a change log; these four cases are outside that protection, and that's why they're a separate category.
The practical consequence: these permissions should be separate toggles, not part of a bundle. “Email handling” as one permission means an agent reading the inbox can send from it. Those are two completely different decisions and should be made separately.
On a first agent, it's worth leaving this category switched off entirely. Not because the agent will certainly make a mistake, but because the cost of a mistake here is asymmetric: two hundred correct messages don't balance one sent to the wrong client.
Audit trail: who really made this change
If the agent runs on the owner's account, the log will show the owner did everything. After a month, you can no longer separate what a person did from what the machine did, and that closes the road to any adjustment of the settings.
Two things every entry must contain:
The agent as a separate actor. Not “John Smith”, but “agent run by John Smith”: two different pieces of information in one line.
The trigger. Whose question or which event set off the action. It's the only thing that distinguishes an agent's log from a person's log, and also the only way to understand a series of steps after the fact.
There's also a use people rarely think about: the log is the best source for narrowing permissions. After two weeks you can see which data the agent never reached for. Everything it didn't use can be removed: narrowing based on what happened, not on guesses.
What to check before switching on in production
Six questions. “I don't know” to any of them means “not yet”.
Whose permissions the agent acts on, and whether that answer isn't by any chance “an administrator's”.
Whether read-only mode is a setting or a sentence in the instructions.
Whether irreversible actions, sending, deleting, payments, can be switched off individually.
Whether the agent is visible as a separate actor in the change log.
Whether search respects the permissions of the person asking.
What happens when the person who configured it leaves the company: does an agent running on their account stop, or keep working on the permissions of someone who's no longer there.
Finally, a test that checks all six at once. Ask the person with the narrowest access in the company to ask the agent about something outside their scope. If they get an answer, the configuration needs fixing, regardless of what the settings show.
Summary
An agent has no permissions of its own, only borrowed ones, so the first question is always: borrowed from whom. Read, write and irreversible actions are three separate categories and should be three separate decisions, and read-only mode enforced by an instruction isn't read-only mode. A log where the agent appears as a separate actor is the only thing that lets you establish after the fact whether the scope of access was right, and narrow it based on facts.
The broader context, how an agent differs from a chat, where it fails and what control mechanisms it must have, is described in the guide to AI agents in business.