Skip to content
Hamza
AI engineering

AI Chatbot for Your Website That Books Appointments: How Kairo Works, End to End

A complete breakdown of Kairo, the AI chatbot on this site that answers questions, books calls on Cal.com, captures leads, alerts me on WhatsApp and takes voice calls. Every tool and link included.

1 December 2026 · 11 min read

Kairo, an AI chatbot on a website offering open call times for booking

Most website chatbots are a pop-up that says "Hi, how can I help?" and then sends you to a contact form. Kairo is different. It answers real questions about my work, offers real open times from my calendar, books the call inside the chat, and sends me the lead on WhatsApp within seconds. It can also take a live voice call.

Kairo has been live on this site since 8 November 2026. This article is the full tour: what the visitor sees, how the booking widget works, every integration, the platforms I used (with links), what it costs to run, and what I would copy if I were building an AI chatbot that books appointments for your business. If you want the engineering and testing side, read the companion piece, How I Built Kairo. This one is the product tour.

What is Kairo, and what does an AI website chatbot need to do?

Kairo is an AI assistant that lives on hamzabuildai.com. The name comes from the Greek word kairos, the right moment, because a lead is only warm at the moment they ask. It does four jobs: answer questions from approved knowledge, book calls, capture leads who are not ready to book, and hand serious conversations to me.

That list matters because it is the difference between a chatbot that looks modern and one that produces revenue. If a visitor asks a question at 11 PM and gets a useful answer plus a booked call for tomorrow, that is a lead you would have lost. This is the same idea as speed to lead for home service companies, applied to my own front door.

The Kairo chat widget open on hamzabuildai.com, showing a booking request and open call times
Kairo on the live site. A visitor says they want to book, and Kairo shows real open times in their time zone.

What does the visitor see? The Kairo chat widget

A small button sits on the right edge of every page. It opens a chat panel with a short greeting that says what Kairo can do and what happens if it cannot help: it passes the question to me. A few details I care about:

  • Replies stream in word by word, so the visitor sees progress instead of a spinner.
  • A small "Worked for 14.8s, 2 steps" chip shows that Kairo searched the knowledge base or used a tool before answering. It builds trust and helps me debug.
  • Every answer has a thumbs up and thumbs down. The rating goes back to the API and into my eval notes.
  • A plain notice under the box says Kairo is an AI and can make mistakes, with a link to the privacy page. It never pretends to be a person or to be me.
  • When a booking completes, the chat celebrates with a short confetti burst. Small, but it tells the visitor the job is done.

The widget is one script tag. It is written in Preact, a very small React-compatible library, and the whole bundle is under 50 KB. It loads after the page is interactive and lives inside a shadow DOM, which means my site styles cannot break it and it cannot break the site. That keeps the page fast, which matters for SEO as much as for conversion.

How does the AI chatbot book appointments inside the chat?

This is the part most chatbots skip. Kairo does not paste a link and hope. When a visitor says they want to talk, the language model does not write a booking by itself. It calls a booking tool, and the tool does the real work against Cal.com, the open source scheduling platform I already use for my calendar.

  1. 1The visitor says something like "I want to book a call". A small, separate check confirms the booking intent so the tool is not triggered by an unrelated message.
  2. 2Kairo asks which call fits. I offer two: a speed-to-lead strategy call for business owners, and an agency partner intro for agencies and consultants.
  3. 3The API reads my live availability from the Cal.com API and shows the next open times as tappable buttons, converted into the visitor's own time zone. Times are cached for a short while so the reply is quick.
  4. 4The visitor taps a time. Kairo then asks for the name and email and for the same qualifying questions my Cal.com booking page asks. The API reads those questions from the event type, so if I change a question in Cal.com, the chat asks the new one with no code change.
  5. 5The API books the slot through Cal.com. Cal.com sends the invite, the calendar event and the reminders exactly as if the visitor had used the booking page. Kairo confirms in the chat.
  6. 6Hamza gets a WhatsApp message with who booked, when, their answers and the last few chat messages.

What if something goes wrong?

