Trusted Agent Protocol
Visa's Trusted Agent Protocol (TAP) lets an AI agent prove to a merchant that it is a trusted agent acting for a consumer, using an RFC 9421 HTTP message signature with an agent-browser-auth or agent-payer-auth tag, plus signed consumer recognition and payment container objects linked to it by the same nonce. This skill quotes the Merchant Specifications page on Visa Developer and the visa/trusted-agent-protocol repository README pinned at a commit.
Scope. The Merchant Specifications page is unversioned and says that accessing or using it means agreeing to the Visa Trusted Agent Protocol Product Terms; read those terms before relying on the page. Where the page labels content as the Visa implementation (Visa ID Token, the Visa-hosted key URL), the rules apply to Visa's deployment of the protocol. The repository's sample agent, proxy and registry code is out of scope.
Follow the workflow below step by step. Every rule here comes from a source in Sources. Quoted requirements are sentences taken from the pinned text, labelled with the section they come from. When a rule and the pinned source disagree, the source wins; when the source has a newer revision than the pin, follow the refresh steps.
Inputs (fill in, or ask before starting)
- Role: Merchant, site protection provider (CDN or proxy) verifying agent traffic, or agent developer producing TAP signatures.
- Target version: Trusted Agent Protocol (current). See
references/versions.md.
- Revision: the pinned revision in Sources, unless the user names another.
- Sources: when refreshing this skill, re-read every URL in Sources and check the publisher for a newer revision or version line.
Invariants
- Agent Recognition Signature: Required Message Signature Fields (tag). "Will contain the value of agent-browser-auth or agent-payer-auth based on the type of interaction"
- Agent Recognition Signature: Verification Steps. "If the header does not contain a message signature with a Signature-Input field containing a tag of either agent-browser-auth or agent-payer-auth, the message has not been signed by a trusted agent."
- Agent Recognition Signature: Verification Steps (Minimum fields). "If any of the fields listed in the table above are missing, the message should be blocked."
- Agent Recognition Signature: Verification Steps (Timestamps). "The timestamps (created and expired) should fall within the current GMT time and should not be more than 8 minutes apart."
- Agent Recognition Signature: Verification Steps (Nonce). "If maintaining a record of all nonces received in the last 8 minutes, if the nonce received matches a recorded nonce, the message should be blocked."
- Agent Recognition Signature: Verification Steps (Locate the public key). "If the public key cannot be retrieved or the public key has expired, the message should be blocked."
- Agent Recognition Signature: Verification Steps (Validate the signature). "If signature validation fails, the message should be blocked."
- Consumer Recognition. "That is, the Agentic Consumer Recognition Object contains a signature signed with the same private key used to sign the message signature and one of the fields signed is the same nonce present in the message signature."
- Payment: Verification Steps (Nonce). "If a message signature was present for this interaction and the nonce contained in the object does not match the nonce received in the message signature, the content of the object is inaccurate and should not be used for processing any payment."
- Payment: Verification Steps (Validate the signature). "If signature validation fails, the content of the object is inaccurate and should not be used for processing any payment."
- Processing of Payment Data: Browsing IOU. "Prior to granting access to the resource, the Merchant must verify that the data in the IOU matches the data returned in the 402 response and verify the signature."
- Public Keys Retrieval Service. "Each key must be easily identifiable so it can be selected by the relying party based on the kid or keyid specified in the header of the JWS or Signature-Input respectively."
Workflow
- Pick the version. Use the current line unless a named consumer needs a supported one. Do not author a legacy line. Emit a preview only when its posture is build and the user asked for that draft.
->
references/versions.md
✓ The target version is recorded, and it is not a legacy line.
- Apply the pinned requirements. Walk the quotes in
references/requirements.md and implement each one that applies to the role.
-> references/requirements.md
✓ Each applicable quote is either implemented or recorded as out of scope for the role, with the section it came from.
- Upgrade (only when asked). Follow the upgrade section from the source line to the target.
->
references/versions.md
✓ The result cites the target line and no longer depends on a requirement that only the old line stated.
Verify before done
Reference index
references/versions.md: every version line, which one to use, and how to upgrade. Load for steps 1 and 3.
references/requirements.md: quotes taken from the pinned specification, grouped by source. Load for step 2.
Related skills
Install related spec skills by name with npx skills add ScaleDockHQ/scaledock-skills --skill <name>: http-message-signatures, web-bot-auth, jwt, mastercard-agent-pay, agentic-commerce-protocol, ap2.
Sources
Status uses the publishing body's own maturity term. Checked is the date the source was last read.
1---2name: visa-trusted-agent-protocol3description: >-4 Visa Trusted Agent Protocol: identify trusted AI agents to merchants with signed HTTP requests. Covers Trusted Agent Protocol. Use when identifying an agent to a merchant. Triggers: Trusted Agent Protocol.5license: MIT6metadata:7 source: https://skillmd.com/skills/scaledockhq/visa-trusted-agent-protocol8 author: ScaleDockHQ9 version: "1.1.0"10 kind: standard11---1213# Trusted Agent Protocol1415Visa's Trusted Agent Protocol (TAP) lets an AI agent prove to a merchant that it is a trusted agent acting for a consumer, using an RFC 9421 HTTP message signature with an `agent-browser-auth` or `agent-payer-auth` tag, plus signed consumer recognition and payment container objects linked to it by the same nonce. This skill quotes the Merchant Specifications page on Visa Developer and the visa/trusted-agent-protocol repository README pinned at a commit.1617**Scope.** The Merchant Specifications page is unversioned and says that accessing or using it means agreeing to the Visa Trusted Agent Protocol Product Terms; read those terms before relying on the page. Where the page labels content as the Visa implementation (Visa ID Token, the Visa-hosted key URL), the rules apply to Visa's deployment of the protocol. The repository's sample agent, proxy and registry code is out of scope.1819**Follow the workflow below step by step.** Every rule here comes from a source in [Sources](#sources). Quoted requirements are sentences taken from the pinned text, labelled with the section they come from. When a rule and the pinned source disagree, the source wins; when the source has a newer revision than the pin, follow the refresh steps.2021## Inputs (fill in, or ask before starting)2223- Role: Merchant, site protection provider (CDN or proxy) verifying agent traffic, or agent developer producing TAP signatures.24- Target version: Trusted Agent Protocol (current). See [`references/versions.md`](references/versions.md).25- Revision: the pinned revision in [Sources](#sources), unless the user names another.26- Sources: when refreshing this skill, re-read every URL in [Sources](#sources) and check the publisher for a newer revision or version line.2728## Invariants29301. **Agent Recognition Signature: Required Message Signature Fields (tag).** "Will contain the value of agent-browser-auth or agent-payer-auth based on the type of interaction"312. **Agent Recognition Signature: Verification Steps.** "If the header does not contain a message signature with a Signature-Input field containing a tag of either agent-browser-auth or agent-payer-auth, the message has not been signed by a trusted agent."323. **Agent Recognition Signature: Verification Steps (Minimum fields).** "If any of the fields listed in the table above are missing, the message should be blocked."334. **Agent Recognition Signature: Verification Steps (Timestamps).** "The timestamps (created and expired) should fall within the current GMT time and should not be more than 8 minutes apart."345. **Agent Recognition Signature: Verification Steps (Nonce).** "If maintaining a record of all nonces received in the last 8 minutes, if the nonce received matches a recorded nonce, the message should be blocked."356. **Agent Recognition Signature: Verification Steps (Locate the public key).** "If the public key cannot be retrieved or the public key has expired, the message should be blocked."367. **Agent Recognition Signature: Verification Steps (Validate the signature).** "If signature validation fails, the message should be blocked."378. **Consumer Recognition.** "That is, the Agentic Consumer Recognition Object contains a signature signed with the same private key used to sign the message signature and one of the fields signed is the same nonce present in the message signature."389. **Payment: Verification Steps (Nonce).** "If a message signature was present for this interaction and the nonce contained in the object does not match the nonce received in the message signature, the content of the object is inaccurate and should not be used for processing any payment."3910. **Payment: Verification Steps (Validate the signature).** "If signature validation fails, the content of the object is inaccurate and should not be used for processing any payment."4011. **Processing of Payment Data: Browsing IOU.** "Prior to granting access to the resource, the Merchant must verify that the data in the IOU matches the data returned in the 402 response and verify the signature."4112. **Public Keys Retrieval Service.** "Each key must be easily identifiable so it can be selected by the relying party based on the kid or keyid specified in the header of the JWS or Signature-Input respectively."4243## Workflow44451. **Pick the version.** Use the current line unless a named consumer needs a supported one. Do not author a legacy line. Emit a preview only when its posture is build and the user asked for that draft.46 -> [`references/versions.md`](references/versions.md)47 ✓ The target version is recorded, and it is not a legacy line.482. **Apply the pinned requirements.** Walk the quotes in [`references/requirements.md`](references/requirements.md) and implement each one that applies to the role.49 -> [`references/requirements.md`](references/requirements.md)50 ✓ Each applicable quote is either implemented or recorded as out of scope for the role, with the section it came from.513. **Upgrade** (only when asked). Follow the upgrade section from the source line to the target.52 -> [`references/versions.md`](references/versions.md)53 ✓ The result cites the target line and no longer depends on a requirement that only the old line stated.5455## Verify before done5657- [ ] The artifact cites the target line's revision from [Sources](#sources).58- [ ] Every applicable quoted requirement in [`references/requirements.md`](references/requirements.md) holds.59- [ ] Verification rejects a message whose `created` to expiry window exceeds 8 minutes, whose nonce was seen in the last 8 minutes, or whose `keyid` key cannot be retrieved.60- [ ] Nothing from a preview line is emitted unless its posture is build and the user opted in.6162## Reference index6364- **`references/versions.md`**: every version line, which one to use, and how to upgrade. Load for steps 1 and 3.65- **`references/requirements.md`**: quotes taken from the pinned specification, grouped by source. Load for step 2.6667## Related skills6869Install related spec skills by name with `npx skills add ScaleDockHQ/scaledock-skills --skill <name>`: `http-message-signatures`, `web-bot-auth`, `jwt`, `mastercard-agent-pay`, `agentic-commerce-protocol`, `ap2`.7071## Sources7273Status uses the publishing body's own maturity term. Checked is the date the source was last read.7475- [Trusted Agent Protocol: Merchant Specifications](https://developer.visa.com/capabilities/trusted-agent-protocol/trusted-agent-protocol-specifications): Visa Developer specification, Unversioned page, read 2026-10-06, checked 2026-10-06.76- [Trusted Agent Protocol README](https://raw.githubusercontent.com/visa/trusted-agent-protocol/16d59bdf3f8a542bc538d0962edbb80ea30a02af/README.md): Repository document, commit 16d59bd, 2025-10-28, checked 2026-10-06.