Agent governance · Definition

What is agent governance?

Agent governance is how an organization controls what its AI agents are allowed to see, do, and decide: which agents exist, under whose identity they act, which tools and data each call may reach, and how those decisions are logged and audited.

Scroll for definition
Nolan Sullivan headshotBy Nolan Sullivan, Founding Growth Engineer
Published Updated
Definition

agent governance

Agent governance is how an organization controls what its AI agents are allowed to see, do, and decide: which agents exist, under whose identity they act, which tools and data each call may reach, and how those decisions are logged and audited. The term carries two meanings. Broadly, it is used interchangeably with AI governance. Narrowly, it means governing background agents, which run without a person present, inside the controls the organization already runs for people and services.


Agent governanceDefinitionSpeakeasy

Most oversight efforts attach rules to software or to users: what was purchased, who gets access. It falls outside both groups. At runtime, it picks what to do, has delegated rights, and works for someone, usually by way of a Model Context Protocol (MCP) service. Since what an agent picks matters through single API requests, those requests are the target whichever way you define oversight.

Why does agent governance have two meanings?

The term can mean 2 separate things.

Sometimes people use “agent governance” for AI oversight, conflating the two terms. The Cloud Security Alliance titled its April 2026 research note The AI Agent Governance Gap: What CISOs Need Now, and much of the analyst and vendor material follows the same usage: agents are the reason the program is being funded, so the program takes their name. Seen this way, governance and AI governance mean the same organization-wide work, and the label stretches to include assistants and copilots too.

The term can also mean the narrower task of overseeing background agents. Background agents are those that run with no one steering. Infosec groups need to figure out how to plug those bots into corporate oversight: login audits, update approvals, the SIEM, vendor threats, and offboarding. Every employee’s tasks fall under those rules automatically. An idle helper tool does nothing by itself until a person hooks it up.

This article covers both readings. The section below explains the four controls that apply to both broad and narrow uses of the term.

How is agent governance different from AI governance?

Used that way, both labels point to the same plan, and that works for directors. The distinction earns its keep in program design, because the agent slice breaks assumptions the rest of the program relies on.

The organization-wide effort is AI governance. All AI apps at work are included, like assistants and copilots embedded inside SaaS apps, built around visibility over what’s there, rights for who may enter, rules for what may pass through, plus observability over past events. That effort, plus the setup teams now converging toward to support it, is discussed in the plain AI guide and a AI Control Plane guide.

As used here for these measures, it is the portion of that effort aimed at them. They require a separate approach since bots violate 3 of the program’s assumptions:

  • A chat assistant answers questions, so governing it means governing data exposure. An agent calls tools, so governing it means governing actions: create_refund, merge_pull_request, send_email.
  • An application does what it was built to do. An agent chooses its next call at runtime, so its behavior cannot be fully reviewed before deployment.
  • An application authenticates its users. An agent is itself a principal, and which identity it acts under is a design decision someone has to make, not a property it arrives with.

So the same 4 roles still fit, though they attach onto another part. For other AI tools, pricing is per app or user. For them, it is the function invocation.

What does agent governance have to cover?

Managing AI tools takes 4 rules, each one adding to the last. Each is a separate field discussed fully in its own guide.

Agent Governance FrameworkBackground AgentTakes actions at runtimeActs with delegated authorityReaches tools via API callsInventory &DiscoveryWhich agents exist?Who owns each?Which are approved?IdentityUnder which identitydoes it act?Who is the owner?Access &PolicyWhich tools can itreach? Per call?Which data?Audit &ObservabilityWhat did it do?Who was responsible?Can it be proved?Each control applies to individual tool calls from sanctioned agents in a governance system
ControlQuestion it answersCovered in depth
Inventory and discoveryWhich agents exist, who owns each, and which were never approved?Agent inventory, shadow AI
IdentityUnder what identity does each session act?Agent identity, what is NHI
Access and policyWhich tools and data may this call reach, right now?Extending IAM to agents, task-scoped credentials
Audit and evidenceWhat did each agent do, and can it be proved?The record every other control writes into

