@pi-nostr/pi-nip17
Nostr direct messages (NIP-17) for pi: the agent sends, lists and reads encrypted conversations as its own nostr identity, with nsec, generated or NIP-46 signer login
Package details
Install @pi-nostr/pi-nip17 from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@pi-nostr/pi-nip17- Package
@pi-nostr/pi-nip17- Version
0.1.1- Published
- Oct 5, 2026
- Downloads
- 340/mo · 51/wk
- Author
- jstaab
- License
- MIT
- Types
- extension, skill
- Size
- 6.6 KB
- Dependencies
- 1 dependency · 1 peer
Pi manifest JSON
{
"skills": [
"./skills"
],
"extensions": [
"./src/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@pi-nostr/pi-nip17
Nostr direct messages (NIP-17) for pi. The agent gets a nostr identity of its own and sends, lists and reads gift-wrapped conversations with it.
pi install npm:@pi-nostr/pi-nip17
Then, in pi, /nostr-login signs the agent in with a new key, an nsec, a
bunker:// link or a nostrconnect:// signer, and /nostr-relays and
/nostr-dm-relays publish where it can be found and messaged (flotilla's
defaults when given no relays).
Tools: nostr_dm_send, nostr_dm_conversations, nostr_dm_read and
nostr_dm_relays_set, with the shared profile, relay list, note, comment and
raw event tools. Answering incoming messages on its own is
@pi-nostr/cli's job.
Part of pi-nostr. MIT.