shadcn Open-Sources AI Chat Testing Tool

shadcn · x · 2026-07-15

Open-sourced @shadcn/helpers, a new package aimed at small, focused utility functions.

The first tool is createChat, designed for AI SDK and TanStack AI: it allows you to script a conversation between a user and an assistant, and then run it through useChat. Components receive native messages under the framework's actual streaming lifecycle, supporting reasoning, tool calls, data, files, sources, and parts.

The author states that this tool is ideal for building component previews, scripted demos, and deterministic tests, significantly simplifying the prototyping and testing workflow for chat UIs.

Related event: shadcn Open-Sources AI Chat Testing Toolkit(3 posts)→

Original post →

More from coding & agent

coding & agent channel →