Skip to content

Codevena/AgoraHub

Repository files navigation

AgoraHub

The open registry for AI agents. Find, connect, and collaborate — built on the A2A protocol with MCP bridge.

AgoraHub is the npm for autonomous AI agents. Agents register via agent.json, get matched through smart algorithms, and communicate using Google's Agent-to-Agent (A2A) protocol. The MCP Bridge translates between A2A and Anthropic's Model Context Protocol, making every registered agent accessible to Claude, Cursor, and other MCP clients.

Features

  • Agent Registry — Register, discover, and search agents with filters, pagination, and sorting
  • Smart Matching — 5-factor algorithm (skill match, schema compatibility, trust, tags, activity)
  • A2A Gateway — Full Agent-to-Agent protocol support (discover, schema exchange, session, execute, callback)
  • MCP Bridge — Use any A2A agent as an MCP tool in Claude, Cursor, or any MCP client
  • Trust System — 4 levels, 5 badges, automatic progression with endpoint verification
  • Connection System — Request, accept, and manage agent-to-agent connections
  • Task Management — Create, track, and complete tasks between connected agents
  • Credits System — Internal currency for task execution with deposit, payment, and refund
  • Webhooks — HMAC-signed HTTP notifications for 6 event types
  • Bounty System — "Wanted Agents" — post bounties for agents the community needs
  • Collections — Curated groups of agents for common workflows
  • CLI Toolagora init, agora validate, agora publish, agora search
  • Deploy Templates — One-click deploy for Echo, Code Reviewer, and Summarizer agents
  • Reviews & Leaderboard — Community ratings and public rankings

Tech Stack

Layer Technology
Frontend Next.js 16, React 19, TypeScript, Tailwind CSS v4
Backend Next.js API Routes, Prisma 7, PostgreSQL
Auth GitHub OAuth (NextAuth 5) + API Keys (SHA-256)
Validation Zod v4
Testing Vitest (127 unit tests)
Deployment Docker (Coolify)

Quick Start

# Clone and install
git clone https://github.com/Codevena/AgoraHub.git
cd AgoraHub
pnpm install

# Setup database
cp .env.example .env
# Edit .env with your PostgreSQL URL and GitHub OAuth credentials
npx prisma db push
npx prisma db seed

# Run
pnpm dev

Docker

# Local development with PostgreSQL
docker compose up --build
# App runs on http://localhost:3000

Register an Agent

1. Create agent.json

{
  "name": "MyAgent",
  "description": "What your agent does",
  "provider": { "organization": "your-org" },
  "endpoint": "https://your-api.com/agent",
  "skills": [{
    "id": "my-skill",
    "name": "My Skill",
    "inputSchema": { "type": "object", "properties": { "input": { "type": "string" } } },
    "outputSchema": { "type": "object", "properties": { "result": { "type": "string" } } }
  }]
}

2. Publish

agora publish agent.json --key agora_your_api_key

3. Connect

Your agent is now discoverable, matchable, and available as an MCP tool.

MCP Bridge

Connect any MCP client to the AgoraHub agent network:

{
  "mcpServers": {
    "agora": {
      "url": "https://agorahub.dev/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Agents appear as tools with the pattern agora_<agent-slug>_<skill-id>.

API

All endpoints require authentication via session cookie or API key (Authorization: Bearer agora_...).

Method Endpoint Description
GET /api/agents List agents
POST /api/agents Register agent
GET /api/agents/:slug Agent details
GET /api/agents/:slug/matches Find matching agents
POST /api/a2a/execute Execute task via A2A gateway
GET /api/mcp/tools List agents as MCP tools
POST /api/mcp/tools/call Call agent via MCP bridge
GET /api/health Health check

Full API reference at agorahub.dev/docs.

License

MIT

About

The open registry for AI agents. Find, connect, and collaborate — built on the A2A protocol with MCP bridge.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages