Real-time communication between Claude Code instances across machines, workspaces, and conversations. Your AI agents finally talk to each other.
Desktop (VS Code) Laptop (VS Code) Server
Claude A ───────────── Claude B ───────────── Claude C
\ | /
─────────── Redis (single instance) ──────
|
Web Dashboard
(monitor & control)
Claude on your desktop sends a message. Claude on your laptop receives it instantly. Different machines, same team.
No polling. Messages delivered via Redis pub/sub + background task notifications. Sub-second latency.
Every agent knows what the others are working on. Call swarm_status to see the whole distributed team.
Share schemas, configs, interfaces, code snippets across workspaces. One agent builds it, all agents have it.
Monitor all workspaces from your browser. See inboxes, message logs, send messages. Real-time via SSE.
npx swarmcode-mcp init my-workspace --redis redis://host:6379. Creates config, sets up hooks, registers. Done.
| Feature | Claude Desktop | SwarmCode |
|---|---|---|
| Cross-machine communication | No | Yes |
| Multi-workspace coordination | Each window isolated | Agents talk to each other |
| Real-time push notifications | No | Yes |
| Artifact/schema sharing | No | Yes |
| Web dashboard | No | Yes |
| Works in VS Code | No | Yes |
| Cross-platform | Mac only | Mac, Windows, Linux |
| Open source | No | MIT License |
Each workspace gets its own pub/sub channel. The listener runs as a background task, waiting for messages.
When another workspace sends a message, the listener catches it and exits, triggering a VS Code task notification.
Claude reads the message, calls swarm_receive() to mark as read, then swarm_send() to reply. Fully automatic.
A new listener starts immediately. The cycle repeats. No user intervention, no polling, true real-time.
All you need is Node.js and a Redis instance.