README
Agent Runtimes / hooks/useAIAgentsWebSocket
hooks/useAIAgentsWebSocket
Generic WebSocket hook for the AI Agents service.
Connects to the single /ws endpoint and subscribes to channels.
When the server pushes a message on a subscribed channel the
corresponding React Query cache is automatically invalidated so
the UI refreshes with fresh data from the server.