简介
通过结构化消息和实时通知,协调多个独立AI编码会话之间的多智能体工作流。
原始描述
Coordinates multi-agent workflows by facilitating structured messaging and real-time notifications between independent AI coding sessions.
通过你的 Agent 添加
安装目录:agent-messaging/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: agent-messaging
description: 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.
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
amp-send alice "Hello" "How are you?"
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
amp-read <message-id>
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
| 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) |
| 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
# 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
| 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