Agents fix prod, pay over x402 on Hedera, and can't spend a cent past their ENS limits. That's it.
Leash solves a massive problem with AI agents: how to let them spend money without letting them empty your wallet. Right now, if an agent needs to pay for a server or an API, you hand over a private key, and it has unlimited access.
With Leash, every AI agent gets an ENS name with strict, on-chain spending rules. You can definitively state: “This agent has $5, can only buy AI services, and expires in 30 days.”
How It Works:
What Agents Can Actually Do:
Every single action is logged publicly on Hedera. It's built on ENSv2 (using Ethereum Sepolia) for permissions, proving agents can be useful and financially constrained.
Leash is an AI agent framework built on a simple split: the rules live on ENS (Sepolia), and the money moves on Hedera.
The Rules: Every agent gets an ENSv2 subname. We store their limits—like budgets and allowed services—as simple text records. Because of how ENSv2 works, revoking a parent name instantly shuts down all its child agents. We even restricted transfers so agents can't go rogue and sell their names.
The Money: Our Rust backend uses the x402 protocol to settle micro-transactions in USDC on Hedera. Hedera’s tiny fees make paying a fraction of a cent per AI request actually viable. Before any money moves, a policy engine verifies the agent's ENS rules, and it only pays for successful LLM responses.
Look, Ma, No Database: We ditched traditional databases entirely. Instead, Hedera Consensus Service (HCS) acts as our audit log, service directory, and cross-provider spending ledger.
What it does: Agents can rent Docker containers by the minute or fix broken apps. In our "autopilot" setup, three agents team up: one monitors the system, one pays an LLM (like Llama or Qwen) to diagnose issues, and the third pays to execute a fix from a strict, pre-approved menu.
The Setup: Our React frontend reads directly from Sepolia and Hedera mirror nodes, so it works even if our own backend goes down.
The Coolest Hack: If you revoke an agent's name on Sepolia, our cleanup loop catches it and literally kills that agent's Docker containers on a completely different server within 20 seconds. It’s real-time, cross-chain mandate enforcement.

