Skip to main content

Protocol implementation status

Target: PAP version 0.4 as published (upstream 4803900, November 10, 2026), and the Operations extension version 3 (see Compatibility). Version 1.0 as published (upstream 8c02b42, November 14, 2026) is implemented in Python and TypeScript since 0.37.0, and since 0.36.0 1.0 is the default: both roles announce 1.0 unless asked for 0.4 (protocol_versions). Where 1.0 changes 0.4's rules (descriptions, ports, Pushed Authorization Requests, consent, refresh tokens bound to their DPoP key, unknown values), the SDK applies them at 1.0; the advice of its spec 10.3 on lookalike domains (show the domain with the name) applies to every version.

AreaStatus
Discovery document and OAuth metadataImplemented in Python and TypeScript
Client metadata, conversation-event, and Operations wire modelsImplemented in Python and TypeScript with shared fixtures
Domain and issuer bindingImplemented in Python and TypeScript
Duplicate JSON member rejectionImplemented at Python and TypeScript trust boundaries
Client metadata validationImplemented in Python and TypeScript
Client metadata and public JWKS retrievalImplemented in Python and TypeScript with Reactor safety policies
Pairwise user IDs and Session wire primitivesImplemented in Python and TypeScript
Local Session start and the Session headerImplemented in Python and TypeScript: a random sid and no request; a Session JWT on every request, signed with a delegated key per User ID; a new Session once after session_ended; host pap.signer and pap.sessionSigner required
Direct Sign-In state, S256 PKCE, callback validation, and code exchangeImplemented in Python and TypeScript; loopback redirect URIs matched whatever their port
Reactor clock, randomness, signer, Session signer, token, cache, browser, refresh token lock, protected input, and company contracts (Contribution points)Implemented and lifecycle-tested in Python and TypeScript
ES256/PS384 assertion and delegation signingImplemented in Python and TypeScript; BlindJoseSigner signs blindly (RFC 9474)
Session JWT and delegation creation and verificationImplemented in Python and TypeScript; host key custody and replay cache required
Session API/conversation HTTP transportImplemented in Python and TypeScript with one restart after session_ended, none after invalid_session; every redirect refused
Conversation creation, continuation, and ordered JSON event readsImplemented in Python and TypeScript with long polling, backlog draining, cursor recovery, and duplicate suppression
Direct Sign-In browser handoff and code exchangeImplemented in Python and TypeScript; host state, browser, and signer required
Browser join form: a one-time code the agent authorizes with the Session headerImplemented in Python and TypeScript; the host's own browser (pap.browserJoin) required; both reference companies serve the form
Device Sign-InImplemented in Python and TypeScript; host state store and signer required; each poll carries a client assertion; the link shown only on the issuer's host or organization.domain, with the company's name and domain
Task coverage per Session: excluded tasks, skills, feedback (version 0.4 §9)Implemented in Python and TypeScript: TasksClient.get (GET {tasks.endpoint} with the Session header and no access token, kept for its Session only), FeedbackClient.report (bounded task and description, answered with an Alternative when the task can be done after all) and the reference companies' GET /poppy/tasks and POST /poppy/feedback
Mediated Sign-InImplemented in Python and TypeScript; credentials only through the host's pap.protectedInput, the issuer's token endpoint alone, no redirects, a one-time code continued by sign_in_id
UCP extension, version 1Implemented in Python and TypeScript: fetch_ucp_profile / fetchUcpProfile (the validated domain's /.well-known/ucp, no redirect), UcpClient (UCP's REST binding: UCP-Agent, the Session header, a Bearer token from PAP's sign-in; identity_required, insufficient_scope and invalid_token as UcpError); the reference companies' UCP profile, catalog search and orders (ucp, ucp_products). Not implemented: UCP's MCP and embedded transports, checkout and payment, Ask, incremental authorization (UCP-4-06)
Refresh, rotation, narrowing, and revocationImplemented in Python and TypeScript; rotation serialized by pap.refreshTokenLock; invalid_grant signs out; wider scopes are re_consent_required
OpenAPI and MCP clientsImplemented in Python and TypeScript: ApiClient (approval_required operations, insufficient_scope with its scope, an Idempotency-Key on every write, kept per Session by the reference companies) and McpClient with an access token for its MCP server's exact URL (token_for_mcp/tokenForMcp, McpSessionAuth); ServiceTokens keeps one token per resource a service asks for
Conversation SSE streaming, handoff, Direct Conversations, sign-in mid-conversation, and active closeImplemented in Python and TypeScript: Last-Event-ID reconnects, display-only text deltas, discarded partial messages, direct_conversation_open details
Operations version 3Implemented in Python and TypeScript at APIs, MCP tools and conversations: negotiation (version 2 is not supported), approver on every approval, a user approval through the host's approval surface (ask_user), an agent approval on an instruction the user gave (approve_as_agent, AgentInstruction), required terms and an optional summary, a terms check, Poppy-Approval, _meta and message approvals, reference, new revisions, declined approvals (approval_declined, CompanyConfig.decline), a retry with the same approval, and the company's checks in order; extension_required in a JSON body. On websites since 0.34.0: WebsiteOperations takes a Poppy-Operation reference only from a Session the agent joined its browser to, gets the operation and records the approval at the extension's endpoint, and looks an earlier reference up before approving again; the companies' website_operations and the pap.company.website contribution
Browser Control extension, version 1Implemented in Python and TypeScript as far as an SDK that drives no browser can: page_marks / pageMarks reads data-poppy-user-step with the form-owner rules, BrowserControl refuses the model's browser actions on a marked step and while the User holds control (only the User ends it), controller_script provides navigator.poppy.controller on the Company's own hosts; the companies' browser_control, and Manzanita's marked pickup page. The host's browser runs the scripts and asks before each action
Website pages fetched without a browser (version 0.4 §5.2)Implemented in Python and TypeScript: PageClient.fetch (the Session header only to organization.domain, never an access token, a new Session JWT per redirect on that host) and the companies' page_session
Sign-ins someone else started (version 0.4 §4.2, §10.8)Implemented in Python and TypeScript as far as an SDK can: a Direct Sign-In opened on another device is short-lived (cross_device), a redirect that arrives for another user is refused (completed_by), and the reference companies' pages name the agent and say when to continue
DPoPImplemented in Python and TypeScript: proofs by pap.dpopProver, sent with token requests when the issuer lists ES256 and with every request that carries a DPoP token, nonces, and reference companies that bind their tokens with dpop_binding; at MCP, Bearer unless the server's own metadata lists ES256
Companies with no issuerImplemented in Python and TypeScript: DiscoveredCompany.identifier (companyIdentifier), the domain only after a 404 or metadata with no authorization server, never after an error; sign-in refused locally (no_issuer); reference companies with oauth off, and a no-issuer conformance world
Sign-in turned off, refused by client, fewer scopes (0.3 as published)Implemented in Python and TypeScript: auth.disabled read (sign_in_disabled, signInDisabled) and refused locally (sign_in_disabled); reference companies with sign_in_disabled, a client policy's allows_sign_in, and agent_scopes, each answering unauthorized_client or a narrower scope; scopes_to_request for a sign-in that adds access
Direct Conversations (0.3 as published, §8.2, §8.10)Implemented in Python and TypeScript: accept_user_request (acceptUserRequest) accepts a user_requested event with both IDs and no message, the company speaking first through an opening Turn, the same acceptance returning the same conversation even once closed; ownership by client_id, User ID and the account once used; each parent problem its own error; direct_conversation_inactivity closes a Direct Conversation left alone
Checks and destinations (0.3 as published, §5.1, §5.2, Operations 6, guides)Implemented in Python and TypeScript: no delegation iat check (the delegation's expiry and the iat window cover it); the companies answer as the first failing approval check says, in the listed order; the Session header goes only to poppy.json's destinations; idempotency records scoped to the agent, the User and any account, so a retry in a new Session matches; a web alternative may point to any HTTPS site
Discovery additions (0.3 as published, §3.1, §4.5, §9.4)Implemented in Python and TypeScript: organization.logo_uri read, published by the reference companies (logo_uri) and carried to the device sign-in display; skill_index read from the tasks response as far as the SDK recognizes it (SessionTasks.skills), fetched and verified by digest (fetch_skill, fetchSkill), published and served by the reference companies (skills); at least one of agent, apis, web; a conversation endpoint as a service of its own (conversation_resource) with tokens by resource
Explicit replies and crossed approvals (0.3 as published, guides)Implemented in Python and TypeScript: the reference companies' agents answer a bare acknowledgement with a question and act on nothing (acknowledgement_only, WHICH_ONE); the Operations example's agent is instructed to treat such a reply as answering none; the guides link to the advice
Operator signatures (Web Bot Auth, §5.3)Implemented in Python and TypeScript: pap.operatorSigner, none by default, signs every request with the Session header, covering poppy-session and authorization when present; reference companies check them with operator_signatures, off by default
Extensible pap CLIReactor host/plugin, non-secret profiles, company discovery, agent identity/JWKS inspection, extension diagnostics, and live discovery command implemented
Generated API referencesPython and TypeScript public exports inventoried; documentation CI rejects stale pages
Company/server SDKReference companies in Python (personal_agent_protocol.company, over ASGI) and TypeScript (@datalayer/personal-agent-protocol/server, over node:http(s)), every replaceable part a Reactor point; both serve MCP and, with web, browser sessions
Demo worlds and end-to-end journeysPython (personal_agent_protocol.demo): a user with a company (Manzanita) and two companies composed (Ledgerly at Northwind); TypeScript: Manzanita; real keys over in-process HTTP or TLS

Supported package line​

The supported SDK versions, the draft and Operations version each implements, and the four language pairings are on the Compatibility page; the Support page says which versions get fixes.

Known gaps​

  • Python pins metadata connections to the addresses its URL safety policy approved (PinnedNetworkBackend), closing the DNS-rebinding interval. Node rejects non-public DNS results before metadata requests, but its default transport does not yet pin the socket: production Node deployments need an enforcing egress proxy to fully close the interval.
  • Pairwise ID generation and a file-backed atomic Python reference store are implemented. Distributed deployments must contribute their own transactional pap.pairwiseUserIdStore and own retention and erasure policy.
  • Python and TypeScript Direct Sign-In perform trusted browser handoff, atomic one-use state consumption, exact callback validation, a fresh client assertion for the exchange, and partial-scope reporting. Hosts still provide the authorization-state store, browser surface, and signer.
  • Session transports get a fresh Session JWT for each request from pap.sessionSigner. Local JOSE implementations are available, but applications still own key selection and custody.
  • Security contribution contracts exist, but the SDK deliberately ships no default signer, durable delegated key custody, durable replay cache, token store, browser handoff, or browser join surface.
  • Browser Session clients read the join form's one-time code from the agent's own browser (pap.browserJoin) and authorize it at {endpoint}/authorize with the Session header; the reference companies check the cookie that ties the code to the browser, the code's single use and 60-second life, and that the agent authorized it. Company adapters outside the reference companies own their cookies and must bind cookie state and lifetime to the underlying PAP Session.
  • Session transports own authorization headers, create a fresh Session JWT for every attempt, and refuse every redirect. The refresh token lifecycle and the resource-bound MCP token on top of it are implemented in both SDKs.
  • Both SDKs send DPoP proofs when the issuer's dpop_signing_alg_values_supported includes ES256, and never otherwise.
  • Conversation clients (messages, JSON events, SSE, handoff, Direct Conversations, closing), refresh tokens, Mediated Sign-In, and the Operations client are aligned in Python and TypeScript, and so are the two reference companies; all four language pairings pass every conformance case.
  • The reference company keeps state in one process by default. Production companies contribute a durable pap.company.store (an async keyed store with create, take, and compare-and-set, checked by check_store) over which a restarted or replaced company continues every flow, a distributed pap.company.replayCache, their account directory, agent, and idempotent operation executors.
  • Hosts contribute their own approval surface (pap.approvalSurface): without one, no operation is approved.
  • The CLI covers Sessions, sign-in (Direct, Device, Mediated), the OpenAPI and MCP APIs, conversations, Operations, the requirement ledger, and the conformance suite, over its own protected profile store.

The machine-readable requirement ledger lives in protocol/requirements.yaml.

PAP itself still leaves payments, push notifications, and message attachments as open topics. See Open topics and SDK gaps before designing private extensions or interpreting an unimplemented SDK service as an omission from the protocol.