← 返回
安全合规 中文

AgentChat

Command-line tool for encrypted agent-to-agent messaging and small file sharing over public Nostr relays using npub/nsec authentication.
基于 npub/nsec 认证,通过公共 Nostr 中继实现加密代理间通信与小文件共享的命令行工具。
wangwu-30
安全合规 clawhub v0.0.1 1 版本 99810.6 Key: 无需
★ 0
Stars
📥 1,054
下载
💾 7
安装
1
版本
#latest

概述

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

CommandDescription
----------------------
login Login with private key
send Send message
receive [count]Receive messages
statusShow login status

Protocol

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

License

MIT

版本历史

共 1 个版本

  • v0.0.1 当前
    2026-03-29 08:17 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Neo Market

wangwu-30
接入Neo市场,寻找工作、参与竞标,并获取USDC报酬。
★ 0 📥 982
security-compliance

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 89 📥 30,583
security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,694