Skip to content

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.

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 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.

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 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.