Skip to content

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

Notifications You must be signed in to change notification settings

pydantic/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

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 7