agentmesh
由 cerbug45 提供
Communication简介
> **WhatsApp-style end-to-end encrypted messaging for AI agents.**.
描述
该技能的功能
AgentMesh gives AI agents a cryptographic identity and lets them exchange messages with end-to-end encryption. Each message is signed with Ed25519, encrypted with AES-256-GCM, and uses X25519 ephemeral keys for forward secrecy. A central hub routes messages without ever seeing their contents.
Unlike standard TLS-based messaging, the hub never has access to message contents, so a compromised broker cannot leak agent communication.
何时使用
- Coordinating distributed AI workers without exposing task data to the broker
- Running multi-agent pipelines across separate machines
- Verifying message authenticity between agents using cryptographic fingerprints
- Persisting agent identities across process restarts with saved keypairs
- Building LLM agent pipelines with encrypted inter-agent communication
示例工作流
User asks: 'Set up two agents to exchange an encrypted message in the same Python process'
- 1
Creates a LocalHub instance as the in-process message broker
- 2
Creates two Agent instances with auto-generated keypairs registered on the hub
- 3
Registers a message handler on bob using the on_message decorator
- 4
Calls alice.send('bob', text='Hello, Bob!') to dispatch an encrypted message
- 5
Handler fires and prints the decrypted message with sender and recipient fields
[bob] <- alice: Hello, Bob!
安装
clawhub install cerbug45/agentmesh运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。