Skip to main content

Module irc

Module irc 

Source
Expand description

IRC-style message relay between named agents in one process.

Adapted from oh-my-pi’s agent-to-agent messaging pattern: peers are discovered by id, messages are plain prose routed over in-memory channels (no IRC wire protocol). Reply generation and history injection are left for a later integration pass.

Structs§

IrcHub
Shared routing hub — clone and call IrcHub::join for each live agent.
IrcMessage
A single routed message between agents.
IrcRelay
Per-agent IRC endpoint: send to peers and poll the local inbox.