Cross-machine AI agent orchestration for OpenClaw.
Dispatch tasks from one machine to agents running on another. Monitor progress. Coordinate teams.
openclaw agent commands on remote hostsbash
# Copy dispatcher to remote machine
scp scripts/dispatcher.py user@remote-host:~/.openclaw/dispatcher.py
# Start the dispatcher
ssh user@remote-host "nohup python3 ~/.openclaw/dispatcher.py &"
bash
# Dispatch to an agent
curl -X POST http://remote-ip:9876/dispatch \
-H 'Content-Type: application/json' \
-d '{"agent":"byondedu-ceo","message":"Read TASKS.md and start building."}'
# Check health
curl http://remote-ip:9876/health
bash
# Dispatch to all teams
bash scripts/dispatch-all.sh "Daily standup — report progress."
text
┌─────────────┐ HTTP POST ┌─────────────┐
│ PC1 │ ─────────────────► │ PC2 │
│ (Gateway) │ │ (Remote) │
│ │ │ │
│ Che (CEO) │ :9876/dispatch │ ByondEdu │
│ sends task │ │ AgentSocial│
└─────────────┘ └─────────────┘
│
dispatcher.py
│
openclaw agent
--agent byondedu-ceo
--message "..."
On each remote machine:
bash
cat > ~/.config/systemd/user/agent-dispatcher.service << 'EOF'
[Unit]
Description=ClawOrchestrate Agent Dispatcher
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/python3 /home/%u/.openclaw/dispatcher.py
Restart=always
RestartSec=5
[Install]
WantedBy=default.target
EOF
systemctl --user daemon-reload
systemctl --user enable agent-dispatcher
systemctl --user start agent-dispatcher
EndpointMethodBodyResponse/dispatchPOST{"agent":"id","message":"text"}``{"status":"dispatched","agent":"id"}``/healthGET—{"status":"ok"}
scripts/dispatcher.py — The HTTP server (run on remote machines)scripts/dispatch-all.sh — Broadcast script (run on gateway)scripts/setup-service.sh — Systemd service installerdocs/ARCHITECTURE.md — Full architecture detailsdocs/SECURITY.md — Security hardening guideMIT — Free for personal and commercial use. Premium features (dashboard, scheduler, analytics) available at claworchestrate.com.