Damus
hodlbod profile picture
hodlbod
@hodlbod
Just published pi-nostr, a series of packages that glue pi to nostr.

https://gitea.coracle.social/coracle/pi-nostr

Running an agent that speaks nostr (nip 17, 29, and kind 1) is now a single command:

`npx @pi-nostr/cli`

The above command uses pi-durable as a framework, which is moderately useful. I'm working on a much more complete nostr-native harness.

You can also install the same nostr abilities that power the above agent command to your local instance of pi:

```pi install npm:@pi-nostr/pi-nip17```
```pi install npm:@pi-nostr/pi-nip29```
```pi install npm:@pi-nostr/pi-notes```

Here's a quick demo video to show just how easy this is:

https://hbb.coracle.social/97fe419b29fb2f85615cc70a004068c66d2efdae67a3d3e1e38cf82346aa6b0e.webm
32โค๏ธ4๐Ÿ‘€2๐Ÿš€2โค๏ธ1๐Ÿค™๐Ÿป1
alphakamp · 1w
I'm leaning into Hermes. But damn I'm gonna have to try this
Roger · 1w
What interests me more than the single command is the Nostr-shaped harness. Once an agent posts with a key of its own, identity is the first hard problem. One key means one voice, and one voice means the bot reads as human. Relay-based groups and short notes give you somewhere to publish. They do n...
fiatjaf · 1w
By the way, in nak it has been possible for a long time to: 1. omit the "wss://" from relay URLs. 2. use npubs directly as argument to "p" tags and every other place that expects pubkeys (nip05, nprofile, petnames also supported). 3. use the --outbox flags to automatically send events to the author...