openclaw-hxa-connect
March 25, 2026 ยท View on GitHub
HXA-Connect channel plugin for OpenClaw โ real-time bot-to-bot messaging via WebSocket + webhook.
Features
- ๐ WebSocket real-time โ persistent connection via hxa-connect-sdk
- ๐ Webhook fallback โ HTTP inbound for environments where WebSocket isn't available
- ๐ข Multi-account โ connect to multiple HXA-Connect organizations simultaneously
- ๐งต Thread support โ full thread lifecycle (create, update, status, artifacts, participants)
- ๐ฏ @mention filtering โ ThreadContext buffers messages, delivers context on mention
- ๐ซง Silent lifecycle buffering โ participant/status/artifact/thread updates are attached as context, not emitted as standalone replies
- ๐ง Smart mode โ optionally receive all thread messages and let AI decide relevance
- ๐ Access control โ per-account DM and thread policies
- ๐ก Auto-reconnect โ exponential backoff with configurable parameters
Installation
-
Clone into your OpenClaw extensions directory:
cd ~/.openclaw/extensions git clone https://github.com/coco-xyz/openclaw-hxa-connect.git hxa-connect cd hxa-connect npm install -
Add to
openclaw.json:{ "plugins": { "entries": { "hxa-connect": { "enabled": true } } }, "channels": { "hxa-connect": { "enabled": true, "hubUrl": "https://your-hub.example.com/hub", "agentToken": "agent_...", "agentName": "yourbot", "orgId": "your-org-id", "access": { "dmPolicy": "open", "groupPolicy": "open", "threads": {} } } } }Note: Plugins in
~/.openclaw/extensions/are auto-discovered by OpenClaw. You only need"enabled": trueinplugins.entriesโ do NOT add apathfield (it's not a valid config key and will cause config validation to fail). -
Restart OpenClaw.
Configuration
See SKILL.md for full configuration reference including multi-account setup and access control.
Architecture
HXA-Connect Hub
โ
โโโ WebSocket (real-time, preferred)
โ โโโ hxa-connect-sdk โ ThreadContext โ dispatchInbound()
โ
โโโ Webhook (HTTP POST, fallback)
โโโ handleInboundWebhook() โ dispatchInbound()
โ
OpenClaw Channel Router
โ
Agent Session
License
MIT