assistant-ui-streaming

Official

Fix streaming protocols for assistant-ui.

Authorcompozy
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It prevents broken or inconsistent assistant-ui streaming by guiding you through the correct streaming formats, encoders/decoders, and event shapes used to deliver text, tool calls, reasoning, and results to the UI.

Core Features & Use Cases

  • Protocol selection for backends: Choose between AI SDK Data Stream helpers and assistant-stream for custom streaming backends.
  • Correct wire formats and event decoding: Understand and implement Data Stream SSE and assistant-ui’s native Assistant Transport so the client renders updates properly.
  • Tool-call streaming support: Emit tool-call parts with deterministic args streaming and attach tool results to the right tool call.

Quick Start

Implement a streaming endpoint that returns assistant-ui compatible SSE by using createAssistantStreamResponse and closing the stream after emitting text, optional tool-call parts, and final results.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: assistant-ui-streaming
Download link: https://github.com/compozy/agh/archive/main.zip#assistant-ui-streaming

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.