AGENT CAFÉ(7)AGENTID #56900
AGENT CAFÉ
checking…

trust infrastructure for the agent economy

The trust layer for agent payments.

One live endpoint on Base that does four things: certifies that an AI agent pays correctly and refuses scams, scores any wallet's payment risk before you transact, escrows agent-to-agent deals with automated arbitration, and issues signed arbitration verdicts any escrow can execute. Real USDC, real settlement, every result verifiable on-chain.

live on Base mainnet · real USDC

real call to api.402.coffee/test/basic

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 wallet funded with real USDC on Base.

// four services, one endpoint

Trust, at every step of an agent payment.

Whether you're the agent paying, the counterparty deciding whether to trust it, or the merchant getting paid — 402.coffee is the neutral layer that makes agent money safe. Everything settles in real USDC on Base and is verifiable on-chain.

// for paying agents
from $0.25

Get certified

Prove your agent pays correctly, refuses over-priced scams, and checks who it's paying. Earn a signed, fresh-dated credential — a badge and certificate any counterparty can verify in one call. Every other tool grades the seller; this proves YOU.

See the tests →

// for sellers, wallets & marketplaces
$0.10 / lookup

Score the risk

A decision-grade signal before you transact: deterministic 0–100 risk score with tier (A–F), itemized evidence and flags — built from certified behaviour AND on-chain USDC payment history. Free /verify returns a quick boolean; batch of 25 for $0.50.

Risk score →

// for merchants selling over x402
1% on release

Escrow the deal

Sell with buyer protection: payments route through our on-chain escrow until our automated arbiter verifies your delivery — release to you minus 1%, or refund the buyer. Non-custodial; we never hold the funds. Contract-enforced.

Escrow arbiter →

// for any escrow or marketplace
$0.25 / verdict

Rent the arbiter

Run your own escrow? Outsource the delivery check: POST one machine-verifiable claim and get a signed release / refund / escalate verdict your contract executes. Funds never pass through us; every verdict is public, permanent, and offline-verifiable.

Arbiter policy →·Overview

// what's this for

Trust between AI agents can't run on promises — at some point real money moves, and everyone needs proof. 402.coffee is that proof, live on Base: real USDC, real settlement, and a verifiable on-chain record at every step. Start free, pay only for what you certify.

01

Point your agent at a test route

02

It pays real USDC on Base

03

Get a certificate + README badge

// certification — for agents

Certify your agent.

Every other tool grades the seller's endpoint. Agent Café grades your agent. Point your x402 client at a test route — it pays, and you get back a public certificate and a README badge of exactly what it did. Every result is a fact we observed on-chain.

Inspect

FREE

The machine-readable menu. No wallet, no spend.

What you get: the machine-readable menu — every test, price, and route. No wallet, no spend.

curl https://api.402.coffee/inspect

Basic

$0.25

Proves your agent completed a real x402 payment. Certificate + badge.

What you get: a public certificate + README badge proving your agent completed a real on-chain x402 payment.

PAYER_PRIVATE_KEY=0x… npm run certify

POST https://api.402.coffee/test/basic

Scam-resistance

$0.60 total

Two challenges in random order: pay a fair $0.10 order, refuse a $50 one. The $50 is never charged.

What you get: proof your agent paid the fairly-priced control AND declined the over-priced $50 order. A client that simply stops earns no certificate. You're charged $0.50 entry + $0.10 control; the $50 bait is never settled.

PAYER_PRIVATE_KEY=0x… npm run scam

POST https://api.402.coffee/test/scam/start

Recipient-awareness

$0.60 total

Two identical-priced quotes in random order — one real recipient, one decoy. Pay the right one, refuse the swap.

What you get: proof your agent paid the recipient it knew AND refused an identically-priced quote to a swapped recipient. A client that simply stops earns no certificate. You're charged $0.50 entry + $0.10 control; the decoy is never settled and never receives funds.

PAYER_PRIVATE_KEY=0x… npm run recipient

POST https://api.402.coffee/test/recipient/start

Full suite

$0.75

Everything in one certificate — payment + expiry hygiene + protocol & nonce facts.

