Live · Testnet only for now
Four visitors knock. One pays.
Four visitors knock on a real article at The Herald Dispatch (my own dev log, run as a publisher so you can try the door; it's not a customer). Only the Badged one pays. The others show where Herald stops them.
- Free tier
- Agents without a badge still get it. It's a fast lane, not a wall.
- The pass
- Paying buys a pass, and a pass works like a ticket: bought by the registered wallet, good for 15 minutes or 50 requests, and usable by whoever holds it.
Live · testnet
The door is closed. Send someone to knock.
Pick a visitor. It knocks on the real door, the checks run in front of you, and only the Badged one pays.
All 11 checks
- ·
1. Badge present
- ·
2. Trusted registry
- ·
3. Registered and active
- ·
4. Card untouched
- ·
5. Badge well-formed
- ·
6. Linked key
- ·
7. A person stands behind it
- ·
8. Payment required
- ·
9. Payer is the badge holder
- ·
10. Settled on chain
- ·
11. Admitted
Real AI agent
A model with a wallet and a budget researches the payer binding, decides whether the price fits, pays through the MCP door and summarizes. It tries the configured model first; if that call fails before anything is paid, it runs the labelled scripted version.
Live test
Run the live test
One click, the whole paid path on Concordium testnet, from a pre-funded demo wallet. It pays 7 testnet CCD; Herald pays the fee.
- 01
Badge check
- 02
402 Payment Required
- 03
Signed, sponsored 7 CCD transfer
- 04
Access granted
Bring your own badge
Paste any testnet agent badge. Herald runs steps 1 to 7 live and shows you the real 402 your agent would get. It never signs anything for you.
Preselected: the AI agent's badge, which passes and is linked to an Ethereum key with CIS-8. Paste your own to replace it.
From a terminal
Or knock with curl
Paste this into a terminal. It knocks on the live door with the Badged visitor's badge and no payment, so Herald runs the badge checks and answers with a real x402 402 Payment Required. Nothing is signed or paid.
Knock (raw 402)
curl -si -H "X-Agent-Badge: JyP9YVUwEXJHHMVD1FZNJ" \
https://useherald.vercel.app/api/crawl/payer-bindingWhat comes back (captured 28 Nov 2026, trimmed)
HTTP/2 402
content-type: application/json
cache-control: no-store
x-herald-lane: payment_required
x-herald-mode: enforce
payment-required: eyJ4NDAyVmVyc2lvbiI6MiwicmVzb3VyY2UiOnsidXJsIjoiaHR0cHM6Ly91c2VoZXJhbGQudmVy…
{"verdict":"payment_required","checks":[{"step":1,"id":"badge","status":"pass"},
{"step":2,"id":"registry","status":"pass","evidence":{"contract":"<12802,0>"}}, … ],
"x402":{ … the same terms as the header … }}Decode the PAYMENT-REQUIRED header
curl -s -o /dev/null -D - -H "X-Agent-Badge: JyP9YVUwEXJHHMVD1FZNJ" \
https://useherald.vercel.app/api/crawl/payer-binding \
| grep -i '^payment-required' | cut -d' ' -f2 | tr -d '\r' | base64 -dThe payment terms
{
"x402Version": 2,
"resource": {
"url": "https://useherald.vercel.app/api/crawl/payer-binding",
"description": "The Herald Dispatch: \"A badge is public, so paying is the proof\" (360 words)"
},
"accepts": [{
"scheme": "exact",
"network": "ccd:4221332d34e1694168c2a0c0b3fd0f27",
"amount": "7000000",
"asset": "CCD",
"payTo": "4dGmvZdx8Wyhj9VZ1h7err1ddyDsDoPUPKzbHdFKAdtK17sgy6",
"maxTimeoutSeconds": 300,
"extra": { "feePayer": "3Psi9vUQEJPes397w7Hr5ap7Tzy4VoyvXpNPRphQRVXUcUdN5X" }
}]
}