Every failure has a defined path, because a broken booking is a lost lead. Kairo can only book a time it actually offered in that conversation, so a visitor cannot request a made-up slot. If someone else books the time first, the API answers "slot taken" and Kairo fetches fresh times. If Cal.com refuses for any other reason, the visitor sees a calm message and I still receive the lead on WhatsApp, so nobody falls through. A visitor can start at most five bookings or hand-offs a day, which stops abuse without affecting real people.

What if the visitor is not ready to book?

Then Kairo offers a hand-off instead. It asks for a name and email "so Hamza can reply personally", shows a short form in the chat, and sends the conversation to me on WhatsApp. Only the details the visitor chooses to give are collected, and the form only appears after Kairo has offered it, so the system never asks for contact details out of nowhere.

How does Kairo know what to say? Knowledge and retrieval

Kairo answers from a curated knowledge base, not from the open internet and not from memory. The knowledge is plain Markdown files: a snapshot of this website (services, case studies, testimonials, FAQ, blog), plus notes with my own answers and policies. Each file has a status, and only files marked approved are ingested. A visitor's message never becomes knowledge unless I approve it.

When a question comes in, the API searches that knowledge with a mix of keyword and vector search, passes the best passages to the model, and the model answers from them. This pattern is called retrieval augmented generation, or RAG. I chose a small open embedding model, bge-small, because on my own test set it was within 3 points of a model twice its size and five times faster. The full bake-off is in the build article.

Kairo also has hard lines written into its policy file. It never quotes prices or ranges, never promises timelines before a call, never invents a client result, quotes testimonials exactly or not at all, and never follows instructions hidden in a visitor's message. When it does not know, it says so and offers to ask me.

Which platforms and integrations power Kairo?

Here is the complete stack, with a link to each platform so you can see what I used and why.

