# AI Streaming Message

Conversational chat interface with a live view of consumed tokens and tok/s speed.

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

## Install

```bash
agentic-ui add ai-streaming-message
npx shadcn@4.17.0 add @agentic-ui/ai-streaming-message
```

## Metadata

- **Level:** block
- **Category:** block
- **Installable in:** Radix UI (registry variant new-york)
- **Capabilities:** token-telemetry, tool-call-visualization, streaming-cursor, stop-generation, regenerate-response, copy-message, feedback-actions, error-recovery, empty-thinking-state, keyboard-navigation
- **Intents:** converse, generate-content, orchestrate-agents, track-status, communicate
- **Suits domains:** ai-workspace, ai-agents, devtools, saas, operations
- **Interaction:** streaming-cursor, collapsible-tool-calls, token-inspector, stop-generation, copy-action, feedback-action
- **Screen role:** communication
- **Density:** medium
- **Dark mode:** yes
- **Use it for:** conversational chat interface with a live view of consumed tokens and tok/s speed, agent console where the response streaming and the tools run in parallel are observed, LLM observability panel with tool-call inspection, TTFT latency and error recovery, technical support assistant where the user can pause generation or copy formatted responses
- **Avoid when:** simple two-way human chat messages with no LLM models or streaming (use a standard chat-bubble), only the isolated tool-call card is needed with no text message (use ai-tool-call-card), prompt input forms (use ai-prompt-composer)
- **Preserve when adapting:** streaming-state-lifecycle, token-telemetry-structure, tool-call-disclosure-model, accessibility-live-regions
- **Replace when adapting:** domain-copy, model-brand-metadata, tool-call-syntax-highlighter
- **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, collapsible, tooltip
- **Motion:** profile subtle, library css, reduced-motion fallback yes
- **npm dependencies (registry):** lucide-react@0.577.0
- **Registry dependencies:** lib-primitives
