AI Streaming Message
Conversational chat interface with a live view of consumed tokens and tok/s speed.
About this block
What it's 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.
For only the isolated tool-call card is needed with no text message, use AI Tool Call Card. For prompt input forms, use AI Prompt Composer.
Includes
- Token telemetry
- Tool call visualization
- Streaming cursor
- Stop generation
- Regenerate response
- Copy message
- Feedback actions
- Error recovery
Works with
- Radix UI primitives (the registry variant it ships in)
- React 19, Next.js App Router and Tailwind CSS 4, installed with the shadcn CLI
- Your theme tokens, in light and dark mode
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
agentic-ui add ai-streaming-messagenpx shadcn@4.17.0 add @agentic-ui/ai-streaming-messageUsed in
A standalone component: drop it into any screen.
- Type
- Block
- Variants
- Radix UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- Motion
- Animated, with a reduced-motion fallback
- npm packages
lucide-react- Registry dependencies
lib-primitives- Files
4 files
- components/agentic-ui/ai-streaming-message/index.tsx
- components/agentic-ui/ai-streaming-message/types.ts
- components/agentic-ui/ai-streaming-message/tool-call-item.tsx
- components/agentic-ui/ai-streaming-message/token-telemetry.tsx
Related components
AI Action Confirmation
Operations agent that asks to drop production tables and shows the rows, size and last use of each one.
Details and live previewAI Agent Memory Viewer
Assistant settings where the user reviews and corrects what the agent knows about them (time zone, style preferences).
Details and live previewAI Agent Status Badge
Header of an agent run that moves from working to waiting-approval and opens the approval on click.
Details and live previewAI Chat Empty State
Assistant chat with no messages that offers four starting points configured by the workspace.
Details and live preview