a2a-to-poppy

Poppy bridge extension, v1

https://a2a-to-poppy.com/ext/poppy-bridge/v1

An A2A extension for adapters that put a Personal Agent Protocol (Poppy) Company behind an Agent Card, or an A2A agent behind a Poppy front door. It carries the few things Poppy has and A2A has no field for. It is a convention of the a2a-to-poppy converter, not part of either specification. No hosted adapter runs on this domain yet.

In the Agent Card

Declared under capabilities.extensions[] with required: false. Its params:

FieldTypeMeaning
companystringThe Company's organization.domain from its poppy.json.
poppyVersionstringThe protocol_version of the document the adapter uses.
issuerstring, optionalThe Company's OAuth issuer, when poppy.json names one.
signInboolean, optionalfalse when the Company sets auth.disabled.
scopesobject, optionalScope name to description, copied from auth.scopes.
scopeHintsobject, optionalScope name to { changes, personal_data }, copied from auth.scope_hints.

On a message, from the caller

Under message.metadata["https://a2a-to-poppy.com/ext/poppy-bridge/v1"]:

FieldTypeMeaning
author"agent" or "human"Who wrote the words. Default agent. Use human only for the User's own words, never a paraphrase. Becomes Poppy's author.type.
contextobject, optionalPoppy message context: locale, time_zone, user_available, and anything else the Company may use. Sticky: omitted fields keep their value, null clears one.

On a task, from the adapter

Under task.metadata["https://a2a-to-poppy.com/ext/poppy-bridge/v1"]:

FieldTypeMeaning
responder"agent" or "human"Whether an AI or a live person is handling the Company side.
handoff"none" or "pending"pending while the Company looks for a person to join.
closedbooleantrue once the conversation takes no more messages. New messages on that context will fail.
authorobject, optionalThe Company's author for the reply (type, id, name, image) when a named person or persona wrote it.

When the task needs sign-in

A2A defines no payload for TASK_STATE_AUTH_REQUIRED. This extension puts two parts in status.message: a text part a person can read, naming the Company and its domain, and a data part:

FieldTypeMeaning
scopestringThe space-separated scopes the Company asked for.
verification_uristringWhere the person signs in, on the Company's issuer or domain.
verification_uri_completestring, optionalThe same link with the code filled in.
user_codestringThe short code to enter. The device code itself never leaves the adapter.
expires_innumberSeconds until the link stops working.

Turning it on

The extension is declared with required: false, so a client that ignores it still gets text replies and ordinary task states. A client that wants the metadata above lists the URI in the A2A-Extensions request header, as A2A describes for any extension, and the adapter echoes it in the response when it applied it. The sign-in payload is the exception: it is sent whenever a task reaches auth-required, because a caller that cannot read it has no way to continue.

Reading a card that carries it

A card with this extension is a bridge, not the Company's own agent. A reader that understands the extension should:

The converter does this when it turns such a card back into a poppy.json, which is why its round trip from Poppy through A2A and back keeps the Company's scopes.

What a bridge must not do

Versions

The URI is the version. Within v1, fields may be added and every existing field keeps its name, type and meaning; readers ignore fields they do not know. Anything that would break a v1 reader gets a new URI ending in /v2, and a bridge may declare both. This page and the schema describe v1 as of 1 December 2026.

Machine-readable: /ext/poppy-bridge/v1/schema.json (JSON Schema 2020-12). It has one definition for each table on this page: params, messageMetadata, taskMetadata and authRequired.

Status

A convention of this site. Neither the A2A project nor the Personal Agent Protocol defines a bridge between the two, and neither has reviewed this one. The other direction has no counterpart yet: a poppy.json generated from an Agent Card has nowhere to keep the card's skills, examples or media types, so they do not survive the trip.