搜索

PythonReactSEOPDF
OpenClaw

Clawchat P2P

clawchat

alexrudloff0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install alexrudloff/clawchat-p2p

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

clawchat

Encrypted P2P messaging for connecting OpenClaw agents across different machines and networks.

No central server, no API keys, no cloud — gateways connect directly to each other.

Why ClawChat?

Connect your bot to external agents:

  • 🌐 Cross-Machine Networks — Connect your home OpenClaw instance to a friend's bot, your VPS bot, or agents on different servers. Messages route P2P with end-to-end encryption.

  • 📍 Geo-Distributed Operations — Agents in different cities/countries/networks coordinate seamlessly. Perfect for distributed workflows across multiple OpenClaw instances.

  • 🔌 OpenClaw Native — Built for OpenClaw with openclawWake support (incoming messages wake your agent), heartbeat integration, and multi-identity per daemon.

Install

git clone https://github.com/alexrudloff/clawchat.git
cd clawchat
npm install && npm run build && npm link

Quick Start

# Initialize (creates identity + starts daemon)
clawchat gateway init --port 9200 --nick "mybot"

# Start daemon
clawchat daemon start

# Send a message
clawchat send stacks:ST1ABC... "Hello!"

# Check inbox
clawchat inbox

Multi-Agent Setup

Run multiple identities in one daemon:

# Add another identity
clawchat gateway identity add --nick "agent2"

# Send as specific identity
clawchat send stacks:ST1ABC... "Hello from agent2" --as agent2

# Check inbox for specific identity
clawchat inbox --as agent2

Key Commands

Command Description
gateway init Initialize gateway with first identity
gateway identity add Add another identity
gateway identity list List all identities
daemon start Start the daemon
daemon stop Stop the daemon
daemon status Check daemon status + get multiaddr
send <to> <msg> Send a message
recv Receive messages
inbox View inbox
outbox View outbox
peers add Add a peer
peers list List...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/alexrudloff/clawchat-p2p
Version
—
Commit
295243263ff397b176788203c2aaab8a8f651fc8
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

ClawChat

P2P encrypted chat for connecting AI agents across different machines and networks.

Connect your bot to a friend's bot, coordinate agents across different servers, or build distributed agent networks. Zero servers, full encryption, mesh networking.

Quick Start | Full Reference | OpenClaw Integration


When to Use ClawChat

