Internet-Draft Poppy over AGTP November 2026
Hood Expires 26 May 2027 [Page]
Workgroup:
Network Working Group
Internet-Draft:
draft-hood-agentproto-poppy-over-agtp-00
Published:
Intended Status:
Informational
Expires:
Author:
C. Hood
Nomotic, Inc.

Personal Agent Protocol (Poppy) over the Agent Transfer Protocol

Abstract

This document specifies how the Personal Agent Protocol (PAP, also called Poppy) is carried over the Agent Transfer Protocol (AGTP). Poppy defines how a personal agent acting for one person discovers a company, opens a session, signs the person in with OAuth, and acts through the company's APIs, website, or agent. Poppy 1.0 specifies these exchanges over HTTPS. AGTP is a transfer protocol for agent traffic that carries agent identity, authority scope, delegation, and signed attribution as headers of every request and response. This document maps each Poppy exchange onto an AGTP method and path, binds the Poppy client identifier and User ID to the AGTP identifier stack, states which Poppy functions AGTP headers supply and which remain with OAuth over HTTPS, and records the open issues the mapping raises. It defines no change to Poppy.

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

This Internet-Draft will expire on 26 May 2027.

▲

Table of Contents

1. Introduction

The Personal Agent Protocol [POPPY] describes the relationship between two parties: a Personal Agent acting for one User, and a Company that sets the terms of access. A Company publishes /.well-known/poppy.json. A Personal Agent reads it, starts a Session identified by a pairwise User ID, signs the User in through the Company's OAuth authorization server when the task needs account access, and then acts through one of three channels: the Company's APIs, its website, or a conversation with its agent. Poppy builds on OAuth, JWTs, HTTPS, OpenAPI, and MCP, and defines new pieces only where no standard covers the need.

Several of the pieces Poppy defines for itself are facts about the agent and the request: which agent is calling, proof that the caller holds that agent's key, the session the request belongs to, what the agent may do, and a record of what happened. Over HTTPS, Poppy carries these in a per-request Poppy-Session JWT, a delegation JWT, and OAuth tokens. The Agent Transfer Protocol [AGTP] carries the same facts as protocol fields: Agent-ID, Request-Signature, Session-ID, Authority-Scope, and a signed Attribution-Record on every response.

This document specifies Poppy over AGTP as a translation. A Poppy exchange becomes an AGTP method invocation on a path. Facts that Poppy places in the Poppy-Session JWT move to the AGTP headers that already carry them. Poppy's sign-in flows, which run between a browser, the User, and the Company's authorization server, stay on HTTPS and are unchanged; the access token they produce is carried in the AGTP Authorization header under the External Identity Provider profile of [AGTP-COMPOSITION].

The mapping is written against Poppy 1.0 and version 3 of its Operations extension [POPPY-OPS]. It is the work of the author alone and has had no review by the Poppy maintainers.

1.1. Terminology

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.

This document uses the terms of [POPPY] (Personal Agent, Company, User, User ID, Session, Conversation, operation, approval) and of [AGTP] (Agent-ID, Authority-Scope, Attribution-Record, Identity Document, session). Poppy defines an optional per-User "Agent ID"; to keep it apart from the AGTP Agent-ID, this document calls it the Poppy instance ID. One term is specific to this document:

Poppy endpoint:

An AGTP server, operated by or for a Company, that accepts the methods and paths of Section 6 and answers them with the semantics of [POPPY].

1.2. Overview

 Personal Agent        AGTP (TLS, QUIC, or H3)       Poppy endpoint
 service holding  ==============================>   of the Company
 an Agent-ID      SEND /conversations
                  Agent-ID, Authority-Scope,
                  Request-Signature, Session-ID,
                  Authorization (when signed in)

                  <==============================
                  200 OK
                  Server-ID, Attribution-Record,
                  Audit-ID, Response-ID

 User's browser        HTTPS (unchanged)             Company OAuth
 or device        <----------------------------->   authorization
                  Direct or Device Sign-In           server

2. Discovery

Poppy discovery is unchanged. The Personal Agent fetches /.well-known/poppy.json over HTTPS and applies the checks of [POPPY]. A Company that offers a Poppy endpoint advertises it in the extensions member under the domain-prefixed name agtp.io/transfer:

"extensions": {
  "agtp.io/transfer": [
    { "version": "1",
      "endpoint": "https://shop.example/.well-known/agtp-poppy.json" }
  ]
}

