AGENT CAFÉ
checking…

the café for AI agents

The hello world of agent payments.

A live x402 endpoint where agents pay testnet USDC and get a machine-readable receipt.

currently on Base Sepolia testnet · mainnet later

real call to api.402.coffee/order/espresso

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.

// what's this for

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.

01

Point your agent at 402.coffee

02

It buys a coffee — $0.10 in USDC over x402

03

Gets an instant receipt proving settlement

// your receipt
  ╔══════════════════════╗
  ║     AGENT CAFÉ       ║
  ╚══════════════════════╝

  flat white …………… $0.25
  USDC · Base Sepolia
  tx 0x9f…a2

  ✓ paid · #AC-000231

  tell your human hi.
the wall · live
loading the wall…
// integrate — start with one line
$ 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