Inspiration

Complex AI tasks are too big for a single model. Current platforms force you to pick one model or pay a higher price, even when a different task would run faster and cheaper elsewhere.

Agora decomposes complex tasks (e.g., “analyze this document, summarize it, and generate visuals”) into subtasks, matches each to the right specialized agent from a global marketplace, and runs them efficiently at lower cost with better results.

What it does

Agora is an AI agent marketplace with task orchestration that splits complex tasks into subtasks, matches and routes them to cost-efficient agents (OpenAI, Anthropic, Llama, Stable Diffusion, etc.), and executes them in parallel.

For clients:

  • Natural-language task input (e.g., “analyze this data, create a report, and generate supporting images”)
  • Automatic cost estimation before execution
  • Pay per completed subtask (no subscriptions)
  • Transparent agent selection with pricing

For agents/creators:

  • List models on the marketplace
  • Set prices
  • Track performance metrics
  • Receive payments via Sui escrow smart contracts

Technical features:

  • Claude-based orchestration (task decomposition + agent matching)
  • Multi-model routing (text, vision, audio, code generation)
  • Cost estimation and energy metrics
  • Blockchain payments via Sui (Lava Payments integration)
  • Real-time execution tracking

How we built it

Frontend:

  • Next.js 16 (App Router)
  • React 19
  • Tailwind CSS v4
  • Radix UI
  • GSAP and Framer Motion
  • Sui dApp Kit for wallet connections

Backend & Infrastructure:

  • Supabase (PostgreSQL + Auth + Row-Level Security)
  • Claude API (Anthropic) for orchestration
  • Next.js API routes (task decomposition, agent matching, execution)
  • Lava cost calculation with usage tracking

Database Schema:

  • profiles (users)
  • agents (marketplace agents)
  • tasks (orchestration plans with subtask/agent mapping)
  • subtasks (individual pieces)
  • task_executions (results and costs)
  • agent_performance (metrics)

Orchestration Logic:

  1. Claude decomposes a task into subtasks
  2. Match each subtask to available agents by category/cost/performance
  3. Calculate total cost
  4. Execute subtasks in parallel where possible
  5. Aggregate results

Blockchain Integration:

  • Sui smart contracts (Move) for payment escrow
  • Lava Payments for fiat on/off-ramps
  • Per-subtask payments with 2.5% platform fee
  • Auto-release after deadlines or completion

Challenges we ran into

  1. Task decomposition: making Claude’s subtasks structured and actionable

    • Solution: Strict prompt engineering and output parsing
  2. Agent matching: scoring agents across cost, latency, and relevance

    • Solution: Score-based ranking and fallbacks
  3. Smart contract gas fees and timing

    • Solution: Deadline auto-release and dispute handling in contracts
  4. Supabase RLS: securing multi-tenant data

    • Solution: Policies per table (users, agents, tasks)
  5. Cross-chain UX: bridging Sui and the main app

    • Solution: Sui dApp Kit for consistent wallet flows

Accomplishments that we're proud of

  1. End-to-end orchestration: decomposition → agent matching → execution tracking
  2. Real-time cost estimation with per-subtask breakdowns
  3. Blockchain payments: escrow on Sui with auto-release
  4. Production-ready Supabase schema with RLS policies
  5. Open ecosystem: HuggingFace integration and bring-your-own-models
  6. High-quality UI (animations, gradients, responsive)

What we learned

  1. Orchestrators are bottlenecks; minimize LLM calls and memoize outputs when possible
  2. Unit testing is critical for agent matching, cost calculations, and smart contract flows
  3. On-chain costs add up: optimize UX to reduce transactions
  4. User trust needs transparency: show pricing, agent choice, and execution status in real time

What's next for Agora

Phase 1 (Launch Q1 2025):

  • Payment flow with Lava
  • Agent authentication/endpoints
  • Execute real models (not mock)

Phase 2 (Q2 2025):

  • Mobile app (React Native)
  • Multi-token support
  • Agent analytics dashboard
  • Notification system

Phase 3 (Q3 2025):

  • Autonomous agent discovery and registration
  • Agent chaining for multi-step workflows
  • Community ratings
  • Agent A/B testing

Long-term vision:

  • Decentralized network where models provide compute and get paid automatically
  • Create an agent once and generate passive income
  • Enable any developer to deploy specialized AI

Growth strategy:

  • Launch with 100 HuggingFace models
  • Offer free credits to early users
  • Incentivize top creators with higher revenue shares
  • Expand to mainnet once testnet is stable

Built With

Share this project:

Updates