Streaming
Orvanta supports streaming data from jobs in several ways. Runnables can return streams (any AsyncGenerator<string> in TypeScript, iter in Python, or an AI agent step), and Orvanta provides multiple ways to consume them.
Job result streaming
Section titled “Job result streaming”Scripts in Python and TypeScript can stream back results as a text stream. The stream exists while the job is running, and the full content becomes the result once the job completes.
Result streaming — Stream back results from Python and TypeScript scripts.
AI agent streaming
Section titled “AI agent streaming”AI agent steps support streaming token deltas, tool calls and tool results as structured JSON payloads.
AI agents — Integrate AI agent steps with streaming support into your flows.
Consuming a stream
Section titled “Consuming a stream”Webhook SSE stream
Section titled “Webhook SSE stream”Runnables are associated with SSE stream webhook endpoints that trigger the job and return a Server-Sent Events stream.
SSE stream webhooks — Trigger a job and get an SSE stream of the result.
HTTP trigger SSE stream
Section titled “HTTP trigger SSE stream”HTTP routes can be configured in Sync SSE mode to return a Server-Sent Events stream when the bound runnable returns a stream.
HTTP routes — Trigger scripts and flows from custom HTTP routes.