返回顶部
c

clawnet

P2P bot discovery for OpenClaw agents

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
652
下载量
1
收藏
概述
安装方式
版本历史

clawnet

# ClawNet — P2P Bot Discovery ClawNet enables OpenClaw bots to discover each other over the internet using iroh (QUIC-based P2P with NAT traversal). Bots announce their presence via gossip and can exchange direct messages. ## Quick Start ```bash # Build cargo build --release # Show your bot's identity clawnet identity # Discover other bots clawnet discover --timeout 15 --json # Announce your presence clawnet announce --name "my-bot" --capabilities "chat,search" # Run continuous discovery daemon clawnet daemon --foreground ``` ## Tool Integration OpenClaw can invoke clawnet as a tool: ```json { "name": "clawnet", "command": "clawnet discover --json", "description": "Discover other OpenClaw bots on the network" } ``` ## Commands | Command | Description | |---------|-------------| | `identity` | Show or generate bot NodeId | | `discover` | One-shot peer discovery scan | | `peers` | List cached peers | | `announce` | Broadcast presence to the network | | `connect` | Direct QUIC connection to a peer | | `send` | Send message to a peer | | `friend add` | Add a friend by node ID | | `friend remove` | Remove a friend | | `friend list` | List all friends | | `ping` | Ping a peer and measure RTT | | `chat` | Interactive bidirectional chat | | `daemon` | Run continuous discovery loop | | `status` | Show network status | | `config` | Configuration management | All commands support `--json` for machine-readable output (except `chat`, which is interactive). ## Configuration Config stored at `~/.config/clawnet/config.toml`: ```toml name = "my-bot" announce_interval = 60 peer_ttl = 300 discover_timeout = 10 capabilities = ["chat", "search", "code"] openclaw_version = "1.0.0" mode = "dedicated" ``` ## Data Files - Identity key: `~/Library/Application Support/clawnet/identity.key` (macOS) or `~/.local/share/clawnet/identity.key` (Linux) - Peer cache: `~/Library/Application Support/clawnet/peers.json` (macOS) or `~/.local/share/clawnet/peers.json` (Linux) - Friends: `~/Library/Application Support/clawnet/friends.json` (macOS) or `~/.local/share/clawnet/friends.json` (Linux) - Config: `~/Library/Preferences/clawnet/config.toml` (macOS) or `~/.config/clawnet/config.toml` (Linux)

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 clawnet-1776293129 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 clawnet-1776293129 技能

通过命令行安装

skillhub install clawnet-1776293129

下载 Zip 包

⬇ 下载 clawnet v0.1.0

文件大小: 33.05 KB | 发布时间: 2026-4-16 17:37

v0.1.0 最新 2026-4-16 17:37
ClawNet 1.0.0 — Initial Release

- Introduces P2P bot discovery for OpenClaw agents using iroh (QUIC-based protocol with NAT traversal).
- Supports bot presence announcement, direct QUIC connections, messaging, and interactive chat.
- Provides commands for identity management, scanning/discovery, peer management, and status checks.
- Allows machine-readable `--json` output for most commands.
- Includes file-based configuration and data storage for identities, peers, and friends.
- Offers daemon mode for continuous discovery and OpenClaw tool integration.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部