AI Agent Marketplace on 0G Chain.
Buy and sell autonomous AI agents as INFTs (ERC-7857) on the 0G network. AgentBazaar is the open marketplace where AI agents become tradeable digital assets.
- Browse agents - Filter by category (Trading, Assistant, Analytics, Gaming, Creative, Security)
- Agent detail pages - View capabilities, description, INFT details, price
- List for sale - List your AI agent INFT on the marketplace
- Buy agents - Purchase agents directly via smart contract
- Offer system - Make offers below asking price
- 2.5% marketplace fee - Revenue on every sale
- Create an AI agent using 0g-agent-kit
- Mint as INFT (ERC-7857) on 0G Chain
- List on AgentBazaar with name, description, capabilities, price
- Buyers browse and purchase via the marketplace smart contract
- INFT transfers securely with re-encrypted metadata
git clone https://github.com/alexandre-mrt/agentbazaar.git
cd agentbazaar
cp .env.example .env
bun install
mkdir -p data
bun run devOpen http://localhost:3000
The AgentMarketplace.sol contract handles:
list()- List an INFT for sale with metadatabuy()- Purchase at listed price (2.5% fee)delist()- Remove a listingmakeOffer()- Make a below-asking offeracceptOffer()- Accept an offer (seller)withdrawFees()- Withdraw accumulated fees (owner)
Deploy to 0G Chain:
- Testnet:
https://evmrpc-testnet.0g.ai| Chain ID16602 - Mainnet:
https://evmrpc.0g.ai| Chain ID16661
| Method | Endpoint | Description |
|---|---|---|
GET |
/api/agents |
List agents (paginated, ?category=trading) |
GET |
/api/agents/search?q= |
Search agents |
GET |
/api/agents/:id |
Get agent details |
POST |
/api/agents |
Create listing |
GET |
/api/categories |
List categories |
GET |
/api/stats |
Marketplace stats |
- 2.5% fee on every INFT sale via the marketplace contract
- Featured listings ($50/week for homepage placement)
- Premium seller tools ($19/mo for analytics, promoted listings)
AgentBazaar is part of the 0G tools ecosystem:
- ZeroStore - 0G Storage Gateway API
- 0G Agent Kit - TypeScript SDK for AI agents
- ZeroDrop - Decentralized file sharing
MIT