/install agent-communication-hub
Agent Communication Hub
Use this skill when multiple agents need a shared communication layer with durable delivery and session awareness.
What It Provides
- Point-to-point, private, and broadcast messaging
- Event publish/subscribe with subscription filters
- Agent registration, presence tracking, and session history
- Offline message queueing, persistence, and acknowledgements
- SQLite-backed audit history for messages and events
Project Layout
src/CommunicationHub.ts: Main entry point that coordinates messaging, storage, queueing, and acknowledgementssrc/EventBus.ts: Event publish/subscribe, replay, and filter evaluationsrc/SessionManager.ts: Agent lifecycle, presence, and session historytests/: Vitest coverage for messaging, sessions, queueing, and eventsexamples/: Minimal runnable example
Workflow
- Create a
CommunicationHubwith a SQLite database path. - Register agents through
SessionManager. - Connect or disconnect agents to update presence state.
- Send direct, private, or broadcast messages through
CommunicationHub. - Subscribe agents to event types through
EventBus. - Publish events and replay history when needed.
- Acknowledge delivered messages to complete queue processing.
Notes
- Broadcast delivery fans out to all registered agents except the sender.
- Offline direct messages remain queued until the recipient connects or explicitly drains the queue.
- Event filters use exact key/value matching against event payload fields.
- Message and event payloads are stored as JSON for flexible schemas.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install agent-communication-hub - After installation, invoke the skill by name or use
/agent-communication-hub - Provide required inputs per the skill's parameter spec and get structured output
What is Agent Communication Hub?
Provide agent-to-agent communication for OpenClaw skills with direct messaging, broadcast delivery, pub/sub events, session tracking, offline queues, and SQL... It is an AI Agent Skill for Claude Code / OpenClaw, with 325 downloads so far.
How do I install Agent Communication Hub?
Run "/install agent-communication-hub" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Agent Communication Hub free?
Yes, Agent Communication Hub is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Agent Communication Hub support?
Agent Communication Hub is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Agent Communication Hub?
It is built and maintained by imgolye (@imgolye); the current version is v0.1.0.