Skip to main content

Stream modes

Custom output wakes the consumer immediately; it does not wait for the node to finish or the superstep to commit:
Streaming is an observation channel and does not participate in reducers. Closing the iterator cancels unfinished tasks and propagates the cancellation token.

Dynamic interrupts

The graph needs a checkpointer and stable thread_id. At interrupt(), it saves a checkpoint and pauses. On resume, the node replays from its beginning, so side effects before the interrupt must also be idempotent.
In Agent Server, the original run becomes paused. Resume creates a new run pinned to the same graph/version/config/context:
Show reviewers only the fields they need. Never put secrets, tokens, or complete sensitive state in interrupts, events, or traces.