You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build custom AI support agents that know your business. Configure personality, tone, and provider per agent. Add your knowledge — files, URLs, text, or Notion — and embed a zero-dependency chat widget on any site with one <script> tag. No third-party processors, no hidden costs, no data leaving your stack.
SupportAI is a full-stack platform for creating AI-powered customer support chatbots. Each agent carries its own persona, AI provider (Google Gemini or OpenAI), API key, and knowledge base — giving you complete control over data and cost.
Built for businesses, developers, and SaaS products that want intelligent, on-brand support without sending customer data to third-party chat platforms. Your API keys, your knowledge, your infrastructure.
Features
Feature
Description
AI Chat
Natural, context-aware responses powered by Gemini or GPT
RAG Knowledge Base
Upload PDFs, DOCX, TXT, MD, CSV — or paste text, scrape a URL, connect Notion
Notion Plugin
Index Notion pages and databases as knowledge sources
Custom Persona
Configure bot name, communication tone, and personality per agent
Embed Widget
Drop-in <script> tag — 5KB vanilla JS, zero dependencies, any site
Multi-provider
Per-agent choice of Google Gemini or OpenAI, with own model and API key
Conversation History
Multi-turn chats persisted per visitor session
Analytics Dashboard
Account-level stats, 14-day message chart, top agents, per-bot analytics
🤖 Create your agent — configure name, business info, persona, AI provider (Gemini or OpenAI), and API key
📚 Add your knowledge — upload files (PDF, DOCX, TXT, MD, CSV), paste text, scrape URLs, or connect Notion pages
🌐 Embed on your site — copy one <script> tag. Zero dependencies. Works on any website.
RAG Pipeline
Knowledge Source → Extract Text → Chunk (1000 chars, 150 overlap)
↓
Embed (768d)
↓
Pinecone Vector Store
↓
User Query → Embed (768d) → Similarity Search → Top 5 Chunks
↓
LLM (Gemini / GPT) + System Prompt
↓
Response
Knowledge Sources
Source
Format
Description
File Upload
PDF, DOCX, TXT, MD, CSV
Text extracted server-side, embedded, and indexed
URL Scrape
URL
HTML fetched, stripped to plain text
Raw Text
Plain text
Directly indexed content
Notion
Pages & Databases
Connected via Notion Integration Token (configured in dashboard Plugins)
Each source is chunked (1000 characters, 150 overlap), embedded into 768-dimensional vectors, and stored in Pinecone. At query time, the top-5 most relevant chunks are retrieved and prepended to the LLM's system prompt.
Embed Widget
Add this script tag just before your closing </body> tag:
Ingest document (multipart file, URL scrape, raw text, or Notion)
DELETE
/api/chatbots/[botId]/documents/[docId]
Session
Delete document + vectors
Analytics & Conversations
Method
Endpoint
Auth
Description
GET
/api/chatbots/[botId]/analytics
Session
Per-bot stats (conversations, messages, last active)
GET
/api/chatbots/[botId]/conversations
Session
List conversations or get transcript with ?conversationId=
Contributing
Workflow
# Fork the repository# Create a feature branch
git checkout -b feat/my-feature
# Make changes and commit
git add .
git commit -m "feat: add my feature"# Before pushing, ensure lint + format pass
npm run lint
npm run format:fix
# Push and open a PR
git push origin feat/my-feature
Branch Naming
Prefix
Use Case
feat/
New features
fix/
Bug fixes
docs/
Documentation changes
chore/
Tooling or dependency changes
Conventional Commits
Type
When to Use
feat
A new feature
fix
A bug fix
docs
Documentation only
refactor
Code restructuring
chore
Tooling, config, or deps
Commit Hooks
Hook
Runs
pre-commit
npm run lint + npm run format (runs on all files)
commit-msg
commitlint — validates conventional commit format
Note: Pre-commit runs npm run format (check), not npm run format:fix. Run npm run format:fix before committing to avoid hook failures.
Roadmap
File upload (PDF, DOCX, TXT, MD, CSV)
URL scraping
Notion plugin (pages & databases)
Slack integration
WhatsApp integration
Zapier integration
Webhooks
REST API access
Usage analytics per document
License
Released under the MIT License. See LICENSE for details.
About
Build, train, and deploy AI support agents on your knowledge base — embeddable on any site in minutes.