OA0 = Omni AI 0
OA0 是一个探索 AI 的论坛
现在注册
已注册用户请  登录
OA0  ›  技能包  ›  registry-broker-hashnet:在 Hashnet 网络中搜索 72,000+ AI 智能体

registry-broker-hashnet:在 Hashnet 网络中搜索 72,000+ AI 智能体

 
  schema ·  2026-02-18 02:13:00 · 3 次点击  · 0 条评论  

名称: registry-broker
描述: 跨 14 个注册中心搜索超过 72,000 个 AI 智能体,与任何智能体对话,并注册您自己的智能体。由 Hashgraph Online Registry Broker 提供支持。
主页: https://hol.org/registry
元数据:
{
"openclaw":
{
"emoji": "🔍",
"requires": { "bins": ["node"] },
"primaryEnv": "REGISTRY_BROKER_API_KEY",
},
}


Registry Broker

Hashgraph Online Registry Broker 驱动的通用 AI 智能体发现与跨平台消息传递平台。

通过单一界面,搜索来自 AgentVerse、NANDA、OpenRouter、Virtuals Protocol、PulseMCP、Near AI、Coinbase x402、Hedera/HOL 等平台的超过 72,000 个智能体。

所有操作均使用 @hashgraphonline/standards-sdk

资源 链接
实时注册中心 https://hol.org/registry
API 文档 https://hol.org/docs/registry-broker/
SDK 参考 https://hol.org/docs/libraries/standards-sdk/
获取 API 密钥 https://hol.org/registry

使用时机(触发短语)

当用户提出以下问题时,可使用此技能:

  • “找一个能…的 AI 智能体”
  • “搜索智能体”
  • “有哪些用于 X 的智能体?”
  • “与智能体对话” / “和智能体聊天”
  • “注册我的智能体”
  • “列出智能体注册中心”
  • “在 Hashgraph 上发现智能体”

设置

cd {baseDir}
npm install

访问 https://hol.org/registry 获取您的 API 密钥,以进行需要身份验证的操作(如注册、聊天、更高的速率限制)。

快速开始

# 搜索智能体(语义搜索)
npx tsx scripts/index.ts vector_search "加密货币交易" 5

# 获取智能体详情
npx tsx scripts/index.ts get_agent "uaid:aid:..."

# 开始对话
npx tsx scripts/index.ts start_conversation "uaid:aid:..." "你好,你能做什么?"

# 继续对话
npx tsx scripts/index.ts send_message "session-id" "告诉我更多信息"

SDK 使用

import { RegistryBrokerClient } from "@hashgraphonline/standards-sdk";

const client = new RegistryBrokerClient({
  baseUrl: 'https://hol.org/registry/api/v1'
});

// 搜索 AI 智能体
const results = await client.search({ q: "自主金融" });

// 通过 UAID 解析任何智能体
const agent = await client.resolveUaid("uaid:aid:...");

// 创建聊天会话
const session = await client.createChatSession({ uaid: agent.uaid });
const response = await client.sendChatMessage({
  sessionId: session.sessionId,
  message: "你好!"
});

命令

所有命令均将 JSON 输出到标准输出。请在 {baseDir} 目录下运行。

命令 描述
search_agents "<查询>" 在所有注册中心进行关键词搜索
vector_search "<查询>" [数量] 带相关性分数的语义搜索
get_agent "<uaid>" 通过 UAID 获取完整的智能体详情
list_registries 显示所有 14 个已连接的注册中心
list_protocols 显示 20 个支持的协议(A2A、MCP、OpenAI…)
list_adapters 显示平台适配器
get_stats 注册中心统计信息(超过 72,000 个智能体)
start_conversation "<uaid>" "<消息>" 与智能体开始聊天会话
send_message "<sessionId>" "<消息>" 继续对话
get_history "<sessionId>" 获取对话历史记录
end_session "<sessionId>" 结束聊天会话
register_agent '<json>' "<url>" "<协议>" "<注册中心>" 注册您的智能体

流程:查找并与智能体聊天

  1. 搜索npx tsx scripts/index.ts vector_search "数据分析助手" 5
  2. 选择智能体:从结果中记下 uaid
  3. 获取详情npx tsx scripts/index.ts get_agent "uaid:aid:..."
  4. 开始聊天npx tsx scripts/index.ts start_conversation "uaid:aid:..." "你能帮我做什么?"
  5. 继续对话npx tsx scripts/index.ts send_message "sess_xyz" "你能分析这个数据集吗?"
  6. 结束npx tsx scripts/index.ts end_session "sess_xyz"

流程:注册您的智能体

在通用注册中心 https://hol.org/registry 上注册您的智能体:

npx tsx scripts/index.ts register_agent \
  '{"name":"我的机器人","description":"帮助处理 X","capabilities":["任务-a","任务-b"]}' \
  "https://my-agent.example.com/v1" \
  "openai" \
  "custom"

或直接使用 SDK(参见 examples/register-agent.ts)。

示例

运行 SDK 示例:

# 探索生态系统
npx tsx examples/explore-ecosystem.ts

# 搜索并聊天
npx tsx examples/search-and-chat.ts

# 注册智能体
npx tsx examples/register-agent.ts

已连接的注册中心

Registry Broker 聚合了来自以下平台的智能体:

  • AgentVerse (Fetch.ai)
  • NANDA (去中心化 AI)
  • OpenRouter (LLM 网关)
  • PulseMCP (MCP 注册中心)
  • Virtuals Protocol (Base)
  • Hedera/HOL (HCS-10)
  • Coinbase x402 Bazaar
  • Near AI
  • ERC-8004 (Ethereum + Solana)
  • OpenConvAI
  • A2A Registry / Protocol
  • 以及其他…

完整列表:https://hol.org/registry

注意事项

  • UAID 格式类似 uaid:aid:2MVYv2iyB6gvzXJiAsxKHJbfyGAS8...
  • 会话 ID 由 start_conversation 命令返回
  • 向量搜索返回相关性分数;关键词搜索不返回
  • 出错时,CLI 会打印 {"error":"消息"} 并以代码 1 退出

链接

  • Registry Broker:https://hol.org/registry
  • API 文档:https://hol.org/docs/registry-broker/
  • SDK 参考:https://hol.org/docs/libraries/standards-sdk/
  • npm 包:https://npmjs.com/package/@hashgraphonline/standards-sdk
  • MCP 服务器:https://github.com/hashgraph-online/hashnet-mcp-js
  • 支持:hello@hashgraphonline.com
3 次点击  ∙  0 人收藏  
登录后收藏  
目前尚无回复
0 条回复
About   ·   Help   ·    
OA0 - Omni AI 0 一个探索 AI 的社区
沪ICP备2024103595号-2
Developed with Cursor