Skip to main contentArrow Right
Dark navy-blue background with subtle teal circuit-like lines extending inward from both sides toward the center. The word “Guide” appears at the top above white line-art icons of a smiling robot head and a clipboard with a checkmark. Glowing cyan text below reads “AI Agent Governance Best Practices” across two lines.

Table of Contents

Summarize with AI

Don't have the time to read the entire post? Our human writers will be sad, but we understand. Summarize the post with your preferred LLM here instead.

AI agent governance runs in two directions. Security and IT teams need control over the agents employees build and run internally, and companies that expose APIs or MCP servers need control over the outside agents that connect to them. Both problems are growing quickly. In an April 2026 forecast, Gartner predicted that an average global Fortune 500 enterprise will have more than 150,000 agents in use by 2028, while only 13% of organizations think they have the right AI agent governance in place.

The gap shows up in breach data too. IBM's 2026 Cost of a Data Breach Report found that 92% of organizations with an AI-related breach lacked proper AI access controls. Agent governance comes down to identity: who the agent is, what it can reach, on whose behalf it acts, and what record it leaves. The seven practices below cover what to put in place and where to start. For the credential handling underneath them, see our guide to AI agent credential management best practices.

At a glance

  • Give every agent an owner, a purpose, and scoped access through a registration path faster than the workaround.

  • Keep access policy outside the model, and check it every time an agent asks for a token.

  • Replace standing API keys with short-lived tokens that every server validates.

  • Scope agents to the task, cap them at the user's own access, and narrow access at every hop.

  • Send high-impact actions to a person, stream audit events to your SIEM, and rehearse revoking an agent.

What AI agent governance has to answer

Public guidance has converged on the same set of controls. The OWASP Top 10 for Agentic Applications catalogs agent-specific risks such as goal hijacking and identity and privilege abuse, and every one of them has at least one identity-related mitigation. NIST's proposed design tenets for agent identity management systems start from a distinct identity for each agent and call for policy enforcement built into the architecture around it. The EU AI Act requires deployers of high-risk systems to provide competent human oversight, monitor operation, and keep logs.

Underneath the frameworks are the questions an auditor, a customer's security reviewer, or an incident responder will ask about any agent. A governance program is working when it can answer each one quickly.

Question

Control that answers it

What is this agent, and who owns it?

Registration with a named owner and purpose

What can it reach?

Policy-backed, scoped tokens

On whose behalf is it acting?

Delegation that keeps the user's identity in every token

Who approved this action?

Consent and out-of-band approval for high-impact actions

What did it do?

Audit events streamed to a system the agent can't touch

Can we stop it right now?

Revocation that takes effect immediately

Best practices for AI agent governance

1. Make the governed path the fastest way to ship an agent

Shadow agents appear when the approved path is slower than the workaround. If getting an agent approved takes a ticket and a week, developers are likely to paste a personal API key into a config file instead. Agent governance starts with a registration path that's quick enough that nobody routes around it.

Every agent should come out of registration with a named owner, a stated purpose, and access to specific resources and scopes. Check each request against existing policy, approve requests that fit automatically, and send only the exceptions to a reviewer. That keeps review effort on the requests that actually need judgment.

The same applies to outside agents connecting to your product. Model Context Protocol (MCP) clients often register themselves through Dynamic Client Registration (DCR) or a Client ID Metadata Document (CIMD), so checks belong in the registration step itself, such as blocking registrations from known-malicious IPs. Our posts on hardening Dynamic Client Registration and CIMD support cover the options.

The other half of the lifecycle is ending access. Give access an end date, tie each agent to its owner so it doesn't outlive their involvement, and rehearse revocation before you need it: pick an agent and confirm you can cut off its access, and every consent it holds, in one step.

2. Decide access with policy that sits outside the agent

An agent's access should be decided by a policy engine the agent can't influence, every time it requests or exchanges a token or fetches a stored credential. A model takes instructions and data through the same channel, so a document or tool result it reads can redirect it. An injected instruction can change what an agent tries to do, but it shouldn't be able to change what the agent is allowed to do.

Write policy around the questions that matter for access: which agent is asking, for which user and tenant, for which resource, and from where. New agents should start with no access, with each approved request adding a specific allow rule. Organization-wide guardrails, such as blocking agents from production systems or limiting which teams can grant write access, should sit above team-level rules so security can set limits without editing every team's policy.

Keep one source of truth for policy, even when enforcement runs in many places. Agents reach MCP servers, APIs, gateways, and third-party tools, and a policy copied into each of them drifts out of sync.

3. Enforce access at request time, not at credential creation

A long-lived API key encodes an access decision at the moment it's created and carries it forward indefinitely. Replace standing keys held by agents with short-lived tokens issued per request, so every access decision reflects current policy. Each MCP server and API should validate the token it receives on every call, and tokens should be sender-constrained where possible, with Demonstrating Proof of Possession (DPoP) or mTLS certificate binding, so a copied token is useless on its own.

Moving agents to tokens can happen without rewriting every backend. When You.com added OAuth 2.1 to its MCP server, its API tier still expected API keys. Instead of rewriting each service, Descope provisions and stores an API key per user in Descope Connections. The MCP server validates the user's OAuth token on each tool call, then retrieves the key and calls the downstream API. The agent only ever holds the OAuth token.

