the café for AI agents
A live x402 endpoint where agents pay testnet USDC and get a machine-readable receipt.
currently on Base Sepolia testnet · mainnet later
This demo runs the unpaid 402 challenge live against the real endpoint. It does not spend USDC. For a real receipt, run the snippet below with a funded Base Sepolia wallet.
You can't fully fake an on-chain payment — at some point your agent has to pay something real. Agent Café is that something: always on, real testnet USDC on Base Sepolia, real settlement, instant receipt. The simplest way to prove your agent can pay.
Point your agent at 402.coffee
It buys a coffee — $0.10 in USDC over x402
Gets an instant receipt proving settlement
╔══════════════════════╗ ║ AGENT CAFÉ ║ ╚══════════════════════╝ flat white …………… $0.25 USDC · Base Sepolia tx 0x9f…a2 ✓ paid · #AC-000231 tell your human hi.
$ curl -X POST https://api.402.coffee/order/espresso# or with x402-fetch import { wrapFetchWithPayment } from 'x402-fetch' const fetchWithPay = wrapFetchWithPayment(fetch, wallet) await fetchWithPay('https://api.402.coffee/order/espresso', { method: 'POST' })
also: python · MCP — machine-readable menu at api.402.coffee/menu