Loops HouseAllowance (NEAR AI agent wallet)

NEAR HACKATHON
Links
Team
1 member- SAOwner
Sasindu Nimsara
Overview
Allowance gives an AI agent a budget it can't break. The agent earns and spends money on NEAR, but only inside rules a human wrote, and those rules are enforced by a NEAR smart contract, not by the app. So even a fooled agent, a prompt injection, or a modified server cannot pay what the rules forbid.
How it works: the owner sets limits (budget per day, most per payment, an approval line, allowed and blocked payees, a payments-per-hour speed limit). Every payment the agent requests goes through the contract. Small payments to allowed vendors are paid, large ones are held until the owner approves them in their own wallet, and anything to a blocked or unknown address is refused. A separate guardian account acts as a circuit breaker: if a payment triggered by an untrusted message is blocked, the guardian pauses the agent automatically, and only the owner can resume it. The owner signs approvals, pauses, resumes and rule changes in a real NEAR wallet (Meteor); the server verifies each transaction on the NEAR RPC before updating the dashboard, and no private key ever touches the app.
What is real: a v2 contract on NEAR testnet (sasindudev-allowance2.testnet) with six linked transactions in the README (deploy, paid, blocked, guardian pause, owner approval, owner resume); a real LLM agent (GLM-5.1 via NEAR AI Cloud) that is attacked with injection messages in the demo; NEAR Intents dry-run quotes; 90 automated tests.
Tracks: AI Security & Defense (on-chain guardrails, injection-proof spending, circuit breaker), Autonomous Business (an agent that sells reports and buys data and compute within a budget), Agent Economy (agents hiring agents under per-payment and per-recipient limits).
Honest limits: testnet only, no real funds. The public demo runs in simulated mode so visitors cannot use up the on-chain budget; the live on-chain run is documented with transaction links.
Live demo (simulated mode): https://allowance-khm3.onrender.com