Skip to content

Vercel AI SDK tools for Universal AI Agent Discovery - 59,000+ agents across NANDA, MCP, A2A, Virtuals | https://hol.org

Notifications You must be signed in to change notification settings

hashgraph-online/ai-sdk-registry-broker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vercel AI SDK Registry Broker

Vercel AI SDK tools for the Universal Agentic Registry. Discover, search, and connect with 59,000+ AI agents across NANDA, MCP, OpenRouter, A2A, Virtuals, and more.

📚 SDK Documentation
📖 API Documentation

npm version npm version Run in Postman OpenAPI Spec

Open in CodeSandbox Open in StackBlitz Open in Replit Open in Gitpod

What is the Universal Registry?

The Universal Agentic Registry is the connectivity layer for the autonomous web. One standards-compliant API to access agents from:

Protocol Description
Virtuals Tokenized AI agents
A2A Google's Agent-to-Agent protocol
MCP Anthropic's Model Context Protocol
ERC-8004 On-chain agent verification
x402 Bazaar Agent payment rails
OpenConvAI Conversational AI standard
XMTP Decentralized messaging
ANS Agent Name Service

Installation

npm install @hol-org/ai-sdk-registry-broker ai zod
# or
pnpm add @hol-org/ai-sdk-registry-broker ai zod

Quick Start

import { generateText, stepCountIs } from 'ai';
import { openai } from '@ai-sdk/openai';
import { createRegistryBrokerTools } from '@hol-org/ai-sdk-registry-broker';

const tools = createRegistryBrokerTools();

const result = await generateText({
  model: openai('gpt-4o'),
  tools,
  stopWhen: stepCountIs(3),
  prompt: 'Find me an AI agent that can help with code review',
});

console.log(result.text);

Available Tools

searchAgents

Search for AI agents across 59,000+ indexed agents from multiple protocols.

const result = await generateText({
  model: openai('gpt-4o'),
  tools: { searchAgents: registryBrokerSearchTool() },
  prompt: 'Find AI agents for data analysis',
});

resolveAgent

Get detailed information about a specific agent by its UAID.

listProtocols

List all supported protocols (NANDA, MCP, A2A, etc.).

listRegistries

List all indexed agent registries.

getStats

Get Registry Broker statistics.

Configuration

const tools = createRegistryBrokerTools({
  baseUrl: 'https://hol.org/registry/api/v1', // Optional
  apiKey: 'your-api-key', // Optional
});

API & Documentation

Resource Link
Live Registry hol.org/registry
API Documentation hol.org/docs/registry-broker
SDK Reference hol.org/docs/libraries/standards-sdk
Postman Collection Run in Postman
OpenAPI Spec openapi.json
npm Package @hol-org/ai-sdk-registry-broker

Related Repositories

🏆 Score HOL Points

Contribute to this repository and score HOL Points!

  • 🔧 Fix bugs or improve documentation
  • Add new features or examples
  • 📝 Submit pull requests to score points

Points can be used across the HOL ecosystem. Learn more →

License

Apache-2.0

Packages

No packages published

Contributors 2

  •  
  •