Migration
What to change when you upgrade across a release that breaks the API. The SDKs keep no compatibility shims: an old shape is refused, not translated. Each section names the release that introduced the change; the changelog has the full list.
0.36 โ 0.37โ
0.37.0 implements 1.0 as published (upstream 8c02b42, frozen on 2026-11-14), the default
version, in both SDKs and both reference companies. It breaks the API: a company must say
what its agent helps with, a 1.0 document without that is refused, and a Direct Sign-In
request now carries prompt=consent. 0.4 as published is unchanged: where 1.0 differs, the
SDK applies 1.0's rule only at 1.0.
| Change | What to do |
|---|---|
| Conversation protocol descriptions, required (spec 3.1, 8.1) | A company gives CompanyConfig(agent_description="...") (agentDescription), a required, non-blank string saying what its Company Agent can help with ("anything" is fine); a 1.0 poppy.json puts it in agent.protocols[].description, a 0.4 document leaves it out. DiscoveryDocument (parseDiscoveryDocument) refuses a 1.0 document whose agent.protocols entry has no description (invalid_discovery_document at discovery); AgentProtocol.description reads it. A hand-written 1.0 poppy.json adds it to every entry |
| Pushed Authorization Requests (spec 3.2, 4.2, 4.8; RFC 9126) | Pass the issuer's pushed_authorization_request_endpoint and require_pushed_authorization_requests (new on OAuthServerMetadata) to DirectSignInClient.begin(...) (pushedAuthorizationRequestEndpoint, requirePushedAuthorizationRequests): the request is pushed with a client assertion, and a DPoP proof when tokens are bound, and the browser opens the authorization endpoint with client_id and request_uri only. For a link the User opens later, give link_page="https://your.agent/sign-in/{link}" (linkPage): the browser handoff gets your page, which calls open_link(link) (openLink) when opened and redirects to the URL it returns. A company offers or requires PAR with CompanyConfig(pushed_authorization_requests="offered" | "required") (pushedAuthorizationRequests, default "off"); the pap CLI and the conformance runner push whenever it's listed |
prompt=consent (spec 4.2, 10.8) | Nothing: Direct Sign-In requests carry prompt=consent (PROMPT_CONSENT). Only when you receive the redirect on the device that opened the URL, pass same_device_redirect=True (sameDeviceRedirect) to leave it out. A company's hosted consent page lists every scope and shows even when the account granted them before: authorization_request(request_id, account_id=...) and device_request(user_code, account_id=...) ({ accountId }) now return prompt and, with the account, each scope's granted_before, which the page may mark |
| Same DPoP key at refresh (spec 4.4, 4.5, 10.7) | Nothing for an agent on the SDK's DPoP keys (one key per User ID, kept across refreshes); a host with its own key store must not rotate a User ID's DPoP key at refresh. A company may bind refresh tokens to the key with CompanyConfig(bind_refresh_tokens=True) (bindRefreshTokens, needs dpop_binding): a refresh with another key is invalid_grant |
| UCP scope requests (UCP 4, 11) | ucp_scopes(profile, held, needed=..., protocol_version=...) (ucpScopes(profile, held, { needed, protocolVersion })) returns every scope still needed at 1.0 (held, then those the challenge names); at 0.4 it still returns the missing ones only. The reference companies grant only the scopes a sign-in names |
Ports in organization.domain (spec 3.1, 3.2) | Nothing by default: a domain with a port, or a document on a port other than 443, is refused (port_not_allowed). To test against a company on another port, DiscoveryClient(allow_ports=True) (discoverCompany(domain, { allowPorts: true })). A company serves CompanyConfig(domain="shop.example:8443") at 1.0 only. New helpers: split_domain, domain_host, url_domain (splitDomain, domainHost, urlDomain) |
| One sign-in for every resource (spec 4.5, 4.7, 4.8, 7) | Nothing: sign-in names no resource, and each refresh names one, as before. A company may leave a service out with a client policy's allows_resource(client_id, resource) (allowsResource): invalid_target, after which ServiceTokens uses that service signed out |
| PS384 and RSA key sizes (spec 4.1, 5.2, 10.7) | Nothing: the reference companies accept PS384 and ES256; RSA keys outside 2048 to 4096 bits (RSA_KEY_BITS) are now refused for client assertions and delegations |
| Clearing context (spec 8.4) | Set a context field to None (null) to clear it, in a 1.0 Session only: a 0.4 Session refuses to send it (context_clear_unsupported). effective_context(messages) (effectiveContext) gives the shared context; a company's Turn.context is it |
| Room to extend conversations (spec 8.4, 8.6, 8.13) | Unknown role reads company and unknown author.type reads agent (known_role, known_author_type); unknown SSE event names are skipped; an unknown conversation error becomes conversation_request_failed with the original in details["error"] and the HTTP status kept (KNOWN_CONVERSATION_ERRORS, known_conversation_error). Code that matched an error code outside the spec now sees conversation_request_failed. The company drops author.id, name and image from the agent's messages |
| Unknown sign-in errors (spec 8.11) | ConversationEvent.error is any string; sign in again for event.sign_in_scopes (signInScopes(event)) whatever it says |
working (spec 8.7) | Nothing: the reference companies set working only while replying; a long task is said in a message |
| Mediated Sign-In retirement | MEDIATED_RETIREMENT_DATE (2027-03-17): plan Direct or Device Sign-In for every company |
| Conformance | New cases (descriptions, ports, PAR, refresh binding, unknown roles and errors, cleared context) and a pushed-requests world (PAR required, refresh tokens bound); the suite runs at 1.0 and 0.4 in all four pairings |
0.35 โ 0.36โ
0.36.0 makes the 1.0 draft the default: both SDKs and both reference companies announce
and accept 1.0 unless told otherwise. On the wire the draft differs from 0.4 in its
version string only, but a party on 0.36 and one still on 0.4 no longer find each other
by default: a 0.36 personal agent refuses a company whose poppy.json offers only 0.4
(unsupported_protocol_version), and a 0.36 company answers version_unsupported to a
request in Poppy-Version: 0.4. 0.4 as published stays available when named.
| Change | What to do |
|---|---|
The default version is 1.0 (spec 3.1, 3.4) | Nothing, to move to the draft. To keep using companies that serve only 0.4, give the discovery client both versions: DiscoveryClient(protocol_versions=("1.0", "0.4")) (discoverCompany(domain, { protocolVersions: ["1.0", "0.4"] })); ("0.4",) alone stays on 0.4. SUPPORTED_PROTOCOL_VERSIONS is now {"1.0"}, AVAILABLE_PROTOCOL_VERSIONS is unchanged (0.4, 1.0), and the new DEFAULT_PROTOCOL_VERSION names the default |
A company serves 1.0 | CompanyConfig.protocol_versions (protocolVersions) defaults to ("1.0",): poppy.json says 1.0. To keep serving agents on 0.4, use ("1.0", "0.4"), which lists /poppy/0.4.json in supported_versions, or ("0.4", "1.0") to keep 0.4 the preferred document |
| Sessions without a company | SessionClient.start with neither company nor protocol_version names 1.0 in Poppy-Version; a PapSession's default protocol_version is 1.0 |
| Conformance | The suite runs at 1.0 by default and its report says profile 1.0; ConformanceContext(protocol_versions=("0.4",)) (protocolVersions) runs it at 0.4. The fixtures' documents say 1.0, and the version-negotiation fixtures use 2.0 and 3.0 for versions the agent doesn't implement |
0.34 โ 0.35โ
0.35.0 breaks nothing: both SDKs and both reference companies still announce and accept 0.4 as published, and nothing changes until you ask for the 1.0 draft.
| Addition | What to do |
|---|---|
| The 1.0 draft, opt-in (spec 3.1, 3.4) | Nothing, to stay on 0.4. To use companies that serve the draft, give the discovery client the versions your agent implements: DiscoveryClient(protocol_versions=("0.4", "1.0")) (discoverCompany(domain, { protocolVersions: ["0.4", "1.0"] })), and start Sessions with company= (or protocol_version=). A company serves it with CompanyConfig(protocol_versions=("0.4", "1.0")) (protocolVersions). AVAILABLE_PROTOCOL_VERSIONS lists what the SDK implements, SUPPORTED_PROTOCOL_VERSIONS stays the default (0.4) |
| A document's version | DiscoveryDocument (parseDiscoveryDocument) now accepts any version the SDK implements, 1.0 included; which one an agent uses is decided at discovery. DiscoveryDocument.chosen_version answers for the default versions, choose_version(implemented) (chosenVersion(document, implemented)) for others |
| Lookalike domains (spec 10.3) | Show the domain with a company's name: Organization.label (organizationLabel). Give PapConfirm and PapReplies the domain or the label as company, never the name alone. The pap CLI's protected prompts now name the domain too |
| Conformance | ConformanceContext(protocol_versions=...) runs the suite at the draft; the fixture protocol.major-version-unsupported now uses 2.0 |
0.33 โ 0.34โ
0.34.0 breaks nothing: it adds what 0.33.0 left out of version 0.4 as published, in both SDKs and both reference companies.
| Addition | What to do |
|---|---|
| Operations on websites (Operations 2, 4, 6, 7) | A host that joins a browser to a Session may now declare operations on it. When a response its own browser received carries Poppy-Operation, take it with WebsiteOperations.reference(headers, joined=browser_sessions.joined_sessions(endpoint)) (WebsiteOperations.reference(headers, { joined })): only a Session you joined that browser to counts. Then operation(...), approve as at an API (ask_user or approve_as_agent), record(...) (through OperationsClient.send), and have the browser make the request again. If that request fails or answers a new reference, call before_approving_again(earlier, ...) first: wait, performed (never approve again) or approve |
A company's website (pap.company.website) | Contribute a CompanyWebsite whose handle(WebCall) returns a WebResult; an action that needs approval returns WebResult(operation=ProposedOperation(...), own_approval=...). With website_operations=True (and web), the company lists the operations endpoint, answers a joined browser that declared Operations 3 with 403 and Poppy-Operation, serves POST /poppy/operations, and performs the action on the browser's next request once the approval is recorded; any other browser gets own_approval |
| Browser Control, version 1 | Optional. A host whose browser leaves marked steps to the User, hands it control and runs controller_script(organization_domain, channel) declares browser-control with negotiate_extensions(..., supported={**SUPPORTED_EXTENSIONS, "browser-control": "1"}); before each browser action of the model, BrowserControl.check_change / check_submit with page_marks(html). A company lists it with browser_control=True and marks its pages with data-poppy-user-step |
BrowserSessionStart.sid | The join's result names the Session; BrowserSessionClient.joined_sessions(endpoint) lists the Sessions a client joined its browser to |
| Stored records | A company's StoredOperation gains website (written only when true) and WebSession extensions; records written by 0.33 read as before |
The ledger: OPS-2-02, OPS-4-01, OPS-6-13, OPS-6-14 are implemented and OPS-5-09
is no longer partial; the Browser Control extension's rows are added (BC-4-01 to
BC-6-01). The conformance suite adds operations.website-reference.
0.32 โ 0.33โ
0.33.0 moves both SDKs and both reference companies from draft 0.4 as of 46beb21 to
version 0.4 as published (upstream 4803900, 2026-11-10, the 1.0 release candidate;
the specification is frozen at /docs/0.4/spec). Seven changes are breaking, with no
compatibility: an agent at 0.32 finds no excluded tasks, skills or feedback endpoint at a
company at 0.33, and neither side understands the other's operations. Both still say
Poppy-Version: 0.4, so move every role at once. Python spells the names below in
snake_case, TypeScript in camelCase.
| Change | What to do |
|---|---|
PROTOCOL_REVISION | 2026-11-10; PROTOCOL_PROFILE stays 0.4, and protocol_version 1.0 (the draft at /docs/spec) is neither announced nor accepted |
| Task coverage per Session (spec 3.1, 9) | Read nothing of it from poppy.json: tasks = await TasksClient(transport=transport).get(company, session=session) (new TasksClient({ transport }).get(company, { session })) before starting on a task, then tasks.excluded_tasks, tasks.skills, tasks.feedback_endpoint. One call per Session: the response is never reused in another. Gone: DiscoveryClient.excluded_tasks, feedback_endpoint(document) / feedbackEndpoint, DiscoveredCompany.skills, DiscoveryDocument.usable_skills, ExcludedTasks. A company on the SDK serves GET /poppy/tasks and lists tasks.endpoint by itself; one that publishes its own poppy.json replaces feedback, excluded_tasks and skill_index with tasks.endpoint and serves the response there |
| Operations version 3 (Operations 2, 5, 6) | OPERATIONS_VERSION is "3" and version 2 is gone on both sides. Build every approval with its approver: ask_user(...) / askUser returns approver: "user"; Approval(operation_id=, revision=, approver="user") when you build one by hand. A Poppy-Approval or _meta approval without approver approves nothing |
| Agent approvals (Operations 5) | To approve on something the user told the agent: await client.approve_as_agent(operation, instruction=AgentInstruction(text=..., covers=check)) (approveAsAgent(operation, { instruction: agentInstruction(text, covers) })). covers is your own check of the terms and only True approves; OperationError ask_user means ask the person with ask_user. Keep your own record under reference=client.new_reference() |
| Operations require terms (Operations 3) | Operation.terms is always there and summary may be absent: show operation.shown (operationShown(operation)). A company's ProposedOperation(action=, terms=, summary=None) needs terms; CompanyService.revise(operation_id, terms=, summary=) |
| Declining an approval (Operations 6) | After sending an approval read sent.status == "declined" (sent.declined.reason, .alternative): tell the user, never send it again, and ask them before approving a new revision of that action. By hand: ApiResponse.declined, McpToolResult.declined, Message.declined (messageDeclined(message)). A company declines with CompanyConfig(decline=lambda request: Decline(reason=...) or None) |
extension_required in a JSON body at APIs (spec 3.3, 7) | Nothing for a caller of ApiClient; extension_required(status, payload) / extensionRequired no longer takes the challenge. A company's own API answers 403 with {"error": "extension_required", "extension": ...} and no WWW-Authenticate |
| Sessions found by User ID too (spec 5.3) | A company: end_session(client_id, sid, pairwise_user_id) / endSession(clientId, sid, pairwiseUserId); a Session record written at 0.32 is not found again, and its Session starts anew, signed out. A request naming a known sid with another User ID is no longer invalid_session |
| Device Sign-In links (spec 4.3) | DeviceSignInClient.begin(...) no longer takes protected_resources / protectedResources; verification_host_allowed(url, issuer=, domain=). A company's device_page is on its own domain |
| Sign-ins someone else started (spec 4.2, 10.8) | Optional and recommended: DirectSignInClient.begin(..., cross_device=True) when the link opens on another device (the request then lives at most 300 seconds), and complete(callback, completed_by=tenant_id) when you know which of your users is in the browser at the redirect. A hosted consent or device page shows heading and caution from authorization_request() / device_request() |
| The Session header on fetched pages (spec 5.2) | Optional (a SHOULD): fetch a company's pages with PageClient(transport=transport).fetch(url, session=session, company=company). A company's own pages call CompanyService.page_session(request) |
| Scopes (spec 3.2, 4.7) | DiscoveredCompany.scopes_supported / scopesSupported(company) in place of the issuer's list alone |
PapConfirm | Display version 3: terms required, summary optional, and approved_by, instruction, declined |
Not in 0.33: operations on websites (the Poppy-Operation header and the extension's
endpoint) and the Browser Control extension (both in 0.34). A host on 0.33 that joins a
browser to a Session passes extensions without operations for that Session.
The ledger (protocol/requirements.yaml) is at 4803900. Withdrawn: PAP-9.1-01 (the
excluded tasks document), OPS-5-04 and OPS-5-05 (version 3 lets the agent approve on
the user's instruction). Added: PAP-4.2-20, PAP-4.2-21, PAP-5.2-19, PAP-5.2-20,
PAP-9-01 to -03, OPS-2-02, OPS-4-01, OPS-5-07 to -09, OPS-6-07 to -14, and
guide entries; OPS-2-02, OPS-4-01, OPS-6-13 and OPS-6-14 are open (operations on
websites). Rewritten: PAP-3-08, PAP-3.2-22, PAP-4.3-02, PAP-5.2-18, PAP-5.3-02,
PAP-9.4-01, -03, -05, OPS-2-01, OPS-3-01, OPS-5-02, OPS-5-06, OPS-6-04 to
-06, OPS-7-04. Conformance cases renamed: security.session-sub-stays-the-same to
security.session-found-by-user-id, protocol.feedback-endpoint-https and -listed to
protocol.tasks-endpoint-https and -listed; new: protocol.tasks-per-session,
protocol.operations-version-2-not-used, protocol.extension-required-not-in-a-challenge,
protocol.operation-requires-terms, operations.agent-approval,
operations.approval-without-approver, operations.approval-declined. The vendored
schemas are replaced whole at ed47408.
0.31 โ 0.32โ
0.32.0 moves both SDKs and both reference companies from version 0.3 as published to
draft 0.4 as of upstream 46beb21 (2026-11-06; served at /docs/spec until it is
published). There is no compatibility with 0.3: every request with the Session header
names its version in Poppy-Version, so an SDK or company at 0.31 and one at 0.32
refuse each other (version_unsupported). Python spells the names below in
snake_case, TypeScript in camelCase.
| Change | What to do |
|---|---|
PROTOCOL_PROFILE and PROTOCOL_REVISION | 0.4 and 2026-11-06; fixtures and documents say "protocol_version": "0.4" |
| Direct Sign-In is preferred (spec 4) | DiscoveredCompany.preferred_sign_in / preferredSignIn(company) and sign_in_types / signInTypes: use Direct Sign-In when the company offers it; the conformance runner does |
| Several protocol versions (spec 3.4) | DiscoveryDocument.supported_versions; discover chooses the newest compatible version (choose_protocol_version, chooseProtocolVersion) and fetches its document; PapSession.protocol_version is sent in Poppy-Version; version_unsupported (version_unsupported(response), versionUnsupported) means discover again and start a new Session. A company sets CompanyConfig.protocol_versions and deprecated_versions (Deprecation and Sunset headers) |
| Extensions are per-version lists, declared per request (spec 3.3, 3.4) | poppy.json's extensions maps each name to a list of {version, ...} entries (document.extension(name, version), companyExtension); client metadata no longer lists extensions (ClientMetadata.extensions is gone, AgentIdentity.supported_extensions says what the agent implements); start a Session with extensions=negotiate_extensions(...) or company=, and they go in Poppy-Extensions (format_extensions_header, parse_extensions_header) |
| Conversations across versions (spec 8.2) | A conversation records the versions it started in; CompanyConfig.conversation_carry_over=False refuses a message, handoff or cancel from other versions with version_mismatch (409), its protocol_version in the error's details |
| A conversation's state in four fields (spec 8.6, 8.7) | status is gone: read working, handoff, responder and closed (ConversationEventPage.state, conversationState); a stream's working event (WorkingChanged); read_until_done / readUntilDone reads until working is false |
| Requests accepted, then acted on (spec 8.3, 8.9, 8.12) | Every conversation POST carries a top-level id: request_id / requestId, defaulting to the message's id, which no longer goes in the message; generate_request_id / generateRequestId replace generate_message_id; a receipt without wait holds only conversation_id; message_id_conflict is now request_id_conflict; cancel_handoff / cancelHandoff (POST {id}/handoff/cancel); a close is accepted with 202. Company stores: the message_id record kind is now request_id (RequestReceipt) |
| What a message took into account (spec 8.4) | Message.as_of_request on a company agent's message, as_of_cursor on one the agent wrote (send(as_of_cursor=...), asOfCursor); PapReplies is version 5 |
| The browser join scope and website flags (spec 3.1, 4.7, 6) | A signed-in join needs poppy:browser-sign-in (BROWSER_SIGN_IN_SCOPE): request it with the task's scopes, else BrowserSessionError insufficient_scope; web.unscoped and web.disabled (browser_sign_in_unscoped, browsing_disabled); a company sets web_unscoped / web_disabled |
| A DPoP key per User ID (spec 4.5) | DpopKeyCustody.key_for / forget (keyFor) take sub; a sign-in or refresh at an issuer that lists ES256 names its User ID: pairwise_user_id= / pairwiseUserId on DeviceSignInClient.begin, DirectSignInClient.begin, MediatedSignInClient.sign_in and RefreshTokenContext, refused before any request without one. A CLI key file's DPoP keys are made again |
| Sign-in's other changes (spec 3.2, 4.5, 4.7, 5.2) | Resource metadata whose resource isn't the URL it was derived from is treated as absent; document.scope_descriptions(openapi) / scopeDescriptions lets auth.scopes win; a company with auth.disabled that never issued a refresh token answers refresh and revocation unverified; the reference companies refuse a delegated key that signed for another User ID (invalid_session, a new delegated_key record kind) |
| Operations (Operations 3, 5, 6) | Approval.approved_at and input_type (ask_user(input_type=...), inputType), in Poppy-Approval and _meta; any Session of the same agent and User approves, an operation returned signed out only while signed out; a revision is the terms (else the summary) and expires_at; the approving request is compared by meaning |
| The guides | CompanyService.revoke_client / revokeClient; CompanyConfig.refresh_reuse_revokes / refreshReuseRevokes (off by default) |
| The UCP extension, version 1 (new) | fetch_ucp_profile(http, company) / fetchUcpProfile(company), UcpClient, speaks_ucp / speaksUcp; a company sets CompanyConfig.ucp and ucp_products (ucpProducts). The issuer's metadata now lists token_endpoint_auth_methods_supported: ["private_key_jwt"] |
The ledger (protocol/requirements.yaml) is at 46beb21. Withdrawn: PAP-8.7-01 (the
conversation status it described is gone); PAP-3.4-06 and PAP-3.4-10 are not used:
those statements are MAY or descriptive. Added: PAP-3.4-01 to -05, -07 to -09,
PAP-4-01, PAP-4-02, PAP-4.5-02, PAP-6-16 to -19, PAP-8.3-02, PAP-8.4-04,
PAP-8.4-05, PAP-8.9-01, PAP-8.12-01, OPS-6-04 to -06, and guide entries.
Rewritten for 0.4: OPS-2-01, PAP-3.1-01, PAP-3.3-02 to -05, PAP-8.3-01,
PAP-8.4-03, PAP-8.5-03. The conformance case conversations.message-id-conflict is
now conversations.request-id-conflict; new cases cover Direct Sign-In, supported
versions, Poppy-Version, Poppy-Extensions, the browser scope and website flags,
handoff/cancel and as_of_request. The vendored schemas are replaced whole at
46beb21.
0.30 โ 0.31โ
0.31.0 moves both SDKs and both reference companies from draft 0.3 as of ec16efa to
version 0.3 as published (upstream 2289293, 2026-11-04; the specification is
frozen at /docs/0.3/spec). Three changes are breaking on the wire, with no
compatibility: an SDK or company at 0.30 and one at 0.31 refuse each other's
Session JWTs. Python spells the names below in snake_case, TypeScript in
camelCase.
| Change | What to do |
|---|---|
Delegations are typed poppy-delegation+jwt and travel in the poppy_dlg header (spec 5.2); pap-delegation+jwt and pap_dlg are refused | Nothing in code: both SDKs and companies send and check the new names. Upgrade agent and company together |
A Session the Company ended answers session_ended (400, JSON body; spec 5.3, 5.5); invalid_session means only a failing header or a refused client_id | SessionHttpClient / SessionFetchClient and the MCP clients start a new Session once on session_ended and send the request again; invalid_session reaches the caller as it is. A company built on the reference service answers the new code itself |
A message's extension content is in extensions, keyed by the extension's name; Operations' operation and approval are under extensions.operations (spec 8.4, Operations 2, 4, 6); a message needs text, data, context or extensions | Read message.operation / messageOperation(message) and message.approval / messageApproval(message); build an approving message with operations_content(approval=...) / operationsContent({ approval }). A company agent's Reply.operation is placed by the service |
| The Links and Disclosures extensions, version 1 | A Company lists them with CompanyConfig.links and .disclosures and gives a reply links= / disclosures=; they go only to an agent that lists the same version, the notice in text otherwise. The agent reads message.links / messageLinks(message) and message.disclosures / messageDisclosures(message); pap.ui's replies display is version 4 and carries them |
A Company may grant fewer scopes than requested and rejects only missing or unknown ones with invalid_scope (spec 4.7) | Read the token response's scope, as before. CompanyConfig.agent_scopes (agentScopes) grants fewer. When a task needs more access, scopes_to_request(held, needed) / scopesToRequest names every scope the new sign-in asks for |
auth.disabled and unauthorized_client (spec 3.1, 3.2, 4.1) | DiscoveryDocument.sign_in_disabled / signInDisabled(document): the SDKs start no sign-in with such a Company and require_oauth raises sign_in_disabled. CompanyConfig.sign_in_disabled publishes it; a client policy's allows_sign_in(client_id, grant_type) / allowsSignIn answers unauthorized_client from the grant's endpoint |
| Company-first Direct Conversations (spec 8.10) | ConversationClient.accept_user_request(endpoint, parent_id, event_id) / acceptUserRequest accepts a user_requested event: both IDs, no message, the company speaking first; sent again, the same conversation comes back, even once closed. A company agent answers an opening Turn (turn.opening); CompanyConfig.direct_conversation_inactivity (directConversationInactivitySeconds) closes a Direct Conversation left alone. Each parent problem has its own error: a parent that is a Direct Conversation itself is invalid_request, no longer conversation_not_found |
The delegation iat check is gone (spec 5.2); the Operations checks answer as the first failing one in the listed order (Operations 6) | Nothing: a Session JWT whose iat is past its delegation's exp but inside the window is accepted; the reference companies already checked in the listed order |
| Idempotency records are scoped to the agent, the User and any account, not the Session (guides) | A retry in a new Session matches; a company store sees the same record kind with a different key |
organization.logo_uri and skill_index (spec 3.1, 9.4) | Organization.logo_uri, shown next to the name and domain (DeviceSignInStart.organization_logo / organizationLogo); company.skills / companySkills(company) and DiscoveryClient.fetch_skill(entry) / fetchSkill(entry), the digest verified. CompanyConfig.logo_uri and .skills publish them |
| A conversation endpoint at another provider (spec 4.5) | ServiceTokens.token_for(endpoint) / tokenFor already asks for a token by resource when the endpoint's metadata names one; CompanyConfig.conversation_resource (conversationResource) plays such a provider |
| Explicit replies (guides) | No wire change: the demo company agents answer a bare "yes" or "done" with a question (acknowledgement_only, WHICH_ONE); the Operations example's agent is instructed the same way |
PROTOCOL_REVISION | 2026-11-04 |
Not implemented: the UCP extension, version 1 (extensions.ucp), a decision for the
host. The conformance case conversations.direct-of-direct-refused now expects
invalid_request. The ledger (protocol/requirements.yaml) is at 2289293: OPS-6-04
and OPS-6-05 are withdrawn, and PAP-3.2-34 to -36, PAP-5.2-18, PAP-8.4-03,
PAP-8.10-02 and -03, PAP-9.4-01 to -06 and GUIDE-co-session-07 are new.
0.29 โ 0.30โ
0.30.0 adds operator signatures (spec 5.3, RFC 9421, Web Bot Auth) to both SDKs and
both reference companies, on the same upstream target, ec16efa. A host that
contributes nothing sends what it sent, and a company that sets nothing checks nothing.
| Change | What to do |
|---|---|
A new contribution point, pap.operatorSigner, optional | To sign: contribute a WebBotAuthSigner with your OperatorSigningKey and signature_agent, and serve operator_directory at that URL. See Operator signatures |
Signature, Signature-Input and Signature-Agent are host-owned | A caller that passes them to SessionHttpClient or SessionFetchClient gets protected_header: contribute a signer instead |
Reference company: operator_signatures, off by default | CompanyConfig.operator_signatures (off, optional, required) and operator_signature_window. See the table |
A new company point, pap.company.operatorDirectory | Nothing: the default reads the Signature-Agent URL over HTTPS. A company that recognizes a list of operators contributes its own |
createCompanyDefaultsPlugin (TypeScript) | Takes the directory as a fourth argument, for a company assembled by hand |
0.28 โ 0.29โ
0.29.0 implements DPoP (spec 4.5, RFC 9449) in both SDKs and both reference
companies, and moves the target from upstream 3e9bada to ec16efa (revision
2026-10-30), still draft 0.3, with no compatibility with the earlier text. A company
that lists no DPoP algorithm sees the same requests as from 0.28. Python spells the
names below in snake_case, TypeScript in camelCase.
| Change | What to do |
|---|---|
| A token request names its tenant and what the issuer lists | SessionClient.token_request(..., tenant_id=, dpop_signing_algs=): both required, dpop_signing_algs None when the metadata lists nothing |
Each sign-in and refresh passes dpop_signing_alg_values_supported on, or sends no proof | DeviceSignInClient.begin(..., dpop_signing_algs=), DirectSignInClient.begin(..., dpop_signing_algs=), RefreshTokenContext.dpop_signing_algs, from metadata.dpop_signing_alg_values_supported |
| Mediated Sign-In names its tenant, whose DPoP key proves | MediatedSignInClient.sign_in(..., tenant_id=) is required; it reads the algorithms from company |
An access token is Bearer or DPoP | TokenResponse.token_type and AccessToken.token_type are one of the two; a host that keeps a token keeps its type, and a DPoP token sent by hand needs a proof: use session_headers |
A DPoP token type is refused only when no proof went | unsupported_token_type no longer means every DPoP answer |
A new contribution point, pap.dpopProver | Nothing, for one process: the default keeps one key per company for a tenant in memory. A host whose tokens outlive a process contributes JoseDpopProver with a durable DpopKeyCustody |
Reference company: dpop_binding, off by default | CompanyConfig.dpop_binding (off, optional, required), dpop_nonces, dpop_nonce_lifetime, dpop_proof_window; turning it on lists ES256 and changes the WWW-Authenticate schemes (token_schemes) |
The draft as of ec16efa:
| Change | What to do |
|---|---|
A Company may have no issuer: signed-out Sessions, its identifier https://{organization.domain} | Use company.identifier (companyIdentifier(company)) for issuer in SessionClient.start, for User IDs, and for Agent IDs, never company.oauth_metadata.issuer, which is None there. PapSession.issuer, SessionJwtRequest.issuer and company_issuer keep their names and hold the identifier |
DiscoveryDocument.needs_issuer means something else | It says the Company offers sign-in (auth.issuer, access: signed_in, Mediated Sign-In), not that it lists an interface. A document with agent, apis, feedback or web.browser_session_endpoint and a 404 at the domain's protected resource metadata is a Company with no issuer, no longer issuer_not_found |
| A sign-in at a Company with no issuer | company.require_oauth() (requireOauth) returns the metadata, or raises AuthorizationError no_issuer |
ProtectedResourceMetadata.authorization_servers can be empty | Read company.issuer, or check before using [0] |
| A token for an MCP server proves as that server's metadata says | RefreshTokenClient.token_for_mcp(reference, context=, server=) takes the metadata fetch_mcp_server_metadata returned in place of url, whose resource is the URL. The issuer's list no longer decides it; ServiceTokens does this for an MCP server the Company lists. ProtectedResourceMetadata.dpop_signing_alg_values_supported is new |
| Reference company at MCP, with binding on | The MCP server's metadata lists ES256, its challenges name Bearer then DPoP (mcp_token_schemes), and required no longer refuses a request with no proof whose resource is the MCP server. Every grant now takes resource; a resource the company doesn't serve is invalid_target at any of them |
| Reference company with no issuer | CompanyConfig.oauth=False (oauth: false), which refuses mediated_fields, operations, aliases and DPoP |
scopes_supported and auth.scopes are optional | pap auth direct and pap auth device no longer refuse a scope absent from scopes_supported; the Company decides. Mediated Sign-In still asks only for the extension's scopes |
agent.protocols[].access | AgentProtocol.access, kept as written, and account_access (accountAccess), session or signed_in, an unknown value reading as session. A hint only |
| The reference company's join replaces the cookie | A join's new cookie makes the browser's old one stop working, so a join without a token ends the earlier sign-in |
pap company discover --json | verified is true for a Company with no issuer, and identifier is new. SessionRecord.token_endpoint and revocation_endpoint can be null |
PROTOCOL_REVISION | 2026-10-30 |
Checked and unchanged: a refresh that omits refresh_token keeps the one held, and an
authorization event with its WWW-Authenticate on a successful response is one need,
the accepted message never sent again. The Operations check order is a SHOULD now, and
PS384 a SHOULD for Companies: the reference companies keep both. Operator signatures
(spec 5.3) are not built.
A custom company store sees one new record kind, dpop_nonce, and a new
dpop_jkt field in the Python company's access-token record. A durable store's
older Python access tokens fail to read until they expire: let them expire, or add
"dpop_jkt": null to them. The TypeScript company reads a record without the
field as a Bearer token, which it is.
0.27 โ 0.28โ
0.28.0 implements PAP draft 0.3
as upstream rewrote it at commit 3e9bada (revision 2026-10-28). The draft keeps
the number 0.3, but a 0.27 personal agent and a 0.28 company cannot work together:
upgrade both. Python spells the names below in snake_case, TypeScript in
camelCase; the table after this one lists the TypeScript names that differ by
more than that.
| Change | What to do |
|---|---|
Sessions are local: a random sid, no network call | SessionClient.start(...) returns a PapSession; renew, session_key, SessionToken and the JWT bearer grant are gone |
Every company request carries Poppy-Session | Contribute pap.sessionSigner in place of pap.dpopProofProvider, or use the default with a DelegatedKeyCustody in place of SessionKeyCustody |
| Delegations come from the signer | pap.signer receives purpose="delegation"; its key signs client assertions and delegations only |
| Blind signing is available | BlindJoseSigner signs both client assertions and delegations; see what it gives up |
| Access and refresh tokens under OAuth's names | Read TokenResponse; AccountTokenClient is RefreshTokenClient; refresh_token_expires_in is gone; account clients take an access token, not a Session Token |
account_mismatch is gone | Handle invalid_session for an access token of another account in a Session (a company MAY refuse it); start a new Session for a second account |
| DPoP is the company's choice | The SDKs send no proofs and refuse a DPoP token response with unsupported_token_type; a company's dpop_signing_alg_values_supported is its own to list, and ignored (DPoP) |
| MCP tokens | token_for_mcp requests by resource; Token Exchange is gone |
| The issuer comes from the domain | A company serves /.well-known/oauth-protected-resource with resource = https://{domain} |
invalid_session is back, invalid_grant no longer ends a Session | Handle invalid_session by starting one new Session, then stop |
| Rate limits have no body | Read Retry-After on the 429; custom pap.company.rateLimit contributions return no rate_limited body |
| Browser join | BrowserJoin.submit_join_form() takes no proof; companies serve {browser_session_endpoint}/authorize |
| Mediated Sign-In is an extension grant | Publish extensions["mediated-sign-in"], list the grant type; auth.mediated is refused |
| Operations version 2 | OperationsClient.ask_user and send replace confirm and cancel; operations_negotiated replaces operations_endpoint; cancel_open_operations is settle_open_operations; standing permissions and PapOutcome are gone; pap operations confirm and cancel are pap operations send |
| Feedback | FeedbackReport has no kind |
| What a company's API sees | ApiCall.carries_approval says the request came with an approval; ApiError.body keeps an action_failed body, so a host needs no subclass for the company's words |
In TypeScript, these differ by more than the case of their letters:
| 0.27 | 0.28 |
|---|---|
DpopFetchClient | SessionFetchClient |
AccountTokenClient | RefreshTokenClient |
JoseDpopProofProvider, DpopProofProviders | DelegatedSessionSigner, SessionSigners |
InMemorySessionKeys, SessionKeyCustody | InMemoryDelegatedKeys, DelegatedKeyCustody |
offersTokenExchange | removed |
A custom company store keys Sessions by client_id and sid, and sees join
codes authorized for a Session rather than proven with its key.
0.26 โ 0.27โ
0.27.0 implements PAP draft 0.3
as of upstream commit a95b757 (revision 2026-10-26) in place of draft 0.2. A
0.27 personal agent uses only poppy.json documents with protocol_version
0.3, and a 0.27 company publishes 0.3: upgrade personal agents and the
companies they talk to together. The protocol changes are listed in the
upstream changelog; in the SDKs:
| Change | Python | TypeScript |
|---|---|---|
Each Session has its own DPoP key, the Session Key; its thumbprint names the Session and session_id is gone from every request and response | SessionToken.session_key (was session_id); renew(..., session_key=), AccountTokenClient.refresh(..., session_key=None) (none: a new Session, signed in) | SessionToken.sessionKey; renew({ ..., sessionKey }), refresh(ref, { sessionKey }) |
| A DPoP proof provider makes a key per Session | DpopProofProvider.new_session_key / create / discard_session_key; DpopProofRequest(..., session_key=) (no subject=); JoseDpopProofProvider(keys) with a SessionKeyCustody such as InMemorySessionKeys | newSessionKey / create / discardSessionKey; DpopProofRequest.sessionKey; JoseDpopProofProvider({ keys }) with InMemorySessionKeys (a SessionKeyCustody); jwkThumbprint |
| Resource calls no longer name the User ID: the token's key does | ApiClient, ConversationClient, OperationsClient, FeedbackClient, MediatedSignInClient, DpopHttpClient: no pairwise_user_id=; Who is tenant_id and issuer | no pairwiseUserId |
signed_in is gone from token responses; the grant says it, and scope follows RFC 6749 | TokenResponse (wire) and SessionToken.from_response(...); SessionToken.signed_in is the SDK's | TokenResponse, parseTokenResponse, sessionTokenFromResponse; SessionToken.signedIn |
invalid_session is invalid_grant; an ended Session's key is discarded and never used again | SessionError("invalid_grant"); AccountRefreshResult.status == "session_ended" | the same codes |
| Codes are bound to the Session Key | DirectSignInClient.begin(..., session_key=) puts dpop_jkt in the URL; DeviceSignInClient.begin(..., session_key=, protected_resources=) | begin({ ..., sessionKey }) (AuthorizationCodeGrant removed); DeviceSignInClient.begin({ ..., protectedResources }) |
A Bearer token for an MCP server without DPoP comes from Token Exchange; a DPoP one from the Session's own request with resource | SessionClient.token_for_mcp(..., session_key=, subject_token=, resource=) (no dpop=); renew(..., resource=) or AccountTokenClient.refresh(..., resource=) for a DPoP server; AccountTokenClient.token_for_mcp removed | tokenForMcp({ ..., sessionKey, subjectToken, resource }); AccountTokenClient.tokenForMcp, SessionGrant, parseSessionToken, tokenTypes removed |
sign_in_required is insufficient_scope, naming the scopes in scope; the authorization event always has scope | ApiResult.insufficient_scope(scope), ToolResult.insufficient_scope(scope), Reply(authorization=("insufficient_scope", scope)) | ApiResults.insufficientScope(scope), ToolResults.insufficientScope(scope), Reply.authorization = ["insufficient_scope", scope] (signInRequired removed) |
The issuer's metadata says the sign-in types and scopes: grant_types_supported, scopes_supported; protected_resources replaces poppy_domains; auth.direct and auth.device are gone, auth.scopes replaces auth.custom_scopes; auth.scope_hints | OAuthServerMetadata.offers_direct / offers_device / offers_token_exchange / lists_resource; AuthCapabilities.scopes / scope_hints; CompanyConfig(scope_descriptions=, scope_hints=) (no custom_scopes) | offersDirect(metadata), offersDevice(metadata), offersTokenExchange(metadata), listsResource(metadata, domain); the field protected_resources; CompanyConfig.scopeDescriptions, scopeHints ([changes, personalData]) |
Discovery redirects must end at /.well-known/poppy.json with no query | DiscoveryError("invalid_discovery_location") | the same code |
| The browser joins a Session through a form with a one-time code, proven with the Session Key; the browser assertion is gone | BrowserSessionClient.join(browser_session_endpoint=, tenant_id=, issuer=, session_key=); contribution BROWSER_JOINS / BrowserJoin.load_join_form and submit_join_form (was BROWSER_FORM_POSTS); build_browser_assertion_claims and verify_browser_assertion removed | BrowserSessionClient.join({ browserSessionEndpoint, tenantId, issuer, sessionKey }) returning { endpoint, joinedAt }; BrowserJoins, loadJoinForm, submitJoinForm (was BrowserFormPosts); buildBrowserAssertionClaims, verifyBrowserAssertion, BROWSER_ASSERTION_TYPE removed |
author replaces sender | Message(author=Author(type="agent")); staff_reply(..., author_id=, author_name=, author_image=); PapReplies version 3 (author, name) | author: { type }; staffReply(id, { authorId, authorName, authorImage }); PapReplies version 3 |
| New: Agent IDs, excluded tasks, alternatives, feedback answered with one, loopback redirect URIs | start(..., agent_id=); DiscoveryClient.excluded_tasks(company); Alternative.usable_references; FeedbackClient.report returns an Alternative or None; CompanyConfig(excluded_tasks=, feedback_answers=) | agentId; excludedTasks(company, options); usableReferences(alternative, document); FeedbackClient.report returns an Alternative or undefined; CompanyConfig.excludedTasks, feedbackAnswers, endedSessionMemorySeconds |
A custom company store sees a new record kind (join_code), StoredSession
keyed by the Session Key with ends_at, IssuedSession.agent_id, and codes
that carry dpop_jkt. Companies list scopes the protocol does not define: the
reference companies use orders:read, orders:write and the like, never
poppy:read.
0.24 โ 0.25โ
0.25.0 implements PAP draft 0.2
(upstream revision 2026-10-18) in place of draft 0.1. Before 1.0 each
major.minor version can break the one before, so a 0.25 personal agent uses
only poppy.json documents with protocol_version 0.2, and a 0.25 company
publishes 0.2. Upgrade personal agents and the companies they talk to
together. The protocol changes are listed in the upstream
changelog; in the SDKs:
| Change | Python | TypeScript |
|---|---|---|
A Bearer-only MCP token request is gone: every MCP server gets a token for its url, DPoP when its protected resource metadata lists dpop_signing_alg_values_supported, Bearer otherwise | bearer_for_mcp โ token_for_mcp(..., resource=, dpop=), with fetch_mcp_server_metadata(...).supports_dpop; McpClient(..., reactor=, who=) | bearerForMcp โ tokenForMcp({ ..., resource, dpop }), fetchMcpServerMetadata(url, { issuer }), McpClient({ ..., reactor, who }) |
Assertions name the company's auth.issuer in aud and live at most five minutes | build_session_assertion_claims(..., issuer=) (no token_endpoint=); new build_client_assertion_claims | buildSessionAssertionClaims({ ..., issuer }); new buildClientAssertionClaims |
A device link is shown only on the issuer's host or one of its poppy_domains (or a subdomain), with the company's name and domain | DeviceSignInClient.begin(..., organization=, poppy_domains=) (required); DeviceSignInStart.organization_name / organization_domain; refusal unsafe_verification_uri | begin({ ..., organization, poppyDomains }); organizationName / organizationDomain |
| Mediated Sign-In asks for credentials with the company's issuer, name and domain | ProtectedInputRequest(..., issuer, ...) | ProtectedInputRequest.issuer |
| The sign-in display names the company | PapSignIn.organization_name / organization_domain, required for device and mediated | โ |
| No redirect is followed outside discovery | DpopHttpClient loses max_redirects; a redirect raises TransportError("redirect_refused") | DpopFetchClientOptions.maxRedirects removed |
organization.domain is the host that served the document after redirects, compared ignoring case only; issuers are compared exactly (no trailing-slash or www. normalisation) | DiscoveryError | DiscoveryError |
| A company's assertion check takes one audience, its issuer | verify_assertion(audience: str) | verifyAssertion({ audience }) |
| New: feedback (section 8) | FeedbackClient.report, FeedbackReport; CompanyConfig.feedback, CompanyService.feedback_reports() | FeedbackClient.report, FeedbackReport; feedback, feedbackReports() |
| Reference company: DPoP at its MCP server by default, nonces on demand, a device page on its own domain | CompanyConfig.mcp_dpop=True, dpop_nonce; device_page must be on the company's domain or a subdomain | mcpDpop, dpopNonce |
A custom company store sees two new record kinds (feedback, dpop_nonce)
and StoredSession.account_id (the account a Session was ever signed in to).
0.9 โ 0.10โ
A security review of both SDKs changed these contracts:
AccountDirectory.authenticate(credentials, context)takes aSignInContext(client_id,session_id;clientId,sessionIdin TypeScript). The company limits Mediated Sign-In attempts itself; a directory must also throttle its own checks.CompanyConfigwithoperationsneedswrite_scopes(amongscopes): without one it raises. Setoperations=Falsefor a company without Operations. An operation records the scopes confirming it requires (ProposedOperation.scopes, elsewrite_scopes).Turn.supports_operations(supportsOperations) says whether the agent negotiated Operations; a company agent must not promise an operation to one that did not.- The default
pap.company.replayCacheisStoreReplayCache(idstore), in the company store. A contributed store must accept thereplayandsign_in_attemptskinds (check_store/checkStorechecks them).createCompanyDefaultsPluginandCompanyDefaultsPlugintake the store to use. - Stored records changed: operations keep
scopes, Mediated sign-insattempt_keys. Records written by 0.9 are refused, not translated: drain pending sign-ins and proposals before upgrading. - The web cookie is
__Host-poppy_session. Browsers holding the oldpoppy_sessionopen the page again from the agent. - TypeScript
./server:isPublicIpAddressisisGlobalAddress;createResolvingFetchis the Node company's defaultfetch. - Assertions live at most 120 seconds and carry a
jtiof at least 16 characters (DPoP proofs too); theiraudmay be the issuer, the token endpoint, or the endpoint called. - Conversations frame each agent reply with
workingandidlestate events: read the last message orauthorizationevent, not the last event. - An operation past
proposedhas noexpires_atmember (nevernull). pap operations approvetakes the user's answer at a terminal or from the host'spap.approvalSurface, never piped input; approvals stored by 0.9 are refused atconfirm: approve again.
0.8 โ 0.9โ
- Removed contribution points that nothing used.
pap.protocolProfile(PROTOCOL_PROFILES,ProtocolProfile/ProtocolProfiles),pap.extensionHandler(EXTENSION_HANDLERS/ExtensionHandlers,ExtensionHandler), andpap.keyStore(KEY_STORES/KeyStores,KeyStore,KeyReference) are gone: no SDK code ever read them. Read the draft the SDK implements fromPROTOCOL_PROFILE,PROTOCOL_REVISIONandOPERATIONS_VERSION; negotiate extensions withnegotiate_extensions/negotiateExtensions; keep keys behind yourpap.signerandpap.dpopProofProvider. A host that contributed to a removed point contributes nothing in its place. - Optional points fail closed on ambiguity. The cache, clock, random
source, retry policy and rate-limit budget where the SDK can do without
them, and the company's
pap.company.apiandpap.company.mcp, now refuse two contributions at the same winning order (ambiguous โฆ contributions), as every other point does. Give your replacement a lowerorderthan the default (100).optional_contribution/optionalContributionresolve such a point. - Operation executors replace by order. For one action, the
lowest-order
pap.company.operationExecutorperforms it; two at that order leave the operationin_progress. Before, any second executor for an action did. - TypeScript company: Bearer tokens and MCP. The TypeScript reference
company now serves
pap.company.mcp(CompanyMcps,CompanyMcp,ToolResult,ToolResults) at/mcpwith Bearer Session Tokens, as the Python one does.IssuedSessionrecords carrytokenType(Bearer, absent for DPoP), and a Session keeps its DPoP and Bearer tokens side by side. - TypeScript company: renewal with the assertion is signed out. A Session renewed with the Session assertion gets a signed-out token, as in Python and ยง4.2; a signed-in Session is renewed with its Account Token.
0.7 โ 0.8โ
MemoryReplayCachetakes the company's clock and forgets expired identifiers; the verifiers now remember a DPoP proof until itsiatleaves the acceptance window and an assertion untilexpplus the 30-second skew. A replay cache of your own must keep identifiers at least as long as theexpires_atit is given.check_replay_cache/checkReplayCachecheck it.SharedRateLimitBudgetrefuses a turn beyondmax_waitat once withrate_limitedinstead of queueing past it.- The built-in consent page binds the browser: read the user's decision with
CompanyService.consent_decision(request)(consentDecision), which accepts only a same-origin POST carrying the page's cookie and token.
0.6 โ 0.7โ
Nothing breaks. personal_agent_protocol.ui.PapSignIn needs
datalayer_reactor 1.1, through the new ui extra.
0.5 โ 0.6โ
- The company store is an async keyed store.
pap.company.storeholds versioned JSON records:get,put,create(only if absent),replace(compare-and-set on a version),take(read and delete at once), anddelete, each by kind and key with an optional expiry. The dict-of-recordsCompanyStore(Maps in TypeScript) is gone: port a database store to these six operations and runcheck_store/checkStoreagainst it. - Company methods are async.
approve_device,deny_device,approve_authorization,deny_authorization,authorization_request,revise,settle,forget_events, anddisconnect(and their TypeScript names) return coroutines or promises: await them. Read an operation as the company keeps it withoperation_record(operationRecord); the in-memoryCompanyService.extensionsmap is gone.
0.4 โ 0.5โ
- Direct Sign-In keeps the Account Token in
pap.tokenStore. The result's token no longer carriesrefresh_token; readaccount_token_reference(accountTokenReference) and use it withAccountTokenClient, as for Device and Mediated Sign-In. - TypeScript Session, conversation and operation errors carry a 429's
Retry-Afterasdetails.retry_after(Sessions usedretryAfter).