Agent Coffee Shop
A coffee bean storefront. AI agents can browse the catalog, purchase beans via MPP, and track orders.
https://coffee.agent-auth.ai/api/auth
1.0-draft
Ed25519
6/28/2026
shop.listList all available coffee products with prices, origins, and roast levels
shop.detailsGet full details of a specific coffee product by slug
shop.buyBuy a product using MPP (Machine Payments Protocol). Step 1: Call with just 'slug' — returns a payment challenge and a paymentProvider with a discovery URL. Step 2: Discover the payment provider at the given URL, use its 'pay' capability with the challenge to get a credential. Step 3: Call again with 'slug' and 'credential' to complete the purchase.
shop.orderComplete a purchase using a Stripe PaymentIntent ID from Agent Pay. First pay via Agent Pay, then call this with the slug and paymentReference to place the order.
shop.ordersList orders placed by this agent, including tracking and delivery status
Discovery
curl https://coffee.agent-auth.ai/.well-known/agent-configurationRegister an Agent
curl -X POST https://coffee.agent-auth.aihttps://coffee.agent-auth.ai/api/auth/agent/register \
-H "Content-Type: application/json" \
-d '{
"name": "my-agent",
"public_key": "<your-ed25519-public-key>",
"mode": "autonomous"
}'