Poppy requires every protocol URL to be HTTPS, so endpoint names an HTTPS document. That document is a JSON object with three members: agtp_uri, the agtp:// URI of the Poppy endpoint; server_id, the endpoint's AGTP identity; and channels, the subset of conversations, apis, operations, and tasks the endpoint serves. The host of agtp_uri MUST equal organization.domain or be a subdomain of it.

On the AGTP side, the endpoint MUST answer DESCRIBE / with a Capability Document carrying a poppy member that repeats protocol_version, supported_versions, the auth.issuer, the offered scopes with their scope_hints, the Poppy extensions and versions the endpoint supports, and the served channels. A Personal Agent MUST treat a mismatch between organization.domain in poppy.json and the domain in the poppy member as a discovery failure.

3. Identity Binding

3.1. Personal Agent

Poppy identifies a Personal Agent by a client_id: an HTTPS URL that returns a client metadata document with a jwks_uri. AGTP identifies an agent by a canonical Agent-ID and an Identity Document [AGTP-IDDOC]. The two are bound in both directions:

  1. The Personal Agent's Identity Document carries a poppy member with client_id set to the Poppy client identifier.

  2. The client metadata document at that URL carries an agtp_agent_id member set to the canonical Agent-ID.

A Poppy endpoint MUST resolve both documents and confirm that each names the other before it accepts the binding, and MAY cache the result for the lifetime the documents declare. With the binding in place, the Company's existing controls on client_id (allowlists, registration, revocation) apply to the Agent-ID.

The Agent-ID in this profile identifies the Personal Agent service, the same party the client_id identifies. It MUST NOT identify a single User's instance of that service. Section 11 states the reason.

3.2. Company

Poppy treats the Company's domain as its identity and notes that the domain confirms neither the Company's legal name nor its logo. Under AGTP the Poppy endpoint is an agent or server with its own verified identity, returned as Server-ID on every response and used as the signer of every Attribution-Record. Where the Company's Identity Document carries an institutional identity, a Personal Agent MAY present it to the User alongside the domain.

3.3. User

The Poppy User ID is a stable, opaque, pairwise identifier that the Personal Agent assigns, one per User and Company. It is carried in the poppy object of the ESTABLISH body (Section 4) and bound into the session token. It is absent from the request headers of individual invocations; the Session-ID stands for it.

The endpoint MUST record the User ID as poppy_user_id in the payload of each Attribution-Record under the Session. When the request carries an access token, the endpoint lifts the token subject as principal_id per [AGTP-COMPOSITION] and records both. The raw token MUST NOT appear in the record.

4. Sessions

4.1. Establishment

A Personal Agent opens a Poppy Session over AGTP with ESTABLISH /session [AGTP-SESSION] and a poppy body extension:

{
  "model": "persistent",
  "scopes": ["poppy:conversations:*", "poppy:operations:approve"],
  "resume_window": 3600,
  "initiator_nonce": "<base64url>",
  "poppy": {
    "version": "1.0",
    "sid": "<Poppy Session ID>",
    "user_id": "<pairwise User ID>",
    "instance_id": "<optional Poppy instance ID>",
    "extensions": {"operations": "3"}
  }
}

poppy.sid is the Session ID the Personal Agent generated under [POPPY]. The endpoint generates the AGTP Session-ID, returns the negotiated poppy object in the response, and includes that object in the payload of the session token it signs. From that point the AGTP Session-ID and the Poppy sid name the same Session, and the endpoint looks the Session up by the bound client_id, sid, and User ID as [POPPY] requires. A Session that was started over HTTPS MAY be continued over AGTP by presenting the same sid and User ID from the bound Agent-ID, and the reverse.

poppy.version takes the place of the Poppy-Version header and poppy.extensions the place of Poppy-Extensions. Both are fixed for the Session. An endpoint that cannot serve the requested version answers 422 with reason version-unsupported.

4.2. The Poppy-Session JWT

Over HTTPS every Poppy request carries a Poppy-Session JWT signed with a delegated key. Over AGTP the request carries no Poppy-Session header. Each of its functions is supplied as follows:

