Introduction
The Personal Agent Protocol (“Poppy” for short) is an open protocol for how personal agents and companies work together. A customer can ask their own AI agent to book a room, start a return, or check an order, and the agent does it at the company on the customer’s behalf. Companies decide what agents can do, and customers decide what their agent can do for them. Sierra and Meta announced Poppy in October 2026, and version 1.0 was released in November 2026. According to Sierra’s release post, every Shopify store now publishes a Poppy file, and Meta’s Muse agent looks for Poppy first on every site it visits. Most of Poppy is OAuth, which Authlete already supports. On top of OAuth, Poppy adds a discovery file that describes the Company and a signedPoppy-Session header on every request. Your API checks the header and the authorization server never sees it, so your Authlete setup stays OAuth with CIMD. This page explains how the pieces fit together, then shows the whole flow running against Stays, Authlete’s reference Poppy Company.
Terms
Poppy capitalizes the terms it defines. These definitions come from section 2 of the Poppy 1.0 specification.How Poppy works
A Personal Agent that has never seen a Company before goes through the steps below. The examples use Stays, the demo Company in See Poppy in action. The diagram shows the whole flow between a User, their Personal Agent, and a Company whose authorization server runs on Authlete. The numbers match the sections that follow. The Company’s authorization server and API call Authlete; the User only ever sees the Company’s pages.1. Discovery
The agent readshttps://stays.poppysandbox.dev/.well-known/poppy.json. The file names the Company and its authorization server, describes each scope in words the User will see, and lists the APIs.
poppy.json (abridged)
scope_hints tell the agent whether a scope changes data, whether the change can be undone, and whether it touches personal data. Here, stays:write is irreversible, so a careful agent asks the User before it books.
A Company chooses which channels to offer. Besides apis (OpenAPI or MCP), poppy.json can list a Company Agent for conversations (agent), signed-in use of the website (web), and task guidance (tasks). Stays offers an OpenAPI API only.
2. Finding the authorization server
The agent checks the issuer two ways. It reads Stays’ protected resource metadata (RFC 9728) athttps://stays.poppysandbox.dev/.well-known/oauth-protected-resource:
https://auth.stays.poppysandbox.dev/.well-known/oauth-authorization-server. The two documents must point at each other: the Company names its authorization server, and the authorization server lists the Company in protected_resources.
In Poppy, the protected resource is the whole domain, so its metadata sits at the root with no path after it. This differs from MCP servers, whose resource is a single URL.
3. Agent identity
The agent’sclient_id is an HTTPS URL that returns its metadata, as in CIMD. The metadata includes the agent’s public keys (jwks_uri). The agent proves its identity at the token endpoint with a signed client assertion (private_key_jwt). The agent must set exp no more than 5 minutes after iat. Your service must accept assertions signed with ES256 and PS384, and reject any whose aud is not your issuer. Authlete does this when clientAssertionAudRestrictedToIssuer is on, which it isn’t by default; see Implementing Poppy with Authlete.
Poppy doesn’t require agents to name their signing algorithm in their metadata. If an agent’s metadata has no token_endpoint_auth_signing_alg, Authlete still accepts its assertion when it verifies with one of the agent’s published keys. An agent that names an algorithm must sign with that algorithm.
4. Signed-out Session
The agent can call Stays’ API before anyone signs in, for tasks that need no account, such as listing rooms. Every request carries aPoppy-Session header: a JWT that the agent signs with a short-lived key, vouched for by one of the keys in its jwks_uri. The header names the agent (iss), the Company (aud, its issuer), the User ID (sub), the Session (sid), and the exact request (htm and htu). Each of these requests also carries a Poppy-Version header, such as Poppy-Version: 1.0.
When a request needs an account, Stays answers 401 with no error code, and names the scope it needs in the WWW-Authenticate challenge.
5. Sign-in
The User signs in on the Company’s own page and approves the scopes. Poppy defines two ways to sign in:- Direct Sign-In: the User signs in on the Company’s page in their browser. This is the authorization code flow with PKCE. The request includes
prompt=consent, so the User approves the agent every time, and the consent page must list every scope the Company will grant. If the authorization server lists a Pushed Authorization Request (PAR) endpoint, as Stays does, the agent should push its request there first and open the browser with only the returnedrequest_uri. - Device Sign-In: the User signs in on any device, using a link and code the agent shows them. This is the device flow.
6. Signed-in requests
The agent sends the access token together with thePoppy-Session header. The Company checks both before it acts. Access tokens can be Bearer tokens or DPoP-bound tokens; the Company chooses, and Personal Agents should support DPoP.
To sign out, the agent revokes every refresh token it holds for the Company at the revocation endpoint.
What Authlete handles
Poppy requires the authorization server metadata to list your Company in
protected_resources. From version 3.0.40, Authlete includes it when you set Protected Resources (protectedResources) in your service settings. On earlier versions, add your Company’s URL in your discovery endpoint before you return the response.See Poppy in action
To see the flow in a real-life scenario, this section uses Stays, a demo company that rents seaside rooms. Stays is a complete Poppy Company protected by Authlete: its authorization server calls Authlete for every OAuth step, and its API asks Authlete about every access token. You play a customer whose Personal Agent finds Stays, signs you in, and books a room, while you watch each step of the flow above happen. Stays keeps its own brand and domains, and Authlete works behind them. Customers only ever see Stays’ pages.
Before you start
- Create a test account with Sign Up on the Stays sign-in page. Stays is a demo, so don’t use real personal information.
- The Playground and the Simulator run in your browser, so there is nothing to install.
Walk through the flow with the Poppy Agent Playground
The Poppy Agent Playground is a Personal Agent that you drive one task at a time. Each task is a real request to Stays: the agent answers in plain language on the left, and Wire on the right lists every request, decoded. The goal is to book a room. The step numbers below match the diagram in How Poppy works.1
Discover Stays (steps 1 and 2)
In the box at the top, enter 
stays.poppysandbox.dev and click Discover. The Playground reads Stays’ poppy.json and protected resource metadata, the authorization server metadata that Authlete generates for auth.stays.poppysandbox.dev, and the OpenAPI document. Your agent shows Connected to Stays, and Call an API lists Stays’ operations with the scope each one needs.
2
Search available rooms (step 4)
Pick GET /rooms (Search available rooms) and click Send. Searching needs no account, so the signed-out Session is enough, and the agent shows Stays’ two rooms.

