agent-communication-hub
Provide agent-to-agent communication for OpenClaw skills with direct messaging, broadcast delivery, pub/sub events, session tracking, offline queues, and SQLite-backed persistence. Use when agents need reliable message exchange, event fan-out, subscription filtering, or communication history.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/imgolye/agent-communication-hubAgent 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.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-imgolye-agent-communication-hub": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
xiaohongshu-viral-content
小红书爆款文案生成器。基于热门模板和数据驱动,生成高转化率的小红书内容。
daily-hot-push
每日推送中国热榜TOP10到飞书。从微博、知乎、百度、36氪筛选最重要的新闻,智能排除明星八卦和主观评论。
agent-task-queue
Build and operate a multi-agent task queue in OpenClaw with priority queues, delayed/dead-letter queues, scheduling, retry/timeout control, dependency management, parallel execution, and execution tracking using the bundled TypeScript runtime.
Doc Genius
Skill by imgolye
Crypto Scope
Skill by imgolye