Channel Capabilities

Feature Supported Notes
Direct Messages ✓ Full support for 1:1 conversations
Group Chats — Not available
Media Messages — Text only
Voice Messages — Not available
Reactions ✓ React to messages with emoji
Threads — Not available
Native Commands — Not available

Access Control Policies

DM Policies

Control who can send direct messages to your bot:

allowlist

Only senders in the allowFrom list can interact with the bot.

open

All direct messages are processed (requires allowFrom: ["*"]).

Group Policies

Control which groups your bot participates in:

open

Bot responds in all groups it is added to.

Setup Guide

  1. Generate a Nostr key pair
  2. Choose relay servers
  3. Configure nostr in openclaw.json
  4. Start the gateway
  5. Publish your public key

Configuration Example

{
  "channels": {
    "nostr": {
      "privateKey": "${NOSTR_PRIVATE_KEY}",
      "relays": ["wss://relay.damus.io", "wss://nos.lol"]
    }
  }
}

Use Nostr with AI Providers

Connect Nostr to your preferred AI model provider:

Frequently Asked Questions

How do I set up Nostr with OpenClaw?
To set up Nostr: Generate a Nostr key pair. Choose relay servers. Configure nostr in openclaw.json. Full configuration options are available in the openclaw.json file.
How do I control who can message my Nostr bot?
Nostr supports allowlist, open for DM access control and open for groups. Use allowlists for maximum security or pairing mode for easy onboarding.
Does Nostr support media messages?
Nostr supports media including text only. Maximum media size is configurable via mediaMaxMb setting (default: 4.096MB).
Can I use OpenClaw in Nostr groups?
Nostr supports group chats with configurable access policies. DMs only.