Skip to content
Agent Engineering Lab
Step 18 of 22 · Agent identity · authority All steps

GOVERNANCE · STEP 18 OF 22 · PART V · GENAI AND AGENTS

Give agents identity and bounded authority

Give every agent its own identity and an owner, grant it named tools with scopes, caps and an end date, check each call where the effect happens, and prove the boundary with a call that gets refused.

18 AGENT AUTHORITYGRANTED · BOUNDED

Enterprise

Done when No agent can call a tool it wasn't granted.

Small team

Done when Every agent runs on its own identity, and an ungranted call through your tool proxy is refused and logged.

Enterprise

Stays done when Each agent's allowlist still matches the tools it called in a sampled week, and an ungranted call is still refused after every change to its tools, identity or gateway.

Small team

Stays done when CI sends one ungranted call with each agent's identity on every merge, and it is still refused.

Lead

Enterprise

The technical owner, who owns each agent's identity record and grants

Small team

The engineer who owns the tool proxy
With

Enterprise

Security, the identity platform team, each tool's owner and AI Operations, which holds the stop

Small team

Whoever runs your cloud identity settings, and Security
Bring
Each agentic system's register entry, the credentials its agents use today, and a sampled week of agent action records
Leave with
An identity record and owner for every agent, grants with scopes, caps and end dates, and one ungranted call seen refused at the tool
Your choice changes the guidance in every step, and stays set as you move through the guide.
One key, with a tag that says whose it is and which door.
One key, with a tag that says whose it is and which door.

A team wires a new assistant into the helpdesk. Its own credentials would take a ticket to the identity team. So it borrows the old chatbot’s integration account. That account can read every customer record, issue refunds and change the email address on an account. Nobody chose those powers for the assistant. They came with the key.

Weeks later a refund nobody approved turns up in the ledger. The audit log names the integration account, which three services share. Nobody can say which one made the call, or what the assistant was meant to be allowed.

The model acted on text it read. Models do that. What was missing sat around it. The assistant had no name of its own and no list of what it was allowed to do, and nothing checked the call where the money moved.

Before your agent gets its first tool, what has to exist? And how would you know that a call outside its grants fails?

An identity and a short list of grants

Step 3 gave every agent a register entry and an identity record. Now fill them in, in this order.

  1. Give each agent its own identity. Issue it from your identity provider or workload identity platform, with one accountable owner, normally the system owner. Never a person’s token. Never a service account that anything else shares. Keep credentials with the runtime or a tool gateway, out of the model’s reach. The framework approves the identity record at Stage 3, before development (control AR-006).
  2. Deny every tool, then grant them one at a time. Tool access is deny by default and fixed at deployment. Each grant names the tool, its owner and pinned version, its scopes, data class and caps, and whether a person approves each call. Scope it to one queue or one folder. Separate read from write. The guide adds an end date: the next formal review at the latest.
  3. Check at the call site. The service that carries out the effect, or a gateway that every path to it crosses, checks identity and grant on every call. Consequential tools get their caps there: per action, per session and a rate limit, plus per day at T1. A breach blocks the call. No prompt can raise a cap.
  4. Stage or gate what can’t be undone. An irreversible or high-value action waits for a person who holds the authority and sees the real action and its parameters. The when to say no standard names the hard cases: a payment, an outbound customer message, a deletion, an access change. The agent proposes and a person confirms. Or the write is staged, and a person or a deterministic service releases it.
  5. Let delegation only narrow. An agent acting for someone else holds a recorded grant that is scoped, ends with the task and narrows at each hop. “The user asked me to” is not authority.
  6. Keep a stop, and log every action. The kill switch stops the system within 15 minutes of the decision and revokes the agent’s credentials. Every tool call, delegation, memory write and message between agents goes into the agent action audit record, with the decision and the rule that made it. Neither control can be waived.

The guide’s call: agents get identity and least authority before they get tools. Each part leans on the one before. A grant needs a holder you can tell apart from every other caller. A check needs a grant to read. A log line is evidence only when it names one agent. Wire the tool first and your agent runs on whatever credential was lying nearby. Saltzer and Schroeder set the principle down in 1975: “Every program and every user of the system should operate using the least set of privileges necessary to complete the job” (Saltzer and Schroeder). An agent is one more program.

