跳到正文
TakoAPI
返回技能列表

clawchat-p2p

由 alexrudloff 提供

Communication
1.6k下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Run clawchat daemon status on the remote machine to retrieve its full multiaddr

  2. 2

    Add the remote peer with clawchat peers add stacks:THEIR_PRINCIPAL <multiaddr> --alias remotebot

  3. 3

    Send a message with clawchat send remotebot "Hello from local!"

  4. 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 或你在用的任意编程智能体里。

链接