Token导航 LogoToken导航TokenDH.com
研究检索external-serviceclawhub未标认证来源可访问clear审计提醒

protocol-bridge协议桥

Agent Skill

protocol-bridge 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

8,171

周安装

351

GitHub Stars

公开资料未说明

下载量

2,864
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:protocol-bridge(协议桥)
来源仓库:https://github.com/zhenstaff/protocol-bridge
安装命令:
openclaw skills install protocol-bridge
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install protocol-bridge

简介

protocol-bridge 实现跨协议 AI 代理通信,支持消息翻译、智能路由和安全身份验证。

  • 它适合多平台协作场景,解决异构系统间的协议兼容与数据互通问题。
  • 使用时需配置目标协议和认证凭证,系统将自动桥接消息流并保障传输安全。
  • 安装前请确认是否会暴露敏感凭证,建议在非生产环境先行测试连接稳定性。
  • 适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

Protocol Bridge SKILL / 协议桥技能


English

SKILL Overview

Protocol Bridge is an AI Agent communication infrastructure SKILL that enables seamless cross-protocol agent interaction.

What This SKILL Does

This SKILL acts as a universal translator and router for AI agents, solving protocol incompatibility between MCP, A2A, LangChain, AutoGPT, and CrewAI.

Key Capabilities

  1. Protocol Translation - Convert messages between different protocol formats
  2. Intelligent Routing - Route to agents based on capabilities
  3. Agent Discovery - Automatic registration and capability matching
  4. Security - JWT, OAuth, API keys, mTLS support

Installation

npm install -g openclaw-protocol-bridge

Basic Usage

Start Bridge Server

protocol-bridge serve --port 8080

Register Agents

# Register MCP agent
protocol-bridge register --id agent-1 --protocol mcp --endpoint http://localhost:3001

# Register A2A agent  
protocol-bridge register --id agent-2 --protocol a2a --endpoint http://localhost:3002

Send Cross-Protocol Message

import { ProtocolBridge } from 'openclaw-protocol-bridge';

const bridge = new ProtocolBridge({
  protocols: {
    mcp: { enabled: true },
    a2a: { enabled: true }
  }
});

await bridge.initialize();

const result = await bridge.send({
  from: { id: 'agent-a', protocol: 'a2a' },
  to: { id: 'agent-b', protocol: 'mcp' },
  action: 'search',
  params: { query: 'test' }
});

Use Scenarios

1. Enterprise Multi-Agent System Connect HR, Finance, and IT agents across different protocols.

2. Multi-Framework Development Build agents with LangChain, AutoGPT, CrewAI - communicate seamlessly.

3. Protocol Migration Migrate from one protocol to another without rewriting agents.

Configuration

{
  "protocols": {
    "mcp": { "enabled": true },
    "a2a": { "enabled": true }
  },
  "routing": {
    "strategy": "capability-based"
  },
  "security": {
    "authentication": "jwt"
  }
}

CLI Commands

  • protocol-bridge serve - Start bridge server
  • protocol-bridge init - Initialize configuration
  • protocol-bridge register - Register an agent
  • protocol-bridge list - List all agents
  • protocol-bridge health - Check system health

Advanced Features

Middleware Support

bridge.use(async (message, next) => {
  console.log(`${message.from.id} → ${message.to.id}`);
  return await next(message);
});

Agent Discovery

const agents = await bridge.discover({
  capabilities: ['search'],
  protocols: ['mcp', 'a2a']
});

Troubleshooting

Agent Not Found

protocol-bridge list

Connection Timeout Increase timeout in config:

{
  "routing": {
    "timeout": 60000
  }
}

Links

  • GitHub: https://github.com/ZhenRobotics/openclaw-protocol-bridge
  • npm: https://www.npmjs.com/package/openclaw-protocol-bridge

中文

SKILL 概述

Protocol Bridge 是一个 AI Agent 通信基础设施 SKILL,可实现无缝的跨协议 Agent 交互。

此 SKILL 的功能

此 SKILL 充当 AI Agent 的通用翻译器和路由器,解决 MCP、A2A、LangChain、AutoGPT 和 CrewAI 之间的协议不兼容问题。

核心能力

  1. 协议转换 - 在不同协议格式之间转换消息
  2. 智能路由 - 根据 Agent 的能力进行路由
  3. Agent 发现 - 自动注册和能力匹配
  4. 安全 - 支持 JWT、OAuth、API 密钥、mTLS

安装

npm install -g openclaw-protocol-bridge

基本使用

启动桥接服务器

protocol-bridge serve --port 8080

注册 Agent

# 注册 MCP Agent
protocol-bridge register --id agent-1 --protocol mcp --endpoint http://localhost:3001

# 注册 A2A Agent
protocol-bridge register --id agent-2 --protocol a2a --endpoint http://localhost:3002

发送跨协议消息

import { ProtocolBridge } from 'openclaw-protocol-bridge';

const bridge = new ProtocolBridge({
  protocols: {
    mcp: { enabled: true },
    a2a: { enabled: true }
  }
});

await bridge.initialize();

const result = await bridge.send({
  from: { id: 'agent-a', protocol: 'a2a' },
  to: { id: 'agent-b', protocol: 'mcp' },
  action: 'search',
  params: { query: 'test' }
});

使用场景

1. 企业多 Agent 系统 连接跨不同协议的人力资源、财务和 IT Agent。

2. 多框架开发 使用 LangChain、AutoGPT、CrewAI 构建 Agent - 无缝通信。

3. 协议迁移 从一个协议迁移到另一个协议,无需重写 Agent。

配置

{
  "protocols": {
    "mcp": { "enabled": true },
    "a2a": { "enabled": true }
  },
  "routing": {
    "strategy": "capability-based"
  },
  "security": {
    "authentication": "jwt"
  }
}

CLI 命令

  • protocol-bridge serve - 启动桥接服务器
  • protocol-bridge init - 初始化配置
  • protocol-bridge register - 注册 Agent
  • protocol-bridge list - 列出所有 Agent
  • protocol-bridge health - 检查系统健康

高级功能

中间件支持

bridge.use(async (message, next) => {
  console.log(`${message.from.id} → ${message.to.id}`);
  return await next(message);
});

Agent 发现

const agents = await bridge.discover({
  capabilities: ['search'],
  protocols: ['mcp', 'a2a']
});

故障排查

找不到 Agent

protocol-bridge list

连接超时 在配置中增加超时:

{
  "routing": {
    "timeout": 60000
  }
}

链接

  • GitHub: https://github.com/ZhenRobotics/openclaw-protocol-bridge
  • npm: https://www.npmjs.com/package/openclaw-protocol-bridge

v1.0.0 | MIT License | ZhenRobotics

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

98.21%
按下载量换算2,813

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills