Loops HouseAgentLeash

NEAR HACKATHON
Links
Team
1 member- MUOwner
Muhammad Rayhan
Overview
AI agents that can pay need wallets, but a normal wallet key lets a compromised or prompt-injected agent send everything anywhere instantly. AgentLeash is a policy-guarded wallet for AI agents on NEAR (testnet). Three layers bound the damage: (1) an off-chain policy engine screens every proposed payment — per-transaction cap 0.5 NEAR, daily cap, recipient allowlist, scam-lookalike detection — and a rejection means no transaction is ever created; (2) a Rust PaymentVault contract pays out of a capped float and enforces its own hard per-payment cap plus an owner pause switch; (3) the agent only holds a NEAR function-call access key scoped to one method (pay) on one contract (the vault) with a small gas-only allowance — it cannot transfer funds, call other contracts, or attach deposits. Proven live on testnet: an allowed payment succeeds, wrong-contract and forbidden-method calls are rejected by the protocol itself, a micro-allowance key runs dry, and the vault cap rejects an over-limit payment. Fully reproducible from the README (do X, see Y steps). Sibling NEAR HACKATHON entry by the same builder: RitualCoin (memecoins track).