Logo
Learn
  • Explore Course
Build
  • Explore Buildathon
  • Project Archive
Hack
Hack Coming Soon
  • Explore IRL Hackhouse
  • How to Qualify
  • Past Events

LP Guardian

Autonomous ERC-7857 agent on Robinhood Chain (Arbitrum Orbit). LP Guardian uses TEE-verified AI to diagnose LP risks & secure migrations, providing verifiable on-chain liquidity protection.

Videos

Description

LP Guardian: Verifiable Portfolio-Aware Autonomous LP Agent

LP Guardian is the first autonomous multi-agent AI system designed to manage fragmented liquidity provider (LP) positions as a unified portfolio. Built on Arbitrum Orbit (Robinhood Chain) and powered by Arbitrum Stylus (Rust), LP Guardian brings verifiable intelligence (TEE) to DeFi liquidity management.

đź”´ The Problem

Managing LP positions today is complex and inefficient:

  • Correlation Blindness: Current tools only analyze positions in isolation. Users often don't realize that 5 different pools might share the same 90%+ risk correlation to ETH.

  • The Dust Position Trap: Small positions ($50–$200) are often abandoned because gas costs to close them exceed their value, leading to capital inefficiency.

  • Analysis Paralysis: APR and IL data are available, but there is no actionable answer to the most critical question: "When and how should I rebalance?"

🟢 The Solution: 6-Agent Ecosystem

We have implemented a 6-agent autonomous system where specialized agents collaborate to protect and optimize your portfolio:

  1. Scan Agent: Aggregates LP positions across Uniswap V3/V4, Camelot, and Robinhood Chain.

  2. Correlate Agent: Computes portfolio-wide correlation matrices using Stylus (Rust) to detect hidden concentration risks.

  3. Simulate Agent: Runs swap replays and "what-if" scenarios to project risk-adjusted returns.

  4. Optimize Agent: Generates optimal rebalance proposals, including automated consolidation of dust positions.

  5. Execute Agent: Facilitates gasless, bundled execution via Permit2 once the user approves.

  6. Monitor Agent: A 24/7 watchdog that triggers autonomous re-diagnosis during high price volatility.

Cutting-Edge Tech Stack

  • Arbitrum Orbit (Robinhood Chain): Leveraged as a high-scale L3 for low-cost transactions and retail stock-token LP integration.

  • Arbitrum Stylus (Rust): Used for heavy computation (Correlation Matrices & IL Decomposition), achieving 10-100x faster execution and 30%+ gas savings compared to Solidity.

  • ERC-7857 (Verifiable Agent): Implements the latest standard for Intelligent NFTs (iNFTs) to store the Agent’s identity, memory roots, and reputation on-chain.

  • TEE (Phala Network): Ensures Verifiable AI. All diagnostic computations are performed in a Trusted Execution Environment, producing a signed report that proves the AI logic was not tampered with.

  • MCP (Model Context Protocol): Enables the Guardian to "talk" to and be called by other agents in the emerging AI Agent economy.

The Vision

Our goal is to provide institutional-grade liquidity management for 28 million retail users (via Robinhood Chain). With LP Guardian, liquidity management is no longer a manual chore—it is a smart, secure, and autonomous portfolio managed by verifiable AI.

Progress During Hackathon

