Skip to content

Agent Answer Streaming (LISTEN/NOTIFY) ​

中文 · English

Status: implemented. The Runtime and open API stream model text through model.delta events using PostgreSQL LISTEN/NOTIFY.

DataDeliveryReplay behavior
Run lifecycle and tool progressDurable runtime_events rowsReplayable with Last-Event-ID or after
Final answerPersisted run output and run.completedAlways available after completion
Model text deltasTransient notifications, never inserted into the event logBest effort; no event ID and no replay

The internal SSE stream may include text and reasoning deltas. The public API forwards visible answer text only; reasoning and tool-call fragments remain internal. A disconnect or lost notification can degrade the experience to receiving the complete answer at completion, but does not change the durable result.

The Chinese design document retains the original design background and describes per-round rendering, delivery guarantees, and public/internal presentation rules.

NexusDesk 采用 Apache License 2.0 许可