Long-lived credentials are also what attackers go after. In August 2025, Google Threat Intelligence Group reported that attackers used compromised OAuth tokens tied to the Salesloft Drift application, an AI chat agent that integrates with Salesforce, to export data from customers' Salesforce instances. The response was to revoke every active access and refresh token for the application. Short-lived, bound tokens limit how long and how far a stolen credential works. For more on protecting the servers themselves, see MCP server security best practices.

4. Scope agents to the task and cap them at the user

An agent should hold the access its current task needs, and never more than the user it acts for. With broad standing access, any mistake, from a misread prompt to an injected instruction, can reach everything the agent can. Map each tool to its own scope and keep read and write separate, so an agent that summarizes records can't also delete them. Policy sets the ceiling, and consent works inside it: if policy doesn't allow a scope, the user should never be asked to approve it.

When a task needs more, the agent should ask for the added scope through consent at that moment rather than holding broad access up front. Our post on progressive scoping shows how to structure scopes so agents can request them incrementally, and Top 6 MCP Vulnerabilities covers what goes wrong when servers skip scoping entirely.

5. Keep the user's identity in every hop, and let customers govern through their IdP

Agents rarely stop at one service. An agent calls an MCP server, which calls an API, which may call a third-party tool. Each hop should get a new, narrower token through OAuth Token Exchange rather than a forwarded copy of the original. In the delegation pattern, the new token carries both the user and the agent, so every downstream service knows who authorized the work and who is doing it, and policy runs again at each exchange.

For companies that expose MCP servers to enterprise customers, delegation has a second side. Enterprise security teams want to control which agents reach a vendor's MCP server using the identity provider (IdP) they already run. Cross-App Access (XAA) makes that possible: the customer's IdP issues an ID-JAG assertion for the agent, and the vendor's authorization server trades it for its own access token. Each enterprise governs its own agents' access without filing a request with the vendor.

6. Put humans on high-impact actions, not every action

List the actions in each agent's toolset that need a person before they run, such as money movement, bulk data export, permission changes, and irreversible changes to production. For those, route approval out of band with Client-Initiated Backchannel Authentication (CIBA): the agent's request triggers a prompt on the user's own device, and the agent receives a short-lived token for that action only after approval. The prompt should say what the agent wants to do, to what, and why.

Everything else should run under policy without interruption. Approval prompts that fire constantly train people to approve without reading, which NIST's tenets call consent fatigue. If approvers accept nearly every request, narrow the set of actions that asks for approval. Our tutorial on CIBA for AI agents with Claude Code hooks shows the pattern end to end, including its current limits.

7. Stream audit evidence to where your security team already works

An agent that writes its own logs can lose or overwrite them. Audit events should come from the identity layer and the resources, and stream to a SIEM or storage destination you control. Each event should tie the agent to the user it acted for, the tenant, the resource, and the policy decision, and the record should include denials as well as successes.

Test the trail with a real question: show every action a given agent took on behalf of a given user last week. If that takes more than one query, the events are either missing a field or spread across too many systems. Keep the events as long as your obligations require, which for high-risk systems under the EU AI Act means at least six months. Our posts on monitoring and auditing agentic identities and auditing AI agents go deeper on what to capture.

How the Descope Agentic Identity Hub supports AI agent governance

The Agentic Identity Hub is a dedicated identity provider for AI agents, built for both the developers who ship agents and MCP servers and the security teams who govern them. Recent releases extend it to internal agents, so every agent can be requested, justified, approved, and reviewed.

Best practice

Agentic Identity Hub capability

Registration and lifecycle

The Agentic Governance Suite lets employees request agents with a justification and scopes, auto-approves requests that fit existing policy, and routes the rest to admins. The Agentic Identity view lists every agent, and revoking access is immediate. Client Registration Flows can screen MCP clients that register through DCR.

Policy outside the agent

Policies take context from the user, tenant, agent, and resource, and run at token issuance, token exchange, and credential fetch, with one policy source of truth wherever enforcement happens.

Request-time enforcement

Resources validate Descope-issued tokens on each request. Descope Connections acts as a credential vault, so agents use short-lived tokens while API keys and third-party OAuth tokens stay in Descope. DPoP and mTLS certificate-bound tokens are supported.

Task-level scope

MCP Servers support per-tool scopes, consent is limited to what policy allows, and agents can request elevated scopes progressively.

Delegation and enterprise IdPs

Token exchange preserves the delegating user across multi-hop tasks. Descope both issues and validates ID-JAG tokens, and tenant admins can set up Cross-App Access themselves in the SSO Setup Suite.

Human approval

CIBA sends out-of-band approval requests for elevated actions, with a Descope Flow handling the approval step.

Audit evidence

Audit events tie agent activity to users, tenants, and resources, and stream to destinations such as Datadog and Amazon S3. The Descope MCP Server lets teams run auditing tasks from their IDE.

Governing agents with identity

AI agent governance holds when every agent has an owner, every access decision comes from policy outside the model, every request is checked where it lands, and every action leaves a record the agent can't change. Start with the question table above: pick one agent, try to answer all six questions about it, and fix whichever answer takes longest to find.

To put these practices in place, sign up for Descope and explore the Agentic Identity Hub docs, or book a demo with our team.

FAQ on AI agent governance