Skip to main content

Chat-in-Bio

A self-hostable link-in-bio page with an embedded AI chatbot that renders rich, interactive UI inline using the A2UI protocol.

Visitors land on your page, see your links and profile — and can chat with an AI agent that lets them RSVP to events, browse products, book consultations, subscribe to newsletters, explore your portfolio, and get answers from your FAQ. All within the conversation.

What can it do?

FeatureHow it works
Bio pageAvatar, name, tagline, social links, link tree
AI chatPydanticAI agent with configurable LLM provider
Rich UI in chatA2UI protocol renders cards, buttons, forms inline
Events + RSVPList events, collect RSVPs with Google Calendar integration
ProductsDisplay courses/books with purchase links (Gumroad, Leanpub)
BookingShow available slots, book consultations with Meet links
NewsletterCollect email subscribers
FAQAnswer questions from your knowledge base
PortfolioShowcase projects with images and links

Get started

The fastest way to get running:

git clone https://github.com/chtbio/a2ui.git && cd a2ui
cp .env.example .env
# Edit .env — set your API key and at least one LLM key
uv sync
uv run alembic upgrade head
uv run litestar run

Then open http://localhost:8000.

Ready for the full walkthrough? Start with the Quick Start tutorial.

Documentation structure

This documentation follows the Diataxis framework:

  • Tutorials — Step-by-step lessons to get you from zero to a working instance
  • How-to guides — Goal-oriented recipes for specific tasks
  • Reference — Technical descriptions of the API, configuration, and components
  • Explanation — Background and rationale for architectural decisions