A relying party publishes one identity-only document at GET /.well-known/agent-signup.json. This page is a lookup table for that document.
The normative rules are in the
specification;
this page does not replace them.
The machine-readable schema is served at
/protocol/agent-signup.schema.json
with content type application/schema+json. Validate a document with the
conformance validator. This table follows spec
v2.1.0. The downloadable schema asset and the generated protocol pages are
pinned by the docs release; when they lag this table, the spec source is
canonical.
Required fields
| Field | Type | Rule | Section |
|---|---|---|---|
protocol |
string | Exactly "agent-identity-protocol". Any other value means the service is unsupported; do not fall back. |
5.1 |
protocol_version |
string | Exactly "2.0". Identifies the wire protocol version; any other value means the version is unsupported. |
5.1 |
audience |
string | Stable, case-sensitive service identifier with no whitespace. The broker places this exact value in the assertion aud; the relying party rejects a mismatch. |
5.1 |
provider_name |
string | Human-readable service name. | 5.1 |
issuer_allowlist |
array of strings | Non-empty, unique absolute issuer origins. No path, query, fragment or wildcard. Trailing slashes are normalized away. The broker iss must match one entry exactly. |
5.1, 5.4 |
required_scopes |
array of strings | Unique non-empty scopes. Brokered signup must include tos:accept. |
5.1 |
terms.version |
string | Terms version. Change it whenever the agreement changes materially. | 5.1, 6 |
terms.url |
string | Absolute URL of the provider-hosted agreement that a human can read. HTTPS is required except the documented localhost development exception. The broker fetches this URL at signup and hashes the exact response bytes. | 5.1 |
endpoints.agent_signup |
string | Absolute URL that accepts POST with Authorization: Bearer <assertion>. The only endpoint in the protocol. |
5.1 |
Optional fields
| Field | Type | Rule | Section |
|---|---|---|---|
spec |
string | Absolute URL of the versioned specification. Optional; implementers may omit it. | 5.2 |
provider_url |
string | Canonical service URL. If present, it must share the signup endpoint's registrable domain. | 5.2, 11 |
contact |
string | Security, abuse or legal contact: an email address or an HTTPS URL. The localhost development exception (http://localhost, http://127.0.0.1) is the only http form allowed. |
5.2 |
updated_at |
string | ISO 8601 timestamp for humans and debugging. Not a freshness signal for the terms. | 5.2 |
attestation |
object | The optional Contract G source: { "mode": "broker" | "provider", "uri": "<stable absolute HTTPS URL>" }. It names a URI that serves { "attestation": "<compact JWS>" }; it never carries the token. Broker-managed is the default and may be keyless (keys: []). Absence means unverified. |
5.2, 5.4, 14 |
extensions |
object | Non-capability vendor metadata keyed by reverse-DNS namespace, for example dev.example. It must not advertise provisioning, catalogs, SKUs or resource endpoints. |
5.2, 5.3 |
rp_attestation was removed in v1.3.0. A document that still contains it is
non-conformant with reason rp_attestation_removed; there is no compatibility
field, embedded fallback, or dual publication. Contract F receipt and abuse
bodies are a different surface and keep the historical field.
terms.text and terms.sha256 were removed in v2.0.0. The provider hosts the
agreement at terms.url. There is no compatibility field and no dual
publication; publish { version, url } in one deploy.
Unknown additive fields must be ignored by consumers. Producers should put
non-capability metadata under extensions.<reverse-dns-namespace> so typos stay
visible. Moving a vendor capability under extensions does not make it
conformant.
The optional attestation source
attestation is the only discovery field that describes the provider's
broker-verified identity, and it carries no token. It has exactly two fields:
{
"attestation": {
"mode": "broker",
"uri": "https://agentregistrar.dev/api/broker/provider-verification?origin=https%3A%2F%2Fprovider.example&audience=example"
}
}modeis exactlybrokerorprovider. There are no aliases.uriis a stable, absolute HTTPS URL with no credentials and no fragment.http://localhostandhttp://127.0.0.1are the development exception.- A
brokerURI origin must be in the document'sissuer_allowlistand, when the verifier configures one, the trusted-broker list. - A
providerURI origin must be the origin of the discovery document the verifier actually fetched, or a subdomain of it. A third-party host, including a CDN, is rejected. - The object is closed:
modeanduriare its complete vocabulary.
The URI serves the same source document in both modes, as application/json:
{ "attestation": "<compact JWS>" }The JWS is the Contract G token (typ: agent-rp-attestation+jwt, alg: EdDSA)
that binds rp.origin, rp.audience, the provider identity, the assurance
level, and the public keys[]. Additional envelope fields are ignored. A raw
JWT body is rejected.
Rules:
- The attestation
rp.originmust equal the canonical origin of the discovery document the verifier actually fetched. rp.audiencemust equaldiscovery.audience.- The token is public and copyable; the origin and audience binding prevent replay on another service.
- It must not carry a terms hash, scopes, endpoints,
provider_url, account ids, prices, or private material. Itskeys[]may be empty; no RP signing key is needed to accept agent signups. - A conformant document without
attestationis unverified. An expired, invalid, suspended, or unavailable source is a verification result, never a conformance failure by itself. A malformed object or a failed host binding is a conformance error. - Do not add any other provider-identity or provider-capability field to discovery.
Broker-managed is the default and needs no renewal job. Provider-managed is an opt-in and makes expiry the revocation bound. See Trust and limits and Verify assertions for the policy and verification steps. If you are a provider and want the credential, see the provider quickstart.
Forbidden fields
These must not appear at any nesting depth, including under extensions:
| Forbidden surface | Examples |
|---|---|
| Catalogs and commercial surface | instance_catalog, SKUs, pricing tiers, free-tier quotas, product specs |
| Provisioning and resource endpoints | endpoints.provision, resource endpoints, instance lifecycle |
| Legacy signup endpoints | endpoints.email_signup, endpoints.verify_otp |
| Broker receipt callback | endpoints.broker_signup_receipt |
| Credentials and API usage | resource credentials, vendor API or SDK usage metadata |
A document is a parameter document, not a capability catalog. Vendor capabilities belong in the post-signup context guide. See Scope boundaries and the normative 5.3.
Terms at a URL
terms.urlmust serve the complete agreement with stable bytes. No redirect, no per-request token, no variant that changes between fetches.- The broker fetches
terms.urlat signup and recordssha256:<64 lowercase hex>over the exact response bytes indelegation.accepted_rp_tos_hashand in the terms ledger. - The relying party checks
delegation.accepted_rp_tos_urlagainst its currentterms.url(trailing slashes normalized). It may also check the hash when the URL serves deterministic bytes. - When the terms change, publish the new bytes and a new
terms.versionbefore accepting new signups. A bounded grace period for in-flight assertions is a relying-party policy documented outside discovery; it should not exceed 24 hours.
See terms binding and Re-acceptance.
Minimal conformant example
This document contains only the required identity fields. It passes the current
validator in file mode with zero errors and zero warnings. The optional
attestation object is absent, so the document is conformant and
unverified.
{
"protocol": "agent-identity-protocol",
"protocol_version": "2.0",
"audience": "example-provider",
"provider_name": "Example Provider",
"issuer_allowlist": ["https://agentregistrar.dev"],
"required_scopes": ["tos:accept"],
"terms": {
"version": "2026.1",
"url": "https://example.com/terms"
},
"endpoints": {
"agent_signup": "https://example.com/api/signup/agent"
}
}The example is illustrative. Replace the audience, URLs, scopes and terms with the service's own values, and serve the agreement at terms.url. The allowlist entry is the live broker origin (https://agentregistrar.dev); a provider that accepts a different broker lists that broker's origin instead.
Known limits
- Discovery carries no terms digest. The broker computes it from the bytes it fetches at
terms.url; a digest the provider could not reproduce from a served page would be meaningless. - Discovery conformance is cheap to publish. A valid document is not a statement about the service's security, uptime or product.
- The document itself is not signed. The optional
attestationobject names a signed statement about the provider; it is not a signature over the discovery document. Trust in the document comes from TLS plus the issuer allowlist; the assertion and the attestation are separately signed. - Consumers must ignore unknown additive fields, so a producer can add an identity field without a schema change. The validator warns on unknown top-level fields; warnings do not fail conformance.
Verify
- Fetch the published document and confirm
Content-Type: application/json. - Confirm
termshas exactlyversionandurl, and thatterms.urlserves stable bytes with no redirect. - Run the validator against the document.
- Confirm no forbidden field appears at any depth, including under
extensions.