Loops HouseAgentGuard

NEAR HACKATHON
Team
1 member- AKOwner
Akmal Ramadhasyifa
Overview
AgentGuard is an on-chain spending-limit guard for agent-controlled NEAR wallets. An AI agent's key is scoped so it can only call pay() on the guard vault, and the contract enforces a policy: max per-transaction amount, a daily spending cap, and an allowlist of recipient addresses. Any payment that violates the policy is rejected on-chain. In the testnet demo, an agent drain attempt (5 NEAR to an attacker address) was blocked, an over-cap payment (1 NEAR) was blocked, a direct transfer with the scoped key was blocked, and a legitimate 0.05 NEAR payment to an allowlisted service succeeded. AgentGuard lets users give AI agents real spending power without handing them the keys to the vault — the policy, not the agent, decides what can leave the wallet.