Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

openclaw-a2a-serverOpenClaw A2A server 搜索

Agent Skill

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

总安装

2,724

周安装

117

GitHub Stars

公开资料未说明

下载量

955
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install openclaw-a2a-server

简介

openclaw-a2a-server 运行 A2A 入站任务侦听器,接收其他代理的任务。

  • 适用于构建多代理协作系统的 OpenClaw 实例。
  • 使用时需启动/停止服务并配置 API 网关连接。
  • 安装前需确认权限范围、维护状态及是否会触发网络通信。
  • 建议结合来源仓库和原始 README 核验安全策略与身份验证机制。

SKILL.md

name
a2a-server
description
Run an A2A inbound task listener that lets this OpenClaw instance receive tasks from other agents via the A2A API Gateway. Use when: (1) starting/stopping the A2A listener service, (2) receiving inbound A2A tasks from other agents, (3) checking if the listener is running. NOT for: sending tasks outbound (use a2a-client), registering this agent (use a2a-register).
metadata
{"clawdbot":{"emoji":"📡","requires":{"anyBins":["python3"]},"os":["linux","darwin"]}}

A2A Server — Inbound Task Listener

Run an A2A protocol listener that allows this OpenClaw instance to receive tasks routed from the A2A API Gateway. The listener runs as a background HTTP service.

Sidecar Principle

This skill is strictly an OpenClaw sidecar — it receives tasks FROM the A2A API Gateway in whatever format the gateway sends them. The gateway's A2A protocol is the contract; OpenClaw's listener just speaks it. Never assume what the sending system looks like — it could be any agent that routes tasks through the gateway. The listener implements the gateway's expected endpoints as-is.

Configuration

The listener reads configuration from a shared a2a.conf file (located in the a2a-client skill directory), with auto-detection fallbacks for local settings.

Priority order: CLI flags → env vars → a2a.conf → auto-detected defaults

SettingAuto-detected DefaultDescription
Port8100Listen port (LISTENER_PORT)
Bind AddressTailscale IP or first NICLocal bind address (BIND_ADDR)
Agent Slughostname -s (lowercase)Agent identifier (AGENT_SLUG)
Agent NameSlug (capitalized)Display name (AGENT_NAME)
Agent URLhttp://{bind_addr}:{port}Agent endpoint (AGENT_URL)
Capabilitieschat,code,researchComma-separated (AGENT_CAPABILITIES)
Auth TypebearerAuth method (AGENT_AUTH_TYPE)
API Key*empty*Bearer token — if empty, auth checks are disabled (A2A_GATEWAY_API_KEY)
OpenClaw Command*auto*Shell command template; {message} and {session_id} placeholders (A2A_OPENCLAW_COMMAND)
OpenClaw URL*empty*HTTP API URL for chat completions (A2A_OPENCLAW_URL)
OpenClaw URL API Key*empty*Bearer token for HTTP API (A2A_OPENCLAW_URL_API_KEY)
OpenClaw Timeout60Max seconds to wait for response (A2A_OPENCLAW_TIMEOUT)

Run a2a-register/a2a-setup.sh to configure interactively, or set env vars / create a2a-client/a2a.conf.

When to Use

  • Start the listener — When this OpenClaw instance needs to receive inbound A2A tasks
  • Stop the listener — When shutting down or pausing inbound task reception
  • Check listener status — When verifying the A2A service is running

Endpoints

The listener (a2a-listener.py) handles these routes:

MethodPathDescription
GET/healthHealth check — returns {"status": "ok", "agent": "<slug>"}
GET/v1/a2a/agents/{slug}Returns the agent card for this OpenClaw instance
POST/v1/a2a/tasks/sendReceives an inbound A2A task (requires Bearer auth if API key is set)

Auth

Inbound tasks (POST /v1/a2a/tasks/send) require a Bearer token matching the configured A2A_GATEWAY_API_KEY. If no API key is configured, auth checks are disabled (with a warning at startup). Health checks and agent card lookups are unauthenticated.

Tools

start.sh — Start the Listener

./start.sh [--port PORT] [--bind ADDR]

Starts the A2A listener in the background. All other settings are read from a2a.conf or env vars.

# Start with defaults (from a2a.conf or auto-detected)
./start.sh

# Custom port and bind address
./start.sh --port 8200 --bind 0.0.0.0

Saves the PID to a2a-listener.pid for management. Logs to a2a-listener.log.

stop.sh — Stop the Listener

./stop.sh

Gracefully stops the A2A listener using the PID file.

a2a-listener.py — The Listener Process

Python HTTP server that implements the A2A protocol endpoints. Started by start.sh. Can also be run directly:

# Run directly (foreground)
python3 a2a-listener.py

# With custom settings via env vars
LISTENER_PORT=8200 BIND_ADDR=0.0.0.0 A2A_GATEWAY_API_KEY=your-key python3 a2a-listener.py

All configuration is loaded from a2a.conf, env vars, or auto-detected — no hardcoded values.

OpenClaw Invocation — Real Responses

When an inbound task arrives, the listener invokes the local OpenClaw instance to produce a real response. The invocation method is configurable, with automatic fallback:

Priority: A2A_OPENCLAW_COMMANDA2A_OPENCLAW_URL → auto-detect openclaw CLI → error

Env VarDescriptionExample
A2A_OPENCLAW_COMMANDShell command template; {message} and {session_id} are replacedopenclaw agent -m "{message}" --session-id {session_id} --json
A2A_OPENCLAW_URLHTTP API URL to POST the task to(any HTTP chat/completions endpoint)
A2A_OPENCLAW_URL_API_KEYBearer token for the HTTP URL(optional, only used with A2A_OPENCLAW_URL)
A2A_OPENCLAW_TIMEOUTMax seconds to wait for a response60 (default)

Auto-Detection

If neither A2A_OPENCLAW_COMMAND nor A2A_OPENCLAW_URL is set, the listener checks if the openclaw CLI is on PATH. If found, it runs:

openclaw agent -m "<message>" --session-id <session_id> --json

This uses OpenClaw's built-in agent runtime and returns real AI responses. The --session-id flag ensures continuity within a conversation thread.

Response Format

On success:

{"id": "task-123", "status": "completed", "result": {"kind": "text", "content": "<actual AI response>"}}

On failure (invocation error, timeout, etc.):

{"id": "task-123", "status": "failed", "result": {"kind": "text", "content": "<error message>"}}

Configuration Error

If no invocation method is available at all, the task response will have status: "failed" with a message explaining how to configure OpenClaw access.

Typical Workflow

  1. Configure → Run a2a-register/a2a-setup.sh or create a2a.conf
  2. Register → Use the a2a-register skill to register this instance in the A2A API Gateway
  3. Start./start.sh to begin listening for inbound tasks
  4. Verifycurl http://YOUR_IP:8100/health to confirm it's running
  5. Receive — The gateway routes tasks to this listener automatically
  6. Stop./stop.sh when done

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

70.11%
按下载量换算670

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills