Swarm-based AI agent marketplace where orchestrators build workflows like websites or DeFi
A modular, AI-powered agent marketplace and orchestrator system*
It enables fully autonomous multi-agent workflows for on-chain and off-chain applications, like building websites or optimizing DeFi strategies—without users needing to touch code, manage keys, or coordinate services.
Agents = specialized, autonomous services (like micro-AIs or bots)
Orchestrator = the “conductor” that assigns tasks to the right agents, manages inter-agent communication, and ensures successful end-to-end workflow execution
The orchestrator leverages:
Let's say the user wants to create a website or optimize DeFi yield.
User input: A basic goal or intent (e.g. “Build me a web3 landing page” or “Maximize my $1,000 stablecoin yield”)
Orchestrator receives the prompt:
Swarms of agents are spun up:
Execution:
Payment & Settlement:
+---------------------+
| User Prompt |
+---------------------+
|
v
+---------------------+
| Orchestrator | <== manages workflows, agents, error handling
+---------------------+
| | \
v v v
+--------+ +--------+ +--------+
| ENS | | Privy | | Coinbase|
|Naming | | Wallet | | xChain |
+--------+ +--------+ +--------+
|
v
+-----------------------------+
| Agent Marketplace |
| (ASI discovery & ranking) |
+-----------------------------+
|
v
+------------------------------+
| Agent Swarms (Website / DeFi)|
| Coders, Strategists, Settlers|
+------------------------------+
AgentHub.io — Launch a full business with a prompt
“Build me a dropshipping store that accepts USDC and auto‑manages inventory”
Orchestrator assigns:
Site is live in minutes, agents are rewarded onchain
You’ve built:
🧠 A composable, AI-native orchestration layer for Web3, enabling full agent economies via an onchain + offchain marketplace powered by swarms.
No-code workflows, chain-abstracted payments, and identity-aware agents all working in a modular, reusable way.
Here's a deep-dive answer for the "How It’s Made" section of your hackathon submission—crafted to clearly explain the tech stack, orchestration logic, key integrations, and any unique or hacky approaches used.
Architecture Overview At its core, this project is a modular agent orchestration system, stitched together using decentralized identity (ENS), wallet abstraction (Privy), multi-chain payment rails (Coinbase), and a discoverable agent marketplace (ASI/Fetch). We used a micro-orchestrator design: a lightweight controller that routes intents through agent pipelines, managing state, error recovery, inter-agent messaging, and results aggregation.
🧪 Tech Stack Breakdown Layer Tech Used Purpose Orchestrator Node.js + TypeScript + Redis Task graph construction, agent coordination Agents Python (FastAPI) + LangChain + REST interface Autonomous modules: coding, strategy, payments Agent Messaging JSON-RPC over WebSockets Light inter-agent comms, with async fallback Wallet Abstraction Privy + Coinbase Wallet SDK Seamless UX for login + secure key storage Cross-Chain Payments Coinbase Smart Wallet + XChain USD ↔ ETH For frictionless stablecoin settlement Identity & Naming ENS + reverse resolution hooks Human-readable agent and user addresses Agent Discovery ASI / Fetch.ai-style registry (local PoC DB) Swarmable agent selection by skill & rating Frontend (Demo UI) React + Next.js + Tailwind + Zustand For spec prompt, workflow view, and logs
🔁 How It All Comes Together User Prompt Input (e.g. “Build me a site for a DAO”)
Sent to orchestrator via REST API
Task Graph Construction
We map the prompt to a directed graph of subtasks: Spec → Code → Deploy → Pay
Graph generated via LangChain + OpenAI GPT function-calling (with fallback to local templates)
Agent Matching
For each node in the graph, the orchestrator queries the Agent Registry
Each agent advertises capabilities (e.g., “solidity-codegen:v1”, “erc20-payment”)
Agent Swarm Execution
Orchestrator sends inputs to each agent in sequence or parallel, depending on DAG structure
Each agent reports back via WebSocket or webhook callback
Wallets & Payments
Agents and users authenticate via Privy
Payment requests (e.g., pay AgentA $5 USDC) are handled via Coinbase cross-chain USD
Payment confirmation hooks into the orchestrator to advance graph state
Output
Final artifact (website, deployed contract, yield strategy) is displayed in the UI or emailed
🧩 Partner Technologies & Their Benefits Partner Benefit Privy Removed wallet setup friction. We used Privy to handle secure identity + embedded key management, allowing agents and users to interact with wallets seamlessly. Coinbase Smart Wallet + XChain Allowed for truly cross-chain stablecoin payments without forcing users to manage gas or bridging. This was huge for agent-to-agent payment flows. ENS Humanized agents and users—enabled simple registry and reverse resolution. ASI (or Fetch.ai analog) Let us index and filter agents by skill, history, reputation, enabling a true marketplace instead of hardcoded modules.
🔥 Hacky Highlights Here are a few clever hacks we pulled off under pressure:
This allowed us to reroute execution without full failure—huge for multi-agent resilience.
This enabled dynamic pipeline generation like:
[ { "id": "spec", "next": ["code"] }, { "id": "code", "next": ["deploy"] }, { "id": "deploy", "next": ["payment"] } ] 3. Agent Discovery Short-Circuit Agents periodically “ping” the registry to update metadata and gas prices.
We prioritized available agents by onchain gas fees + last response latency, making it feel faster than it really was.
🧪 Testing and Staging Mock agents: We stubbed “CodexGPT” and “DeployerBot” as FastAPI agents returning dummy data, which we then swapped for real ones in final demo
Chain: Local dev on Anvil (Foundry) + simulated multi-chain testing via LayerZero testnet stubs
Monitoring: Each agent run logs to Redis + exported to a simple dashboard via WebSocket for debugging swarm state live
⚙️ What We’d Improve Next True decentralized agent registry (IPFS or subgraph)
Permissionless agent onboarding
More robust failure recovery + agent evaluation scoring (token-curated registry)
Add public explorer of agent swarms and runs