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?
| Feature | How it works |
|---|---|
| Bio page | Avatar, name, tagline, social links, link tree |
| AI chat | PydanticAI agent with configurable LLM provider |
| Rich UI in chat | A2UI protocol renders cards, buttons, forms inline |
| Events + RSVP | List events, collect RSVPs with Google Calendar integration |
| Products | Display courses/books with purchase links (Gumroad, Leanpub) |
| Booking | Show available slots, book consultations with Meet links |
| Newsletter | Collect email subscribers |
| FAQ | Answer questions from your knowledge base |
| Portfolio | Showcase 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