The step is done when no agent can call a tool it wasn’t granted. Prove it with a refusal. For each agent, pick a tool it holds no grant for. Send that tool one call with the agent’s identity, as an obedient model would. The service that would carry it out must refuse it. The audit record must show the refusal, the agent’s ID and the rule that decided. If the model declines in words, you have tested the model. You need to test the boundary.

Your call. Pick your busiest agent. Write down the credential it calls tools with, whose name is on it, and the last time you saw one of its calls refused.

One agent, two calls, one refusal

One agent, sra-reply-agent, makes two calls, and both meet two checks at the call site, outside the model. Identity: a live credential and an approved record with an active owner. Grant: this tool, this resource, inside its caps, before its end date. queue_reply on a password-reset ticket passes both and is queued. waive_fee on the billing service passes identity, fails the grant check and never runs. Both decisions go to the agent action audit record.
Same agent, same two checks. The grant decides which call runs, and the audit record keeps both answers.

Both calls meet the same two checks.

The identity check asks who is calling: a valid, unrevoked credential, issued against an approved record whose owner is still active. The grant check asks whether that identity holds this tool, for this resource, inside its caps and before its end date. The reply on a password-reset ticket passes both. The fee waiver passes the first. It stops at the second, and nothing runs. Both decisions land in the audit record with the rule that made them.

Why there. Your model reads untrusted text all day. A rule in its system prompt is one more piece of text, and the next email can argue with it. A check in the billing service reads the grant, and no email reaches the grant. So the framework puts caps and approval gates outside the model, in the gateway, the tool or a policy layer, “so an injected instruction cannot skip it”. OWASP’s advice on excessive agency matches: “Implement authorization in downstream systems rather than relying on an LLM to decide if an action is allowed or not” (OWASP LLM06). Saltzer and Schroeder called this complete mediation: “Every access to every object must be checked for authority.”

The Lab’s control plane and decision layer blueprints carry the engineering, and authority at the call site makes the full case. This step is the governance. Who grants, what is recorded, what is tested, and who can take it back.

Why a refusal proves it. An allowed call proves the tool works. Only a refused one proves the boundary exists.

Who takes it back. The on-call operator, the incident commander or the system owner can pull the stop with no further approval. An identity whose owner leaves is disabled. Revoking stops the next action. It can’t unsend a reply already delivered. That is why writes nobody can undo get staged.

Now look at what you wrote. A credential with a person’s name on it, or one other services share, means your agent has no identity of its own. Its grants are borrowed. If you can’t name a refused call, make it refuse one before you add its next tool.

Who signs a grant at each size

The record, the grant and the check are the same at every size. Who signs a new grant changes.

Small team

Your first agent is T2 at least, even with read-only tools (override item 6). A team of five can’t govern that alone: MRM or another second-line reviewer validates it. Security co-signs each new tool. The Head of AI or a delegate approves the design review.

Take the identity from your cloud platform, one per agent. Never a teammate’s token. The guide’s recommendation: put every tool behind one small proxy you own, deny by default, and keep the allowlist in the repository. On every merge, CI sends one ungranted call with the agent’s identity. If it succeeds, the build fails.

Start read-only where the task allows. Writing to production or contacting customers makes it T1, which brings the committee.

Enterprise

Your identity platform issues each agent’s identity against its approved AR-006 record. Step 3’s rule holds one level down: no record, no credential.

The technical owner and Security approve every new tool, version or wider scope. At T1, a change that adds write access or an outside peer also goes to the architecture review board. A tool an outside party runs is a third-party service. It needs the vendor assessment, the contract clauses and confirmed residency.

Put the check in a shared gateway. Then every team’s agents meet the same one. Step 20 builds it. The AR-006 audit takes every T1 agentic system and ten at T2, and compares each allowlist with the tools actually called in a sampled week. The guide adds one ungranted call per sampled agent, and removes grants nobody used in a quarter.

Starter kit

From the open AI governance framework, pinned at v2.4.0.

Deep dive

Delegation chains

An agent on its own authority is the easy case. The hard one starts when it acts for someone. A support worker asks an assistant for a customer’s invoices, and the assistant passes the lookup to a billing agent. Every hop now carries two identities.

The framework’s delegation rules are short. Authority comes from a recorded grant, never from the conversation. It ends with the task. Each hop gets a subset of what it received. The agent’s effective permission is the intersection of its own and the principal’s, so it never does for a user what that user couldn’t do directly. The executing tool checks the whole chain, on every call at T1. Depth has an enforced limit.