<h1>Hackathon Progress: From Blueprint to Verifiable Agent</h1><p>During this hackathon, we moved from a conceptual architectural design to a functional <strong>multi-agent MVP </strong>integrated with the <strong>Arbitrum ecosystem</strong>. Below are the key milestones achieved:</p><h2>Phase 1: Architectural Foundation &amp; Interface Freeze</h2><ul><li><p><strong>Defined the 6-Agent Orchestration Flow:</strong> Established the message bus protocol for Scan, Correlate, Simulate, Optimize, Execute, and Monitor agents.</p></li><li><p><strong>Smart Contract Design: </strong>Finalized the ERC-7857 iNFT identity structure for the Guardian Agent on <strong>Robinhood Chain.</strong></p></li><li><p><strong>Tech Stack Lock: </strong>Successfully integrated <strong>Arbitrum Stylus (Rust)</strong> for the computation-heavy math layer.</p></li></ul><h2>Phase 2: Arbitrum Stylus &amp; Smart Contracts</h2><ul><li><p><strong>Stylus Implementation: </strong>Developed the initial Rust contracts for <strong>Matrix Correlation</strong> and <strong>IL Decomposition,</strong> offloading heavy math from Solidity to WASM for 30%+ gas efficiency.</p></li><li><p><strong>Permit2 Integration:</strong> Implemented the logic for gasless transaction bundling, allowing users to rebalance multiple LP positions with a single signature.</p></li></ul><h2>Phase 3: Agent Orchestration &amp; AI Reasoning</h2><ul><li><p><strong>AI Model Upgrade: </strong>Fully migrated our reasoning engine to <strong>Gemini 1.5 Flash </strong>across the entire codebase for faster and more cost-effective portfolio diagnostics.</p></li><li><p><strong>MCP Server (Model Context Protocol): </strong>Developed a functional MCP server allowing our agents to be called by external LLMs and other agents.</p></li><li><p><strong>Scan Agent Development:</strong> Built the data pipeline to fetch live LP data from <strong>Uniswap V3</strong> and <strong>Camelot</strong> subgraphs on Arbitrum.</p></li></ul><h2>Phase 4: Frontend &amp; Verifiable UX</h2><ul><li><p><strong>Dashboard Development: </strong>Built a React-based dashboard featuring a<strong> Real-time Diagnostic Stream</strong> (SSE) that shows the Agent's progress as it moves through the 6-phase pipeline.</p></li><li><p><strong>TEE Proof Integration: </strong>Integrated <strong>Phala Network TEE</strong> stubs to sign diagnostic reports, ensuring the Agent’s verdict is verifiable and tamper-proof.</p></li></ul><h2>Current Status</h2><p>✅ <strong>Main Branch Synchronized: </strong>Core infrastructure is live on the main branch.</p><p>✅ <strong>Valid Model Connectivity: </strong>Successfully connected the agentic pipeline to the Gemini API.</p><p>✅ <strong>Stylus Math Layer:</strong> Initial Rust logic for correlation is ready for testnet deployment.</p>

Tech Stack

ArbitrumStylusOrbitAIRustNextTEESolidity

Fundraising Status

<h1>Fundraising Status: Pre-Seed &amp; Bootstrapped</h1><p><strong>LP Guardian</strong> is currently in the <strong>early-stage bootstrapping phase. </strong>We have not raised any outside venture capital to date, as our primary focus has been on building a robust technical MVP and proving the concept of <strong>Verifiable AI Agents </strong>within the Arbitrum ecosystem.</p><p><strong>📍 Current Funding Stage: Bootstrapped / Pre-Seed</strong></p><h2>Our Funding Goals:</h2><p>We are currently seeking support in the following forms:</p><ol><li><p><strong>Ecosystem Grants: </strong>We are actively looking for grants from the <strong>Arbitrum Foundation</strong> and partners to accelerate the development of our <strong>Stylus (Rust)</strong> computation layer and <strong>TEE (Phala Network) </strong>integration.</p></li><li><p><strong>Strategic Partnerships:</strong> We are interested in collaborating with DeFi protocols (like Uniswap, Camelot) and AI infrastructure providers to integrate LP Guardian as a standard security layer for retail liquidity providers.</p></li><li><p><strong>Future Pre-Seed Round:</strong> Following a successful MVP launch on the <strong>Robinhood Chain (Arbitrum Orbit),</strong> we plan to open a strategic pre-seed round to scale our monitoring infrastructure and conduct security audits for our <strong>Permit2</strong> bundling contracts.</p></li></ol><h2>Use of Funds:</h2><p>Any funding or prize money received will be allocated towards:</p><ul><li><p><strong>Security Audits:</strong> Ensuring the safety of our autonomous rebalancing and bundling contracts.</p></li><li><p><strong>Infrastructure Scaling: </strong>Expanding our <strong>Monitor Agent</strong> to support hundreds of concurrent portfolios.</p></li><li><p><strong>Mainnet Deployment: </strong>Covering the initial deployment and operational costs on Arbitrum One and Robinhood Chain.</p></li></ul>

Team Leader
RRaditya Ananta
GitHub Link
github

GitHub

https://github.com/raditazar/lp-guardian.git
Product Category
DeFiAIInfraRWA