SKILL6.5K installs29

Streaming

Streaming backends and wire protocols for assistant-ui via the assistant-stream package. Use when building a custom (non-AI-SDK) streaming endpoint with createAssistantStreamResponse or createAssistantStreamController, emitting parts through appendText/appendReasoning/appendSource/appendFile/addToolCallPart and setResponse; choosing between the AI SDK UI-message format (toUIMessageStream + createUIMessageStreamResponse) and the native Assistant Transport format; encoding or decoding streams with DataStreamEncoder/DataStreamDecoder, AssistantTransportEncoder/AssistantTransportDecoder, PlainTextEncoder, or UIMessageStreamDecoder; or wiring streamed chunks into useLocalRuntime or useChatRuntime. Use specifically for debugging stream wire issues: text-delta, part-start, result events, text/event-stream content-type, SSE format, tool calls not rendering, or partial text not showing. For general non-stream debugging route to the relevant focused skill, not the parent overview.

Type
Skill
Author
assistant-ui
GitHub stars
29
Installs
6.5K
Last updated
October 27, 2026

Install

npx skills add https://github.com/assistant-ui/skills --skill streaming

About this skill

Covers streaming backends and wire protocols for assistant-ui via the assistant-stream package, including createAssistantStreamResponse, createAssistantStreamController, and the appendText/appendReasoning/appendSource/appendFile/addToolCallPart emitters. Helps choose between the AI SDK UI-message format and the native Assistant Transport format, and debug stream wire issues like text-delta, part-start, result events, SSE content-type, and tool calls not rendering. It is specifically for streaming concerns, not general debugging.

Summary written with AI assistance from the project's public description.


Categories


More from assistant-ui


Similar Skills