openoperator / docs /developer /websockets.md
OpenOperator Deployer
Deploy source revision ef73a4b421f2d1ececca20f99c9118f4621c5e28
6918275
|
Raw History Blame Contribute Delete
943 Bytes

WebSockets

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.

When You Are Working On WebSockets

Start with the source and DeepWiki:

  • helpers/ws.py
  • helpers/ws_manager.py
  • api/ws_*.py
  • webui/js/websocket.js
  • WebSocket pages in DeepWiki

Keep These Rules In Mind

  • 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.

Related