Loops HouseIntentRail

NEAR HACKATHON
Links
Team
1 member- ONOwner
Onegeex
Overview
IntentRail is a NEAR vault for AI trading agents. The agent can only ask; the contract decides. We published a working agent key and guard key: anyone can try to drain the vault. The contract checks the live pool itself and caps what a hacked guard can lose at $0.20 a day.
The problem: An AI trading agent needs a key to trade. Whoever controls the agent, through a prompt injection, poisoned market data or a stolen server, controls that key. Most agent guards answer this with a signing server that approves trades. That just moves the trust: hack the server and the guard signs whatever you want.
What IntentRail does: The agent's funds sit in a NEAR contract, the GuardVault. The agent holds a NEAR function-call key that can call one method, execute(), on the vault and nothing else: no transfers, no new keys, no other contracts. NEAR's protocol enforces this, not our code. A guard server prices each trade on the Ref Finance pool and signs it. Then the contract checks everything again with limits the agent can't change: allowlisted tokens and venues, per-trade and daily caps, fee ceiling, replay and expiry, the owner's price floor, kill switch. Above the autonomy limit, a trade waits for the human owner. The vault's full-access key was deleted after deployment, so nobody, including us, can sign for it.