A React-based chat interface for [Pydantic AI](https://ai.pydantic.dev/). This package powers the documentation assistant at [ai.pydantic.dev/web/](https://ai.pydantic.dev/web/).
npm install @pydantic/ai-chat-uiA React-based chat interface for Pydantic AI. This package powers the documentation assistant at ai.pydantic.dev/web/.
Built with Vercel AI SDK and designed to work with Pydantic AI's streaming chat API.
- Streaming message responses with reasoning display
- Tool call visualization with collapsible input/output
- Conversation persistence via localStorage
- Dynamic model and tool selection
- Dark/light theme support
- Mobile-responsive sidebar
``sh``
pnpm install
pnpm run dev:server # start the Python backend (requires agent/ setup)
pnpm run dev # start the Vite dev server
MIT