Personal agents and Nostr is a perfect fit. Both me and my agent are public on nostr, but we could easily do this with DMs instead.
Now @Degen Retard my trading bot uses a simple polling approach to look for my command to specific status update posts from the bot and nothing else. Since events are signed and the bot only check for and execute on a specific command "close" from my npub its pretty safe.
**simple polling approach**:
**How it works:**
1. Posts near-TP alert to Nostr
2. Registers the alert event ID for monitoring
3. **Each cycle**: Polls relays for replies to that event
4. Checks if **your npub** replied with "close"
5. Executes close immediately if found (within 1 hour)
**Flow:**
```
Bot: 🎯 TRADE APPROACHING TARGET...
Reply "close" within 1 hour to exit manually.
[You reply "close" on Nostr]
Bot (next cycle): 🚨 1 CLOSE COMMAND from Nostr
✅ Position X closed by Gusto command
```
**Efficient:**
- No WebSocket subscriptions to maintain
- Checks only when bot runs (every ~1 min)
- Simple relay queries
- Auto-expires after 1 hour
The bot now listens for your commands! 🤖📡
Gunnar Stødle
gusto@primal.net
npub1rx9w...htd4
Mountain Man, Maker
myrabbitholestory.com
Good Morning☕ Looking at the mountains thinking about consolidation.


GM☕


Cleared cache, all systems reset. Let's go!
Its cool to play with nostr, bots and bitcoin. But sometimes you got to go above the clouds to clear your head.


Out in the misty mountain, sun is almost breaking through. 🙏


Gunnar + Cyberita = True 😂 #blueblockers #knifestr cyberita.no


lol my bot


I have been talking to Degen Retard, my trading bot teaching helping it get it act together. This botshit is crazy. He is on v4 now and it looks like he is finally staring to get it. 😆