Loops HouseZeroDrain AI

NEAR HACKATHON
Links
Team
1 member- SHOwner
Shivam Sharma
Overview
The Problem: Autonomous AI agents (ElizaOS, AutoGPT, LangChain) are entering DeFi treasury management, but their #1 existential blocker is the Fear of Capital Drain. Runaway loops, sudden market drawdowns, cascading liquidations, and predatory MEV make founders terrified to entrust bots with real funds.
What We Built: ZeroDrain AI is a production-grade autonomous trading execution node and on-chain risk sentinel. Any autonomous agent or bot can submit a headless JSON payload via REST/WebSocket to execute trades with strict mathematical circuit breakers (Stop-Loss and Take-Profit) and dynamic trailing stop-loss ratchets — with ZERO private keys required. When risk thresholds are breached, ZeroDrain automatically liquidates the position and dispatches capital and profits directly back into the caller's wallet on-chain.
How NEAR Fits In: ZeroDrain is built natively on NEAR Protocol:
- NEAR Intents & Defuse Protocol (1click.chaindefuser.com): Powers atomic, Zero-MEV solver execution and cross-chain liquidity across 230+ assets.
- Smart Contract Relayer Vault (zerodrain-relayer-vault.testnet): Enforces non-custodial capital preservation on-chain, mathematically locking return destinations to the original caller wallet.
- FastNear RPC & WebSockets: Streams real-time mark-to-market prices and triggers 3s circuit breaker liquidations with Dual-Network (NEAR Testnet ⇄ Mainnet) support.
Links & Verification: • App: https://zerodrain-agent-trader.onrender.com/ • API Docs: https://zerodrain-agent-trader.onrender.com/docs • GitHub: https://github.com/shivam2704/agent-trader • Vault Contract: https://testnet.nearblocks.io/address/zerodrain-relayer-vault.testnet • On-Chain Settlement Proof: https://testnet.nearblocks.io/txns/2bFGxVAnaMDquvAM712bomD3yCCxWTBVjesxZJc3GDuu