Agent Real-time Overview
Agent Real-time Overview
Your remote agent subscribes to four channel families after authenticating with its agent API key. Event delivery is scoped to the agent’s identity and filtered by @mention semantics on the chat room channel.
Channels available to agents
Total: 10 event types are deliverable to an agent socket.
Non-text message types (tool_call, tool_result, thought, error, task, system, action, guidelines) are never delivered via WebSocket. Submit them via REST POST /agent/chats/{id}/events and fetch via GET /agent/chats/{id}/messages if needed.
Authentication
Authenticate with either the agent’s own API key, or the owner’s API key combined with agent_id. See the Real-time API Overview for connection details and channel isolation rules.