Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
HQ - DeFi Dashboard Roadmap
Last updated: February 2026
Vision
HQ is the world's first spatial DeFi intelligence platform - combining a 3D globe, real-time market data, and AI-powered analysis into a command center for DeFi power users. It runs standalone or embedded in a host page, and provides the visual intelligence layer for AI agent-driven DeFi workflows.
Completed ✅
DeFi Market Data
- Crypto prices (BTC/ETH/SOL + 20 tokens) via CoinGecko
- DeFi yields browser (DeFiLlama)
- Chain TVL rankings
- DEX volume tracking
- DEX trending tokens
- Funding rates (Binance + Hyperliquid)
- Open interest tracking
- Long/short ratios
- Liquidation monitoring
- Gas tracker (7 chains: ETH, ARB, Base, OP, Polygon, BSC, AVAX)
- Exchange flow heuristic
- BTC ETF flow tracking
- Stablecoin market health
- Fear & Greed index
- Top protocols by TVL
- Protocol revenue/fees
- DeFi global stats
- Token trending topics (NLP extraction from 30 RSS feeds)
- $THREE signal panel (three.ws API)
Analytics & Intelligence
- DeFi Scanner (multi-signal opportunity detection)
- Social sentiment analysis
- Market movers (top gainers/losers)
- Morning briefing (AI-generated daily summary)
- Category breakdown (DEX, lending, derivatives, etc.)
- Wallet tracker (read-only, multi-chain)
- Compare Protocols tool
- Price alerts (client-side)
- TradingView chart integration
- Hack/exploit alerts
Infrastructure
- Host page iframe bridge (postMessage)
- Dashboard templates (7 built-in presets)
- Custom template save/load
- Variant system (full vs tech)
- PWA + offline support
- Tauri desktop app
- 27+ 3D globe layers (legacy geopolitical)
In Progress 🚧
DeFi Globe Layers (Q1 2025)
Transform the 3D globe into DeFi's only spatial intelligence platform:
- Validator/node geographic distribution layer
- TVL heatmap by region (protocol HQ-based)
- Exchange & regulatory map layer
- Cross-chain bridge flow arcs
- Whale activity pulse layer
On-Chain Data Integration (Q1 2025)
Move from aggregator-only to direct protocol data:
- The Graph subgraph integration (Uniswap, Aave, Compound)
- Lending rate comparison panel (cross-protocol)
- On-chain activity metrics (daily active addresses, tx count by chain)
Real-Time Data (Q1 2025)
- WebSocket real-time price feeds (Binance streams)
- Live price flash animations
- Connection status indicator
Planned 📋
Q2 2025 - Advanced Analytics
- MEV & mempool monitoring panel
- Token unlock & vesting schedules
- Cross-chain bridge health monitor
- Historical time-series charts for all DeFi metrics (d3)
- Whale alert & large transaction monitor
- Governance & DAO proposal tracker (Snapshot + Tally)
- Airdrop eligibility tracker
- NFT floor price tracker (optional layer)
Q3 2025 - AI Agent Integration
- Deep three.ws agent context sharing
- Natural language DeFi queries ("what's the best USDC yield right now?")
- AI-powered trade signal generation
- Portfolio risk analysis agent tool
- Automated alert-to-action workflows
Q4 2025 - Protocol-Specific Dashboards
- Uniswap deep analytics (pool depth, fee revenue, LP profitability)
- Aave utilization dashboard (real-time supply/borrow rates, health factors)
- Maker/Sky ecosystem dashboard
- Lido staking analytics
- Eigenlayer restaking monitor
- Hyperliquid derivatives analytics
Future - Advanced Features
- DEX aggregator integration (swap execution from HQ)
- Multi-chain portfolio tracking (via three.ws agent wallets)
- Custom alert rule builder (compound conditions)
- Dune Analytics query integration
- Cross-venue price discrepancy monitoring (Venue Spread panel +
/api/venue-spread, 2026-08) - Chainlink oracle price discrepancy monitoring (on-chain oracle feeds specifically)
- Cross-chain fee comparison calculator (Fee Compare panel, 2026-08)
- Protocol health scoring system (Protocol Health panel +
/api/protocol-health, 2026-08) - DeFi risk heatmap (smart contract risk, oracle risk, governance risk)
Architecture Improvements
- Extract DeckGLMap.ts into modular layer system
- Split App.ts orchestrator into feature modules
- Add TypeScript to API routes
- Implement API versioning
- Add comprehensive unit test coverage
- Migrate types to domain-specific files
- WebSocket connection pool management
- Service worker push notifications for alerts
Legacy (Geopolitical) - Maintenance Mode
The following features are inherited from HQ's geopolitical intelligence origins. They remain functional but are not the development priority:
- Conflict/protest tracking (ACLED)
- Military base mapping
- Flight tracking (OpenSky)
- Vessel tracking (AIS)
- Nuclear facility mapping
- UCDP events
- Country Instability Index
- Infrastructure cascade
- Displacement flows
- Sanctions mapping
These layers are gated behind the full variant and can be toggled off. They may be deprecated in a future version if they create maintenance burden.
Success Metrics
- Coverage: >90% of top 100 DeFi protocols have data in HQ
- Latency: <5 second time-to-first-meaningful-paint for any panel
- Uniqueness: 5+ features no other DeFi dashboard offers (globe layers, spatial intelligence)
- Integration: Full three.ws agent tool coverage for all HQ data
- Reliability: <1% error rate on API routes, graceful degradation on failures