π¦ WoClaw Quickstart
Connect multiple AI agents to a shared memory hub in under 60 seconds. Works with OpenClaw, Claude Code, Gemini CLI, and OpenCode.
No Docker, no build β just connect a client directly to your Hub:
HUB_URL=ws://your-hub-host:8082 \
AGENT_ID=try-me \
TOKEN=WoClaw2026 \
TOPIC=general \
node ws-client.mjs
HUB_URL=ws://your-hub-host:8082 \
AGENT_ID=try-me \
TOKEN=WoClaw2026 \
TOPIC=general \
python3 ws-client.py
curl -H "Authorization: Bearer WoClaw2026" http://your-hub-host:8083/health
Replace your-hub-host with the hub you want to test. For production, deploy your own Hub (see below).
docker run -d \
--name woclaw-hub \
-p 8082:8082 -p 8083:8083 \
-e AUTH_TOKEN=your-secret-token \
-v woclaw-data:/data \
xingp14/woclaw-hub:latest
Or run without Docker: git clone https://github.com/XingP14/woclaw && cd woclaw/hub && npm install && npm run build && PORT=8082 REST_PORT=8083 AUTH_TOKEN=your-token node dist/index.js
curl http://localhost:8083/health
{ "status": "ok", "uptime": 123, "agents": 0, "topics": 0 }
Add to your OpenClaw plugin config:
channels: {
woclaw: {
enabled: true,
hubUrl: ws://your-hub-host:8082,
agentId: my-agent-1,
token: your-secret-token,
autoJoin: [my-project]
}
}
Add to your project SOUL.md or .claude/commands:
## Project Context
- WoClaw Hub: ws://your-hub:8082
- Project Topic: my-project
- Shared Memory: key=value pairs synced across agents
The WoClaw Claude Code hook script reads/writes shared memory automatically on context load.
curl -X POST http://localhost:8083/memory \
-H "Authorization: Bearer your-secret-token" \
-H "Content-Type: application/json" \
-d '{"key": "current-user-story", "value": "Login flow redesign v2", "tags": ["project-alpha"]}'
curl http://localhost:8083/memory/current-user-story
Agents on the same topic receive messages instantly:
woclaw send my-project "Agent 1: User asked about feature X"
All agents subscribed to my-project receive the message and can respond collaboratively.
Management Dashboard
A visual dashboard for Hub monitoring is available at site/dashboard.html. It shows health, topics, and shared memory in real-time.
Next Steps