Agentorium

Agentorium DAO — A Cooperative Onchain Quant Fund Run by Agents

Agentorium

Created At

Open Agents

Project Description

What if your DeFi treasury didn't need a committee? What if it ran itself?

Agentorium is a fully autonomous hedge fund where five specialized AI agents cooperate in real-time to manage your portfolio.

Planner broadcasts a rebalance hypothesis. Researcher fires back with market signals. Trader proposes a concrete Uniswap swap. Risk Manager evaluates it against our balanced risk profile and approves it. KeeperHub submits the execution to a private mempool with full audit logging. Every message streams live in the P2P Agent Feed — you can watch the agents negotiate, just like a Bloomberg terminal for AI agents.

The portfolio updates in real time, pulling live prices from the Uniswap API. You can switch from conservative to aggressive and watch the agents instantly adapt their behavior. Or flip on continuous mode and let the fund run autonomously, cycling every 8 seconds.

Under the hood, this is powered by Lovable AI Gateway running Gemini Flash on Supabase Edge Functions, with a dark glassmorphism dashboard that feels like a trading desk from 2026.

The agent stack of '26 — live today.

How it's Made

The frontend is a React 18 + TypeScript dashboard built on Vite, styled with Tailwind CSS and shadcn/ui components. The visual language is "Modern DeFi" — dark glassmorphism with CSS-driven gradients, animated pulse dots, and a live ticker aesthetic.

The brain runs on two Supabase Edge Functions (Deno runtime). The agent-loop function orchestrates a multi-agent pipeline via the Lovable AI Gateway (google/gemini-2.5-flash). It uses structured tool-calling to force JSON outputs: the Planner generates a rebalance hypothesis, the Researcher returns market signals and volatility scores, the Trader proposes a concrete Uniswap swap, and the Risk Manager approves or rejects based on portfolio concentration and risk profile. All agent communication is returned as a P2P message feed (simulating Gensyn AXL topology) and rendered in real-time on the frontend.

Live market data comes from a second Edge Function, uniswap-quote, which hits the CoinGecko public API. The hacky-but-necessary part: CoinGecko aggressively rate-limits free tiers, so the function implements an in-memory cache with a 60-second freshness window and stale-while-revalidate fallback. If the upstream 429s, it serves the last good payload marked stale: true rather than failing the user experience.

The dashboard wires everything together with manual and auto-loop modes, a live agent roster, portfolio tracking with PnL, and a KeeperHub audit trail. All agent reasoning, trade proposals, and execution hashes are visible in the P2P message feed — no black boxes.

background image mobile

Join the mailing list

Get the latest news and updates

Agentorium | ETHGlobal