Agentic Identity Hub
The Agentic Identity Hub is Descope's control plane for AI agent identity. It covers every agent that calls your APIs, every tool your agents use, and every credential those tools need.
Why Agents Need Different Identity Infrastructure
Traditional IAM assumes software follows a script. A user clicks a button, an application calls a known endpoint, a service account holds a credential that rarely changes. The access pattern is knowable at deploy time.
Agents do not work that way. They reason about a task, choose tools at runtime, chain calls across services, and adapt based on what each step returns. Three assumptions that hold for traditional software break with agents:
- Access patterns can be assigned ahead of time. An agent reasoning about a task chooses its tools at runtime. You cannot enumerate those choices in a config file before deployment.
- A human can approve every meaningful action. At agent speed, they cannot.
- Long-lived credentials are safe enough. An agent holding broad, static secrets is a blast radius waiting to happen, especially one that chains calls across services.
Descope issues short-lived, scope-limited credentials at the moment an agent needs them, evaluates policy against runtime context, and produces an audit trail that connects every action back to the originating user.
Resources and Connections
Two nouns anchor everything in the Hub, and they are easy to mix up:
- A Resource is what an agent connects to: an API or MCP server you protect with Descope, identified by an audience (its URL) and a catalog of scopes. When an agent asks Descope for a token, it names that audience: a standardized way of saying "this is what I am trying to access." Every access token, and every ID-JAG, is issued for a Resource.
- A Connection is where Descope stores the tokens and API keys an agent uses on a user's or tenant's behalf, such as a Google or Slack OAuth token a tool needs downstream. A Connection is a credential vault, not a target an agent authenticates into.
The working model
Define a Resource for each thing an agent should be able to reach. That can be one Resource per internal service, or a single Resource for a gateway you run that fronts many downstream MCP servers and APIs. Either way, the Resource's audience is what the agent's token is minted for, and Descope is the authorization server that protects it.
The recommended pattern puts that Resource between the agent and the Connections vault, so the Resource fetches third-party credentials at runtime and the agent never holds them. See Keep Credentials off the Agent for more details. Policies govern access to both Resources and Connections.
Where Descope Fits
Descope covers both external agents, your customers' agents reaching what you build, and internal agents, your employees' agents reaching company and third-party tools. Across both, Descope does three jobs, each covered in Use Cases:
- Protecting the APIs you build, whether agents call them as MCP servers or REST APIs
- Protecting third-party APIs that your employees' agents use
- Building agents that authenticate and get the tokens their tools need
All three run on the same Descope project, with the same user records, policy engine, Connections vault, and audit log. A user who authorized an MCP client is the same subject a policy evaluates when an internal agent acts on their behalf, so nothing is configured twice.
How Agents Get Access
Every time an agent uses a tool, Descope does four things:
- Identify: Descope recognizes the agent from its registered client record, a cloud workload OIDC token (AWS or GCP), or credentials issued at runtime via DCR or CIMD.
- Authorize: Policies enforce what the agent can access. For
client_credentialsflows, policies control which scopes the client is permitted to request at the token endpoint. Forauthorization_codeflows, policies control which scopes a user can consent to in the consent screen. Either way, the agent receives only what policy allows. - Protect: Resources validate Descope-issued tokens natively using your Descope project JWKs. No middleware required.
- Broker: When a tool needs a different credential (a narrower scope, a different audience, or a third-party API key), Descope exchanges the base token at the token endpoint (RFC 8693) on demand. No re-authentication, nothing stored on the agent.
This loop runs for every agent in your system, whether it acts on behalf of a user, runs autonomously, or authenticates via a cloud workload identity provider.
For credential issuance patterns and the full lifecycle map, see Auth Patterns.
Core Components
The Hub is built from a small set of components. Every use case above combines the same pieces.
Agentic Identity
View and manage agentic identities: the authorization records created when users consent, tenants are granted access, or autonomous clients are registered.
Clients
Register and manage OAuth clients. Supports pre-registration, DCR, CIMD, and JWT Bearer for cloud workloads.
MCP Servers
Protect MCP servers with OAuth 2.1 auth, per-tool scopes, and tenant isolation.
Resources
Define the APIs and MCP servers agents can reach, and the scopes that gate each action. Tokens are issued for a Resource.
Connections
Vault OAuth tokens and API keys for downstream services. Agents fetch credentials at the moment of use.
Gateways
Early access. Create a Descope Agent Gateway, give agents its one URL, and add a route for each MCP server or API behind it.
Policies
Write authorization rules evaluated at token issuance and exchange.
Guides
The guides below put those components together for a specific job.
Use Cases
Use cases for external agents (your customers') and internal agents (your company's): building MCP servers, building agents, and governing agents.
Agent Governance
Let employees request agent access to Resources and Connections, and approve, deny, or auto-approve each request.
Agent Auth SDK
Sign agents you build in to Descope and get the credentials their tools need.
Enterprise-Managed Authorization
Use Cross App Access (XAA) to issue XAA tokens for your agents, or accept your customers' XAA tokens for MCP servers you host.
Widget Flows
Learn how Descope Widgets are powered by Flows, and how to customize, extend, and pass inputs into the flows running underneath widget components.
Use Cases
Protect the APIs and MCP servers your customers' agents call, secure your employees' agents and the APIs they use, and connect the agents you build.
