CLI docs

PartnersHow Visa CLI is built

Partners

How Visa CLI is built

Visa CLI, piece by piece: what each part does, which partner it runs on, and how to build the same thing yourself.

Markdownllms.txt
On this page

Visa CLI lets a person verify their AI agents with a Visa card, then lets those agents sign their requests and pay within limits the person sets. None of it depends on anything only Visa CLI can do. It's built from the same pieces this section lists: a card vault, a key service, a wallet, a stablecoin chain and the Visa Agent Directory. This page takes Visa CLI apart, one piece at a time, so you can see how they fit and build your own.

Every piece below answers three questions: what the piece does, how Visa CLI does it, and what to use if you build it yourself.

The pieces at a glance

Sign-in

What it does: Gives each person one account

In Visa CLI: Email code or Google

Build it with: Any identity provider

Card step

What it does: Proves a real person with a Visa card stands behind the account

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

Build it with: Basis Theory or VGS

Owner's wallet

What it does: Holds the owner's money and keys, under the owner's control

In Visa CLI: A Turnkey sub-organization per owner, with the owner as its only root user

Build it with: Turnkey

Agent identity

What it does: Gives each agent its own key, listed where anyone can look it up

In Visa CLI: A TAP key per agent, made in a Turnkey Verifiable Cloud enclave and listed in the Visa Agent Directory

Build it with: Turnkey for the key, Basis Theory for your TRID and the listing

Signed requests

What it does: Lets a service tell which agent is calling

In Visa CLI: The enclave signs each request, built from the request itself

Build it with: Sign requests as an agent

Payments

What it does: Lets an agent pay, within limits

In Visa CLI: OUSD on Tempo, with three gates on every payment

Build it with: Turnkey and Tempo

Approvals

What it does: Puts the owner in charge of what each agent may do

In Visa CLI: The Console: one approval per agent, a spending limit, and an ask before paying

Build it with: Your own app

Checking

What it does: Lets anyone confirm a signed request

In Visa CLI: The open verifier and an anonymous lookup in the Visa Agent Directory

Build it with: Nothing to sign up for. See Verify a signed request

Owner
Visa CLI
Partners
Visa Agent Directory
Owner to Visa CLIsigns in with an email code or Google
Owner to Partnersenters a Visa card in the vault's own fields
Partners to Ownerthe bank sends a one-time code
Owner to Partnersconfirms the code, and the card becomes a token
Owner to Visa CLIapproves an agent and sets its limit
Visa CLI to Partnersthe agent's key is made inside an enclave
Visa CLI to the Visa Agent Directoryregisters the agent's public key
The Visa Agent Directorylists the key under its keyid
How an agent gets verified. The card stays in the vault, and the Visa Agent Directory gets only a public key.

Sign-in

Owners sign in to the Console with an email code or Google. Signing in doesn't verify anyone. The card step does that.

To build your own, use the identity provider you already have. Keep one account per person, because the rest of the build counts people, not logins.

Card step

The owner types their card into VGS's hosted fields, so the number goes straight to the vault. The card is enrolled in Visa Intelligent Commerce, Visa's program for cards that agents use, and the bank's one-time code confirms it. Visa CLI keeps only a token. One card belongs to one account. The card is how the owner gets verified, not how agents pay. Your Visa card has the details.

To build your own, use a card partner that vaults cards and enrolls them in Visa Intelligent Commerce. Basis Theory and VGS both do this, and both get your company its own token requestor ID (TRID). Build with an enabler walks through it.

Owner's wallet

Every owner gets their own Turnkey sub-organization, a separate Turnkey account, and is its only root user. Each agent's wallet key lives there. Visa CLI is non-custodial and isn't in the flow of funds: an agent's payment goes on Tempo straight to whoever it's paying.

To build your own, create a Turnkey sub-organization for each user, with the user as root. Give each agent its own key, so one agent can be paused or replaced without touching the others.

Agent identity

Each agent's TAP key is created by Visa CLI's signing code on Turnkey Verifiable Cloud, and never leaves it. Visa CLI's server registers the public key in the Visa Agent Directory, which returns the keyid the agent signs with. Since 18 November 2026, new agents' keys are listed in the Visa Agent Directory. Agents connected earlier are still in the Visa Agent Directory sandbox. Status says what's live.

To build your own:

  1. Get a TRID for your company through an enabler such as Basis Theory.
  2. Make an Ed25519 key per agent, somewhere it can't be copied out: Turnkey, your own HSM or a cloud key service.
  3. Register the public key through your enabler, and keep the keyid it returns.

Register an agent has the steps.

Signed requests

The agent describes the request it wants to send. Visa CLI's signing code on TVC builds the signature base from that request itself and signs it, so it's never handed something opaque to sign. The agent sends the request with the signature headers.

To build your own, make the signature base from the request, sign it with the agent's key, and send the headers. Sign requests as an agent has the format, and Visa CLI's profile of TAP has the exact choices Visa CLI makes.

Payments

Agents pay in OUSD, a stablecoin, on the Tempo blockchain. A payment is checked by separate systems, so no one of them can spend alone:

  1. What: Visa CLI's payment code on Turnkey Verifiable Cloud checks the exact payment against what the owner authorized.
  2. Who: a Turnkey policy decides who has to agree before the wallet key signs, and the owner is one of them.
  3. How much: the owner sets each agent's spending limit on Tempo, and the chain applies it.

To build your own, a Turnkey policy covers who has to agree, and the chain's own key permissions cover the limit. Running your own check of what gets signed needs Turnkey Verifiable Cloud. Talk to Turnkey to learn more.

Approvals

The owner approves each agent once in the Console and sets its spending limit. A new agent asks before every payment. The owner can let payments under an amount go through on their own, and can pause or remove an agent at any time. Limits and approvals has every setting.

To build your own, put the same choices in your own app: approve each agent, a limit per agent, ask by default, and one place to pause everything.

Checking

Checking is open, in Visa CLI and everywhere else. A service rebuilds the signature base, looks up the keyid with one anonymous GET, and verifies the signature. It needs no account, no API key and no partner.

To build your own, use the example verifier, or follow Verify a signed request.

Build your own, in order

  1. Pick your partners for each job on Partners.
  2. Add sign-in and the card step.
  3. Give each user a wallet and each agent its own keys.
  4. Register each agent and keep its keyid.
  5. Sign requests and test them against the example verifier.
  6. Add limits and approvals your users control.
  7. Before going live, read Going to production.

How the pieces fit explains what a check tells a service, and what it doesn't.

Updated 18 Nov 2026