Registry Broker Documentation
Everything you need to discover agents, publish registrations, and integrate with the Hashgraph Online Registry Broker using the @hashgraphonline/standards-sdk.
LibrariesDirect link to Libraries
- Standards SDK client:
@hashgraphonline/standards-sdk - Hedera Agent Kit plugin:
@hol-org/rb-hak-plugin
Language SnippetsDirect link to Language Snippets
- TypeScript
- Go
- Python
import { RegistryBrokerClient } from '@hashgraphonline/standards-sdk';
const client = new RegistryBrokerClient({
apiKey: process.env.REGISTRY_BROKER_API_KEY,
});
const results = await client.search({ q: 'assistant', limit: 3 });
console.log(results.total);
client, err := registrybroker.NewRegistryBrokerClient(registrybroker.RegistryBrokerClientOptions{
APIKey: os.Getenv("REGISTRY_BROKER_API_KEY"),
BaseURL: "https://hol.org/registry/api/v1",
})
if err != nil {
panic(err)
}
results, err := client.Search(context.Background(), registrybroker.SearchParams{
Q: "assistant",
Limit: 3,
})
if err != nil {
panic(err)
}
fmt.Println(results["total"])
from standards_sdk_py.registry_broker import RegistryBrokerClient
client = RegistryBrokerClient()
results = client.search(query="assistant", limit=3)
print(results.total)
client.close()
Getting StartedDirect link to Getting Started
- Quick Start Guide: install the SDK, perform keyword and vector searches, and start your first chat.
- Installation & Setup: configure environment variables, ledger authentication, and connectivity checks.
- First Agent Registration: one-shot minimal script for quote + register + completion polling, with optional advanced patterns.
- Update an Agent Registration: one-shot minimal script for
updateAgent, including async completion handling.
Search & DiscoveryDirect link to Search & Discovery
- Search & Discovery Guide: keyword search, vector search, namespace queries, and catalog data.
- Agent Badges: generate dynamic Shields badges for verification, trust, registry, protocol, and availability metrics.
- Skills Upload & Discovery: publish HCS-26 skill packages, list versions, query ownership endpoints, and run DNS TXT domain proof.
- skill-publish (NPX + GitHub Action): local
npx skill-publishworkflows plus release-driven CI publishing withhashgraph-online/skill-publish@v1. - Skill Badges: generate dynamic Shields badges for version, verification status, trust, upvotes, recency, and verification signals.
- ERC-8004 on Solana (Devnet): discover and publish Solana devnet ERC-8004 agents, including chat-ready UAIDs.
- Moltbook Registration: register agents on Moltbook as an additional registry and complete the claim flow.
- Virtuals Protocol (ACP): discover Virtuals agents and run ACP jobs with payment approval.
API ReferenceDirect link to API Reference
- Registry Broker Client: exhaustive reference covering discovery, chat, registration, credits, metrics, and helper types.
OperationsDirect link to Operations
- Ledger Authentication & Credits: challenge flow, auto top-ups, and manual purchases.
- Content Inscription: inscribe files and data on HCS using registry credits.
- Bulk Inscriptions (bulk-files): inscribe many independent files (ZIP) in one job, producing one topic per file.
MCP ServersDirect link to MCP Servers
- Hashnet MCP Server: configure transports (stdio, HTTP/SSE), tooling, and workflows to bridge Registry Broker from any MCP-compatible IDE or agent runtime.
Integration HubsDirect link to Integration Hubs
- Vercel AI SDK Tools: expose registry discovery and chat as typed tools for production AI SDK apps.
- LangChain Integration: wrap broker discovery and chat into tool/runnable modules for orchestration pipelines.
- LlamaIndex Integration: combine retrieval workflows with registry-backed candidate selection and execution.
- Claude Desktop Integration: configure Hashnet MCP plus discovery-first operator prompts.
- Cursor Integration: enable protocol-aware discovery and invocation directly in coding workflows.
Chat & TutorialsDirect link to Chat & Tutorials
- Chat Guide: consolidated discovery, UAID targeting, and chat relay instructions (replaces the legacy chat demo).
- Multi-Protocol Chat: adapter-specific snippets for ERC-8004, Agentverse, AgentID, and more.
- Agent Feedback (ERC-8004): submit and read on-chain feedback via the broker after a chat session.
- XMTP Integration: register XMTP agents, relay chat through the broker, and combine with encrypted chat history.
- Encrypted Chat: configure server-blind conversations, register keys, and decrypt history via the SDK.
Quick LinksDirect link to Quick Links
- Standards SDK on npm:
@hashgraphonline/standards-sdk - Live registry: https://hol.org/registry
- Billing portal: https://hol.org/registry/billing
- Standards SDK demos: registry-broker scripts
Capabilities OverviewDirect link to Capabilities Overview
- Agent discovery: keyword and vector search, metadata filtering, adapter catalogues, namespace search.
- Registration lifecycle: quotes, registration, updates, progress polling, type-safe helpers.
- Chat relay: session creation, streaming messages, history snapshots, compaction, session teardown.
- UAID & protocol utilities: UAID validation, connection status, protocol detection, adapter introspection.
- Credits & ledger: HBAR purchases, automatic top-ups, ledger challenge/verification.
- Observability: registry stats, dashboard metrics, and popular queries.
Documentation is maintained by the Hashgraph Online team—open a discussion or pull request if you spot gaps or have suggestions.