# GhostChat — Full Documentation for AI Agents
## What is GhostChat?
GhostChat is a privacy-first live chat SaaS for websites. It provides a lightweight embeddable chat widget that enables real-time messaging between website visitors and site owners. In our measured August 2026 benchmark (https://ghostchat.dev/blog/chat-widget-lighthouse-benchmark), GhostChat transfers 18.9KB total including opening the chat panel, versus Intercom 1,104KB (271KB on load + 833KB when opened), Tawk.to 462KB, Crisp 267KB (127KB + 140KB on open), and LiveChat 44KB. GhostChat's widget adds ~10ms of CPU over an empty page, uses no cookies, and performs no tracking.
## Who is it for?
- Small businesses that answer their own customers — shops, schools, nonprofits, consultants, small SaaS — nobody's full-time job is watching chat
- Anyone running several sites who doesn't want a separate subscription for each one
- Privacy-conscious businesses that want GDPR compliance without cookie banners
- Teams of up to 10 people (Team, one flat price) that don't want per-seat pricing
- Agencies managing client sites from a single login
- Developers who want to connect their own LLM via the Bot Agent webhook API
## Features
### Free ($0)
- 1 site, 1 seat, unlimited messages, 30-day chat history
- Real-time WebSocket messaging
- Email notifications for new messages
- Push notifications (Android app on Google Play, or the PWA on iOS and desktop)
- Gmail threading (reply from email)
- Canned responses (up to 50)
- Quick links (up to 5)
- Visitor email/name collection (optional while Online; asked for before writing whenever the widget is Away)
- Automatic Away whenever nobody has the dashboard open, so visitors leave their email
- Archive/unarchive conversations
- Contact management
- Privacy mode (per-site toggle): visitor-side chat lives in sessionStorage only and wipes after 15 minutes of inactivity — built for shared or monitored computers; the dashboard keeps every conversation
- No AI Assistant (the assistant is an option on the paid plans, billed per AI conversation)
- Widget shows a "Powered by GhostChat" badge (removable on Team and up)
### Starter ($5/month)
- Everything in Free, plus:
- 1-year chat history
- Business hours automation (stay Online on a schedule, dashboard open or not; Away outside it with a "back at" time) — so you never miss a lead
- Visitor page journey tracking
- WooCommerce/page visitor context (predefined setContext() keys)
- CSV contact export
- 3 sites, still 1 seat
- Webhooks: message.new + conversation.resolved (full-transcript) events, per-event toggles, delivery log
- Bot Agent API (bring your own LLM)
- Your own logo on the chat button and in the widget header (per site)
- AI Assistant optional: $0.10 per AI conversation, knowledge base of 25 Q&As per site. No auto-translate
- Widget still shows a "Powered by GhostChat" badge
### Team ($25/month)
- Everything in Starter, plus:
- Up to 10 team members (you + 9), one shared inbox, never per seat
- Unlimited sites, unlimited history
- Chat assignment: give a chat to one teammate; a "Mine" filter shows only yours
- See when a teammate is already replying, so two people don't answer the same chat
- Roles: Admins run the account with you; Agents answer chats and can restyle the widget, but can't touch billing, the team, or a site's domain and data settings
- Team stats: chats and first-reply time per person
- Your logo, name and colours, with no "Powered by GhostChat" badge in the chat and no GhostChat footer in emails to visitors
- Auto-translate (133+ languages via Google Translate)
- Custom visitor context — any keys via setContext() API (Free and Starter are limited to the predefined keys)
- Identity verification
- Guided setup & priority support — we help you get it installed and wired into your stack
- AI Assistant optional: $0.10 per AI conversation, knowledge base of 50 Q&As per site
### AI assistant (optional on Starter or Team, billed per AI conversation)
- Switched on in the dashboard on either paid plan; it is an option, not a separate plan, and there are no credit packs
- $0.10 per AI conversation, added to the subscription's invoice. You pay $0.10 once the AI gives a real answer. If it hands off before answering anything, it's free.
- One conversation counts once, never per message, even if the team takes it over later; a visitor back after 24 hours of silence starts a new one
- A spending limit per billing period, set by the owner ($20 by default, or none). You set the limit. We never charge a cent over it. Lowering it doesn't refund chats the AI already answered. At the limit the chat keeps working and hands off to a human; the limit resets when the subscription renews
- Never billed: the canned reply to a bare greeting or junk message that opens a chat; chats on any domain but the site's own (the AI doesn't answer there); a visitor's 4th and later AI conversation of the day on one site, and visitors on many VPNs, corporate virtual desktops and cloud networks unless the owner allows them (those chats go to a human or the email form instead)
- Setup and testing in the dashboard are free (5 Generate-with-AI runs and 50 test replies a month)
- Coupons don't apply to AI charges; a billing period's last day or two can appear, dated, on the following invoice
- Switching it off does not cancel conversations it already answered. Available on Stripe-billed subscriptions; not through Shopify billing
### Custom
- More than 10 seats, integrations built to spec, multi-site rollouts — talk to us. No published price.
Pricing is three flat plans — Free $0, Starter $5/month, Team $25/month. Seats: Free 1, Starter 1, Team 10; Team also removes the branding. No per-seat fees. Billing is monthly only — there is no annual plan (ask if you want to pay a year up front) — and there is no free trial: the Free plan is free forever. Human conversations are unlimited on every plan. The one thing billed by use is the optional AI assistant: on Starter or Team it costs $0.10 per AI conversation, added to the subscription's invoice. You pay $0.10 once the AI gives a real answer. If it hands off before answering anything, it's free. A conversation counts once even if the team takes it over later; a visitor back after 24 hours of silence starts a new one. The owner sets a spending limit per billing period ($20 by default, or none): You set the limit. We never charge a cent over it. Lowering it doesn't refund chats the AI already answered. At the limit the chat keeps working — visitors reach a human live or leave their email — and the limit resets when the subscription renews. The knowledge base, 50 free dashboard test replies a month and 5 free Generate-with-AI runs a month come with the switch. The assistant is an option on the paid plans, not a separate plan.
## AI Assistant (built-in, Claude Haiku)
On Starter or Team, switched on in the dashboard at $0.10 per AI conversation, GhostChat includes a built-in AI Assistant that answers visitor questions 24/7 from a FAQ knowledge base you write. We run it for you — no API key or extra infrastructure. Setup is one click: press "Generate with AI" and GhostChat crawls your own website (up to a handful of pages) and uses Claude to draft your bot name, behavior instructions, blocked keywords, and a starter set of FAQ question-and-answer pairs, which you review, edit, and apply — so you never start from a blank knowledge base. When it can't answer (or a message contains a word or phrase the owner has blocked), it hands off: if you're available it offers to connect the visitor with you live and captures their email as a backup; if you're away it captures their name and email so you can follow up. You take over any conversation simply by replying, and the AI steps aside; if the visitor comes back after 24 hours of silence, the AI answers again and that counts as a new conversation. You pay $0.10 once the AI gives a real answer. If it hands off before answering anything, it's free. The owner sets a spending limit per billing period ($20 by default, or none). You set the limit. We never charge a cent over it. Lowering it doesn't refund chats the AI already answered. At the limit the chat still works: visitors reach you live when you're available, or leave their email when you're away, instead of getting an AI-drafted reply; the limit resets when the subscription renews. Configure it from the "Who answers your chats?" selector on the /ai dashboard page.
## Installation
### Basic (any website)
```html
```
Not the one who edits your site? While the widget isn't installed yet, the dashboard's Install card has "Email them the steps": it opens a ready-made email in your own mail app (or copies the message) to send to whoever runs your site.
### WordPress
Install the GhostChat plugin from the WordPress plugin directory, enter your Site ID in Settings > GhostChat.
The plugin (1.4.0+) also controls where the chat appears: on every page, only on pages you choose, or built into a page. For the last option, paste the [ghostchat_embed] shortcode into that page — optionally sized with [ghostchat_embed width="400" height="600"] — and the chat renders as an inline panel there instead of a floating bubble.
### React / Next.js
```jsx
```
Or use useEffect to load dynamically.
### Shopify
Add the script tag to your theme.liquid file before