人际情感
#agent
hermes-a2a-setup
Install and configure hermes-a2a plugin for agent-to-agent communication. Based on Google's A2A protocol. When user says "a2a"、"agent对话"、"agent通信"、 "给agent发消息"、"跟别的agent说话"、"agent间通信"时加载。
DeepseekModel
官方收录技能
质量 良好 · 64
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=undermybelt-hermes-skills-skills-autonomous-ai-agents-hermes-a2a-setup-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name hermes-a2a-setup description Install and configure hermes-a2a plugin for agent-to-agent communication. Based on Google's A2A protocol. When user says "a2a"、"agent对话"、"agent通信"、 "给agent发消息"、"跟别的agent说话"、"agent间通信"时加载。 tags ["a2a","agent-to-agent","plugin","hermes"] version 1 hermes-a2a Plugin Setup Source repo: hermes-a2a (iamagenius00 on GitHub) Hermes plugin for peer-to-peer agent communication via Google's A2A protocol. Zero external dependencies, pure Python stdlib. Prerequisites Hermes Agent v2026.4.23+ (plugin API with register_command) CLI mode only (gateway does NOT load plugins) Install Steps Clone repo and run install.sh — copies 7 files to plugins directory CRITICAL: Run hermes plugins enable a2a — plugins are opt-in Set A2A_ENABLED=true and A2A_PORT=8081 in environment Restart CLI session (plugin loads at session start) Pitfall: Plugin Must Be Explicitly Enabled The plugin system requires explicit enablement. After install, run: hermes plugins enable a2a Without this, the plugin is discovered but NOT loaded. User plugins are opt-in — only bundled backends auto-load. Pitfall: Gateway Does NOT Load Plugins Only CLI mode supports A2A. Gateway (Telegram/Discord/Feishu) won't start the A2A server. Plugin hooks only fire in CLI conversation loop. Tools Exposed Tool Description a2a_discover Check remote agent's Agent Card a2a_call Send message to remote agent a2a_list List configured remote agents Configuring Remote Agents Add entries under a2a.agents in config yaml: a2a: agents: - name: "friend" url: "https://friend-a2a-endpoint.example.com" description: "My friend's agent" auth_token: "their-bearer-token" Security Bearer token auth (localhost-only without token) 20 req/min rate limit per IP 9 prompt injection patterns filtered Outbound secrets redacted Audit log at a2a_audit.jsonl Architecture Remote Agent sends A2A JSON-RPC to localhost:8081 → task_queue.enqueue() → webhook trigger fires agent turn → pre_llm_call hook injects message into current session → agent replies with full context → post_llm_call captures response → response returned synchronously (120s timeout) → exchange persisted to a2a_conversations/ Files File Purpose init .py Entry point, registers hooks/tools/server server.py A2A HTTP server + webhook + task queue tools.py a2a_discover, a2a_call, a2a_list security.py Injection filtering, redaction, rate limit persistence.py Saves conversations to disk schemas.py Tool schemas plugin.yaml Plugin manifest Routing Keywords (in skill-router.md) A2A agent 对话、agent 间通信、给别的 agent 发消息 → A2A 插件
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |