AI chatbot in
3 lines of code.

Stop burning tokens building chatbots from scratch. We did it for you.
Still paying Int***om $39/seat? Ti**o $29/mo? Dr**t per conversation? There's a better way.

$ npm install chatbotliteClick to copy
3 lines
to integrate
11
LLM providers
$0/mo
forever
Open source
Apache 2.0

Integrate this afternoon

Pick your framework. Paste the code. You have a chatbot.

import { ChatWidget } from "chatbotlite/react"; <ChatWidget endpoint="/api/chat" title="Acme Plumbing" theme={{ primary: "#1e3a8a" }} />
Works on: ShopifyWordPressWebflowSquarespaceWixAny HTML
<script src="https://unpkg.com/chatbotlite/dist/embed.global.js"></script> <script> chatbotlite.mount({ endpoint: "/api/chat", title: "Acme Plumbing" }); </script>
import { ChatBot } from "chatbotlite/client"; import { knowledgeFromFile } from "chatbotlite/node"; const bot = new ChatBot({ knowledge: knowledgeFromFile("./knowledge.md"), providers: { keys: { openai: process.env.OPENAI_API_KEY } } }); // POST /api/chat const stream = await bot.replyStream(message); return new Response(stream);
Add chatbotlite to this project — a drop-in AI chatbot widget. Reference: https://github.com/agents-io/chatbotlite Docs for LLM: https://chatbotlite-demos.vercel.app/llms-full.txt Steps: 1. npm i chatbotlite 2. Create knowledge.md describing the business 3. Mount: <ChatWidget endpoint="/api/chat" title="..." /> 4. Build /api/chat with ChatBot from "chatbotlite/client" + your LLM API key Supports 10 providers: OpenAI, Groq, DeepSeek, Gemini, Mistral, and more. Add multiple keys for auto-failover if one provider goes down. Customize: theme.primary, avatar, tools.requestPayment.stripeLink, extraInstructions. TypeScript types ship in the package.
Shopify WordPress Webflow Squarespace Wix Next.js React Astro Hugo Ghost🌐 HTML Shopify WordPress Webflow Squarespace Wix Next.js React Astro Hugo Ghost🌐 HTML

Live in 6 verticals

Each demo runs on the same npm package + a <script> tag. Click any card, then tap this icon ChatbotLite launcher in the bottom-right corner to try the bot.

Coffee Shop
E-commerce

Bayside Coffee Co.

Product info, brewing tips, ordering.

Plumber
Service business

Acme Plumbing

Photo upload, quotes, Stripe payment.

Restaurant
Hospitality

Bella Italia

Menu, dietary options, reservations.

Dentist
Healthcare

Smile Care Dental

Appointments, insurance, file upload.

Tax Prep
Professional services

MaxTax

Pricing, document upload, multilingual.

Yoga Studio
Wellness

Sunrise Yoga

Classes, scheduling, drop-in pricing.

Works with your LLM

One config, any provider. Auto-failover if one goes down.

Groq OpenAI Anthropic DeepSeek Gemini Mistral Fireworks Cerebras SambaNova OpenRouter Moonshot

Zero downtime. Auto-failover.

Design your own fallback chain. For example, OpenAI first, Groq backup, DeepSeek last resort. If one fails mid-stream, the next picks up.

Acme Plumbing · Chat openai
chain: openai groq deepseek

What you don't have to build

Ship in hours, not weeks.

Knowledge is a markdown file

Write your services, hours, pricing in a .md file. The bot grounds every answer in it. No vector DB, no RAG infra.

Payment, scheduling, upload built-in

Stripe, PayPal, Calendly, Cal.com, file upload. 13 URL-only adapters. Paste a link, done.

Anti-hallucination guards

Phrase redlines block the bot from confirming bookings or guaranteeing prices. Optional LLM judges for input/output safety.

Documentation

Everything you need to integrate, customize, and ship.

GitHub README

Quick start, installation, basic usage examples.

Full API Reference

Every prop, method, type, and example. 35KB. LLM-readable.

SKILL Protocol Spec

Open protocol for LLM-triggered UI cards. Adopt it in your own library.

Roadmap

What's shipped, what's next, what's in the ideas backlog.

Why not just use a SaaS chatbot?

Compare and decide for yourself.

★ ChatbotLite Int***om Ti**o Cr**p
Monthly cost $0 forever $39/seat $29/mo €95/mo
AI cost Your own key $0.99/resolution Limited/mo Limited/mo
LLM providers 11 + auto-failover 1 (theirs) 1 (theirs) 1 (theirs)
Data ownership 100% yours Their servers Their servers Their servers
Self-hostable
Open source
Non-React support ✅ Script tag ✅ Script tag ✅ Script tag ✅ Script tag
Vendor lock-in None High High Medium

Ship your chatbot today.

3 lines. Any website. Free forever.

⭐ Star on GitHub
Full API Reference · Changelog · Discussions