Compatibility
This page is versioned with the SDK: it describes SDK 1.0.4.
The PAP version implementedโ
Python (personal_agent_protocol) | TypeScript (@datalayer/personal-agent-protocol) | |
|---|---|---|
| PAP profile | PROTOCOL_PROFILE = 0.4 | PROTOCOL_PROFILE = "0.4" |
| Specification revision | PROTOCOL_REVISION = 2026-11-10 | PROTOCOL_REVISION = "2026-11-10" |
| Operations extension | OPERATIONS_VERSION = 3 | OPERATIONS_VERSION = "3" |
| Version 1.0, the default | DEFAULT_PROTOCOL_VERSION = 1.0 | DEFAULT_PROTOCOL_VERSION = "1.0" |
Pre-release: upstream's draft 1.1โ
The pre-release 1.1.0a1 (npm 1.1.0-alpha.1) adds what upstream's unpublished draft 1.1 adds
to 1.0 (upstream commit 589743a, 2026-11-18). The draft may change until upstream publishes 1.1, and
so may this pre-release: the stable release stays 1.0.4, which pip install personal-agent-protocol and
npm install @datalayer/personal-agent-protocol give. To try the pre-release, name it:
pip install personal-agent-protocol==1.1.0a1
npm install @datalayer/personal-agent-protocol@alpha
In the pre-release 1.0 as published stays the default on the wire (Poppy-Version: 1.0,
protocol_version 1.0), and each addition is off until a caller turns it on:
| Addition (draft 1.1) | Python | TypeScript | Default |
|---|---|---|---|
| Draft 1.1 as the protocol version (3.4) | protocol_versions=("1.1",) on DiscoveryClient and CompanyConfig | protocolVersions: ["1.1"] | 1.0 |
offline_access in a sign-in and a narrowed refresh (4.4) | scopes_supported= on Direct and Device begin and on RefreshTokenContext; offline_access=True on Mediated Sign-In | scopesSupported; offlineAccess: true | not sent |
A company whose refresh tokens need offline_access (4.4) | CompanyConfig.offline_access | offlineAccess | off |
| Operator signatures at the PAR, token, device authorization and revocation endpoints (5.3) | WebBotAuthSigner(..., oauth_endpoints=True) | new WebBotAuthSigner(key, { oauthEndpoints: true }) | not signed |
| Accepting the agents a verified operator speaks for (5.3) | a client policy with allows_operator: OperatorVerifiedAgents | allowsOperator: OperatorVerifiedAgents | no one |
| Replacing a User ID (5.1) | replace_user_id, may_replace_unused | replaceUserId, mayReplaceUnused | never |
A limit on new User IDs by client_id (guides) | CompanyConfig.new_user_ids_per_client | newUserIdsPerClient | no limit |
| Listed tasks in feedback (9, 9.3) | CompanyConfig.feedback_tasks, SessionTasks.listed_tasks, FeedbackReport.listed, with both sides naming 1.1 | feedbackTasks, listedTasks, listedReport | not sent |
Listed tasks are the one addition that needs the draft's version: from 1.0 each side sends only what
the other's version defines (spec 3.4), so feedback.tasks and reports by task_ids go only between a
company that serves 1.1 and an agent that names it. A request that names 1.1 at a company that serves
1.0 is compatible, and is handled as 1.0 defines.
| Draft version | DRAFT_PROTOCOL_VERSION = 1.1 (DRAFT_PROTOCOL_REVISION = 2026-11-18) | DRAFT_PROTOCOL_VERSION = "1.1" (DRAFT_PROTOCOL_REVISION = "2026-11-18") |
|---|---|---|
| Published version | PUBLISHED_PROTOCOL_VERSION = 1.0 (PUBLISHED_PROTOCOL_REVISION = 2026-11-14) | PUBLISHED_PROTOCOL_VERSION = "1.0" (PUBLISHED_PROTOCOL_REVISION = "2026-11-14") |
Both SDKs implement PAP version 0.4
as published on 2026-11-10 (upstream commit 4803900, the 1.0 release candidate, frozen at /docs/0.4/spec), the Operations
extension version 3, the Mediated Sign-In extension version 1 and the Browser Control extension version 1, and
version 1.0 as published on 2026-11-14 (upstream commit 8c02b42,
frozen at /docs/1.0/spec) since 0.37.0. Since 0.36.0 1.0 is the default: both SDKs and both reference companies announce
and accept protocol_version 1.0 only unless told otherwise; where 1.0 changes 0.4's rules, the SDK applies them at 1.0
only. 0.4 stays available to a personal agent (protocol_versions on the discovery client) and a company
(CompanyConfig.protocol_versions) that name it. With both versions, the newest one both sides serve is chosen (spec 3.4). Operations version 2 is
not supported on either side. Operations on websites (the Poppy-Operation header and the extension's endpoint) are implemented
since 0.34.0, with the Browser Control extension. A test holds the two SDKs, this page, the package
descriptions, protocol/UPSTREAM.md, and the requirement ledger
(protocol/requirements.yaml) to the same three values. A published version
does not change; a later upstream version is reviewed and released as a new
profile, never picked up from an unattended fetch.
SDK versionsโ
| SDK (PyPI and npm) | PAP profile | Specification revision | Operations | Breaking changes |
|---|---|---|---|---|
1.1.0a1 | 0.4 | 2026-11-10 | v3 | none: a pre-release (npm 1.1.0-alpha.1, dist-tag alpha) with what upstream's unpublished draft 1.1 adds, each addition off until turned on; 1.0 stays the default version |
1.0.4 | 0.4 | 2026-11-10 | v3 | none: the Python SDK refuses a URL with no host for it where a browser finds one (https:///0x7f.1/), accepts IPv6 literals with a dotted quad ([::ffff:93.184.216.34]) again, and refuses a host with an oversized number instead of raising |
1.0.3 | 0.4 | 2026-11-10 | v3 | none: the Python SDK refuses a host a browser reads as another IPv4 address (abbreviated, octal or hexadecimal, such as 0x7f.1 or 3.1.2), an IP address has no subdomains, and a company's logo, a UCP endpoint, a Signature-Agent and a Session's issuer are checked as every HTTPS URL is |
1.0.2 | 0.4 | 2026-11-10 | v3 | none: the Python SDK refuses a URL a browser reads on another host (a backslash, whitespace or a control character anywhere, an authority with anything but RFC 3986 ASCII characters), so a device sign-in link is shown only on the host it was checked on (ยง4.3) |
1.0.1 | 0.4 | 2026-11-10 | v3 | none: the four case decks (./decks) and the docs describe the cases at Poppy 1.0 as published, with Operations version 3, no longer draft 0.3 |
1.0.0 | 0.4 | 2026-11-10 | v3 | none: the SDK's version follows Poppy's own, 1.0; the code is 0.37.5's |
0.37.5 | 0.4 | 2026-11-10 | v3 | none: a client that registers itself (client_registration) is registered as a public client whatever token_endpoint_auth_method it asked for among none, client_secret_post, client_secret_basic or none at all, and told none; a request that sends a client secret is refused |
0.37.4 | 0.4 | 2026-11-10 | v3 | none: a company may let clients that are no personal agents sign in (public_clients: MCP clients, with PKCE alone, verified by their client ID metadata document or registered at /oauth/register with client_registration), for tokens that work at one service and at no endpoint of the protocol; off by default |
0.37.3 | 0.4 | 2026-11-10 | v3 | none: a company names its services at URLs of their own (resource_servers, an MCP server on another host), which its issuer lists in protected_resources and issues Bearer tokens for, and which verify them with access_token_for |
0.37.2 | 0.4 | 2026-11-10 | v3 | none: opening a sign-in link reads its record without consuming it (the state store's optional get), a link begun by 0.37.0 still opens after an upgrade, and the Direct Sign-In start names its state for hosts whose redirect lands elsewhere |
0.37.1 | 0.4 | 2026-11-10 | v3 | none: a bound refresh token keeps its sign-in at a Bearer-only MCP server, open_link leaves the callback state to complete, an empty SSE event name is a message, and effectiveContext keeps a __proto__ field as a field |
0.37.0 | 0.4 | 2026-11-10 | v3 | 0.36 โ 0.37: 1.0 as published (8c02b42): required conversation protocol descriptions (agent_description), Pushed Authorization Requests, prompt=consent, refresh tokens bound to their DPoP key, ports in organization.domain, one sign-in for every resource, and unknown values read safely |
0.36.1 | 0.4 | 2026-11-10 | v3 | none: a Session persisted without its version (before 0.36) restores at 0.4 in TypeScript too, as in Python |
0.36.0 | 0.4 | 2026-11-10 | v3 | 0.35 โ 0.36: the 1.0 draft is the default in both SDKs and both reference companies; 0.4 is used only when named (protocol_versions) |
0.35.0 | 0.4 | 2026-11-10 | v3 | none: 0.34 โ 0.35 adds the 1.0 draft as an opt-in second version (protocol_versions) and shows a company's domain beside its name |
0.34.0 | 0.4 | 2026-11-10 | v3 | none: 0.33 โ 0.34 adds operations on websites (Poppy-Operation, the operations endpoint) and the Browser Control extension, version 1 |
0.33.0 | 0.4 | 2026-11-10 | v3 | 0.32 โ 0.33: 0.4 as published at 4803900; wire-breaking: task coverage per Session (tasks.endpoint), Operations version 3 (approver, required terms, approval_declined), extension_required in a JSON body at APIs, Sessions found by User ID too, Device Sign-In links on the issuer's host or organization.domain |
0.32.0 | 0.4 | 2026-11-06 | v2 | 0.31 โ 0.32: draft 0.4 as of 46beb21; wire-breaking: Poppy-Version and Poppy-Extensions on every request, request IDs on every conversation POST, a conversation's state in four fields, poppy:browser-sign-in for a signed-in join |
0.31.0 | 0.3 | 2026-11-04 | v2 | 0.30 โ 0.31: 0.3 as published at 2289293; wire-breaking: poppy_dlg, session_ended, extension content in extensions |
0.30.0 | 0.3 | 2026-10-30 | v2 | none: 0.29 โ 0.30 adds operator signatures, off until a host and a company ask for them |
0.29.0 | 0.3 | 2026-10-30 | v2 | 0.28 โ 0.29: DPoP in both SDKs and reference companies; token requests and Mediated Sign-In name their tenant; draft 0.3 as of ec16efa: Companies with no issuer, Bearer as MCP's baseline |
0.28.0 | 0.3 | 2026-10-28 | v2 | 0.27 โ 0.28: draft 0.3 as rewritten at 3e9bada |
0.27.0 | 0.3 | 2026-10-26 | v1 | 0.26 โ 0.27: PAP draft 0.3 |
0.26.0 | 0.2 | 2026-10-18 | v1 | none |
0.25.0 | 0.2 | 2026-10-18 | v1 | 0.24 โ 0.25: PAP draft 0.2 |
0.24.0 | 0.1 | 2026-10-09 | v1 | none |
0.23.0 | 0.1 | 2026-10-09 | v1 | none |
0.22.0 | 0.1 | 2026-10-09 | v1 | none |
0.21.0 | 0.1 | 2026-10-09 | v1 | none |
0.20.0 | 0.1 | 2026-10-09 | v1 | none |
0.19.0 | 0.1 | 2026-10-09 | v1 | PapReplies version 1 refused; version 2 names its conversation |
0.18.0 | 0.1 | 2026-10-09 | v1 | a custom company store implements records(kind) |
0.17.0 | 0.1 | 2026-10-09 | v1 | none |
0.16.0 | 0.1 | 2026-10-09 | v1 | none |
0.15.0 | 0.1 | 2026-10-09 | v1 | none |
0.14.0 | 0.1 | 2026-10-09 | v1 | none |
0.13.0 | 0.1 | 2026-10-09 | v1 | none |
0.12.0 | 0.1 | 2026-10-09 | v1 | none |
0.11.0 | 0.1 | 2026-10-09 | v1 | none |
0.10.0 | 0.1 | 2026-10-09 | v1 | 0.9 โ 0.10 |
0.9.0 | 0.1 | 2026-10-09 | v1 | 0.8 โ 0.9 |
0.8.0 | 0.1 | 2026-10-09 | v1 | 0.7 โ 0.8 |
0.7.0 | 0.1 | 2026-10-09 | v1 | none |
0.6.0 | 0.1 | 2026-10-09 | v1 | 0.5 โ 0.6 |
0.5.0 | 0.1 | 2026-10-09 | v1 | 0.4 โ 0.5 |
0.4.0 | 0.1 | 2026-10-09 | v1 | first release of both sides |
The Python package personal-agent-protocol and the npm package
@datalayer/personal-agent-protocol are released together, from one tag, at
the same version. The SDKs stay 0.x while PAP is a draft; any minor release
may break the API, and the migration guide says how.
Python 3.10 to 3.13 and Node.js 22 are tested.
The four pairingsโ
A personal agent and a company built with this SDK interoperate in all four language pairings:
| Personal agent | Company |
|---|---|
| Python | Python |
| Python | TypeScript |
| TypeScript | Python |
| TypeScript | TypeScript |
Each pairing runs the whole conformance suite over real TCP and TLS before a
release, and the conformance report lists
every case's outcome; a case a side cannot run is skipped, never passed, with
its reason. Use the same SDK version on both sides when you control both;
across organizations, the wire is the protocol: any two implementations of
draft 0.4 and Operations v2 are meant to interoperate, and the conformance
runner (pap conformance run) checks a company against it.
Agent Runtimesโ
Agent Runtimes 1.3.111 and
later carry the PAP capability (connections, the company role, and the sign-in
display) on personal-agent-protocol[ui] 0.7 or later, below 1. The PAP
repository builds every Agent Runtimes PAP example application with the
latest Agent Runtimes release in CI.