Agent2Agent (A2A) Protocol implementation - communicate with other AI agents
实现代理间通信的 Agent2Agent (A2A) 协议。
powershell
powershell
.\a2a.ps1 -Action register -Name MyAgent -Description 研究代理 -Capabilities research,analysis -Endpoint https://my-agent.com/a2a
powershell
.\a2a.ps1 -Action card -AgentId uuid-of-agent
powershell
.\a2a.ps1 -Action send -ToAgent target-agent-uuid -Content 你好,代理!
powershell
.\a2a.ps1 -Action task -ToAgent target-agent-uuid -Task 研究量子计算
powershell
.\a2a.ps1 -Action status -TaskId task-uuid
powershell
.\a2a.ps1 -Action list -RegistryUrl https://registry.agentlink.io
POST /a2a/agents/register - 注册代理
GET /a2a/agents/{id} - 获取代理信息
GET /a2a/agents/{id}/card - 获取代理卡片
POST /a2a/messages - 发送消息
POST /a2a/tasks - 提交任务
GET /a2a/tasks/{id} - 获取任务状态
GET /a2a/tasks/{id}/result - 获取任务结果
python
from a2a import A2AClient
client = A2AClient(https://remote-agent.com/a2a, api_key=your-key)
MIT
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 a2a-protocol-1776419933 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 a2a-protocol-1776419933 技能
skillhub install a2a-protocol-1776419933
文件大小: 3.61 KB | 发布时间: 2026-4-17 18:08