Loops HouseGetLeash

NEAR HACKATHON
Team
1 member- SAOwner
Samuel Onanike
Overview
GetLeash is an AI agent that pays a business's suppliers under on-chain rules it cannot break. Live on NEAR mainnet: getleash.xyz and @GetLeash_bot.
Problem: small businesses pay supplier invoices by hand, and invoice fraud (fake invoices, swapped wallet details) is common. An AI agent with a wallet would be fast, but one prompt injection away from paying a scammer.
How it works: the owner forwards an invoice to the Telegram bot. The agent reads it and proposes the payment to the business's own NEAR contract, which decides. Small payments to known suppliers go out at once in USDC. Anything above the owner's limits, to a changed address or past the day's budget waits for one tap in the owner's wallet.
Tracks:
- AI Security & Defense: the contract has no access keys. The agent's function-call key can only call propose, and an invoice never names who gets paid, so a prompt injection is refused on-chain.
- Autonomous Business: an accounts-payable agent runs the payments; the owner only sets the limits and approves the exceptions.
- Real-World Money: stablecoin supplier payouts from a chat the business already uses. Setup takes minutes and about 1.43 NEAR, with no developer.
- Privacy & Private AI: invoices are read in a TEE on NEAR AI Cloud, each response's Intel TDX and NVIDIA attestation is verified, and files are encrypted per business. No invoice text goes on-chain: only a supplier id, the amount, a keyed HMAC and an enum flag.
- Agent Economy: the agent has its own NEAR account and spends in USDC, or through NEAR Intents for USDT on Tron, inside budgets only the owner's wallet can change.
- Open Innovation: a policy-bound wallet for AI that anyone sets up from a chat: one wallet call to our keyless factory (getleash.near) installs a hash-checked release.
Tests: 47 Rust (property tests over the whole contract), 38 on a local NEAR node, 169 TypeScript, and an offline demo of 14 invoices, attacks included.
Demo video: https://youtu.be/FJgs8wseBbk