Centralized MQTT broker for AI agent coordination. Deployed on R750 via Coolify.
Warlock (cyberdeck) ──┐
├──→ MQTT Hub (R750) ←──┤
Evy (Pi) ─────────────┘ └──→ Future agents
Star topology — each agent connects to the hub instead of N² direct connections.
| Pattern | Purpose |
|---|---|
agents/<name>/inbox |
Messages TO a specific agent |
agents/broadcast |
Fan-out to all agents |
tasks/queue/<name> |
Task assignment to specific agent |
presence/<name> |
Online status / heartbeat |
system/ |
Broker announcements |
Per-agent auth via Mosquitto password file. Rotate via Coolify environment rebuild.
| User | Role |
|---|---|
| warlock | Red team / security / infra |
| evy | Documentation / research / coordination |
| jason | Operator — full access |
- Repo pushed to GitHub
- Coolify pulls Dockerfile, builds, deploys
- Exposed on MQTT port 1883 (Tailscale network only)
- WebSocket listener on 9001 for dashboards
docker build -t agent-mesh-hub .docker run -p 1883:1883 -p 9001:9001 agent-mesh-hub# Subscribe
mosquitto_sub -h <host> -p 1883 -u warlock -p mesh-lock-red -t "agents/broadcast"
# Publish
mosquitto_pub -h <host> -p 1883 -u evy -P mesh-trace-doc -t "agents/warlock/inbox" -m "Hello from Evy"