How Do AI Agents Hold and Spend Crypto? Agent Wallets Explained
Agent wallets use smart accounts, session keys, MPC or TEEs and policy limits. Here is how x402, Coinbase, Stripe, Visa and Mastercard fit, and who pays.
Short answer
As of December 2026, an AI agent does not hold crypto the way a person does. It usually holds a limited credential: a session key on a smart account, or a hosted wallet whose keys sit in MPC or a trusted execution environment (TEE), with a policy engine that caps what it can pay. Payments often travel over x402 or similar protocols in stablecoins. Card networks now offer parallel agent products. Liability for agent mistakes is still unsettled, so the limits you set are your main protection.
Updated December 5, 2026.
Key takeaways
- The safest pattern is delegation, not custody: give the agent bounded authority and keep the owner key elsewhere.
- Coinbase’s Agentic Wallet lets you fund the wallet and set spending limits, and the agent can only pay within those limits.
- ERC-7715, the draft session-permission standard, still has Draft status. It is a request protocol, not an enforcement layer.
- x402 had processed more than 196 million transactions as of November 1, 2026, but only about $42 million in total value. Counts are not commerce.
- As of early November 2026, there was no CFPB guidance on AI agents in consumer payments.
Who this is for: Developers, treasury and payments teams, and security reviewers who want a neutral, dated view of how agent wallets work and where the controls and gaps are.
An agent that can pay needs three things: a way to sign, a rule set that limits signing, and a rail to pay on. The hard part is that the agent is a language model that can be manipulated by text it reads. This guide builds on our parent explainer, how AI agents pay each other, and goes deeper on custody, limits and liability.
Agent wallets by the numbers
How can an agent hold crypto without holding your keys?
There are three common designs. First, the agent holds a raw private key. That is simple and the riskiest, because anything that leaks the key or tricks the agent has full access. Second, a smart account (see account abstraction) delegates narrow rights to a separate key. Third, a hosted wallet keeps keys in MPC or a TEE and signs only if a policy allows it. Our crypto custody guide covers MPC in general.
Smart accounts and session keys
A session key is a temporary key with scoped permissions such as a spend cap, an allowlist and an expiry. Ethereum’s Pectra upgrade on May 7, 2025 introduced EIP-7702, which lets an existing externally owned account temporarily delegate its execution logic to a smart contract. ERC-7715 describes requests whose policies can include a spend cap, allowlist, time window and rate limit. It specifies only the wallet and app interaction, not how the wallet enforces permissions. Treat it as unfinished: its status is Draft and it requires ERC-4337 and ERC-7710.
Implementation bugs matter. One cited Quantstamp audit found that session keys with ERC-20 spend limits could drain a modular account, and that a storage-key error made all session keys share the same permissions.
MPC and TEE-held keys
MPC splits a key into shares so no single machine holds it. A TEE is isolated hardware that runs signing code the host cannot read. Coinbase says its agent wallets have programmable session caps and per-transaction ceilings, with keys kept in secure enclaves and never exposed to the agent or its LLM. Its docs also list KYT screening and OFAC checks before transfers are submitted onchain. Note the wording tension: the same docs describe a self-custody wallet controlled by the agent, while private keys stay in Coinbase infrastructure. Ask who can actually move or freeze funds.
How do spending policies work?
Good policies are layered: per-payment cap, per-session or daily cap, recipient and contract allowlists, expiry, and an audit log. In Coinbase’s MCP wallet, the owner sets a maximum per call and per session, and agents respect these limits but cannot change them. Off-chain policy engines are flexible but depend on the provider. On-chain permissions are enforced by contracts but are less mature.
What is x402, and how do stablecoin payments work?
x402 revives the HTTP 402 status. A server replies “payment required” with a price, the client pays, usually in a stablecoin, and retries. x402 defines how the request and settlement happen, but the wallet’s policy layer decides whether a payment is permitted. The Linux Foundation announced the x402 Foundation on April 2, 2026, and it became fully operational on July 14, 2026. Premier members include Coinbase, Stripe, Visa, Mastercard, Circle and Cloudflare. Volume quality is a caveat: more than half of lifetime transactions came from a two-month burst of automated token minting in late 2025. Stablecoin choice matters too; see what is a stablecoin and the GENIUS Act guide.
How do Coinbase, Stripe, Visa and Mastercard compare?
| Provider | Product | Rail | Control model |
|---|---|---|---|
| Coinbase | Agentic Wallet | USDC and x402 services | Per-session and per-transaction caps, KYT, OFAC screening |
| Stripe and Tempo | Machine Payments Protocol | Tempo mainnet and MPP launched March 18, 2026; cards, BNPL via Shared Payment Tokens, or stablecoins | Stripe-side settlement and merchant tooling |
| Visa | Intelligent Commerce | Intelligent Commerce Connect, announced April 8, 2026, lets merchants accept TAP, ACP, UCP and MPP payments | Tokenized credentials, agent verification |
| Mastercard | Agent Pay; Agent Pay for Machines | Cards to stablecoins | Authorization rules and spending limits enforced programmatically |
Sources: vendor documentation and press releases, plus the reporting cited below. Availability varies by region and partner, so check each provider.
Who is liable when an agent misspends?
No single rule covers it. Three cases differ.
Card rails (US). Under Regulations E and Z, a transfer or card use is not unauthorized if the consumer granted access, so liability turns on the scope of delegation and revocation. Visa’s rules make the cardholder responsible for actions of an agentic payment provider as if the cardholder had initiated them. For agent errors short of fraud, liability remains unresolved.
On-chain stablecoins. Transfers are final and have no network chargeback process. Recourse comes from your contract with the wallet or API provider, not from protocol rules.
Compromise. If stolen credentials or a hijacked agent cause the loss, it is closer to fraud, but proof and revocation timing matter.
What does a security checklist look like?
- Keep the raw key out of the model. Use MPC, a TEE or a smart account so the LLM never sees key material.
- Cap every layer. Set per-payment, per-session and daily limits, and fund the wallet with only what the task needs.
- Allowlist recipients and contracts. Block everything else by default.
- Expire and revoke. Use short sessions and test your revocation path before you need it.
- Assume prompt injection. In May 2026, an attacker used a Morse code prompt to push AI agents into moving 3 billion DRB tokens from a wallet on Base. Treat all fetched content as untrusted, and see wallet drainers and blind signing.
- Require human approval above a threshold, and log every decision with the prompt that triggered it.
- Read the provider terms. Know who can freeze, recover or reverse funds, and who bears losses.
What to watch next
- ERC-7715 and ERC-7710 moving past Draft. Final status would give wallets a shared permission format.
- Agent-specific dispute rules. Watch for CFPB guidance or card network rule changes on agent-initiated payments.
- Real x402 volume. Compare monthly value, not transaction counts.
- Visa and Mastercard availability. Both describe staged rollouts, so confirm what is live in your market.
Want to hear how builders think about agent payments, wallets and trust? Browse founder interviews in the Crypto Coin Show Interview & Founder Hub.
Glossary
- Smart account
- A wallet controlled by contract code, which can enforce rules such as limits and recovery.
- Session key
- A temporary key with scoped permissions, granted by the account owner and revocable.
- MPC
- Multi-party computation: signing without any one party holding the full private key.
- TEE
- Trusted execution environment: isolated hardware that runs signing code the host cannot inspect.
- x402
- An open standard that uses HTTP 402 so servers can request, and clients can make, payments over HTTP.
- Machine Payments Protocol (MPP)
- An open standard co-developed by Stripe and Tempo for agent payments over HTTP.
- Policy engine
- Software that approves or blocks a signing request against rules before signing.
- Prompt injection
- Text an agent reads as data but follows as a command.
Why it matters
Agents are being given spending power faster than liability rules are being written. The practical discipline is to separate who holds the key, who sets the limits, and who pays when something goes wrong. Neutral warning: this is education, not advice, and several standards here are still drafts.
Sources
- Coinbase Developer Docs: Agentic Wallet, checked December 5, 2026
- Coinbase Developer Docs: Agentic Wallet CLI (key isolation, KYT, OFAC), checked December 5, 2026
- Coinbase Developer Docs: Agentic Wallet MCP FAQ (spending limits), checked December 5, 2026
- x402.org: Linux Foundation announces operational launch of x402 Foundation, July 14, 2026
- Ethereum ERCs: ERC-7715, Request Permissions from Wallets (Draft), checked December 5, 2026
- arXiv 2605.08922: Toward Web 4.0, Bidirectional Trust between AI Agents and Blockchain, 2026
- Stripe Docs: Tempo and the Machine Payments Protocol, checked December 5, 2026
- CoinDesk: Tempo goes live with AI agent protocol, March 18, 2026
- Mastercard: Launches Agent Pay for Machines (news release), June 10, 2026
- The Block: Mastercard unveils Agent Pay for Machines, June 10, 2026
- C9 Group: Agentic payments, Visa, Mastercard, Stripe and risk (secondary source for Visa; no primary Visa page found in our search), November 2026
- Decrypt: What Is x402? How AI Agents Pay With Crypto, data as of November 2026
- MetaMask: Crypto Security Report, May 2026, June 2, 2026
- Forbes: Your AI agent makes a mistake, you could still be on the hook, November 25, 2026
Disclosure: This guide is for education only and is not investment, legal or tax advice. It does not recommend any product, token or wallet provider, and contains no affiliate links.
Frequently asked questions
Can an AI agent have its own crypto wallet?
Yes. An agent can run a wallet through a key it controls directly, a smart account that grants it limited permissions, or a hosted wallet where keys sit in an MPC or TEE service. The safer designs keep the raw key away from the model and enforce limits outside the model's control.
What is a session key for an AI agent?
A session key is a temporary signing key with narrow permissions, such as a spending cap, an allowed contract list and an expiry time. The main account owner grants it once and can revoke it. The limits are enforced by the smart account or the wallet service, not by the agent.
What is x402?
x402 is an open payment standard that uses the HTTP 402 Payment Required status code so a server can ask for payment and a client can pay, typically in a stablecoin, within one web request. It does not decide whether a payment is allowed. The wallet's policy layer does that.
Who is liable if an AI agent spends crypto by mistake?
There is no settled rule. On-chain transfers are final and have no chargeback process, so the loss usually stays with the account owner unless a contract or provider terms say otherwise. For card payments, US rules generally treat access you granted as authorized. Check the terms of your wallet provider and the rules of your jurisdiction.
Are AI agent wallets safe?
They can limit damage if per-payment, per-session and daily caps, allowlists and revocation are set up well, but they do not remove risk. Prompt injection, over-broad permissions and poisoned tools have already caused real losses. Keep balances small and treat the agent like an untrusted contractor.
This explainer is reviewed and updated as the rules and the market change. Last reviewed December 5, 2026. It is educational content and not financial, legal or tax advice.