← All articles
Bursar — AI agents

Understanding agent identities and scoped access

The core idea behind Bursar is simple: an AI agent should have exactly as much access as the specific task in front of it requires — no more. This article explains how identity and per-service grants work together to make that possible.

One agent, one identity

Every agent that authenticates through Bursar receives its own certificate-based identity, distinct from every other agent's. This matters because it makes accountability precise: if a "research-agent" makes a request, the certificate that authorized it belongs to that agent and no other. Compare this to the common pattern of a single shared API key wired into multiple scripts, services, or agents — when something goes wrong, a shared credential can't tell you which caller was responsible, and revoking it to contain one bad actor takes down every other legitimate caller too.

Access is brokered through grants, not blanket

Having a distinct identity is only half the picture. The other half is that Bursar brokers access through grants rather than handing an agent a standing, broad credential at issuance time. In practice, this means an agent's certificate proves who it is, but a separate grant determines which protected services it is allowed to reach — the same grant-based model used by Broker for network access (see Granting and revoking access) applies to agent access to services.

Grants are per service: an agent either has access to a given protected service or it doesn't. A grant is not narrowed to a read-only mode, a single method, or a single path inside that service. A concrete example: a "research-agent" might be granted access to the one reporting service it needs, and to nothing else in your organization. If that agent is later repurposed, compromised, or simply no longer needs that access, you revoke the grant for that agent — without touching the agent's underlying identity, or any other agent's access to the same service.

Why this matters for AI agents specifically

AI agents are increasingly given the ability to call tools, hold credentials, and act semi-autonomously — which means the blast radius of a single over-privileged or manipulated agent can be large. Per-agent, per-service grants limit that blast radius: an agent can only reach the services it has been granted, and revocation is per agent, so cutting one agent off doesn't affect the others. To see what exists today for reviewing what your agents have been doing, read Reviewing agent activity.

Setting up grants

Grants are managed with Bursar's bursar_grant_agent_service and bursar_revoke_agent_service tools, which need the master role (for a self-serve account, that's you). The agent then reaches the service with broker_request. See Agent access: grants and brokered calls for the details. When provisioning a new agent, it's worth deciding up front what the narrowest set of services is that the agent actually needs, and granting only those, rather than defaulting to broad access "to be safe" — narrow access is what makes the security model effective in the first place.

For a plain-language tour of what a Bursar-connected agent can actually do once it's scoped, see What can Bursar do?.