# AI Stream Renderer

Assistant response written token by token in a chat thread.

- id: `ai-stream-renderer`
- Page: https://agentic-ui-kit.com/components/ai-stream-renderer
- Live preview: https://agentic-ui-kit.com/live/component/ai-stream-renderer

## Install

```bash
agentic-ui add ai-stream-renderer
npx shadcn@4.17.0 add @agentic-ui/ai-stream-renderer
```

## Metadata

- **Level:** block
- **Category:** block
- **Installable in:** Radix UI (registry variant new-york)
- **Capabilities:** incremental-markdown-parsing, stable-block-identity, flicker-free-reconciliation, streaming-cursor, unterminated-fence-tolerance, fenced-code-blocks, tables-and-lists, inline-marks, copy-to-clipboard, stream-status-reporting, empty-state, error-recovery
- **Intents:** monitor-live, communicate, explore-detail
- **Suits domains:** ai-workspace, knowledge, devtools, saas, operations
- **Interaction:** streaming-cursor, copy-response, retry-after-error, keyboard-navigation
- **Screen role:** communication
- **Density:** medium
- **Dark mode:** yes
- **Use it for:** assistant response written token by token in a chat thread, summary generated live inside a research side panel, streaming output from an agent that emits code and tables in the developer console, incremental report of an operations runbook while the model drafts it
- **Avoid when:** already complete static markdown, where incremental reconciliation or a cursor is not needed, plain text with no block structure that does not justify a markdown parser
- **Preserve when adapting:** block-identity-and-memoisation, cursor-as-sibling-element, partial-syntax-tolerance, live-region-announcement-strategy
- **Replace when adapting:** response-copy, model-attribution, syntax-highlighting-theme
- **Adaptation effort:** low
- **Coupling:** low
- **Quality score:** 9.2/10
- **Quality breakdown:** visual 9/10, responsive 9/10, accessibility 9/10, code 9/10
- **Uses primitives:** badge, button, card
- **Motion:** profile subtle, library css, reduced-motion fallback yes
- **Registry dependencies:** lib-primitives
