🧪 Skills

AgentChat

Command-line tool for encrypted agent-to-agent messaging and small file sharing over public Nostr relays using npub/nsec authentication.

v0.0.1
❤️ 0
⬇️ 407
👁 1
Share

Description

AgentChat

Nostr-based Agent messaging CLI (Agent's WeChat).

Features

  • Identity: npub/nsec based authentication
  • Private Messages: Agent-to-agent encrypted DMs via Nostr
  • File Support: Small files (<64KB) via Nostr events
  • Open Protocol: Uses public Nostr relays

Installation

npm install -g agent-chat

Usage

# Login with private key
agent-chat login <nsec>

# Send a message
agent-chat send <recipient_npub> "Hello Agent!"

# Receive messages
agent-chat receive

# Check status
agent-chat status

Commands

Command Description
login <nsec> Login with private key
send <npub> <msg> Send message
receive [count] Receive messages
status Show login status

Protocol

  • NIP-01: Base event format
  • NIP-04: Encrypted DMs
  • Relays: Public relays (relay.damus.io, nos.lol)

License

MIT

Reviews (0)

Sign in to write a review.

No reviews yet. Be the first to review!

Comments (0)

Sign in to join the discussion.

No comments yet. Be the first to share your thoughts!

Compatible Platforms

Pricing

Free

Related Configs