3
Try to list your bookings (step 4)
Pick GET /stays (List your bookings) and click Send. Stays answers 
401, and the agent replies that Stays needs stays:read, so you have to sign in first. Click the request under Wire to see the Poppy-Session header, its delegation (poppy_dlg), and Stays’ response.
4
Sign in to Stays (steps 3 and 5)
Click Sign in to Stays. Stays’ own sign-in page opens in a new tab. The Playground shows what Stays is asking for, and notes that the page is Stays’ own authorization server, powered by Authlete.
Sign in with your test account and approve the scopes on Stays’ page.
Behind the page, the Playground pushes its request to Stays’ authorization server first (


POST /oauth/par). Authlete fetches the Playground’s metadata (CIMD), registers it, and issues the code. When the Playground exchanges the code (POST /oauth/token), Authlete verifies its signed client assertion and issues the tokens.5
List your bookings, signed in (step 6)
The agent replies Signed in. Stays granted me the access you approved. and lists your bookings again. This time the request carries the access token with the 
Poppy-Session header, and Stays answers 200. You have no bookings yet.
6
Book a room (step 6)
Pick POST /stays (Book a room). Edit the body if you like, for example 
{ "room": "sea-view", "checkIn": "2026-12-01", "nights": 2 }, and click Send. Stays checks the Poppy-Session header, Authlete checks the access token and its stays:write scope, and Stays answers 201 with the booking: its ID, the total, and the cancellation policy.
7
See your booking
Pick GET /stays again. The agent now lists the room you booked.

Watch an independent agent with the Poppy Simulator
The Poppy Simulator is a hosted test agent that Stacktree wrote from the spec text, without Authlete’s or Stays’ code. It speaks Poppy 1.0 and drafts 0.2 to 0.4, and uses the newest version a Company offers. It is not affiliated with Authlete or with the authors of Poppy.1
Run the checks
Choose Test a company, enter
stays.poppysandbox.dev, and click Run the checks. The Simulator reads Stays’ discovery files, starts a signed-out Session, and sends requests that a Company must refuse.2
Read the results
Each check names the spec section it tests, and passes (✓), warns (!), fails (×), or is informational (i). The wire lists every request with its checks.

3
Sign in
Choose Sign in on this device for Direct Sign-In. The Simulator first pushes its request to Stays’ authorization server (Pushed Authorization Request), then opens Stays’ sign-in page. Sign in with your test account and approve the scopes on Stays’ consent page.
4
Watch the token exchange
Back in the Simulator, the wire shows the rest of the flow. Each step goes through Stays’ authorization server, which hands the work to Authlete:
-
The
stateandissreturned with the code match what the Simulator expects. - The code is exchanged for an access token and a refresh token. Authlete accepts the Simulator’s signed client assertion and grants no scope beyond those requested.
- Exchanging the same code again is refused.
-
The refresh token gets a new access token narrowed to
stays:read.
According to Stacktree, the Simulator publishes nothing and sends feedback only to Stacktree.
Run the same demo against your own Company
Once you have built your Company, as in Implementing Poppy with Authlete, point the same agents at your own domain:- Your Company’s domain must be reachable from the internet over HTTPS. The Playground and the Simulator run as hosted services, so they can’t reach
localhost. - If your service uses a CIMD allowlist, add the agents’ client IDs:
- Prepare a test User account on your sign-in page.
Checklist
Use this list with any of the tools. Section numbers refer to the Poppy 1.0 specification.Troubleshooting
What’s next
To make your own Company work with Personal Agents, see Implementing Poppy with Authlete. It walks through configuring your Authlete service, publishingpoppy.json, and handling sign-in, tokens, and the Poppy-Session header, step by step.
References
- Personal Agent Protocol
- Personal Agent Protocol specification, version 1.0
- Personal Agent Protocol changelog
- Company implementation kit
- Releasing Personal Agent Protocol 1.0 (Sierra)
- RFC 8414: OAuth 2.0 Authorization Server Metadata
- RFC 9728: OAuth 2.0 Protected Resource Metadata
- OAuth Client ID Metadata Document (CIMD)
- Poppy Agent Playground
- Poppy Simulator by Stacktree