# Standards we implement

> The open specifications Tollgenic implements, pinned to the exact revisions in use, with interoperability notes.

Source: https://tollgenic.com/standards

Tollgenic has no private protocol. Each layer of the gateway implements a published specification, pinned to a specific revision. A new revision becomes a deliberate upgrade with its own policy version, never a silent change.

| Layer | Specification | Pinned revision | What we implement |
| --- | --- | --- | --- |
| Request signatures | [HTTP Message Signatures](https://www.rfc-editor.org/rfc/rfc9421) | RFC 9421 | Signature base construction, `Signature-Input` and `Signature` parsing, Ed25519 verification, nonce handling per section 7.2.2 |
| Agent identity | [Web Bot Auth](https://datatracker.ietf.org/doc/draft-ietf-webbotauth-httpsig-protocol/) | draft-ietf-webbotauth-httpsig-protocol-01 | `Signature-Agent` header, key directories at `/.well-known/http-message-signatures-directory`, JWK thumbprint `keyid`, 24-hour maximum lifetime as our acceptance policy |
| Payments | [x402](https://x402.org/) | v2 | `PAYMENT-REQUIRED`, `PAYMENT-SIGNATURE`, `PAYMENT-RESPONSE` headers, CAIP-2 network identifiers, facilitator verify and settle, v1 compatibility |
| Agent tool surface | [Model Context Protocol](https://modelcontextprotocol.io/) | 2026-07-28 | Stateless server, `Mcp-Method` and `Mcp-Name` headers, `server/discover`, cacheable listings with `ttlMs` and `cacheScope` |
| Site description | [llms.txt](https://llmstxt.org/) | v2 | `/llms.txt` index, `rel="describedby"` and `rel="alternate" type="text/markdown"` links, Markdown alternates for content pages; forms and the interactive sample use HTML |
| Contract canonicalization | [JSON Canonicalization Scheme](https://www.rfc-editor.org/rfc/rfc8785) | RFC 8785 | Deterministic bytes for signing the publisher contract |
| Contract signature | [JSON Web Signature](https://www.rfc-editor.org/rfc/rfc7515) | RFC 7515, detached | EdDSA detached JWS over the canonical contract |

## Interoperability notes

**Signature-Agent form.** Cloudflare's verifier currently expects `Signature-Agent` as a structured string, as in the earlier directory draft, and rejects the dictionary form introduced in later drafts. Tollgenic accepts both and records which one appeared as a signal in the decision event. Our cross-implementation test suite declares Cloudflare's rejection of the dictionary form as an expected result, so interoperability is measured rather than assumed.

**Lifetime.** The Web Bot Auth draft recommends, and does not require, that a signature expire within 24 hours of creation. Tollgenic applies 24 hours as an acceptance policy. Signatures that are protocol-valid but older than that are recorded as `invalid` with the reason, so an operator can see why.

**Test vectors.** The RFC 9421 test key is used only in test fixtures and is rejected in production. Published vectors from the RFC and the Web Bot Auth draft are vendored into the conformance suite, and a continuous check watches the IETF datatracker for a new revision of the pinned draft.

## Participation

We track the IETF `webbotauth` working group and intend to publish our verifier and contract specification under Apache-2.0 so that implementers can test against something other than our own service.
