> ## Documentation Index
> Fetch the complete documentation index at: https://auth0.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Support for Personal Agent Protocol (Poppy)

> Let personal AI agents sign your users in, call your APIs, and browse your website on their behalf, with the Personal Agent Protocol (Poppy) and Auth0.

> [!WARNING]
>
> **The Support for Personal Agent Protocol (Poppy) feature is in [Beta](https://auth0.com/docs/troubleshoot/product-lifecycle/product-release-stages.md).**
>
> By using this feature, you agree to the applicable Free Trial terms in Okta's [Master Subscription Agreement](https://www.okta.com/legal).

Personal agents are AI assistants that act for one person: they search, shop, change bookings, and manage accounts. Today, most agents reach your application by asking the user for their password or by driving a browser as if they were the user. Your application can't tell the agent from the person, so every "is the user signed in?" check gives the agent the same permissions as the user.

The [Personal Agent Protocol](https://personalagentprotocol.org/) (Poppy) is an open protocol for how personal agents and companies work together. The agent identifies itself, the user approves what it can do, and your application sees and limits agent traffic. Auth0 implements the company side of the protocol on your existing tenant, API, and web application.

With Support for Personal Agent Protocol (Poppy), you can:

* Publish discovery files so personal agents find where to sign in, which scopes you offer, and how to use your APIs and website.
* Register the personal agents you allow by the URL of their client metadata document. Only clients [manually](https://auth0.com/docs/get-started/auth0-overview/create-applications/cimd-overview) registered by a tenant administrator are supported.
* Let users connect an agent to their account with a consent page that names the agent and the scopes it asks for.
* Let an agent's browser join your website as a guest or as the signed-in user, while your web application receives standard Auth0 tokens that name the agent in the `act` claim.
* Accept agent calls at your APIs, signed out with a signed `Poppy-Session` header, or signed in with an access token as well.

## Use cases

* **Tiered access for agents:** Any agent can search your catalog as a guest. A signed-in agent can see the user's orders. Only the scopes the user approved allow the agent to act on their behalf, such as starting a return.
* **Agent-aware websites:** Your web application knows when an agent drives the browser, which agent it is, and what the user allowed it to do. You can log agent activity and keep sensitive operations for the user or require their explicit confirmation, for example with [Client-Initiated Backchannel Authentication (CIBA)](https://auth0.com/ai/docs/intro/asynchronous-authorization.md).
* **Secure access revocation:** The agent never holds the user's password, only tokens issued to it. Revoking those tokens, or removing the agent, ends its access to the account without the user changing their password or affecting their other sessions.

## Architecture overview

Poppy splits the work in two layers:

* **OAuth at Auth0.** The personal agent is a confidential OAuth client identified by the URL of its client metadata document (CIMD). It authenticates with Private Key JWT. The user signs in with the authorization code flow and PKCE, which Poppy calls *Direct Sign-In*. Refresh and revocation are standard.
* **Sessions at your application.** Every agent request carries a signed `Poppy-Session` header. It names the agent, a Session that the agent chooses for a task, and a pairwise User ID that the agent gives its user for your company. A signed-in request also carries an access token.

![Personal Agent Protocol overview: discovery, signed-out calls, Direct Sign-In, signed-in calls, and browser join](https://mintlify.s3.us-west-1.amazonaws.com/auth0/docs/images/personal-agents/personal-agents-overview.png)

Auth0 models a Poppy integration with existing concepts:

| Poppy concept | Auth0 concept |
| - | - |
| Company | Your tenant. Its issuer is the company's identity, so use a [custom domain](https://auth0.com/docs/customize/custom-domains) |
| Personal agent | A third-party application registered from the agent's CIMD URL, linked to an [agent](https://auth0.com/docs/ai-agents-mcp/agent-as-principal.md) |
| Scopes the agent can request | Permissions of an API with the Personal Agent Protocol enabled |
| User's approval | Consent and a [client grant](https://auth0.com/docs/get-started/applications/application-access-to-apis-client-grants.md) between the agent's application and your API |
| Browser join | An Auth0-hosted endpoint that ends in a normal signed-out or signed-in login to your Regular Web Application |
| Session | Not an Auth0 object. Auth0 passes its information in tokens, and your API and web application check it |

To learn more, read [How Personal Agent Protocol Works](https://auth0.com/docs/ai-agents-mcp/personal-agents/how-personal-agents-work.md).

## Get started

To see it work end to end, follow the [Quickstart](https://auth0.com/docs/ai-agents-mcp/personal-agents/quickstart.md): add Poppy to a sample store and shop with it using a personal agent.

To add Poppy to your own application:

1. [Set up your tenant with the Auth0 CLI](https://auth0.com/docs/ai-agents-mcp/personal-agents/set-up-with-auth0-cli.md) (recommended) or [set it up manually](https://auth0.com/docs/ai-agents-mcp/personal-agents/set-up-manually.md).
2. [Add Personal Agent Protocol to your web app](https://auth0.com/docs/ai-agents-mcp/personal-agents/add-to-your-web-app.md).
3. [Add Personal Agent Protocol to your API](https://auth0.com/docs/ai-agents-mcp/personal-agents/add-to-your-api.md).
4. [Test your setup](https://auth0.com/docs/ai-agents-mcp/personal-agents/test-your-setup.md).

## Limitations

The beta supports Direct Sign-In, APIs including MCP servers, and web browsing. It doesn't support Device Sign-In, Mediated Sign-In, Company Agents (conversations), or extensions. Agents are registered via their CIMD URL by your tenant administrator. To learn more, read [Beta Limitations](https://auth0.com/docs/ai-agents-mcp/personal-agents/beta-limitations.md).

## Learn more

* [Personal Agent Protocol specification](https://personalagentprotocol.org/docs/spec)
* [Agent as Principal](https://auth0.com/docs/ai-agents-mcp/agent-as-principal.md)
* [Register Applications with CIMD](https://auth0.com/docs/get-started/auth0-overview/create-applications/register-applications-with-cimd.md)
