Authorize

Prev Next

Authorize is where Policy meets Runtime. The Policies you write in Manage are enforced at the moment an AI agent acts, before a request reaches the API, MCP server, or data it targets. You manage Policies centrally in the Platform, and a Policy change takes effect on the next request, with no changes to your agents.

How Authorization Works

For every request, PlainID evaluates the user and the agent together: the initiating identity, the agent acting on its behalf, the tool or data the agent wants to reach, and the runtime context. An agent never inherits the user's permissions. The decision reflects what this user may do through this agent, for this request.

  1. An agent sends a request, such as an API call or an MCP tool call.
  2. A PlainID Authorizer intercepts the request and sends the identities and request context to the PlainID Policy Decision Point (PDP).
  3. The PDP evaluates your Policies and returns a decision.
  4. The Authorizer enforces the decision before the request reaches its target: it permits the request, denies it, or permits it with obligations, such as a filtered tool list or a rewritten SQL query.

Integration Types

Integration How it works
Integration via Gateways A PlainID Authorizer on your API, AI, or MCP gateway, such as Azure API Management, Google Apigee, Amazon Bedrock AgentCore Gateway, or Kong Gateway, enforces each decision before the request reaches the upstream service. No changes to agent code.
Integration via SDKs PlainID packages for LangChain, LangGraph, and Microsoft Agent Framework enforce Policy inside the agent's own workflow, on prompts, data retrieval, tool calls, and responses.
Gateway Integration Native integrations with agent platforms. For example, Microsoft Copilot Studio asks the PlainID Authorizer before every tool call its agents make.
Decision Support Integrations Services that prepare content for Policy decisions, such as PlainID Content Control, which categorizes prompts for input guardrails and masks sensitive data for response guardrails. The PDP still makes every decision.

Choosing an Integration

If you want to Use
Enforce Policy without changing agent code Integration via Gateways or Platform Integrations
Cover every agent that calls your APIs or MCP servers, including agents you don't own Integration via Gateways
Enforce inside the agent's workflow, for example on prompts, retrieval, or responses Integration via SDKs
Protect agents built and run on an agent platform, such as Copilot Studio Platform Integrations
Enforce guardrails that depend on what a prompt is about, or on sensitive data in content Decision Support Integrations, called from your gateway, SDK, or agent

Most organizations combine them. A gateway enforces only the traffic it can observe, so agents that reach data directly, such as through a retrieval pipeline, need enforcement in their own code.

Most Authorizers also discover the agents and tools they see, so enforcement and inventory grow together. Start by heading to Integration Via Gateways or SDKs to get started:

Integration via Gateways
Integration via SDKs

© 2026 PlainID LTD. All rights reserved.