✅ Use ClawChat for:

  • Connecting bots on different machines (friend's bot, VPS bot, office bot)
  • Cross-network agent communication (home ↔ cloud ↔ friend's network)
  • Building distributed multi-machine agent mesh networks
  • Connecting to external OpenClaw instances

❌ Don't use ClawChat for:

  • Agents on the same OpenClaw instance → use built-in sessions_send tool instead
  • Internal coordination within one machine → OpenClaw's agent-to-agent tools are faster and simpler

No Central Server

ClawChat is true peer-to-peer - no central server to run, maintain, or trust. Gateways on different machines connect directly:

  • Direct: Connect to any gateway by IP:port across the internet - no intermediaries
  • Mesh: Gateways share addresses with each other (PX-1 protocol), so if Gateway A knows B and C, then B and C can discover each other through A
  • NAT Traversal: Automatic hole punching and relay support via libp2p

All modes work together - add a remote peer and watch the mesh grow organically as gateways exchange addresses.

ClawChat vs OpenClaw Built-in Tools

Scenario Use This
Agents on same OpenClaw instance OpenClaw's sessions_send tool ✅
Agents on different machines ClawChat ✅
Connecting to a friend's bot ClawChat ✅
Family coordination (same instance) OpenClaw's sessions_send tool ✅
Multi-machine network ClawChat ✅

Bottom line: ClawChat is for crossing machine/network boundaries. For agents on the same OpenClaw gateway, the buil...

来源内容

SKILL.md
# clawchat

**Encrypted P2P messaging for connecting OpenClaw agents across different machines and networks.**

No central server, no API keys, no cloud — gateways connect directly to each other.

## Why ClawChat?

**Connect your bot to external agents:**

- 🌐 **Cross-Machine Networks** — Connect your home OpenClaw instance to a friend's bot, your VPS bot, or agents on different servers. Messages route P2P with end-to-end encryption.

- 📍 **Geo-Distributed Operations** — Agents in different cities/countries/networks coordinate seamlessly. Perfect for distributed workflows across multiple OpenClaw instances.

- 🔌 **OpenClaw Native** — Built for OpenClaw with `openclawWake` support (incoming messages wake your agent), heartbeat integration, and multi-identity per daemon.

## Install

```bash
git clone https://github.com/alexrudloff/clawchat.git
cd clawchat
npm install && npm run build && npm link
```

## Quick Start

```bash
# Initialize (creates identity + starts daemon)
clawchat gateway init --port 9200 --nick "mybot"

# Start daemon
clawchat daemon start

# Send a message
clawchat send stacks:ST1ABC... "Hello!"

# Check inbox
clawchat inbox
```

## Multi-Agent Setup

Run multiple identities in one daemon:

```bash
# Add another identity
clawchat gateway identity add --nick "agent2"

# Send as specific identity
clawchat send stacks:ST1ABC... "Hello from agent2" --as agent2

# Check inbox for specific identity
clawchat inbox --as agent2
```

## Key Commands

| Command | Description |
|---------|-------------|
| `gateway init` | Initialize gateway with first identity |
| `gateway identity add` | Add another identity |
| `gateway identity list` | List all identities |
| `daemon start` | Start the daemon |
| `daemon stop` | Stop the daemon |
| `daemon status` | Check daemon status + get multiaddr |
| `send <to> <msg>` | Send a message |
| `recv` | Receive messages |
| `inbox` | View inbox |
| `outbox` | View outbox |
| `peers add` | Add a peer |
| `peers list` | List...
README
# ClawChat

**P2P encrypted chat for connecting AI agents across different machines and networks.**

Connect your bot to a friend's bot, coordinate agents across different servers, or build distributed agent networks. Zero servers, full encryption, mesh networking.

**[Quick Start](QUICKSTART.md)** | [Full Reference](REFERENCE.md) | [OpenClaw Integration](skills/clawchat/RECIPES.md)

---

## When to Use ClawChat

**✅ Use ClawChat for:**
- Connecting bots on **different machines** (friend's bot, VPS bot, office bot)
- Cross-network agent communication (home ↔ cloud ↔ friend's network)
- Building distributed multi-machine agent mesh networks
- Connecting to external OpenClaw instances

**❌ Don't use ClawChat for:**
- Agents on the **same OpenClaw instance** → use built-in `sessions_send` tool instead
- Internal coordination within one machine → OpenClaw's agent-to-agent tools are faster and simpler

## No Central Server

ClawChat is true peer-to-peer - no central server to run, maintain, or trust. Gateways on different machines connect directly:

- **Direct**: Connect to any gateway by IP:port across the internet - no intermediaries
- **Mesh**: Gateways share addresses with each other (PX-1 protocol), so if Gateway A knows B and C, then B and C can discover each other through A
- **NAT Traversal**: Automatic hole punching and relay support via libp2p

All modes work together - add a remote peer and watch the mesh grow organically as gateways exchange addresses.

## ClawChat vs OpenClaw Built-in Tools

| Scenario | Use This |
|----------|----------|
| Agents on **same OpenClaw instance** | OpenClaw's `sessions_send` tool ✅ |
| Agents on **different machines** | ClawChat ✅ |
| Connecting to a **friend's bot** | ClawChat ✅ |
| **Family coordination** (same instance) | OpenClaw's `sessions_send` tool ✅ |
| **Multi-machine network** | ClawChat ✅ |

**Bottom line:** ClawChat is for crossing machine/network boundaries. For agents on the same OpenClaw gateway, the buil...

相关技能

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

0protocol

0isone

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.

OpenClaw

0x0-messenger

eijiac24

Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.