AI Readiness Partner

What data can an AI agent actually access, and who decided?

An AI agent inherits the credentials of whoever connected it. Four questions to answer before any agent gets access to your systems, and who should answer them.

By Carl Chessum

An AI agent can access exactly what the credential it was given can access. Nothing more, nothing less. That credential almost always belongs to a service account, an API key or an OAuth grant created by whichever engineer or analyst connected the tool, and it carries the permissions that person had, or the permissions of a role someone copied because it was already there and it worked. So the honest answer to “what can our agent see?” is usually: whatever the person who set it up could see, which in a large organisation is a great deal more than the use case required.

Who decided? In most cases, nobody decided in the sense a CIO means. Somebody chose. A developer picked a connection method on a Thursday afternoon to get a proof of concept running, the proof of concept worked, and the connection method became production. There was no access review, because an agent is not an employee and so it does not appear in the joiners and movers process. There was no revocation date, because the credential was created for a question, not for a contract. Six months later the question has been answered, the developer has moved teams, and the credential is still live.

Why this is different from a normal integration

You have had machine-to-machine integrations for twenty years. A nightly ETL job reads from the CRM and writes to the warehouse. Nobody loses sleep over it. The difference with an agent is not that it holds a credential. It is what it does with one.

An ETL job does the same three things every night, in the same order, against the same tables. Its blast radius is defined by its code and you can read the code. An agent decides at runtime what to query, based on a prompt it was given, from a user you may not have anticipated, in a session nobody is watching. Give it SELECT on a warehouse schema and you have not granted it access to one report. You have granted it access to every join someone can think of asking for. A human analyst with the same grant is bounded by how many queries they can be bothered to write in a day. The agent is bounded by its rate limit.

The second difference is pace. Most enterprise systems assume a person reading one record at a time, noticing when something looks odd, and stopping. Agents read ten thousand records and have no instinct for odd. This is the same structural problem that makes systems built for people clicking through screens awkward for agents generally, and it cuts both ways: an agent cannot see what a person infers, and a person cannot see what an agent reaches.

The four questions, in the order they should be asked

These are not a policy document. They are four sentences you can put to whoever is asking for the integration, in a meeting, before the connection is made. If the answers are vague, the integration is not ready.

1. What can it read?

Not “what will it read”. What can it read, if it tried, today. The answer should be a list of named tables, objects, folders or endpoints, not a role name. “It uses the reporting role” is not an answer, because nobody in the room knows what the reporting role accumulated between 2019 and now.

The practical test: ask the person requesting access to write down the schemas the agent needs for the use case in front of them. Then ask your data platform owner to run the actual grant and compare the two lists. In my experience the gap between the two is the entire conversation. You will find customer tables in scope for an agent that answers logistics questions, because the role that had warehouse access also had everything else.

This matters most where the data is personal. If the agent can read a table containing consent states, marketing preferences or special category data, that is a processing decision with a lawful basis attached to it, and somebody needs to have made that decision deliberately rather than inherited it.

2. What can it write?

Read access is a disclosure risk. Write access is an operational one, and it is the one that produces the 2am call.

Ask specifically: can this agent create records, update records, delete records, or change configuration? Can it send anything outbound, an email, a webhook, a message into a queue that another system acts on? An agent with write access to a CRM can, acting entirely as designed, update ten thousand contact records with a value that came from a hallucinated field mapping. No alarm fires, because the writes are authorised. You find out when the campaign goes out.

Most agent use cases do not need write access at all. A surprising number get it, because the connector offered one scope with both and nobody asked for the narrower one. If an agent does need to write, the sensible pattern is that it writes to a staging area and something else promotes the change, so there is a gate with a name on it.

3. Whose permissions did it borrow?

Every agent credential traces back to a human decision. Find out whose.

There are usually three patterns. The agent runs as a named service account created for it, which is the good case, because you can review what that account holds. The agent runs as a shared service account that four other integrations also use, which is the common case, because somebody reused what was there. Or the agent runs under a real person’s OAuth token, an admin’s typically, which is the bad case, because the agent now has whatever that person has, including whatever they get promoted into.

The third pattern is more common than CIOs expect, particularly with SaaS tools where “connect your account” is one click and the consent screen lists scopes nobody reads. Ask the question anyway. If the answer is a person’s name, the fix is not a policy. The fix is a service account with a scoped grant, this week.

4. Who revokes it, and when?

This is the question that gets skipped, and it is the one that determines whether you have a governance problem in eighteen months.

A human leaves and HR triggers an offboarding process that disables their accounts. There is no equivalent for an agent, because the agent did not join. So: who owns this credential, what is the review date, and what is the trigger that kills it? The answer should name a person, not a team, and the review should be in a calendar rather than in a principle.

The useful framing is that every credential has a sponsor, the sponsor’s departure is a trigger for review rather than automatic continuation, and the use case ending is a trigger for revocation. A pilot that finished in March should not have a live warehouse credential in November. Most do.

How to find out what you actually have, in an afternoon

You do not need a programme for this. You need four lists and someone willing to compile them.

Start with the identity provider and the admin console of every SaaS platform that matters: the CRM, the marketing platform, the warehouse, the ticketing system, the file store. Export the service accounts, API keys and OAuth grants. For each one, record what it authenticates to, when it was created, when it was last used and what scopes it holds.

Then do the subtraction. Which of these support an AI tool, either one you bought or one a team connected? Which have been used in the last ninety days? Which have a named owner still employed? The entries that fail any of those three tests are your list, and it is usually shorter than people fear and more alarming than they expect.

Finally, for the live ones, run the comparison in question one: what the use case needs against what the grant permits. That gap is your remediation backlog, in priority order, with no consultancy required to produce it.

If you find shadow connections nobody registered, that is normal rather than a scandal, and it is the same pattern as shadow AI in a mid-size company: people solving a real problem with the tools in front of them because the sanctioned route was slower.

The lake makes this worse, not better

There is a plan a CIO hears in most steering meetings: consolidate everything into one lake so the agents can see it all. It sounds like simplification. For access control it is the opposite.

When customer data sits in five systems, five sets of permissions apply and five owners have an opinion about who sees what. Imperfect, but the boundaries exist. Pipe it all into one place and you have one surface where a single over-broad grant reaches everything, and the governance that used to be distributed across five tools now has to be rebuilt inside one. That rebuild is rarely budgeted. I have written separately on why centralising all your data before using AI agents usually moves the mess rather than fixes it. The access question is the strongest version of that argument: consolidation concentrates risk unless the permission model is rebuilt first, and rebuilding a permission model is slower than building a pipeline.

This is a governance question, not a security one

Security teams will tell you the credential is encrypted, rotated and logged. They will be right. None of that answers what the agent can reach, because the credential working exactly as issued is the problem.

The distinction matters because it decides who owns the work. If this is framed as security, it goes to the CISO, who will apply controls to the credential. If it is framed as governance, it goes to whoever owns the data domain, and they get to decide what the agent is permitted to do with their customers’ records. That is the right home for it. The difference between AI governance and compliance is roughly this: compliance asks whether the grant was authorised, governance asks whether it should have been.

The four questions work because they force the decision to be made by a named person at a point in time, rather than accumulating as a side effect of integration work. An agent with a documented, scoped, sponsored, time-limited grant is a managed system. An agent with an inherited admin token is a liability waiting for somebody to notice.

Most of the organisations I work with discover their agent access map is undocumented rather than reckless, which is a better problem to have and a faster one to fix. If you want a second pair of eyes on what your agents can reach and who signed it off, get in touch and we can work through it.