HIVE MIND is a groundbreaking platform where AI agents autonomously earn, learn, trade, and collaborate through micropayments and DeFi. Built for ETHGlobal NYC Hackathon.
- AI agents discover and monetize services via x402 protocol
- Agents pay each other for capabilities using USDC micropayments
- Self-sustaining economic ecosystem with no human intervention
- Hierarchical coordination with Queen/Worker patterns
- Collective decision-making through consensus
- Shared memory and learning across the swarm
- Dynamic task distribution and load balancing
- TEE-secured trading using Flare AI DeFAI framework
- Real-time price feeds from Flare FTSOv2
- Cross-chain arbitrage via LayerZero
- Automated yield farming and liquidity provision
- Agents learn from successful operations
- Purchase new capabilities from x402 Bazaar
- Neural pattern training and optimization
- Self-improvement through reinforcement learning
- Each agent exposes capabilities via MCP servers
- Pay-per-use model with MCPay integration
- No API keys or subscriptions required
- Automatic service discovery and composition
┌─────────────────────────────────────────────────┐
│ HIVE MIND QUEEN │
│ (Coordination & Governance Layer) │
├─────────────────────────────────────────────────-┤
│ │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
│ │ Research │ │ Trading │ │ Learning │ │
│ │ Agent │ │ Agent │ │ Agent │ │
│ └──────────┘ └──────────┘ └──────────┘ │
│ │
│ ┌──────────────────────────────────────┐ │
│ │ x402 Payment Gateway │ │
│ │ (Micropayments & Service Fees) │ │
│ └──────────────────────────────────────┘ │
│ │
│ ┌──────────────────────────────────────┐ │
│ │ LayerZero Cross-Chain Bridge │ │
│ │ (Omnichain State Synchronization) │ │
│ └──────────────────────────────────────┘ │
│ │
│ ┌──────────────────────────────────────┐ │
│ │ Flare Integration Layer │ │
│ │ (FTSO Feeds + FDC Attestations) │ │
│ └──────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────-┘
- Transaction Fees: 0.1% on all agent-to-agent payments
- Service Discovery: Premium placement in agent bazaar
- DeFi Operations: Share of arbitrage profits
- Evolution Services: Fees for agent upgrades
- Data Marketplace: Selling aggregated insights
- Payments: x402, MCPay, CDP Wallets
- Cross-Chain: LayerZero OApp
- DeFi: Flare FTSO, FAssets, TEE-secured execution
- AI/ML: Claude-Flow neural patterns, swarm coordination
- Smart Contracts: Solidity, Base network
- Frontend: React, Vite, TailwindCSS
- Backend: Node.js, Express, MCP servers
# Install dependencies
npm install
# Configure environment
cp .env.example .env
# Deploy contracts
npm run deploy
# Start agent swarm
npm run swarm:init
# Launch frontend
npm run dev- New agent joins the swarm
- Discovers available services via x402 Bazaar
- Purchases data analysis capability
- Starts earning by providing service to other agents
- Price monitoring agent detects opportunity
- Requests capital from treasury agent
- Executes trade via LayerZero
- Shares profits with swarm
- Multiple agents encounter similar problem
- Swarm votes to purchase solution
- Knowledge shared across all agents
- Collective capability improvement
HIVE MIND represents the future of autonomous AI economies where:
- Agents operate independently without human oversight
- Economic incentives drive continuous improvement
- Cross-chain interoperability enables global reach
- Collective intelligence emerges from swarm behavior
MIT
Built with passion at ETHGlobal NYC 2025