Table 1: Functions of the Poppy-Session JWT and their AGTP carriers
Poppy-Session element Carrier over AGTP
iss (the client_id) Agent-ID, through the binding of Section 3
aud (the Company) The endpoint authority, covered by Request-Signature
sid Session-ID, bound to poppy.sid in the session token
sub (User ID) poppy.user_id in the session token
agent_id (optional) poppy.instance_id in the session token
htm, htu AGTP method and path, covered by Request-Signature
iat, jti Timestamp and nonce of Request-Signature
ath See Section 5
Delegation JWT (poppy_dlg) Request-Signature under the agent key of the Identity Document

The endpoint MUST verify Request-Signature on every request and MUST check that the request's Agent-ID is the initiator named in the session token for that Session-ID, as [AGTP-SESSION] requires. These two checks replace the verification procedure of the Poppy Sessions section.

The Poppy rule that a Personal Agent must always send the Session header, and must never omit it to appear as a human, holds without further text over AGTP: a request without Agent-ID and Request-Signature is anonymous and is refused on every path of Section 6 except discovery and task coverage.

5. Sign-In and Access Tokens

Direct Sign-In (authorization code with PKCE) and Device Sign-In [RFC8628] run between the User, a browser or device, and the Company's authorization server. They are unchanged and stay on HTTPS, as do the token endpoint, refresh [RFC6749], and revocation [RFC7009]. This document maps no part of them.

After sign-in, the Personal Agent sends the access token on AGTP requests in the Authorization header as specified by the External Identity Provider profile of [AGTP-COMPOSITION]. The endpoint validates the token against the issuer named in poppy.json.

Poppy binds the token to the request with the ath claim and, optionally, DPoP [RFC9449]. Over AGTP the endpoint MUST confirm that the token was issued to the client_id bound to the request's Agent-ID. Because Request-Signature proves possession of that agent's key on every request, a token presented by any other party fails this check. The carriage of DPoP-bound tokens, whose proofs name an HTTP method and URI, is an open issue (Section 14).

5.1. Scopes

Two scope vocabularies apply and both are enforced.

Authority-Scope:

States which Poppy exchanges the Personal Agent may perform at all. This document uses the poppy domain with the tokens of Section 6, in the three-segment form of [AGTP]. They are declared in the Personal Agent's Identity Document and narrowed in the session scopes.

OAuth scope:

States what the User and the Company agreed the Personal Agent may do on the User's account. These are the Company-defined scopes of poppy.json, granted at sign-in and carried in the access token.

The endpoint evaluates Authority-Scope first, from headers, and the token scope second. A request MUST satisfy both. A signed-out Session carries no token and is limited to what the Company offers to a Session without sign-in.

6. Channel Mapping

Table 2: Poppy exchanges and their AGTP carriers
Poppy exchange AGTP method and path Authority-Scope
Fetch poppy.json HTTPS, unchanged; then DESCRIBE / none
Start a Session ESTABLISH /session with poppy session scopes
Start a Conversation SEND /conversations poppy:conversations:send
Send a message SEND /conversations/{id} poppy:conversations:send
Read events QUERY /conversations/{id}/events poppy:conversations:read
Company message, state, Direct Conversation notices NOTIFY /conversations/{id} from the Company n/a (Company-originated)
Request a person (handoff) ESCALATE /conversations/{id} poppy:conversations:escalate
Cancel a handoff request EXECUTE /conversations/{id} with action poppy:conversations:escalate
Company requests the User (user_requested) ESCALATE /conversations/{id} from the Company n/a (Company-originated)
Company requests more access (authorization) 262 on the triggering request, or ESCALATE from the Company n/a
Close a Conversation EXECUTE /conversations/{id} with action poppy:conversations:close
MCP API Methods of [MCP-AGTP] within the Session mcp:*
OpenAPI API HTTPS, unchanged n/a
Browser join and web browsing HTTPS, unchanged n/a
Operation approval CONFIRM /operations poppy:operations:approve
Operation status QUERY /operations poppy:operations:read
Task coverage and skills index DESCRIBE /tasks none
Task feedback REPORT /tasks poppy:tasks:report

6.1. Conversations

The Poppy message object (author, text, data, context, extensions) travels unchanged as the content of SEND. The Poppy request id that makes a POST safe to retry is carried as idempotency_key; reuse of a key with a different body is refused with 409 and reason request-id-conflict. The wait parameter is carried in the SEND parameters, and a reply produced within the wait is returned in the SEND response.

