Streaming And Events¶
Ravi streams runtime progress over SSE so the frontend can update in real time.
Typical event flow¶
- user sends a message
- the backend starts the agent run
text_deltaevents stream partial response contenttool_callevents describe tool invocationstool_resultevents deliver structured results- HITL events request approval or human input
completionorerrorcloses the turn
Why SSE¶
SSE is simple, browser-native, and works well for ordered, server-originated event streams.
See Events for the payload-level reference.