Governed Agents Guide

Reference · Access

Least-Privilege Access for AI Agents

Give the agent the keys it needs — and prove what it cannot reach.

01Why broad access happens

Broad access is easier to build. One service account with the integrations already configured works in a demo, and nobody wants to stop the demo. The cost arrives later: the agent can read every client's file, post to every ledger, and no log can say which actions were its own.

02The access matrix

One table, one row per tool, one column per permission. The exclusions are the evidence.

SystemReadWriteAdminExplicitly excludedApprover
CRMContacts, dealsNotes, tasksNoBilling fields, exportsOps lead
InboxShared queueDrafts onlyNoPersonal mail, HR mailOwner
LedgerInvoicesMatched postsNoJournal entries, settingsController
Model APIApproved class only—NoRegulated dataSecurity

03Scopes per tool

Every tool the agent calls should expose the narrowest scope that completes the task. Read-only where read is enough. Write scopes only for the specific objects the task changes. No wildcard or admin scopes on an agent-held credential, ever. Where a tool only offers broad scopes, that is a reason to put a gateway in front of it, not a reason to accept the scope.

04Secrets

Passwords and keys are used by code and never shown to the model. That means no credentials in prompts, no credentials in logs, and no credentials in the agent's memory. Rotation is scheduled, and the rotation is logged. If a secret has to be pasted into a chat window to make the agent work, the design is wrong.

05Approval boundaries

Action classExamplesGate
Low impactReads, searches, internal draftsLog only
MediumWriting to the user's own workspace, scheduling internal workOne-click confirmation
HighExternal email, payments, deletion, access changesNamed approver
ProhibitedAdmin changes, bulk exports, actions outside tool scopeBlocked at the tool layer; alert

06The quarterly review

Compare permissions granted against permissions actually used. Remove what was granted "just in case." Record the review and the revocations — that record is what turns a policy into a control. A retired agent's credentials are revoked the same day, and the revocation is logged.

07The negative test

Ask the agent's owner: show me what it cannot access. A list of excluded systems, fields, and data classes is the control. "It can access everything but only uses what it needs" is a description of the risk, not the control.

Free · the 24-point audit

Get the shadow AI audit

Twenty-four checks across visibility, identity, data, and governance — each with the evidence that answers it. The printable version of the method on this page.

We use the address to send the pack, then a person checks in once. No list, no sequence; no sales calls unless you ask. Privacy.

Next: the audit trail that proves it.