← Where's David?

AWS re:Invent 2026 · COM312 · x402 + AgentCore payments

Have your agent book me.

My session is about giving AI agents a wallet, so I put my calendar behind x402. 15 minutes cost 0.15 test USDC. Pick a venue and I'll try to get there; if I can't, we meet where I already am. It all runs on Base Sepolia: the money is pretend, the meeting is real.

New to x402? How it works in 30 seconds.

Checking where I am…

Practice

0.01test USDC

A Vegas fortune cookie

Try your wallet on something cheap first, up to 3 times. Your first name lands on the receipts wall with a Basescan link.

No install · Base Sepolia testnet

Pay a 402 from your phone

Your browser makes a test wallet, my server tops it up with free test USDC, and you pay the same way an agent does. The terminal shows every request and the signature.

01Your test wallet

A throwaway wallet that lives in this browser. It only ever holds test USDC, which is worth nothing.

02Practice: a Vegas fortune

0.01 test USDC each, up to 3 per wallet. The fortune comes with your name, and so does the receipt on the wall.

x402 · live log
// Every request you make here shows up in this log.
// "Peek at a 402" asks for the fortune without paying, so you can see the terms.
  1. Ask for the resourceA plain request, no payment attached.
  2. Server answers 402 Payment RequiredThe PAYMENT-REQUIRED header carries price, network, token, and wallet as base64 JSON.
  3. A wallet signsthis pageAgentCoreHere your browser signs an EIP-3009 USDC authorization. An agent does the same through AgentCore payments, which also enforces a session budget, so the agent never touches a key.
  4. Retry with the proofSame request, plus a PAYMENT-SIGNATURE header.
  5. Coinbase settles, server answers 200The CDP facilitator verifies the signature and settles on Base Sepolia, usually in about a second. The response carries a PAYMENT-RESPONSE with the transaction hash.

Book me · the hard way · real testnet money

Book me with a naive agent

Your agent books the meeting with the test wallet above. It takes six steps, and five of them are traps. Just want to learn? Pick the practice run: same traps, real x402 payments, no meeting with me. Every loss is a real testnet transaction. After each one, replay it with AgentCore payments and see what changes.

Live

Receipts wall

The last 6 payments

0Paid meetings
0Fortunes

Loading receipts…

Have your own agent? A prompt that gets your coding agent to pay a 402, a 10-minute AgentCore payments tutorial, the MCP server, and the API.

For your agent →