Builder-Leader The AI Exoskeleton That Crosses the Gap. The book is outBuy on Amazon

Agora Quantum: Autonomous AI Hedge Fund

9 agents debating over 8,000 securities daily

A fully autonomous trading platform where specialized AI agents with distinct investment philosophies debate positions through structured rounds. Running 24/7 on a Raspberry Pi.

8,000+
Securities Scanned
Daily coverage
9
AI Agents
Distinct investment philosophies
5
LLM Providers
Claude, Grok, Perplexity, DeepSeek, Gemini
~$50
Infrastructure Cost
Raspberry Pi hardware

The problem

Single-Model Bias

Traditional AI trading systems use one model with one perspective. But markets are complex: different strategies work in different conditions. A single viewpoint creates blind spots.

  • Single-model systems missing diverse perspectives
  • No systematic debate or challenge of positions
  • High infrastructure costs for sophisticated trading
  • Lack of transparency in AI decision-making

What I built

Multi-Agent Consensus

Nine specialized agents with distinct investment philosophies debate through three structured rounds. Trades only execute when multiple perspectives reach consensus.

  • 9 agents: 4 Analysts, 2 Researchers, 1 Trader, 1 Risk Manager, 1 Fund Manager
  • 3-round debate protocol with structured challenges
  • Black-Litterman portfolio optimization
  • Running entirely on Raspberry Pi

How it fits together

Architecture

The system uses LangGraph for agent orchestration with PostgreSQL for state and Prometheus for monitoring.

Agents
Value AnalystMomentum TraderContrarianRisk ManagerMacro Analyst
Debate
Round 1: ProposalsRound 2: ChallengesRound 3: Consensus
Execution
Alpaca APIPosition SizingRisk Limits
Infrastructure
Raspberry PiPostgreSQLPrometheusDocker

Timeline

How it went

  1. Sep 2024Trading Agents: Initial crypto bots
  2. Oct 2024Chimera: Multi-agent crypto consensus
  3. Nov 2024Agora Quantum: Full stock/bond coverage
  4. Dec 20249-agent architecture deployed
  5. Jan 20258,000+ securities daily scanning

What it taught me

Lessons

  1. Multi-agent debate surfaces insights single models miss
  2. Structured consensus prevents overconfident positions
  3. Sophisticated AI doesn't require expensive infrastructure
  4. Transparency through debate logs builds trust in autonomous systems

Stack

FastAPILangGraphAlpacaPostgreSQLDocker

Connected work

What it touches