Skip to main content

streams.messages

Structured websocket stream message models.

Provides a versioned envelope for agent-runtime stream events so frontend clients can consume heterogeneous updates through one websocket channel.

AgentStreamMessage Objects

class AgentStreamMessage(BaseModel)

Versioned stream envelope for websocket events.

AgentMonitoringSnapshotPayload Objects

class AgentMonitoringSnapshotPayload(BaseModel)

Snapshot payload sent over the unified agent stream.

This is the single source of truth for all client-facing state. Previously, parts of this data were served by separate REST endpoints that clients polled every few seconds. Now everything is pushed over the WebSocket so the REST endpoints can be removed.