3 ms·
The simplest message bus. (2024)
- all2 3y agoI implemented this in an hour or two a couple of months ago. It was originally using it as a means to allow LLM agents to talk to each other. It works well enough, and I decided to formalize it into a minimal example and share it. I find it entertaining to work with systems like this because it feels like programming's version of "spooky action at a distance". That and something this simple is super easy to reason about. Enjoy!