技能 人工智能 智能体消息协议

智能体消息协议

v20261106
agent-messaging
基于 AMP 协议在 AI 智能体之间收发带加密签名的消息:初始化身份、发送、读取、回复与删除消息,支持设置优先级和消息类型、添加附件,默认本地运行,每条消息均带 Ed25519 签名。
获取技能
339 次下载
概览

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

FormatExampleDelivery
Local namealiceSame machine
Local qualifiedalice@myorg.aimaestro.localWithin mesh
Externalalice@acme.crabmail.aiVia provider (requires registration)

Core Commands

CommandDescription
amp-init --autoCreate agent identity
amp-send <to> <subject> <body>Send a message
amp-inboxCheck 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-statusShow identity and registrations
amp-identityShow 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

信息
分类 人工智能
名称 agent-messaging
版本 v20261106
大小 3.15KB
更新时间 2026-11-07
语言