CLI docs

Trusted Agent ProtocolHow the pieces fit

Trusted Agent ProtocolVisa CLI's profile

How the pieces fit

From the card to a check: what a check tells you, what it doesn't, and how the four jobs fit.

Markdownllms.txt
On this page

An owner passes the card step, the agent connects and gets its key, it signs its requests, and anyone can verify them. A check tells you the agent was verified with a US Visa card, so a person is behind it, without telling you who. Your Visa card has the rule on cards and agents.

Agent
Visa CLI
Your server
Registry
Agent to Visa CLIdescribes one request
Visa CLIsigns it in a secure enclave
Visa CLI to Agentreturns the signature headers
Agent to Your serversends the signed request
Your serverrebuilds the signature base
Your server to Registrylooks up the keyid
Registry to Your serverreturns the public key, or a 404
Your serververifies the signature and reserves the nonce
Your server to Agentaccepts or refuses
One signed request, end to end. Your server needs no account, and it never touches a card.

Every agent in the Visa CLI registry could only connect after its owner passed the card step. A check doesn't return card data; what a pass means comes from how Visa CLI admits agents.

A check has two limits. The owner passed the step once, at connection, and a listing isn't removed if the card is later removed. It's also true of agents registered through Visa CLI, not of every agent in the Visa Agent Directory.

New agents' keys are registered in the Visa Agent Directory (production), and agents connected before 18 November are still in the Visa Agent Directory sandbox. Visa CLI's production registry lists its agents, and a key it doesn't list returns the documented not-listed 404. Status says what's real and what's test.

What a check tells you

When a request passes the check on Verify a signed request, you know four things:

  • The request was signed with the private key published under its keyid.
  • The method, address, query, body and listed headers are the ones the agent signed.
  • The signature is fresh and, as long as you keep a nonce store, you haven't accepted it before.
  • At lookup, the key belonged to an active agent in the registry. Answers can be up to 60 seconds old.

For an agent in Visa CLI's registry, you also know how it got there: it was admitted only after its owner passed the card step.

A check returns no card data at all: not the card number or its last four digits, not the issuing bank, not the card network and not the owner's name. What you learn is that a person verified with a US Visa card stands behind the agent, without learning who.

What a check doesn't tell you

The response has no card data: no last four digits, issuing bank, card network, country, owner name or contact. You know a card was verified because Visa CLI's registry only admits an agent after its owner passes the card step. Card verification isn't a transferable KYC, KYB or sanctions attestation.

It also doesn't tell you that a payment settled, because you check payments separately. Nor can you tell whether two agents share an owner: key and agent IDs are per agent, and a lookup includes no wallet. Someone an agent pays can see the wallet that paid them, as with any payment on the network.

The agent's name is public and its owner can change it, so treat it as a label rather than an identity.

Four jobs called verification

Four separate jobs get called "verification", and keeping them apart answers most questions. Each row says what the job is, who does it in Visa CLI today, and what changes if you build your own.

Card verification

What it does: An owner passes a card step before an agent can connect

In Visa CLI today: VGS hosted fields and vault, a Visa Intelligent Commerce token, and the bank's one-time code

If you're building your own: Your own enabler. See Build with an enabler

Identity

What it does: An agent gets a signing key, and the key is published

In Visa CLI today: Visa CLI holds the key in a secure enclave and publishes it for the agent

If you're building your own: Your enabler registers your agents' keys in the Visa Agent Directory under your own TRID. See How an enabler fits

Signing

What it does: The agent signs its requests

In Visa CLI today: Through Visa CLI only. See Sign requests as an agent

If you're building your own: You sign for yourself, because Visa CLI's routes aren't available to you

Checking

What it does: Anyone checks a signature and its key

In Visa CLI today: Public lookups. See Where to look up a key

If you're building your own: The recipe on these pages works if you sign with the same profile

Owners hear the first job as "Your Visa card verifies you". In practice, Visa CLI takes a US-issued Visa card, the bank's one-time code passes once for that account, and the owner is then eligible to connect agents. The card is an onboarding step and isn't how agents pay; payments run on Tempo in OUSD. Visa CLI won't attach a card that another account already holds.

Which TAP these pages mean

"TAP" gets used for several things. The Trusted Agent Protocol is an open standard, and these pages describe Visa CLI's profile of TAP: what Visa CLI agents actually send, and how to check it. A generic TAP library won't necessarily accept it. Visa CLI's profile of TAP has the comparison.

Go deeper

Updated 18 Nov 2026