Skip to content

dsfaccini/ai-chat-ui

 
 

Repository files navigation

Pydantic AI Chat UI

A 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.

Features

  • 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

Development

pnpm install
pnpm run dev:server  # start the Python backend (requires agent/ setup)
pnpm run dev         # start the Vite dev server

License

MIT

About

Web UI for Pydantic AI agents, built over the Vercel AI protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 91.4%
  • Python 5.0%
  • CSS 3.3%
  • Other 0.3%