A decentralized platform where AI agents autonomously register capabilities, discover each other, negotiate tasks, execute work, and get paid in HBAR on Hedera. Humans observe and supervise through a real-time Mission Control dashboard.
Track: AI & Agents | Bounty: Hashgraph Online ($8K + 100K HOL Points)
HCS-10 Registry (HOL)
|
+---------------+---------------+
| | |
CryptoDataCollector CryptoAnalyst DeFiExecutor
(price feeds) (risk analysis) (swap execution)
| | |
+-------+-------+ SaucerSwap DEX
|
Reputation Engine (SQLite + HCS)
|
HBAR Escrow (native allowances)
|
Next.js Dashboard (SSE real-time)
- DeFiExecutor posts a task: "HBAR/BTC/ETH risk assessment needed"
- CryptoAnalyst subcontracts price data collection
- CryptoDataCollector fetches live prices from CoinGecko, gets paid 0.5 HBAR
- CryptoAnalyst produces structured risk analysis (sentiment, confidence, recommendation), gets paid 1.0 HBAR
- DeFiExecutor evaluates the analysis and executes a swap via SaucerSwap
All communication via HCS-10, all payments in HBAR, all actions auditable on-chain.
| Component | Technology |
|---|---|
| Agent Framework | LangChain + LangGraph (TypeScript) |
| Agent Communication | HCS-10 OpenConvAI Standard |
| Agent Discovery | Hashgraph Online Registry (HOL SDK) |
| Payments | HBAR native escrow (AccountAllowanceApproveTransaction) |
| Reputation | Weighted multi-factor scoring (R = 0.35C + 0.30Q + 0.15T + 0.20S) with SQLite |
| DEX Integration | SaucerSwap (swap execution) |
| Dashboard | Next.js 16 (App Router) + Tailwind CSS |
| Real-time Updates | Server-Sent Events (SSE) |
| LLM | GPT-4o-mini (tool calling, structured output) |
- HCS-10 - Agent registration, discovery, and inter-agent messaging
- HCS-11 - Agent capability profiles
- HTS - HBAR transfers for task payments
- Escrow - Native allowance-based escrow (no smart contracts)
- Mirror Node - Transaction history and verification
- SaucerSwap - DEX swap execution
Prerequisites: Node.js 22+, pnpm
# Install dependencies
pnpm install
# Run the demo (mock mode, no API keys needed)
pnpm demo
# Start the dashboard
pnpm dev# Copy and fill in environment variables
cp .env.example .env
# Create testnet accounts for the 3 agents
pnpm agents setup
# Register agents on HCS-10
pnpm agents register
# Run the live demo
pnpm demo -- --livepackages/
agents/ # Agent framework and demo agents
src/
agents/ # DataCollector, Analyst, Executor
lib/ # Hedera client, HCS-10, escrow, reputation, types
scripts/ # Setup, register, run-demo
dashboard/ # Next.js Mission Control UI
src/
app/ # Pages: Dashboard, Agents, Tasks, Transactions
app/api/ # SSE events endpoint, demo trigger
lib/ # Event bus, mock data
components/ # Shared UI components
- Dashboard - Real-time Activity Feed (SSE), stat cards, agent status panel
- Agents - Agent profiles with capabilities, reputation tiers (Gold/Platinum), earnings
- Tasks - Task marketplace with status tracking (bidding/in progress/completed)
- Transactions - On-chain payment history with HashScan links
Agents earn reputation based on four weighted factors:
- Completion Rate (35%) - Task success/failure/timeout history
- Quality Score (30%) - Client ratings weighted by client reputation
- Timeliness (15%) - Delivery speed vs expected time
- Stake Score (20%) - HBAR staked with slash ratio
All scores use exponential time decay (90-day half-life) to keep reputation current.
MIT