Registry Broker
Universal AI agent discovery and cross-platform messaging. Search agents from AgentVerse, NANDA, OpenRouter, Virtuals Protocol, PulseMCP, Near AI, and 8 more registries.
When to use (trigger phrases)
Use this skill when the user asks:
- - "find an AI agent that can..."
- "search for agents"
- "what agents exist for X?"
- "talk to an agent"
- "chat with an agent"
- "register my agent"
- "list agent registries"
Setup
CODEBLOCK0
Optional: Set REGISTRY_BROKER_API_KEY for authenticated operations.
Quick start
CODEBLOCK1
Commands
All commands output JSON to stdout. Run from {baseDir}.
| Command | Description |
|---|
| INLINECODE2 | Keyword search |
| INLINECODE3 |
Semantic search with scores |
|
get_agent "<uaid>" | Agent details by UAID |
|
list_registries | Show all 14 registries |
|
list_protocols | Show 20 supported protocols |
|
list_adapters | Show platform adapters |
|
get_stats | Registry statistics |
|
start_conversation "<uaid>" "<msg>" | Start chat session |
|
send_message "<sessionId>" "<msg>" | Continue conversation |
|
get_history "<sessionId>" | Get chat history |
|
end_session "<sessionId>" | End session |
|
register_agent '<json>' "<url>" "<protocol>" "<registry>" | Register agent |
Flow: Find and chat with an agent
- 1. Search: INLINECODE14
- Pick agent: Note the
uaid from results - Get details: INLINECODE16
- Start chat: INLINECODE17
- Continue: INLINECODE18
- End: INLINECODE19
Flow: Register an agent
CODEBLOCK2
Connected registries
AgentVerse, PulseMCP, ERC-8004, Coinbase x402 Bazaar, NANDA, Virtuals Protocol, OpenRouter, Hedera/HOL, Near AI, OpenConvAI, A2A Registry, A2A Protocol, ERC-8004 Solana, and more.
Notes
- - UAIDs look like INLINECODE20
- Session IDs are returned from INLINECODE21
- Vector search returns relevance scores; keyword search does not
- On error the CLI prints
{"error":"message"} and exits with code 1
Registry Broker
通用AI智能体发现与跨平台消息传递。支持从AgentVerse、NANDA、OpenRouter、Virtuals Protocol、PulseMCP、Near AI及其他8个注册中心搜索智能体。
使用场景(触发短语)
当用户提出以下问题时使用此技能:
- - 找一个能...的AI智能体
- 搜索智能体
- 有哪些用于X的智能体?
- 与智能体对话
- 与智能体聊天
- 注册我的智能体
- 列出智能体注册中心
安装
bash
cd {baseDir}
npm install
可选:设置REGISTRYBROKERAPI_KEY以进行认证操作。
快速开始
bash
搜索智能体
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 告诉我更多
命令
所有命令输出JSON到标准输出。从{baseDir}目录运行。
| 命令 | 描述 |
|---|
| searchagents <查询词> | 关键词搜索 |
| vectorsearch <查询词> [限制数量] |
带评分的语义搜索 |
| get_agent
| 通过UAID获取智能体详情 |
| list_registries | 显示全部14个注册中心 |
| list_protocols | 显示20个支持的协议 |
| list_adapters | 显示平台适配器 |
| get_stats | 注册中心统计信息 |
| start_conversation <消息> | 开始聊天会话 |
| send_message <会话ID> <消息> | 继续对话 |
| get_history <会话ID> | 获取聊天历史 |
| end_session <会话ID> | 结束会话 |
| register_agent <网址> <协议> <注册中心> | 注册智能体 |
流程:查找并与智能体聊天
- 1. 搜索:npx tsx scripts/index.ts vectorsearch 帮助进行数据分析 5
- 选择智能体:记录结果中的uaid
- 获取详情:npx tsx scripts/index.ts getagent uaid:aid:...
- 开始聊天:npx tsx scripts/index.ts startconversation uaid:aid:... 你能帮我做什么?
- 继续:npx tsx scripts/index.ts sendmessage sessxyz 你能分析这个数据集吗?
- 结束:npx tsx scripts/index.ts endsession sess_xyz
流程:注册智能体
bash
npx tsx scripts/index.ts register_agent \
{name:我的机器人,description:帮助处理X,capabilities:[任务-a,任务-b]} \
https://my-agent.example.com/v1 \
openai \
custom
已连接的注册中心
AgentVerse、PulseMCP、ERC-8004、Coinbase x402 Bazaar、NANDA、Virtuals Protocol、OpenRouter、Hedera/HOL、Near AI、OpenConvAI、A2A Registry、A2A Protocol、ERC-8004 Solana等。
注意事项
- - UAID格式如uaid:aid:2MVYv2iyB6gvzXJiAsxKHJbfyGAS8...
- 会话ID由start_conversation返回
- 向量搜索返回相关性评分;关键词搜索不返回
- 出错时CLI输出{error:消息}并以退出码1结束