JobPlatformWhy I chose it
Booking and calendar[Cal.com](https://cal.com)Open source, has a real API, sends invites and reminders itself, so it stays the source of truth
Hot-lead alerts and replies[WhatsApp Cloud API](https://developers.facebook.com/docs/whatsapp/cloud-api)I am on WhatsApp all day. Alerts arrive as readable messages with the chat summary
Bot protection[Cloudflare Turnstile](https://developers.cloudflare.com/turnstile/)Proves a real browser is chatting before any AI cost is spent, without a puzzle
Model routing[LiteLLM](https://docs.litellm.ai)One interface for many models, with fallbacks if a provider fails
API[FastAPI](https://fastapi.tiangolo.com) (Python)Fast, typed, easy to test, streams replies
Widget[Preact](https://preactjs.com) (TypeScript)Tiny bundle, one script tag, sealed in a shadow DOM
State, caching, rate limits[Redis](https://redis.io)Short-lived conversation state, cached open times, per-visitor limits
Tracing and evals[Langfuse](https://langfuse.com) (self-hosted)Every answer traced and scored, open source, my data stays on my server
Transactional email[Brevo](https://www.brevo.com)Sends Kairo emails over HTTPS, because mail from a small server often lands in spam
Hosting[Coolify](https://coolify.io) on my own serverDocker deployments with secrets kept out of git
Voice[LiveKit](https://livekit.io)Open source real-time audio for live calls with Kairo

How does Kairo send leads to WhatsApp, and why is that free?

Every hot lead, booking and hand-off reaches me as a WhatsApp message with the same layout: what happened, who, when, their answers, the last few messages as a quote, and the page they were on. A consistent layout means I can read an alert in five seconds.

The WhatsApp Cloud API has a rule worth knowing: when I message the business number, a 24-hour window opens in which the business can send me free-form text at no charge. Outside the window, only paid, pre-approved templates are allowed. So Kairo sends alerts as free text while the window is open, reminds me about two hours and again 30 minutes before it closes so a one-word reply keeps it open, and queues anything that arrives after it has closed until I next write. I can also text the business number commands: "status", "pause" and "resume" for Kairo's replies, and "list", "done" and "skip" for the lead follow-up list.

On top of the alerts, a small CRM digest runs twice a day. Any lead that has not moved for 24 hours is listed with a suggested next message, ready to send. That is the follow-up discipline I build for clients with GoHighLevel, running on my own site.

Can the chatbot talk? Kairo Voice

Yes. On the talk page a visitor can speak to Kairo live. It is built on open source parts running on my own server: LiveKit for the audio, Silero for detecting when someone stops speaking, NVIDIA Parakeet for speech to text, and Piper for the voice, both run through sherpa-onnx. The same knowledge and the same rules drive the answers, in a shorter spoken style.

After each call, a report arrives on my WhatsApp: a short summary, the caller's mood, how interested they are, their pain points and a suggested next step, plus the recording and a transcript. Calls are recorded, and the privacy page says so. The same report is logged to Langfuse.

A Kairo voice call report in Langfuse with the visitor details blurred
A voice call report in Langfuse: turns, duration, sentiment, interest and next step. Visitor details are blurred.

How do I know Kairo is accurate, safe and cheap to run?

Three guardrails run before anything ships. First, evals: a set of 141 realistic visitor messages scored on every change, with a judge I calibrated against my own grading. Second, safety: Turnstile verifies the browser on the first message, rate limits stop abuse (8 messages a minute and 60 a day per visitor, 20 a minute and 200 a day per address), and a daily budget check with a kill switch caps spend. Third, observability: every conversation is traced in Langfuse.

The Langfuse dashboard for the Kairo project showing 770 traces, 3.5 thousand scores and 0.31 dollars of model cost
The Kairo project in Langfuse over 30 days: 770 traces, about 3,500 scores and $0.31 of total model cost.

Be careful reading that dashboard. Most of those 770 traces are test runs, not visitors: 693 are eval answers, 70 are live chat replies, and the rest are voice calls and reports. The point is the cost and the discipline. Model spend for all of it, tests included, was $0.31, because I use small open models through a router. Across the 693 eval answers logged, about 87% of answers were judged faithful to the knowledge, 95% showed the right behavior (answer, book or escalate), and forbidden content such as prices or invented facts appeared in about 1% of test answers. Those are test numbers on my own cases, not a promise for your business, and I keep fixing the failures they reveal.

What would I copy if I were building an AI chatbot for lead generation?

  1. 1Make the chatbot do something measurable: book, capture, or hand off. An answer-only bot rarely produces a lead.
  2. 2Connect it to your real calendar and read live availability. Never send visitors to a link and hope.
  3. 3Send every lead to where you actually look, usually WhatsApp, SMS or your CRM, within seconds.
  4. 4Answer only from approved knowledge, and write down what the bot must never say.
  5. 5Add bot protection and rate limits before launch, so a stranger cannot run up your bill.
  6. 6Trace every answer, score a test set on every change, and read the failures.
  7. 7Plan the failure paths: slot taken, calendar down, model down, visitor not ready.

Frequently asked questions

Can an AI chatbot really book appointments on its own?

Yes, if it is connected to a scheduling platform through an API and uses a tool for the booking step. The model decides when a visitor wants to book. The tool checks real availability and creates the booking. That separation is what prevents invented times.

Does an AI chatbot replace a human?

It replaces the waiting. It answers instantly, handles the repetitive questions and books the call, then hands the conversation to a person when it matters. For a service business, the same idea becomes an AI receptionist that answers every call and books the job. See my AI receptionist builds for HVAC, plumbing and roofing companies.

Is it safe to put an AI chatbot on my website?

It can be, with the right limits: answers only from approved knowledge, no prices or promises, bot verification, rate limits, paid model providers that do not train on your chats, and a clear notice that the visitor is talking to an AI. Do not collect sensitive details, and say plainly what is recorded.

How much does an AI website chatbot cost to run?

Model cost can be very small. For Kairo, all test and live usage in the 30 days above cost $0.31 in model calls, with a typical answer costing a small fraction of a cent. Your real cost depends on traffic, the models you choose, hosting and the work to set it up properly, which is where most of the value is. I do not quote prices in articles, because they depend on your systems; the call is where we scope it.

Can you build something like Kairo for my business?

Yes. For home service companies it usually becomes a website assistant plus an AI receptionist and missed-call text-back, all feeding one CRM. For agencies it can be a white-label assistant. The fastest way to start is to book a strategy call, or ask Kairo itself on this page.

Want this built for your business?

Book a 20-minute call. You leave with 2 or 3 fixes, whether we work together or not.

Book a strategy call

Keep reading