OpenClaw WebSocket channel plugin version 0.0.9 for connecting external applications to OpenClaw AI agents via WebSocket. Released under MIT license with stable releases from Taichi-Labs. Supports real-time bidirectional communication, streaming responses, independent session memory per user, direct messages and group chats, media attachments, reply quotes, and optional external JWT authentication. Differentiates from other WebSocket chat plugins through deep integration with the OpenClaw ecosystem including built-in dynamic per-user agent creation for multi-tenant scenarios.
npm install openclaw-websocketNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows plugin installation, minimal OpenClaw config to enable WebSocket channel, and a basic Node.js WebSocket client to send/receive messages.
Set 'auth.enabled': false in config to allow unauthenticated connections temporarily during development
Ensure auth service follows exact request/response contract; customizing via code changes not supported
Set a reasonable maxAgents limit in dynamicAgentCreation config
Use 'path' for now but expect migration notes on next major release
Kill existing process using port or change websocket.port in OpenClaw config to an available port
Include token parameter: ws://host:port/ws?token=YOUR_JWT_TOKEN or disable auth in config
Check auth service URL and network; increase auth.timeout or ensure service is running