RagChat is a free, embeddable chat widget trained on your documents. Upload PDFs, Markdown, or text — connect your own AI key — and paste one line of code. Your visitors get instant, source-backed answers.
Chat with Assistant
Online · answers from your docs
Live preview — the widget your visitors will see
Free forever — the platform never bills you
Bring your own AI key — 16 providers supported
Answers come only from your own content
One script tag — works on any site
Every feature below is included and free. Here's precisely what RagChat can do — one feature at a time.
Upload PDF, Markdown, or plain-text files — or paste content directly. RagChat splits every document into smart chunks (with context overlap so nothing gets lost at boundaries), converts them into embeddings, and stores them in a vector store. When a visitor asks a question, only the most relevant passages are retrieved and used to craft the answer. Your assistant answers exclusively from your content — never from general knowledge or thin air.
.pdf .md .txt or paste text
Connect your own API key from any of the 16 providers laravel/ai supports — OpenAI, Anthropic, Gemini, OpenRouter, DeepSeek, Mistral, Groq, Ollama, and more — then pick a chat model and a separate embedding model per project. RagChat never bills you: no subscriptions, no usage meters, no hidden fees. You pay your AI provider directly for the tokens you actually use, at their rates.
The whole business model
The platform is 100% free. Your only cost is whatever your AI provider charges for the messages you send.
Copy a single script tag and paste it before your closing </body> tag. No framework, no build step, no package install — it works on any static site, portfolio, or single-page app.
<script src="https://your-app.com/vendor/rag-chat/rag-chat.js" data-key="pk_…" data-mode="cdn" defer></script>
Rename the assistant, set a welcome message and input placeholder, choose from six hand-crafted themes, override the accent color, place the launcher left or right, and add up to six suggested messages visitors can tap to send — with a live preview as you edit.
CDN mode suits static sites — a public key protected by a domain allowlist. Backend mode keeps your signing secret on your server so the browser never sees it. Pick the one that fits your architecture.
Replies stream token-by-token, so visitors watch the assistant respond in real time — no long, silent waits while a full answer is generated.
Register your website, prove ownership with a one-line meta tag, and only verified domains can talk to your assistant. Remove a domain any time to revoke access instantly.
Set a daily message limit, benefit from per-IP cooldowns and layered rate limits, and issue short-lived signed sessions. Regenerate keys instantly if anything looks off.
Every embed message is logged with the visitor's IP, device fingerprint, embed mode, and timestamp — with total, daily, and weekly stats on your dashboard. Search and filter logs, then export them as CSV. (Chat logs auto-delete after 7 days.)
Every visitor gets a stable machine signature, so a banned user stays banned even after clearing cookies or switching networks. Block a device from your logs with one click — and unblock it just as easily if it was a mistake.
Enable two-factor authentication once — scan the QR code with any authenticator app (Google Authenticator, Authy, 1Password…). If you ever forget your password, enter your email and the 6-digit code to reset it instantly, with no waiting on support.
Every theme is a hand-crafted color system — plus a custom accent override for a perfect match with your site.
Swiss Light
Clean white panel, slate type, blue accent
/themes/swiss
Midnight
Dark charcoal with teal accent
/themes/midnight
Ocean Mist
Soft blue-gray atmosphere, deep ocean CTA
/themes/ocean
Forest
Sage surfaces with deep green accent
/themes/forest
Ink & Gold
High-contrast black with gold accent
/themes/ink
Stone
Neutral warm-gray studio look
/themes/stone
No code required until the very last step — and even that is copy-paste.
Add PDFs, Markdown, or text files to your knowledge base — or paste content directly. RagChat chunks and embeds everything automatically, so it's instantly searchable.
Add a key from any of the 16 supported AI providers and choose your chat and embedding models. Your key, your rates — RagChat stays free.
Verify your domain, copy the snippet, and paste it into any page. Your visitors instantly get a branded assistant that answers from your content.
Your widget is public by design — but RagChat layers real protections on top so strangers can't drain your AI budget.
Domain allowlist — only meta-tag-verified sites can load your assistant.
Signed sessions — short-lived, HMAC-signed tokens bound to a project and origin.
Daily quotas — cap messages per day, plus per-IP cooldowns between messages.
Layered rate limits — per key, per IP, and per hour, tuned to stop scripted abuse.
Secret stays server-side — backend mode never exposes your signing key to the browser.
Instant key rotation — regenerate public keys and secrets with one click; old sessions die immediately.
QR-code recovery — two-factor authentication means you reset a forgotten password yourself, in seconds.
Machine-level blocking — banned devices stay banned across cookies, IPs, and browsers.
RagChat doesn't sell plans, seats, or usage meters. Connect your own AI key and pay your provider directly for what you use — that's the entire business model. Every feature above is included, on the free tier, which is also the only tier.
No credit card · No subscription · Nothing to cancel
Found a bug, want a feature, or just want to say hi? Every single submission is read by a human and feeds directly into what we build next.
Feature requests go on the roadmap
The most-requested ideas get built first — your vote counts.
Bugs get fixed
Reports are triaged and patched, then verified by our test suite.
We reply
Leave your email and expect a real answer, not an autoresponder.
Takes less than a minute.