Loops HouseClaw Guard: Signing Gate for AI Agents

NEAR HACKATHON
Links
Team
1 member- PAOwner
Patrick Baur
Overview
Claw Guard is a NEAR contract that sits between an AI trading agent and its keys. The agent never holds a private key: it proposes an order, the contract checks it against the owner's rules (markets, per-order and daily caps, leverage, receivers, expiry) and only then asks NEAR Chain Signatures (MPC) to sign it for Hyperliquid testnet or Base Sepolia. Blocked orders get a plain reason ("Blocked by your rule: ...") and a receipt; Claw Watch alerts the owner and can pause the guard. The agent's NEAR key is a function-call key that can only call propose_order, so a hijacked agent cannot move funds or change its rules. Live on NEAR testnet (12 on-chain receipts, chain signature verified) and on NEAR mainnet as clawguard-demo.near: deployed from the CI reproducible wasm (code hash 86K7uc2ky52RrJzxH3QhpfkZrgXHJQCoTY1UVHZzPVRB), previews return "Allowed: within your limits" and "Blocked by your rule: order is above your per-order cap", and the contract's keys are deleted so its code can no longer change.