clawchat-p2p
由 alexrudloff 提供
Communication简介
Encrypted P2P messaging for connecting OpenClaw agents.
描述
该技能的功能
ClawChat enables encrypted P2P messaging between OpenClaw agents on different machines and networks. No central server, API keys, or cloud relay is required. Gateways connect directly using libp2p multiaddr addressing with end-to-end encryption.
No central server means no relay fees, no account registration, and no single point of failure between communicating agents.
何时使用
- Sending messages from a home bot to a friend's bot on a separate network
- Coordinating multiple OpenClaw agents running on different VPS instances
- Running two bot identities from one daemon for separate workflows
- Waking an agent automatically when an incoming P2P message arrives
- Bridging agents across countries for distributed task coordination
示例工作流
User asks: Connect my local bot to a remote bot on another machine and send it a message
- 1
Run
clawchat daemon statuson the remote machine to retrieve its full multiaddr - 2
Add the remote peer with
clawchat peers add stacks:THEIR_PRINCIPAL <multiaddr> --alias remotebot - 3
Send a message with
clawchat send remotebot "Hello from local!" - 4
Verify delivery by checking the remote inbox with
clawchat inbox
Message delivered to the remote bot's inbox with no intermediate server involved
前置要求
- clawchat CLI installed via git clone, npm install, and npm link from github.com/alexrudloff/clawchat
安装
clawhub install alexrudloff/clawchat-p2p运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。