Agent Zero WebSocket architecture is documented in DeepWiki for Agent Zero.
This local page is only a handoff. Keeping the full protocol guide here would duplicate source-linked documentation and become stale.
Start with the source and DeepWiki:
helpers/ws.pyhelpers/ws_manager.pyapi/ws_*.pywebui/js/websocket.js- WebSocket pages in DeepWiki
- Preserve authentication and CSRF checks.
- Keep payloads JSON-serializable.
- Prefer small, named events over large catch-all events.
- Test reconnects, timeouts, and duplicate deliveries.
- Keep user-facing behavior documented in the relevant guide, not in this protocol handoff page.