73 lines
3.8 KiB
Markdown
73 lines
3.8 KiB
Markdown
# Personal Agent Protocol (Poppy)
|
|||
|
|
|
||
|
|
Status: emerging specification, draft 0.1, updated 2026-10-09; checked 2026-10-10.
|
||
|
|
Recheck the [official specification](https://personalagentprotocol.org/docs/spec)
|
||
|
|
before implementation or publication. This guide is a local integration reference;
|
||
|
|
the upstream specification remains authoritative.
|
||
|
|
|
||
|
|
## Place in the toolkit
|
||
|
|
|
||
|
|
Use Poppy alongside the existing content, semantic, discovery, and serving layers.
|
||
|
|
Keep `ai-index.json` for content retrieval, `llms.txt` for retrieval guidance,
|
||
|
|
Schema.org for page meaning, and OpenAPI/MCP for implemented interfaces. Poppy
|
||
|
|
describes how a personal agent connects to a business. It does not supply content
|
||
|
|
structure, search ranking, a backend, or permission to perform an action.
|
||
|
|
|
||
|
|
Choose the smallest useful profile:
|
||
|
|
|
||
|
|
| Profile | Use when | Implementation route |
|
||
|
|
| --- | --- | --- |
|
||
|
|
| Ordinary website discovery | Public content is already usable through web pages | Generate a minimal manifest through the Structured Website Builder |
|
||
|
|
| Sessions and API access | A specific task needs authoritative data or account access | Implement and test the protocol runtime before advertising it |
|
||
|
|
| Conversations or transactions | A concrete business workflow justifies more infrastructure | Add only verified interfaces with explicit user authorization and audit evidence |
|
||
|
|
|
||
|
|
## Discovery contract
|
||
|
|
|
||
|
|
Serve JSON over HTTPS at `/.well-known/poppy.json`. Required fields are
|
||
|
|
`protocol_version` (`"0.1"`), `organization` (`name`, `domain`), and at least one
|
||
|
|
of `web`, `apis`, or `agent`. The domain matches the requested discovery host,
|
||
|
|
ignoring leading `www.`; redirects must remain HTTPS.
|
||
|
|
|
||
|
|
A minimal ordinary-website declaration is:
|
||
|
|
|
||
|
|
```json
|
||
|
|
{
|
||
|
|
"protocol_version": "0.1",
|
||
|
|
"organization": {"name": "Example Company", "domain": "example.com"},
|
||
|
|
"web": {}
|
||
|
|
}
|
||
|
|
```
|
||
|
|
|
||
|
|
Without `auth`, agents browse as ordinary signed-out visitors. `auth` is required
|
||
|
|
when advertising `apis`, `agent`, or `web.browser_session_endpoint`. Its `issuer`
|
||
|
|
must provide OAuth metadata, including matching `issuer`, `poppy_domains`, token
|
||
|
|
and revocation endpoints. Only advertise supported sign-in methods and scopes.
|
||
|
|
See [discovery and authorization](https://personalagentprotocol.org/docs/spec)
|
||
|
|
for session identity, signed assertions, replay checks, DPoP and the MCP Bearer
|
||
|
|
exception. See [operations](https://personalagentprotocol.org/docs/extensions/operations)
|
||
|
|
for optional confirmation of exact terms and retry handling.
|
||
|
|
|
||
|
|
## Adoption workflow
|
||
|
|
|
||
|
|
1. Inventory the website's actual public content, services, and implemented actions.
|
||
|
|
2. Start with ordinary website discovery when that meets the need. Preserve the
|
||
|
|
semantic artifacts and current retrieval routes.
|
||
|
|
3. Keep future interfaces in a separate implementation plan. A service catalog
|
||
|
|
or contact form is not automatically a Poppy API or transaction capability.
|
||
|
|
4. Validate generated JSON and identity against the configured website. Test
|
||
|
|
ordinary visitor access, robots policy, rendering, and edge access rules.
|
||
|
|
5. Before an authorized deployment, review the draft again. After deployment,
|
||
|
|
fetch the exact well-known HTTPS URL and verify its response and identity.
|
||
|
|
6. For session-capable work, use staging and prove issuer/domain binding,
|
||
|
|
user consent, scope enforcement, revocation, replay resistance, rate limits,
|
||
|
|
and isolation between users. Record what was tested before claiming support.
|
||
|
|
|
||
|
|
## Implementation
|
||
|
|
|
||
|
|
The [Structured Website Builder](https://projects.eddiesoehnel.com/adminprojects/structured-website-builder-OPEN)
|
||
|
|
generates the ordinary-web profile through `skills-scripts/build_discovery_files.py`.
|
||
|
|
Its `docs/poppy.md` explains adaptation, validation, publication checks, and the
|
||
|
|
boundary for future runtime work. Executable code stays in that repository.
|
||
|
|
|
||
|
|
Background: [Sierra announcement](https://sierra.ai/blog/introducing-personal-agent-protocol)
|
||
|
|
and [draft announcement](https://sierra.ai/blog/poppy).
|