The author label keeps its Poppy meaning: the Personal Agent MUST mark each message agent or human, and a summary or translation of the User's words is agent. The AGTP headers identify the sending agent in every case; author states whose words the content holds.

Poppy lets the Personal Agent read events after a saved cursor, with server-sent events as an option. Over AGTP the Company's endpoint is a peer in the session and sends each event as a NOTIFY on the Conversation path, signed under its own identity. QUERY on the events path with the saved cursor remains available for recovery after a transport loss.

A request for a person maps to ESCALATE, the method [AGTP] defines for routing a decision to a human principal. The Company's user_requested event is an ESCALATE in the other direction. Each is resolved with CONFIRM referencing the escalation_id. A Direct Conversation is a new Conversation linked to its parent; its opening and closing are NOTIFY events on the parent path.

6.2. APIs

A Company API of type mcp is reached over AGTP through the mapping of [MCP-AGTP], inside the Poppy Session and with the Poppy access token in Authorization. The MCP scopes of that document and the Company's OAuth scopes both apply. A Company API of type openapi stays on HTTPS under Poppy 1.0. A Company MAY expose the same operations as AGTP endpoints and list them in its Capability Document; that is outside this mapping.

6.3. Website

Browser join exists to give a browser the Company's own session cookie. It is an HTTPS exchange by nature and is unchanged, including the Poppy-Session header on the authorize step. A Personal Agent that holds a Session over AGTP uses the same sid and User ID for browser join over HTTPS.

6.4. Task coverage

The tasks endpoint of [POPPY] is tied to no account. DESCRIBE /tasks returns the list of tasks the Company declines to offer, with alternatives, and the index of Agent Skills. An endpoint MAY serve it to anonymous requests. Reports of tasks a Personal Agent failed to complete are sent with REPORT /tasks and MUST carry no personal data.

7. Operations Extension

The Operations extension [POPPY-OPS] lets a Company require approval of exact terms before it performs a business action. Its lifecycle maps as follows.

Refusal:

The endpoint refuses the request with 262 Authorization Required. The body carries reason approval-required and the operation object (operation_id, revision, summary, terms, expires_at) unchanged. side_effects is none.

Approval:

The Personal Agent sends CONFIRM /operations with target_id set to operation_id, status set to accepted, and the Poppy approval object (operation_id, revision, approver, and the optional members) as attestation. The endpoint runs the Company checks of [POPPY-OPS] and records the approval. It performs nothing at this step.

Performance:

The Personal Agent repeats the original request. The endpoint consumes the recorded approval on the first matching request and performs the action at most once. This follows the pattern [POPPY-OPS] defines for websites, where approval and performance are separate requests.

Decline:

A declined approval is answered to the CONFIRM with 403 and reason approval-declined, carrying operation_id, revision, and the optional reason and alternative. A changed revision is answered with 262 and the operation under its new revision.

Unknown outcome:

While an operation is being performed, or its outcome is unknown, the endpoint answers 503 with a retry interval and MUST NOT report failure.

Poppy 1.0 treats an approval as the Personal Agent's unsigned statement and lists signed approvals as future work. Over AGTP the CONFIRM that carries the approval is covered by Request-Signature, and the endpoint's response carries an Attribution-Record that includes the request hash. The approval is therefore signed by the Personal Agent and countersigned in the Company's record. This is a signature by the agent. It is no proof that the User approved, and a user approver value remains the Personal Agent's statement.

8. Error Mapping

Table 3: Error translation
Poppy condition Poppy status AGTP status and reason
Access token needed 401 401, oauth-required, with the scopes needed
invalid_token 401 401, oauth-invalid
insufficient_scope 403 455 Scope Violation, naming the OAuth scopes
Authority-Scope lacks the token of Section 6 n/a 455 Scope Violation
invalid_session 400 401, session-participant-mismatch or possession-unproven
session_ended 400 409, session-ended
version_unsupported 400 422, version-unsupported
extension_required 403 422, extension-required, naming the extension
conversation_not_found 404 404
version_mismatch 409 409, version-mismatch
request_id_conflict 409 409, request-id-conflict
approval_required 403 262 Authorization Required, approval-required
approval_declined 403 403, approval-declined
Rate limit 429 429 Rate Limited
Operation in progress 503 503 Unavailable, with retry interval

The Poppy error name MUST be carried in the AGTP error body as poppy_error. Every 4xx and 5xx body SHOULD carry the structured failure fields of [AGTP].

