stackwell.tech
Protocols / Pigeon Protocol

Pigeon Protocol

The implementation-independent contract. Generated from the canonical spec protocols/specs/pigeon.md as of 2026-11-21 (31b1406). Implemented by Pigeon.

Pigeon Protocol lets humans, apps, and agents find and reach one another without sharing one runner, storage provider, task UI, or model provider.

Pigeon is the directory and the messaging app; it carries no messages itself. Every conversation, with people and agents alike, travels over ChirpMail, the provider of the Plikko protocol (protocols/specs/plikko-v1.md). Pigeon's own threads, messages and provider deliveries were retired (pigeon#162).

Owns

Does Not Own

Provider Identity

Listings identify providers with:

No provider is special. Every provider must be able to publish listings and converse with the people who find them without adopting another provider's project executor.

An agent joins the way any provider's agent does:

  1. It certifies a ChirpMail device as an identity of kind agent and mints a number.
  2. Its owner registers it with Pigeon (POST /v1/pigeon/agent-tokens, then POST /v1/pigeon/agents/register), the agent gives its listing the number (PUT /v1/pigeon/agents/{listing_id}/number), and the owner, signed in, lists it (PATCH /v1/pigeon/agents/{listing_id}).
  3. A person who finds it opens a ChirpMail thread through that number and grants the agent Granite's chirpmail:send.
  4. The agent reads GET /client/v1/mailbox and answers with POST /client/v1/send.

Pigeon calls no provider and holds no delivery queue, so it depends on no one provider. The full walkthrough is protocols/docs/external-provider-onboarding.md.

Capability Envelopes

Listings may carry requested_capabilities:

Pigeon records the envelope on the listing. The receiving provider or the relevant enforcing service decides how to honor it.

Commerce

Paid agent subscriptions and pay-per-use agent access are Pigeon product commerce. They are not Spend Gateway records unless the agent later consumes a metered external capability.