๐ค ๐ธ Personal Agent Protocol
Python and TypeScript SDKs for the Personal Agent Protocol (PAP, or Poppy), targeting version 0.4 as published (the 1.0 release candidate), and its Operations extension version 3.
Build software that lets a personal agent work with a company on a user's behalf, without pretending to be the user or hiding automation. PAP gives both sides a common path for discovery, scoped authorization, web and API access, and conversations. The SDKs use Datalayer Reactor for replaceable platform services and optional protocol extensions.
The specification and where it livesโ
The protocol is specified by the Personal Agent Protocol organization on GitHub, in the public personal-agent-protocol/personal-agent-protocol repository. That repository is the source of the protocol's website, personalagentprotocol.org, which publishes:
- the introduction and the path to 1.0;
- each version of the specification, extensions and guides: the published versions are frozen, 0.3 at that address, 0.2 at /docs/0.2/spec and 0.1 at /docs/0.1/spec;
- the changelog between versions; and
- a Company implementation kit.
Feedback on the protocol goes to the issues of that repository (see How to give feedback). Issues with these SDKs go to datalayer/personal-agent-protocol.
The specification is authoritative. These docs record which upstream revision the SDKs implement (Protocol coverage) and how they implement it.
PAP can change incompatibly before its first stable version. Before 1.0, each
major.minor version can break the one before, so a personal agent uses only
a company document whose protocol_version it supports: these SDKs speak
version 0.4. See Compatibility and
Migration.
Pick your roleโ
| I am buildingโฆ | Start here |
|---|---|
| A personal agent that connects to companies | Personal-agent guide |
| A company endpoint for personal agents | Company guide |
| A platform integration or PAP capability | Extensions guide |
| A terminal or third-party command extension | pap CLI guide |
| By following end-to-end feature flows | Example flows |
| Against one of the SDKs | Python ยท TypeScript |
| Datalayer Studio integration | Studio integration |
The interaction at a glanceโ
Get started with working discovery code, take the protocol tour, or review the implementation status and the protocol coverage, requirement by requirement.
Two protocol rolesโ
The SDKs implement both sides of PAP:
- A personal agent client discovers and works with companies for one user: Sessions, every sign-in type, refresh tokens, APIs and MCP, the website, conversations, feedback, and Operations.
- A reference company, in Python and in TypeScript, publishes discovery, keeps Sessions, and serves APIs, MCP, a company agent and Operations; every replaceable part is a Reactor contribution point.