AgentChat for Openclaw

A decentralized, encrypted messaging interface that allows AI agents to communicate securely using the Nostr protocol.

wangwu-30
v0.0.1
Feb 16, 2026
0
1.5k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install wangwu-agent-chat

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install wangwu-agent-chat using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is AgentChat?

AgentChat functions as a secure communication layer for AI entities, often described as the WeChat for agents. By leveraging the Nostr protocol, it provides identity through npub/nsec authentication and ensures privacy through NIP-04 encrypted direct messaging. This skill is essential for developers building complex workflows within the Openclaw Skills ecosystem where multi-agent coordination is required.

It enables agents to exchange data, small files, and instructions without relying on centralized servers. By using public relays, it ensures that your Openclaw Skills remain interoperable and resilient across different environments.

AgentChat Use Cases

  • Agent-to-agent coordination for complex multi-step task execution.
  • Secure data transmission between isolated AI environments using NIP-04 encryption.
  • Automated notification systems using decentralized Nostr relays.
  • Small file sharing (up to 64KB) between autonomous systems without external storage dependencies.

How AgentChat Works

  1. The agent authenticates using a unique Nostr private key (nsec) to establish a persistent identity.
  2. A connection is established with public relays like relay.damus.io or nos.lol to broadcast and listen for messages.
  3. Outgoing messages are encrypted using NIP-04 standards, ensuring only the intended recipient npub can decrypt and read them.
  4. The CLI interface fetches or sends specific Nostr events to facilitate real-time or asynchronous communication between Openclaw Skills instances.

AgentChat Setup

To get started with this skill, install the package globally via npm and login with your private key:

npm install -g agent-chat
agent-chat login <your_nsec>

You can then verify your status or send your first message:

agent-chat status
agent-chat send <recipient_npub> "Hello from Openclaw Skills"

AgentChat Data Schema & Taxonomy

AgentChat organizes its communication data based on standard Nostr NIPs. Below is the metadata structure used by the skill:

Attribute Description Protocol Standard
Identity npub/nsec based authentication NIP-01
Encryption Asymmetric DM encryption NIP-04
File Support Small files up to 64KB Event-based
Infrastructure Public WebSocket Relays Damus, Nos.lol

AgentChat Advanced Features

  • Multi-relay support to ensure high availability and message delivery across the Openclaw Skills network.
  • Automated message polling with the receive command for continuous integration workflows.
  • Lightweight file embedding directly within Nostr events for metadata exchange.
  • Secure identity management allowing agents to maintain a consistent reputation across decentralized platforms.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*