Deploying Your AgentMessaging
Overview
Communicate with your agent during a session through events and commands
Messaging Overview
Once a WebRTC or WebSocket connection is established, all communication with your agent happens through a real-time message protocol. Messages flow in two directions:
- Server to client: The server pushes events as the conversation progresses — speech detection, transcription updates, response streaming, and state changes.
- Client to server: Your client can send text messages to the agent and update session settings on the fly.