Finding and listing assets goes ahead because each other step assumes a target set. Each agent inventory entry lists the tool, who runs it, and whether it is sanctioned, while checks back up the list by surfacing unapproved tools, the group covered under shadow AI meaning.

Who they are says which actor appears. The link points to an actual actor: whoever controls the sign-in, or a specific account tied to an individual. A shared service account fails all three of attribution, least privilege, and lifecycle, for the reasons laid out in agent identity and in the wider non-human identity category.

Rules and permissions set what a known actor can do, evaluated each function use, not just when it connects. Which permissions an agent should hold, and how they derive from the identity and access management the organization already runs, is the subject of extending IAM to agents and task-scoped credentials.

Audit comes from the other parts: each permit and block tied to an identity, with exportable records sent into SIEM files, plus checks reviewable by the rule then in place. It’s also an artifact the assessor wants before anything else.

How do you discover background agents?

It lacks a login and user slot, so tools made to spot users and apps miss it. You’ll see it as an app account in the login system, OAuth approval on a SaaS tenant, an API token with an AI vendor, a workflow in a repository, or outbound calls to an inference endpoint. It means using those traces to make a named entry for each asset. The Agent discovery page walks through everything, while the links underneath locate background agents alone.

Which sources reveal background agents?

  • Identity provider logs. Microsoft Entra ID writes noninteractive authentications to a separate service principal sign-in log, where the app presents its own certificate or secret rather than a user signing in. The Okta System Log carries the equivalent events. An agent that authenticates as a client appears here first.
  • OAuth consent grants. Agents built on SaaS platforms enter through consent screens rather than procurement. A review of third-party app grants in Google Workspace, Microsoft 365, Salesforce, and GitHub lists every agent a person authorized in three clicks.
  • Model provider admin APIs. The Anthropic Admin API and the OpenAI Admin API list every API key in the organization with its creator and workspace. A key whose creator has left, or one that maps to no registered agent, is a finding.
  • Egress to inference endpoints. DNS and proxy logs showing regular connections to api.anthropic.com, api.openai.com, or generativelanguage.googleapis.com from a server rather than a laptop mark a workload that calls a model. Paired with tool API calls from the same host, that workload is a background agent.
  • Repository and CI configuration. Vendor-hosted coding agents install as Git-provider apps. Cursor cloud agents, for example, require a Cursor and Git-provider administrator to authorize the organization and repositories, so the app installation audit enumerates them. Workflow files that invoke Claude Code, Codex, or Copilot as an action are found by scanning the repository.
  • Endpoint configuration. MCP servers are declared in known files such as the Claude Desktop and Cursor configs, and scanners such as mcp-scan read those locations directly. Agent hooks fire on every tool call inside coding agents, so they report the servers an agent is wired to, including ones never approved. The shadow AI reference covers the endpoint architecture.

How do you tell an agent from an ordinary service account?

These traces show each non-human account, and most are standard apps. A few signs set them apart:

  • Cadence and shape. A cron job calls the same endpoint on the same schedule. An agent authenticates, then makes a variable sequence of calls to several tools, on a schedule no person would keep and with no interactive session behind it.
  • Model traffic next to tool traffic. A host that reaches an inference endpoint and then calls internal APIs is running an agent loop. Either signal alone is ambiguous, and the pair identifies the loop.
  • Scope drift. A service account uses the same two scopes for years. An agent’s legitimate behavior changes when someone edits its instructions or adds a tool, so its call pattern drifts without a deploy.

The split counts because they get other tools. In a March 2026 survey by the Cloud Security Alliance and Aembit, 68% of organizations said they cannot clearly distinguish AI agent activity from human activity, which leaves the identity and access controls in the next two sections with no population to attach to.

What does a discovery finding become?