The intersection rule is older than agents. In Norm Hardy’s confused deputy, a compiler could write to its own directory. A user named the billing file there as the place for debugging output. The compiler overwrote it. An agent that serves a customer with its own wider access is the same deputy. Check the customer’s authority too, and the request fails.

The framework lists ways to issue narrowed credentials and requires none. Attenuating delegation covers the shapes a chain takes.

Tool authority

A tool is anything the model can invoke: a function or API, an MCP server, an agent peer, a browser, a code interpreter or another agent. Your first tool moves the tier. Under the override list, any tool means T2 or above. Write access to production, or authority to move money, contact customers or change access, means T1.

In the framework, a consequential action moves money, changes records, sends an external communication, changes access, deletes data or runs code with side effects. Those tools get caps. An action you can’t cap and rate-limit, the agent doesn’t get.

Assess tools in pairs. The framework’s example: read access to customer data plus an outbound email tool is an exfiltration path, though neither is one alone. At T1, a tool whose definition changed without review is blocked until someone reviews it.

Severity follows the boundary. In the framework’s agentic examples, a wrong call that a control stopped is S3. One the allowlist failed to stop is S2, even if nobody outside saw it.

The allowlist entry has no end date. The framework re-checks grants at each formal review instead. The guide turns that review into a date on each grant, as in the bounded grant pattern. A grant nobody renews ends.

Multi-agent risk

Each agent meets the identity standard on its own. The multi-agent standard adds rules for the whole system, which is never below T2.

Privilege adds up. Agents A and B together must not reach what neither is approved to reach alone. When A asks B to act, B checks the request against its own policy and allowlist.

Messages are data. No agent writes instructions into another’s prompt. At T1 each message is signed. Each agent gets only the data it needs.

Failures spread. Before deployment, write down how many agents one failure reaches and how many actions run before a person sees them. Circuit breakers sit on each agent and on the system. The kill switch stops them all.

One person answers. Every multi-agent system has one accountable owner, whichever agent caused the incident. In the framework’s words, “The agent did it” is never an acceptable root cause.

Part V ends here. Your models, prompts and sources change by the right route. Each agent has a name, an owner, narrow grants and a refusal on record. All of that belongs to one team. A second business unit that wants the assistant needs its own owner, evidence and grants, and the centre can’t be every team’s queue. Part VI starts there. In Step 19, the centre sets the standards and builds the road, and teams deliver.

Where this step sits

Read it from the bottom up. Solid line: what this step rests on. Dashed outline: what rests on it. Faded: steps still to come. Pattern colours follow the catalogue: blue capability, brick control, gold evidence; a diamond marks an anti-pattern.

Go deeper: Agentic AI for Serious Engineers. Chapter 10 covers agent authority and audit trails in depth.

Sources

  1. Jerome H. Saltzer, Michael D. Schroeder (1975) The Protection of Information in Computer Systems
  2. Norm Hardy (1988) The Confused Deputy (or why capabilities might have been invented)
  3. OWASP Foundation OWASP Top 10 for LLM Applications 2025: LLM06 Excessive Agency
  4. AI Governance Framework v2.4.0: agent identity and tool governance, agent identity record
  5. AI Governance Framework v2.4.0: agent identity and tool governance, delegation
  6. AI Governance Framework v2.4.0: agent identity and tool governance, tool allowlist
  7. AI Governance Framework v2.4.0: agent identity and tool governance, caps on consequential actions
  8. AI Governance Framework v2.4.0: agent identity and tool governance, human approval gates
  9. AI Governance Framework v2.4.0: agent identity and tool governance, kill switch
  10. AI Governance Framework v2.4.0: agent identity and tool governance, tier scaling
  11. AI Governance Framework v2.4.0: when to say no, no autonomous write that cannot be undone or capped
  12. AI Governance Framework v2.4.0: GenAI risk matrix, tier override rules
  13. AI Governance Framework v2.4.0: agentic AI risk, incident classification
  14. AI Governance Framework v2.4.0: multi-agent governance, privilege boundaries
  15. AI Governance Framework v2.4.0: human-in-the-loop patterns, pattern selection matrix
  16. AI Governance Framework v2.4.0: prompt audit trail, agent action audit record
  17. AI Governance Framework v2.4.0: evaluation governance, agent evaluation
  18. AI Governance Framework v2.4.0: control register, Stage 3 architecture and design review (AR-006)