Cossistant is an open-source support platform for React and Next.js apps. It combines a customizable chat widget, a support inbox and AI agents that learn from your team's answers.
Overview
Cossistant is an open-source customer support platform aimed at developers and startups shipping SaaS products. It provides a chat support widget for React and Next.js, built from headless components, along with real-time messaging and the backend infrastructure behind it. The approach is code-first and API-driven.
A configurable AI agent answers common questions and covers the team when nobody is available. When the agent doesn't know an answer, it asks the team for clarification and reuses that answer in later conversations. You can set the agent's model, prompt, personality, rules and skills, including rules for when to escalate to a human.
The agent builds a knowledge base by crawling your docs, resources and past conversations. It uses these to generate FAQs and improve its answers as the product changes. Built-in tools cover Linear for logging tickets, Stripe for checking subscriptions and Cal.com for booking calls. You can also connect your own APIs for custom actions.
Installation is a package add, for example @cossistant/next, using pnpm, npm, yarn or bun. The stack includes Hono, tRPC, Drizzle ORM, Better Auth, WebSockets and Postgres plus Redis via Docker. The code is under AGPL-3.0 for non-commercial use, and commercial deployments need a separate license.
Key features
- Chat support widget for React and Next.js
- Headless, customizable UI components
- Real-time messaging with a support inbox
- AI agent that learns from team answers
- Self-learning knowledge base from docs and conversations
- Linear, Stripe and Cal.com tools
- Custom API actions
- Configurable model, prompt, rules and escalation
Use cases
- Add AI-assisted support chat to a SaaS app
- Answer repeated customer questions automatically
- Escalate unresolved questions to a human team
- Log support tickets in Linear from conversations
- Check subscriptions or book calls from chat
Does the same job as
Cossistant doesn't name these products itself, but its own description shows it does the same job.