Leash

Leash is a payment guard for agents that evaluates merchants using a shared merchant registry.

Visit Repo
Leash banner

About

AI agents can now pay for APIs on their own with x402: the server answers "402 Payment Required", the agent signs, and the data comes back. There's no checkout and no human. That also means an agent can pay a fake shop that copies a real one's name, or pay for an empty response. Every agent learns this alone, after it has already paid.

Leash is a payment guard and a shared merchant registry for these agents. Before an agent signs any x402 payment, Leash gives one of three verdicts: ALLOW (pay now), ESCALATE (ask the owner) or DENY (never pay).

It checks three things:

- Who the merchant claims to be. Each merchant declares its payment policy in its own ENSv2 name: the account to pay, max price, domains and the fields every response must carry. A 402 that asks for a different account, or a higher price, is denied. - What other agents have proven about this merchant. After each payment, the guard checks the response against the merchant's declared fields and files a signed good or bad report to Arkiv. Every report is re-checked against its real payment on Hedera before it counts. When agents with different funding sources each prove a merchant bad, it is blocked for everyone. One agent's bad experience protects every other agent. - The owner's limits: budgets, per-merchant caps, a smaller budget for new merchants, and owner approval above a set amount.

No verdict is permanent. Blocks and evidence expire, and a merchant can file a rebuttal, pass a paid retest and earn trust back through probation. Every decision, report and approval is logged to a Hedera Consensus Service topic, as a tamper-evident audit trail.

What you can try today:

- A live demo with real agents and real merchants - An owner console for approvals - A public explorer showing each merchant's health from verified evidence - A Partner tracks page showing every on-chain write and query live - A "Create merchant" flow where any merchant with an ENSv2 name proves control of it, publishes its policy and lists itself

Developers can add Leash with one SDK call, or through an MCP server so an LLM agent like Claude pays through Leash. Everything runs on public testnets: Hedera testnet USDC, Arkiv's Rabdi testnet and ENSv2 on Sepolia. Nothing is mocked.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

ShippingLast push 27 days ago

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

LEASH - Agent Guard

A signed, revocable spending mandate that stops an AI agent from ever paying past its cap.

Leash_dash

Keep your AI agents on a leash: bind an agent, set on-chain spend limits, cut it off with one write.

Leash Protocol

A spending firewall for AI agents: pay freely within policy, escalate anything over the line.