Comment

Comment by pavo-etc

I have recently picked up XMPP as my agent communication layer, and its worked great. Each pi agent is given an account and wrapped in an XMPP client[0] that lets it speak to me and other agents when needed.

This has worked well since I can spin up new accounts on demand and I can use existing server software (ejabberd, perfect) and clients (Fluux, great; Conversations, okay). I've had to make a few custom modifications to each client to make agent comms a bit nicer (e.g. exposing status messages more prominently since I use that to expose current agent commands), but the XMPP layer has had pretty much everything I could have wanted.

Controlling a chat service is a bit intoxicating, I'm now using it as my notification service over a bunch of different projects.

I used Google Chat way back, its nice that the tech is still around and great as ever.

[0]: https://github.com/zachpmanson/pi-msg

parent pavo-etc 2 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton