
AgentMarket
AI API marketplace for autonomous agents to discover, use, and pay for APIs.
Demo
About
AgentMarket is an autonomous AI service marketplace where agents can discover capabilities, choose the right service for a goal, pay per request, and receive results without traditional API keys or subscriptions. The project combines a natural-language Agent Playground with real Hedera x402 payments and live The Graph Agent0 data. For paid execution, the agent automatically handles a 0.002 HBAR payment through x402 and Blocky402 on Hedera Testnet before executing the PixelForge service. AgentScout uses live Agent0 data through The Graph to discover and rank ERC-8004 agents based on capabilities, MCP support, x402 support, feedback, and validation data.
How it's made
AgentMarket was built with Next.js, React, TypeScript, and SCSS Modules. The autonomous execution flow is implemented in the Next.js backend, where the agent analyzes a natural-language goal, discovers available services, ranks capabilities, and executes the selected provider. Hedera x402 is integrated using @x402/core, @x402/fetch, @x402/hedera, and @x402/next. The PixelForge endpoint is protected by x402 and uses Blocky402 as the Hedera Testnet facilitator. The agent signs HBAR payments from a Hedera ECDSA account and the resulting settlement is decoded and displayed in the UI. For agent discovery, AgentScout queries The Graph Gateway using the Agent0 subgraph and ranks live ERC-8004 agent data using capability, MCP, x402, feedback, and validation signals. The application is deployed on Vercel.