AgentLeash solves the "runaway agent" problem — AI agents with unlimited wallet access can drain funds in seconds. We give you granular, time-limited spending controls using ERC-7715 permissions.
Your AI agents are spending your money. You should be able to control that.
AgentLeash prevents runaway AI agents from draining your wallet. Instead of giving agents full custody of funds, you give them limited permission to spend from your wallet only within rules you approve. Limits can be amount based time based and purpose based.
The agent never holds your funds.
What problem this solves
Many AI agents today use hot wallets. Once funded they can spend everything instantly if something goes wrong. Bugs bad prompts or malicious logic can wipe a wallet in seconds.
AgentLeash replaces custody with permission.
How it works in simple terms
Unsafe setup
You send funds to an agent wallet
The agent can spend freely
Risk is unlimited
AgentLeash setup
You grant a spending permission from your wallet
The agent signs transactions
Your wallet pays only if the transaction matches your rules
Risk is capped and controllable
Key idea
Funds always stay in your wallet
The agent only has permission not ownership
Your wallet holds all funds
You grant an ERC 7715 permission
The agent wallet can sign transactions but has zero balance
Transactions execute only if they match the permission
All activity is indexed in real time for monitoring
Tech stack overview
Frontend uses React TypeScript and Vite
Wallet connection via RainbowKit and Wagmi
Permissions via ERC 7715 and ERC 7710
Indexer uses Envio HyperIndex
Runs on Sepolia and Base Sepolia testnets
Smart contracts written in Solidity using Foundry
Important notes
Only works with MetaMask Flask for now
Testnet only at the moment
Agents can never drain your wallet beyond the limits you set
What AgentLeash means
Limiting Expenditure for Autonomous Spending Hierarchies
In short
AI agents should act like employees with spending limits not like gods with your private keys