Loops HouseAgent Guard

NEAR HACKATHON
Links
Team
1 member- ZHOwner
Zhihao Ju
Overview
Giving an AI agent a private key means a prompt injection or bug can spend everything it controls. Agent Guard is a NEAR smart contract that holds an agent's funds and only lets it spend inside rules the human owner sets, enforced on-chain: allowlisted receivers, per-receiver allowed methods, per-transaction and daily limits, a gas cap, and an owner kill switch. Denied attempts don't revert; they return a reason and emit NEP-297 events, so every attempt is auditable. NEAR makes it a real sandbox: the guard account is created, funded, deployed and initialised in one transaction with no access keys, and the agent only holds a function-call key that NEAR itself limits to agent_transfer/agent_call. Includes a TypeScript SDK/CLI, an example agent, sandbox tests and a live testnet deployment.