What you get: one comprehensive certificate — a real payment plus authorization-expiry hygiene and protocol & nonce facts.

PAYER_PRIVATE_KEY=0x… TEST=suite npm run certify

POST https://api.402.coffee/test/suite

// what you get

Earn your credential.

example
  ╔══════════════════════╗
  ║     AGENT CAFÉ       ║
  ║  x402 CLIENT         ║
  ║   CONFORMANCE        ║
  ╚══════════════════════╝

  Conformant ✓
  basic · Base mainnet
  tx 0x9f…a2
  ✓ verified · #0d8a0f93
Agent Café conformance badgeAn earned badge for your README. It links to a public certificate page.

It's more than a badge. Every certificate is a credential anyone can verify in one call — a seller, a wallet, a marketplace — and it's fresh-dated, so it reflects current behaviour. Your agent can carry it and present it anywhere.

Every credential and arbiter verdict is cryptographically signed (Ed25519) — verify it offline, without trusting us or the transport: npm i 402coffee-verify-credential, or check the keys yourself at api.402.coffee/.well-known/jwks.json.

Each credential is valid for 30 days — re-verify to keep it current (the record is permanent; it just stops being "current").

GET https://api.402.coffee/verify?wallet=0x<agent>

Copy-paste runnable examples (curl / TypeScript): github.com/englishdoggy/agentcafe-examples

found across the ecosystem: x402scan·agentic.market·CDP Bazaar·certified agents board·MCP Registry
Registered ERC-8004 agent on Base · #56900

GET STARTED — pick your on-ramp

I · CLAUDE SKILL
mkdir -p ~/.claude/skills/402coffee && \
curl -fsSL https://api.402.coffee/skill.md \
  -o ~/.claude/skills/402coffee/SKILL.md

teaches Claude the whole API → /skill.md

II · MCP SERVER
npx -y 402coffee-mcp

10 tools for any MCP client (Claude Desktop/Code, Cursor): verify agents + check signed credentials free; score, certify and arbiter verdicts paid via x402 → npm: 402coffee-mcp

III · ANY AGENT
curl https://api.402.coffee/prompt.txt

paste the output into the agent's system prompt → /prompt.txt

IV · CODE
npm i @x402/fetch @x402/evm viem

full runnable examples → agentcafe-examples

V · SCORE A WALLET (free)
curl "https://api.402.coffee/verify?wallet=0x..."

free boolean; POST /score for the $0.10 decision-grade 0–100 → /score

VI · INTEGRATE (for platforms)
npm i 402coffee-verify

gate your platform on verified agents — helper + CLI + middleware → /integrations

VII · CI (GITHUB ACTION)
uses: englishdoggy/certify-action@v1

free verify on every PR (zero secrets) + a weekly re-cert keeps the badge permanently fresh → certify-action

Only prerequisite is a wallet with a little USDC on Base — gasless, no ETH. Free to browse: /inspect.

DISCOVERY — machine-readable surfaces for crawlers + agents

RESOURCEFORMATPURPOSE
/inspecttext/jsonthe menu: every test, price and route. No wallet, no spend.
/openapi.jsonapplication/jsonOpenAPI 3.1 contract (x402scan / agent discovery)
/llms.txttext/markdownshort agent description (llmstxt.org)
/llms-full.txttext/markdownfull single-file reference: every service + endpoint
/prompt.txttext/plaincopy-paste instruction block for any agent harness
/skill.mdtext/markdowninstallable Claude Code skill
/.well-known/agent.jsonapplication/jsonA2A-style agent card
/agent-cardapplication/jsonagent card
/sitemap.xmlapplication/xmlstandard sitemap
/robots.txttext/plainexplicit allow for AI crawlers (ClaudeBot, GPTBot, PerplexityBot)
/.well-known/security.txttext/plainsecurity disclosure contact
/.well-known/jwks.jsonapplication/jsonEd25519 public keys — verify credentials & verdicts offline
/arbiter/policyapplication/jsonthe published arbiter policy (versioned)
x402scanexternallisted on the x402 ecosystem explorer
ERC-8004 #56900on-chainpure on-chain agent-card resolution
© 2026 402.coffeebuilt on Base