SHEPHERDdocs Search the docs/ v0.5.3-beta
On this pageLet agents talk on the event bus

Let agents talk on the event bus

Publish and read messages on topics.

Works inDesktop appTerminal UICLI

Let agents talk on the event bus

$ shepherd topic create notices --partitions 2
created topic notices (2 partitions)

$ shepherd topic publish notices "hello team" --from me
published message - to notices[0] (offset 0)

$ shepherd topic publish notices "second notice" --from me
published message - to notices[1] (offset 0)

$ shepherd topic tail notices
[2026-11-12T21:48:49Z] notices[0]:#0 from me: hello team
[2026-11-12T21:48:49Z] notices[1]:#0 from me: second notice

$ shepherd topic list
NAME	PARTITIONS	MESSAGES
notices	2	2

Replay from an offset with topic replay notices --partition 0 --from 0. Clear everything when you are done:

$ shepherd bus clean --force
removed 2 bus message(s)

In the app: Events, + Topic and Send message. In the terminal UI: tab 7, n for a topic, m for a message, C to clear.

Was this page useful?Suggest an edit on GitHub