Each result turns into an asset entry or decommission task. The CSA’s April 2026 research note on the AI agent governance gap lists what the record should capture: “agent identity, delegated permissions, connected tools and data sources, human owner of record, and the business process each agent supports.” Microsoft applies the same test in the risk table of its agent registry for Microsoft 365, where a shadow agent is one with “no registry entry, no owner, or no Microsoft Entra Agent ID,” rated critical. For agent inventory, the page explains the entry layout, while background agents explains the unattended details: the starting event, any requester, and used credential.

How do you give a background agent an identity?

Agent identity ties each login to an actual user. With that user-steered system, the one in charge is whoever is using it. Since nobody sits at the keys, a background process must construct its own binding instead of getting it inherited. What determines this: whose power it holds, and how the system demonstrates that on every call.

Whose authority does the run carry?

Background agents fit into a pair of groups:

  • A run that works for one person. Someone assigned the task and left. The agent should keep that person’s delegated authority through a task-scoped credential: short-lived, issued for this run, naming the person as subject and the agent as actor, and dead when the task ends. Deprovisioning the person stops new credentials from being issued.
  • A run that works for the organization. A nightly triage worker or a queue consumer has no requester. It needs a dedicated identity of its own, registered in the directory as a non-human identity with a named human owner and a fixed grant.

Both examples follow separate paths, and the rules show it. The MCP enterprise-managed authorization extension, built on the identity assertion authorization grant that Okta ships as Cross App Access, begins with a user logging in. Okta’s own documentation says not to use Cross App Access for autonomous agents that run “without an active user session or human initiation.” Those agents authenticate as workloads.

How does a workload identity work for an agent?

A workload is verified through attestation, not a saved credential. It verifies the job’s location and identity, then creates one short-lived credential. SPIFFE defines the pattern: the workload receives an SVID, an X.509 certificate or JWT carrying its identifier, from a local API and never holds a bootstrap secret. The leading IAM providers treat agent identity on the same footing:

When behind-the-scenes software does something for a user, both sides are in the token. OAuth 2.0 token exchange (RFC 8693) defines the act claim to identify the acting party while the sub claim stays the person, and a chain of delegation nests one act inside another. The IETF transaction tokens draft goes further for the call chain inside an organization: a signed JWT with a lifetime “on the order of minutes or less,” a unique txn identifier, and immutable context that every downstream service can log. This composite is what agent identity composite covers, and its trail is what checks use.

What lifecycle does an agent identity need?

They get no counterpart to the joiner, mover, and leaver flow unless a team builds one. The CSA’s draft agent identity governance framework from March 2026 sets the baseline: every autonomous agent has a named sponsor, is reviewed for continued need quarterly, and is decommissioned with all credentials revoked when its project ends. That same study found just 28% of companies can tie what bots do to a person responsible in every system. Improper offboarding is the first item on the OWASP Non-Human Identities Top 10 because the credential outlives the person who created it. Succession, which moves control once the named person departs, closes that gap, and Entra plus SailPoint both include it.

How do you subscribe background agents to access controls?

Each employee’s entry is subscribed to built-in safeguards: a job defines its permission, periodic audits, a request path, and a sign-off for costly items. It gets no such things unless a person enrolls it. This enrollment includes 4 steps; IAM extending to agents explains the directory work.

Grant a fixed, task-sized scope

Each agent’s access includes only the apps its job calls for, named once and tied to its profile. Persistent access rights remain the norm. In a January 2026 CyberArk study of 500 practitioners, only 1% had fully adopted just-in-time access, 91% had at least half of privileged access always on, and 45% applied the same privilege model to AI identities as to people. Privileged-service vendors have started converging around another way: it is not given a credential at all, the system injects one only when needed, scoped to the job, and then revoked once the job completes. Task-scoped credentials describes the mechanics.

Authorize each tool call

When a token gets created, its access is fixed, so it can’t know details from a request not yet made. Per-call authorization inserts a policy decision point along the request path. Each request carries an agent’s ID, who it represents if anyone, the function label, and the details, and the result is permit, reject, or needs consent. The OpenID Foundation’s AuthZEN Authorization API 1.0 became a final specification in January 2026 for this exchange between decision and enforcement points, and a working group draft published in June 2026 maps MCP tool calls onto it, with the person in the subject, the agent in the context, and the arguments as resource attributes. That is what makes get_invoice and create_refund separate decisions on the same connection, the difference tool-call RBAC draws against a server allowlist.

