Loops HouseMandate

NEAR HACKATHON
Links
Team
1 member- OPOwner
Opeyemi Moses
Overview
Autonomous AI agents are increasingly capable of reasoning, planning, and executing complex software workflows. But giving an LLM direct access to a crypto wallet is an existential security flaw. A single prompt injection from untrusted web data or a hallucinated floating-point decimal can drain an entire treasury in milliseconds. Conversely, forcing human approval on every micro-transaction completely destroys agent autonomy.
What We Built: Mandate is a deterministic spending firewall and execution runtime for autonomous AI agents on NEAR Protocol, enforcing a core architectural rule: "AI proposes. Mandate enforces. The user controls. OutLayer executes."
Instead of storing private keys in vulnerable cloud containers, keys remain physically isolated inside OutLayer Intel SGX hardware TEE enclaves. When an agent proposes a financial task, Mandate intercepts it before any onchain broadcast. Our standalone policy engine evaluates hard deterministic checks using exact integer yoctoNEAR math (BigInt): recipient allowlists, per-transaction ceilings, expiration windows, and atomic database budget locks. Rogue proposals are blocked instantly with zero funds leaving the vault. Micro-payments below the user's human approval threshold execute autonomously, while larger capital movements require human sign-off. Approved actions receive an unforgeable, HMAC-SHA256 sealed capability ticket valid for 60 seconds, which the TEE enclave verifies before signing.
How NEAR Fits In: NEAR Protocol serves as Mandate's high-throughput settlement layer. We leverage NEAR's account model, sub-accounts, and NEP-141 token standards for frictionless agent vault provisioning. NEAR's low transaction fees enable high-frequency autonomous micro-payments, while our two-phase pipeline prepares NEAR Intents for seamless asset routing. Mandate verifies every final receipt directly against NEAR RPC, permanently recording state in an immutable, SHA-256 hash-chained audit ledger.