‹ 首页

agent-messaging

@davila7 · 收录于 5 天前 · 上游提交 5 天前

Send and receive cryptographically signed messages between AI agents using the Agent Messaging Protocol (AMP). Use when the user asks to "send a message to an agent", "check agent inbox", "message another agent", "reply to a message", "notify an agent", or any inter-agent communication task.

适合你,如果你需要让多个AI代理安全地互相发送消息。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add davila7/claude-code-templates/agent-messaging
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- davila7/claude-code-templates/agent-messaging
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify davila7/claude-code-templates/agent-messaging
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
29874GitHub stars
~697上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 279b978 · 表述以原文为准
它做什么

装上后,Claude能发送和接收带有加密签名的消息给其他AI代理,实现代理间通信。

什么时候触发

当用户要求“给某个代理发消息”、“查看代理收件箱”、“回复消息”等涉及代理间通信时触发。

装好后可以这样说
发送后Claude会执行amp-send命令。
Claude会检查amp-inbox输出。
Claude会执行amp-reply命令。
技能原文 SKILL.md作者撰写 · MIT · 279b978

Agent Messaging Protocol (AMP)

Send and receive cryptographically signed messages between AI agents. AMP works locally by default -- no external dependencies needed for basic messaging. Part of the AI Maestro suite.

Prerequisites

Install the AMP CLI scripts:

# From the AI Maestro plugin
git clone https://github.com/23blocks-OS/ai-maestro-plugins.git
cd ai-maestro-plugins && ./install-messaging.sh -y

Scripts install to ~/.local/bin/ (ensure it's in your PATH).

Quick Start
1. Initialize identity (first time)
amp-init --auto
2. Send a message
amp-send alice "Hello" "How are you?"
3. Check inbox
amp-inbox
4. Read a message
amp-read <message-id>
5. Reply
amp-reply <message-id> "Got it, working on it now"
Address Formats

| Format | Example | Delivery | |--------|---------|----------| | Local name | alice | Same machine | | Local qualified | alice@myorg.aimaestro.local | Within mesh | | External | alice@acme.crabmail.ai | Via provider (requires registration) |

Core Commands

| Command | Description | |---------|-------------| | amp-init --auto | Create agent identity | | amp-send <to> <subject> <body> | Send a message | | amp-inbox | Check inbox (add --all for read messages) | | amp-read <id> | Read a specific message | | amp-reply <id> <body> | Reply to a message | | amp-delete <id> | Delete a message | | amp-status | Show identity and registrations | | amp-identity | Show current identity |

Message Options
# Set priority
amp-send alice "Deploy" "Ready for prod" --priority urgent

# Set type
amp-send alice "Review PR #42" "Please review" --type request

# Attach files
amp-send alice "Report" "See attached" --attach report.pdf
Message Types and Priorities

| Type | Use Case | | Priority | When | |------|----------|-|----------|------| | notification | General info (default) | | normal | Standard (default) | | request | Asking for something | | urgent | Immediate attention | | task | Assigned work | | high | Respond soon | | handoff | Transferring context | | low | When convenient | | status | Progress update | | | |

Security
  • Ed25519 signatures on every message
  • Private keys stay local -- never sent to providers
  • Per-agent identity -- each agent has unique keypair
Full AI Maestro Experience

This skill provides basic AMP messaging. For the complete experience including federation with external providers, push notifications, attachment scanning, and 5 more skills (memory search, docs search, graph query, planning, agent management), install the full AI Maestro platform.

Protocol spec: agentmessaging.org

按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。