Gate destructive actions on a person

The MCP specification says there should always be a human in the loop with the ability to deny tool invocations. For that, they aren’t present live, so sign-off has to happen another way. The OpenID client-initiated backchannel authentication flow fits: the agent sends a request with a readable message such as “Approve refund of $240 to order 8821,” the owner approves on their phone or in Slack, and the resulting token is single-use and bound to that request. Microsoft’s least-privilege guidance for agents makes the same call, with step-up controls for destructive or high-impact actions and human approval for bulk updates. Limit by radius, not each request, because a queue with 99% passing makes reviewers rubber-stamp.

Put the grant into review and change management

  • Access reviews. Agent grants go into the same certification campaigns as service accounts. Okta added access certifications for AI agents in July 2026, and Microsoft Entra ID Governance runs access reviews over agent identities. The CSA’s May 2026 whitepaper on non-human identity governance sets the cadence at quarterly minimum and monthly for high-privilege agents.
  • Change management. An agent’s behavior is its instructions plus its tool set. Editing either is a change to a production system and gets the same review a code deploy does. Microsoft’s pattern is to re-review access when workflows, tools, data scope, or deployment environment materially change and to deny unreviewed tools by default. An MCP server that changes a tool description upstream is a change nobody filed.
  • Data controls travel with the principal. When the agent acts for a person, row-level policies and masking apply as they would to that person. When it acts as itself, the agent’s own grant carries them. Either way, an agent that reads private data, processes untrusted content, and can communicate outward has all three legs of Simon Willison’s lethal trifecta, and the access model is what removes one.

How do you audit background agents?

A user’s record is a byproduct of their login. Checks for that bot need planning, because records show a bot, and teams need to know who controls it. The audit record is useful for three reasons.

Every record resolves to a name

The AWS Well-Architected agentic AI lens states the rule: “Each logged action includes attribution to the initiating source (a human user session, an upstream event, a schedule, or another agent).” In practice each tool-call record carries the agent identity, the run or session identifier, the person it acts for when there is one, and the owner of record from the inventory. The act value from the identity section moves the initial pair along a request sequence. Microsoft Entra sign-in logs now tag each event with an agent type and the blueprint it was created from, so an instance correlates back to its definition. When the team checks who made refund around 03:00, it shows the tool, its keeper, and the user tied to it, all together.

The record is complete and outside the agent’s reach

For each use, the log stores its timestamp, the function label and its details, or a hash, plus the ruling and rule set applied when evaluated, the intended asset, and the result. The same AWS guidance adds the constraint that matters most for autonomous systems: “the agent whose behavior you are investigating can’t be the entity that controls its own logs.” Logs land in a store the agent’s runtime role cannot write to or delete from, with object lock or an equivalent. In August 2025, the Salesloft Drift breach made the reason clear. Attackers using stolen OAuth tokens deleted their query jobs to hide activity, but the audit logs still retained the evidence that let more than 700 organizations scope the theft.

The record lands where security already looks

Telemetry matters only when it arrives in SIEM-ready format that SIEM tools can query. Schemas keep converging:

  • The OpenTelemetry GenAI semantic conventions define agent and tool spans, with an execute_tool operation carrying the tool name, call id, agent id, and conversation id. The conventions are still marked development status.
  • The OWASP Agent Observability Standard extends the OCSF API activity class with the tool call, agent context, and step, so agent events ingest into any SIEM that already speaks OCSF.

Splunk ships a suspicious MCP activities analytic story with detections for prompt injection, sensitive file search, and suspicious GitHub operations over MCP traffic, and CrowdStrike streams AI runtime findings into Falcon Next-Gen SIEM. Landing agent activity in the same SIEM console rather than a separate AI console means the same analyst, with the same correlation rules, sees agent activity next to the sign-in and privilege events it relates to.

Retention follows the regulation that already applies

The EU AI Act requires providers of high-risk systems to keep automatically generated logs for at least six months and deployers to do the same, though the Digital Omnibus package that entered into force in July 2026 moved the Annex III high-risk obligations to December 2027. Colorado’s revised AI law, SB 26-189, takes effect in January 2027 and requires developers and deployers to retain records for at least three years. Lawyers decide if a tool is covered; the proof setup never changes: store each per-call log until the strictest rule demands it, with immutable and attributable data.

IBM’s 2026 Cost of a Data Breach report found that 21% of organizations had an AI-related breach, 92% of those lacked AI access controls, and the average breach took 247 days to identify and contain. Per-call attribution cuts that time to identify and contain by tying every action to a name.

How does the Speakeasy AI Control Plane run the four controls?

You can assembled every safeguard above using the specs and items listed under its heading. With Speakeasy’s AI Control Plane, they come together where they connect to APIs:

  • Discovery from traffic and endpoints. Agents reach tools through the MCP gateway, so every sanctioned agent, the servers it connects to, and its last activity are recorded as a side effect of use, and discovery hooks surface the agents and MCP servers that never went through review.
  • Identity from the directory. Sessions authenticate through the identity provider the organization already runs. A run that works for a person receives a task-scoped credential naming that person and the agent. A run that works for the organization gets a dedicated identity with a named owner.
  • Policy per tool call. Each call is authorized against the principal’s grant when it happens, so a read-only tool and a destructive one are separate decisions rather than one standing credential.
  • Audit into the SIEM. Every allow and deny lands in audit logs under a name, with the agent, the run, and the owner on the row, exportable to the SIEM the security team already runs.

To watch the 4 settings work on your own systems, talk to us.

Frequently asked questions

What is agent governance?

Agent governance is how an organization controls what its AI agents are allowed to see, do, and decide: which agents exist, under whose identity they act, which tools and data each call may reach, and how those decisions are logged and audited. The term carries two meanings. In the broad sense it is used interchangeably with AI governance, the program covering every AI system in use. In the narrow sense it means governing background agents, which run without a person present, inside the identity, access, change, and audit controls the organization already runs for people and services. The controls are the same under either reading, applied at the tool call rather than only at the model or the policy wiki.

Is agent governance the same as AI governance?

In everyday usage, often yes. Analysts, vendors, and board decks use AI agent governance and AI governance for the same organization-wide program, because agents are the reason the program is being funded now. In the narrower usage security and platform teams apply, agent governance means governing background agents specifically: the scheduled workers, queue consumers, and vendor-hosted coding agents that act with no person at the keyboard, and how those agents fit into the governance environment the company already has. This page covers both readings and uses the same four controls for each.

How is agent governance different from AI governance?

AI governance is the organization-wide program covering every AI tool in use: chat assistants, copilots, embedded features, and agents, with visibility, identity, policy, and observability as its four functions. Agent governance is the slice of that program that applies to agents specifically, the callers that choose their next action at runtime and reach tools through interfaces such as the Model Context Protocol. The controls are the same four functions, but they attach to a different unit: the individual tool call rather than the application or the seat.

How does agent governance relate to the AI Control Plane?

Agent governance is the program: the set of controls an organization decides to run over its agents. The AI Control Plane is an architecture that ships those controls as one system on the path between agents and tools, so inventory, identity, per-call policy, and audit are properties of the same layer rather than four separate projects. An organization can assemble the controls itself; the control plane is the packaged form.

What controls does agent governance need?

Four. An agent inventory that records which agents exist, who owns each, and whether it is sanctioned. Agent identity that binds every session to a person from the directory or to a dedicated identity with a named human owner. Access and policy enforced at the tool call, so a destructive tool is a different grant from a read-only one and each call is checked when it happens. And audit that records every allow and deny under a name, in a form the security team can export and an assessor can review.

Does agent governance require an MCP gateway?

