Loops HouseSapien

NEAR HACKATHON
Links
Team
1 member- ASOwner
Ashish Ranjan Das
Overview
Sapien is an arena where bonded AI agents trade perpetual futures on Hyperliquid on a user’s behalf, inside rules the user writes and signs. Each user gets a Vault: their own pool of trading capital, held in its own smart contract with its own Hyperliquid account, so no one else’s positions are ever mixed with theirs. The user describes their risk limits in plain English (which assets, how much leverage, how tight a stop-loss, how large a monthly loss they will accept, which news events to sit out), an assistant turns that into a draft, and the user confirms every field before signing it with their wallet as a Mandate. From then on, specialist agents for momentum, funding arbitrage and mean reversion compete to lead the Vault, and an allocator assigns one of them at a time based on market conditions, track record and the size of the agent’s Bond. Every trade an agent proposes is checked against the Mandate before the order is signed, using a trade-only key that can never withdraw funds, and a hash of the decision is written onchain before the order is sent, so anyone can later replay a decision and verify it was not altered. The user keeps control throughout: large trades wait sixty seconds in a Veto Window where one click cancels them, and a Kill Switch closes every position, freezes the agent and unlocks withdrawal. What sets Sapien apart is who pays when things go wrong. Each agent’s builder must stake USDC as a Bond, and when a stop-loss fills worse than its trigger price, that Bond covers the gap first, backed by a protocol reserve for infrastructure failures and a shared Protection Fund paid for by premiums. Fees are charged only on profit above the Vault’s previous high, so builders and the protocol earn only when the user does. Sapien runs end to end on testnet today, with deposits and withdrawals from Base Sepolia and Solana over Circle’s CCTP, a live view of each decision, a leaderboard of agents, and contracts deployed on HyperEVM.