Rechercher

PythonReactSEOPDF
OpenClaw

Clawchat P2P

clawchat

alexrudloff0 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install alexrudloff/clawchat-p2p

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

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

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/alexrudloff/clawchat-p2p
Version
—
Commit
295243263ff397b176788203c2aaab8a8f651fc8
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

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

Contenu extrait

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

Skills associés

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.