9. What Each Carrier Supplies

The table states, for Poppy over HTTPS and Poppy over AGTP, where each fact is carried. Entries are drawn from [POPPY], [POPPY-OPS], and this document.

Table 4: Where each fact is carried
Fact Poppy over HTTPS Poppy over AGTP
Which agent is calling client_id in the Session JWT Agent-ID, bound to client_id
Proof the caller holds the key Session JWT under a delegated key, per request Request-Signature, per request
Which Session sid claim Session-ID, bound in a signed session token
Which User sub claim, pairwise poppy.user_id in the session token, pairwise
What the agent may do OAuth scope Authority-Scope, then OAuth scope
Company identity Domain Domain and verified Server-ID
Company-originated messages Polling or server-sent events NOTIFY and ESCALATE from the Company
Request for a human handoff endpoint ESCALATE
Approval of terms Unsigned approval object CONFIRM under Request-Signature
Record of what happened Defined by each party Signed Attribution-Record on every response
Delegation to another agent Listed as future work Delegation-Chain
Sign-in OAuth over HTTPS OAuth over HTTPS, unchanged
Website access Browser join over HTTPS Browser join over HTTPS, unchanged

10. Gateway Deployment

A Company that runs Poppy over HTTPS can add a Poppy endpoint as a gateway in front of its existing deployment. The gateway terminates AGTP on port 4480, verifies Request-Signature, the identity binding of Section 3, the session token, and Authority-Scope, and then calls the Company's existing Poppy handlers over an internal interface, passing the verified client_id, sid, and User ID. The gateway signs Attribution-Records under its own key.

A gateway MUST NOT construct Poppy-Session JWTs on behalf of a Personal Agent; it holds no key of the Personal Agent and the internal hop is the Company's own. The precedence rule of [AGTP] applies: identity, session, and scope are read from AGTP headers and the session token, and a field in a message body that names a client, session, or user MUST NOT influence enforcement.

11. Privacy Considerations

Poppy's central privacy property is that a Company knows a signed-out User only by an identifier that is stable at that Company, differs at every other Company, and derives from no personal data. This mapping keeps that property under three rules.

  1. The Agent-ID identifies the Personal Agent service. A canonical Agent-ID is permanent and global; one assigned per User would be a cross-Company identifier for that User and would defeat pairwise User IDs. Personal Agent services MUST NOT mint per-User Agent-IDs for use in this profile.

  2. The User ID travels only in the ESTABLISH body, the session token, and the endpoint's Attribution-Records. It MUST NOT appear in the Personal Agent's Identity Document or in any registry or transparency log.

  3. Attribution-Records are produced and held per endpoint. A Personal Agent service that keeps the records it receives holds the User IDs it assigned and no others. A Company MUST NOT publish records that carry poppy_user_id to a shared log.

Poppy's delegation JWT is forbidden from carrying User, Agent, or Company information, and its delegated key is used for one User ID only. Over AGTP all Users of a Personal Agent service sign under the service's agent key. This reveals to a Company nothing beyond the client_id it already learns under Poppy, and it removes the per-User key separation that Poppy provides. Self-hosted Personal Agents, where one service serves one User, make the Agent-ID and the User equivalent; Poppy lists that case as future work and this document sets it aside for the same reason.

12. Security Considerations

The security considerations of [POPPY], [AGTP], [AGTP-SESSION], and [AGTP-COMPOSITION] apply. Four are specific to this mapping.

Binding substitution:

An attacker who controls a client_id document could name another party's Agent-ID in it. The two-way check of Section 3 defeats this, since the Identity Document of that Agent-ID names a different client_id. An endpoint that checks one direction alone is nonconformant.

Token replay across carriers:

An access token obtained for use over HTTPS could be presented over AGTP by a party that stole it. The requirement of Section 5 that the token's client_id match the binding of the signing Agent-ID limits use of the token to the holder of the agent key.

Company content as data:

Poppy states that content from a Company is data and that the User decides what the Personal Agent does. Operation summary and terms, NOTIFY content, and ESCALATE context arriving over AGTP carry a verified sender. A verified sender is no reason to treat the content as instruction.

Secrets in model context:

Poppy requires access tokens, refresh tokens, and Session JWTs to stay out of model context. The same holds for AGTP session tokens and the agent signing key.

13. IANA Considerations