No, but a gateway is the most common enforcement point for the access and audit controls. Tool calls from sanctioned agents pass through one place, so the per-call check and the log fall out of the routing. The gateway is one control inside the program, not the program itself: it cannot see agents that never connect to it, which is why inventory and discovery remain separate controls, and identity has to come from the directory rather than from the gateway.

What does agent governance mean for background agents?

A background agent runs on a schedule, a queue, or another person's request, with no one steering it, so it cannot inherit a person's identity or a person's session controls. Governing it means treating it as a principal the existing governance environment already knows how to handle: a dedicated identity in the directory with a named human owner, a fixed grant reviewed on the same cadence as service accounts, change management when its instructions or tool set change, audit into the same SIEM, offboarding as an explicit event, and vendor risk review when a third party hosts it. The narrow sense of agent governance is making sure those existing functions see and cover background agents.

How does shadow AI fit into agent governance?

Shadow AI is the population agent governance has not reached yet: agents and MCP servers deployed without review, which no policy on the sanctioned path can see. Discovery surfaces them, the agent inventory records them with an owner and a disposition, and the rest of the controls then apply. A governance program that only covers the approved path governs the agents that were already the least risky.

Who owns agent governance inside the organization?

Usually the executive already accountable for AI risk, most often the CISO, with the CIO or CTO owning the platform side. The split follows the controls: identity and audit sit naturally with security, while the inventory and the path agents take to tools are platform decisions. What matters more than the org chart is that each agent record has a named human owner, because every control in the program resolves to that field.

How do you discover background agents?

A background agent has no seat or login, so it is found through the traces it leaves: service principal sign-ins in the identity provider, OAuth consent grants on SaaS tenants, API keys listed by the model provider admin APIs, egress to inference endpoints from servers, Git-provider app installations for vendor-hosted coding agents, and MCP server declarations in endpoint configuration. Agents separate from ordinary service accounts by cadence, by model traffic paired with tool traffic from the same host, and by call patterns that drift when instructions or tools change. Each finding becomes an inventory record with a named owner or a decommission ticket.

How do you give a background agent an identity?

It depends on whose authority the run carries. A run that works for one person keeps that person's delegated authority through a short-lived task-scoped credential naming the person as subject and the agent as actor. A run that works for the organization gets a dedicated workload identity registered in the directory with a named human sponsor, proven by attestation rather than a stored secret, in the pattern SPIFFE defines and that Google Cloud, Microsoft Entra, and Okta now ship for agents. Every agent identity needs a lifecycle: a sponsor at creation, quarterly review, sponsor succession, and decommissioning with credential revocation.

How do you subscribe background agents to access controls?

Four steps. Grant a fixed, task-sized scope attached to the agent's identity, with credentials injected just in time rather than standing. Authorize each tool call at a policy decision point that sees the agent, the person it acts for, the tool, and the arguments, the exchange the OpenID AuthZEN specification standardizes. Gate destructive actions on an out-of-band human approval, such as a backchannel authentication request to the owner. Then put the grant into the same access certification campaigns and change management process the organization runs for service accounts, and re-review when instructions or tools change.

How do you audit background agents?

Design the record so every tool call resolves to a name: the agent identity, the run identifier, the person it acts for when there is one, and the owner of record. Capture the tool, the arguments or their hash, the decision and policy version, the target, and the outcome. Store the record where the agent's runtime role cannot write or delete, and ship it to the SIEM in a schema it can query, such as the OpenTelemetry GenAI conventions or the OWASP Agent Observability Standard extension of OCSF. Retain it for as long as the strictest applicable regime requires, which for high-risk systems under the EU AI Act is at least six months.

How does the Speakeasy AI Control Plane support agent governance?

The platform runs the four controls as one system on the path agents take to tools. Agents reach tools through its MCP gateway, so the inventory updates from traffic and every call is checked and logged when it happens. Sessions authenticate through the identity provider the organization already runs, so each action records under a name from the directory. Discovery hooks surface the agents and MCP servers that were never approved. It covers the agent slice of governance; the broader AI governance program, covering every AI tool in the organization, is a larger scope than any single platform closes.

AI everywhere.

Control here.