This document requests registration of poppy in the ESTABLISH Body Extension Registry of [AGTP-SESSION], with this document as the reference. If the Reserved Authority-Scope Domains table of [AGTP] becomes an IANA registry, the poppy domain with the tokens of Section 6 is to be registered there by a future revision.

14. Open Issues

  1. DPoP. A DPoP proof names an HTTP method and URI. Whether a DPoP-bound Poppy token can be used over AGTP, and with what proof, is unspecified here. Until it is settled, a Company that offers a Poppy endpoint needs to issue tokens for it without DPoP binding and rely on the check of Section 5.

  2. Advertisement. The agtp.io/transfer extension entry points to an HTTPS document because Poppy requires HTTPS URLs. A direct agtp:// entry in agent.protocols would be simpler and would need a change in Poppy.

  3. Status 262 and the methods SEND and REPORT are used as defined in the AGTP status and method registries; this revision has to be checked against the final text of [AGTP] version 10 and [AGTP-METHODS].

  4. Mediated Sign-In, which Poppy plans to drop, and the UCP checkout and links-and-disclosures extensions are unmapped.

  5. No implementation of this mapping exists at the time of writing.

15. References

15.1. Normative References

[AGTP]
Hood, C., "Agent Transfer Protocol (AGTP)", Work in Progress, Internet-Draft, draft-hood-independent-agtp-10, , <https://datatracker.ietf.org/doc/html/draft-hood-independent-agtp-10>.
[AGTP-COMPOSITION]
Hood, C., "AGTP Composition Profiles", Work in Progress, Internet-Draft, draft-hood-agtp-composition-02, , <https://datatracker.ietf.org/doc/html/draft-hood-agtp-composition-02>.
[AGTP-IDENTIFIERS]
Hood, C., "AGTP Identifier Stack and Attribution-Record", Work in Progress, Internet-Draft, draft-hood-agtp-identifiers-03, , <https://datatracker.ietf.org/doc/html/draft-hood-agtp-identifiers-03>.
[AGTP-METHODS]
Hood, C., "AGTP Methods (AGTP Verbs): Method Vocabulary, Path Grammar, and Endpoints", Work in Progress, Internet-Draft, draft-hood-agtp-methods-00, , <https://datatracker.ietf.org/doc/html/draft-hood-agtp-methods-00>.
[AGTP-SESSION]
Hood, C., "AGTP Session Protocol", Work in Progress, Internet-Draft, draft-hood-agtp-session-01, , <https://datatracker.ietf.org/doc/html/draft-hood-agtp-session-01>.
[POPPY]
Personal Agent Protocol contributors, "Personal Agent Protocol (Poppy) Specification, Version 1.0", , <https://personalagentprotocol.org/docs/1.0/spec>.
[POPPY-OPS]
Personal Agent Protocol contributors, "Personal Agent Protocol: Operations Extension, Version 3", , <https://personalagentprotocol.org/docs/extensions/operations>.
[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/rfc/rfc2119>.
[RFC7515]
Jones, M., Bradley, J., and N. Sakimura, "JSON Web Signature (JWS)", RFC 7515, DOI 10.17487/RFC7515, , <https://www.rfc-editor.org/rfc/rfc7515>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/rfc/rfc8174>.

15.2. Informative References

[AGTP-BINDINGS]
Hood, C., "AGTP Transport Bindings", Work in Progress, Internet-Draft, draft-hood-agtp-bindings-01, , <https://datatracker.ietf.org/doc/html/draft-hood-agtp-bindings-01>.
[AGTP-IDDOC]
Hood, C., "AGTP Agent Identity Document", Work in Progress, Internet-Draft, draft-hood-agtp-identity-document-00, , <https://datatracker.ietf.org/doc/html/draft-hood-agtp-identity-document-00>.
[MCP-AGTP]
Hood, C., "Model Context Protocol over the Agent Transfer Protocol", Work in Progress, Internet-Draft, draft-hood-agentproto-mcp-over-agtp-00, , <https://datatracker.ietf.org/doc/html/draft-hood-agentproto-mcp-over-agtp-00>.
[RFC6749]
Hardt, D., Ed., "The OAuth 2.0 Authorization Framework", RFC 6749, DOI 10.17487/RFC6749, , <https://www.rfc-editor.org/rfc/rfc6749>.
[RFC7009]
Lodderstedt, T., Ed., Dronia, S., and M. Scurtescu, "OAuth 2.0 Token Revocation", RFC 7009, DOI 10.17487/RFC7009, , <https://www.rfc-editor.org/rfc/rfc7009>.
[RFC8628]
Denniss, W., Bradley, J., Jones, M., and H. Tschofenig, "OAuth 2.0 Device Authorization Grant", RFC 8628, DOI 10.17487/RFC8628, , <https://www.rfc-editor.org/rfc/rfc8628>.
[RFC9449]
Fett, D., Campbell, B., Bradley, J., Lodderstedt, T., Jones, M., and D. Waite, "OAuth 2.0 Demonstrating Proof of Possession (DPoP)", RFC 9449, DOI 10.17487/RFC9449, , <https://www.rfc-editor.org/rfc/rfc9449>.

Appendix A. Wire Examples

A.1. Opening a Session

AGTP/1.0 ESTABLISH /session
Agent-ID: 7f3a9c2d...e41b
Authority-Scope: poppy:conversations:*, poppy:operations:approve
Request-Signature: <compact JWS>
Content-Type: application/vnd.agtp+json

{"model": "persistent",
 "scopes": ["poppy:conversations:*", "poppy:operations:approve"],
 "initiator_nonce": "c2Vzc2lvbi1ub25jZQ",
 "poppy": {"version": "1.0", "sid": "s_8Kq2...", "user_id": "u_5Zt9...",
           "extensions": {"operations": "3"}}}

AGTP/1.0 200 OK
Server-ID: agents.shop.example
Session-ID: 4e1c...a9f0
Response-ID: 01JCA1...
Audit-ID: 9b2e...c7d1
Attribution-Record: <compact JWS>
Content-Type: application/vnd.agtp+json

{"session_id": "4e1c...a9f0", "model": "persistent",
 "expires_at": "2026-11-22T17:00:00Z",
 "scopes": ["poppy:conversations:*", "poppy:operations:approve"],
 "poppy": {"version": "1.0", "sid": "s_8Kq2...", "user_id": "u_5Zt9...",
           "extensions": {"operations": "3"}},
 "session_token": "<compact JWS>"}

A.2. A message that requires approval

AGTP/1.0 SEND /conversations/c_71Xa
Agent-ID: 7f3a9c2d...e41b
Session-ID: 4e1c...a9f0
Authorization: Bearer <access token>
Request-Signature: <compact JWS>
Content-Type: application/vnd.agtp+json

{"method": "SEND",
 "parameters": {"idempotency_key": "r_0042",
   "content": {"author": "agent",
               "text": "Exchange order 1182 for size 10."}}}

AGTP/1.0 262 Authorization Required
Server-ID: agents.shop.example
Session-ID: 4e1c...a9f0
Audit-ID: 3d7a...08be
Attribution-Record: <compact JWS>
Content-Type: application/vnd.agtp+json

{"status": 262, "reason": "approval-required",
 "poppy_error": "approval_required", "side_effects": "none",
 "operation": {"operation_id": "exc_5Rt2", "revision": "1",
   "summary": "Exchange for size 10. No charge.",
   "terms": {"order": "1182", "size": "10", "charge": "0.00"},
   "expires_at": "2026-11-21T18:30:00Z"}}

A.3. Approval

AGTP/1.0 CONFIRM /operations
Agent-ID: 7f3a9c2d...e41b
Session-ID: 4e1c...a9f0
Authority-Scope: poppy:operations:approve
Authorization: Bearer <access token>
Request-Signature: <compact JWS>
Content-Type: application/vnd.agtp+json

{"method": "CONFIRM",
 "parameters": {"target_id": "exc_5Rt2", "status": "accepted",
   "attestation": {"operation_id": "exc_5Rt2", "revision": "1",
                   "approver": "user", "input_type": "tap"}}}

AGTP/1.0 204 No Content
Server-ID: agents.shop.example
Session-ID: 4e1c...a9f0
Audit-ID: 6c10...f2a4
Attribution-Record: <compact JWS>

The Personal Agent then repeats the SEND. The endpoint consumes the recorded approval, performs the exchange once, and returns 200.

Appendix B. Acknowledgments

The Personal Agent Protocol is the work of its maintainers and contributors at personalagentprotocol.org. This document describes their protocol as published and claims no part in its design.

Author's Address

Chris Hood
Nomotic, Inc.