Consai
Building AI agents embeds for your website.
·1 min read
Consai lets a business train an AI agent on its own content, embed it on its website and take over the conversation whenever a person is needed. I built the whole app, backend and frontend.
My second SaaS, built to sell from day one.
The challenge
Companies wanted AI agents answering customers, but had no simple way to train one on their own content and put it on their site. We worked in our spare time, so we had to ship fast and validate the idea before polishing it.
The solution
A SaaS ready to sell. An agent trained on the company's documents, a widget that matches its brand, and a live inbox where the team can pause the AI and answer themselves.
Features
Embed widget
One snippet adds the agent to any website, styled to match the brand.
Live takeover
A real-time inbox where the team can pause the AI and reply.
WhatsApp
The same agent answers customers on WhatsApp too.
Playground
Test an agent and tune its answers before it goes live.
Plans and billing
Stripe subscriptions with limits for each plan.
Teams and projects
Organizations, projects and team invites.




Stack
- Backend: TypeScript, Express, Postgres with Drizzle ORM and Zod, Passport with JWT, Socket.IO for the live chat, Stripe, Nodemailer and Winston.
- AI API: Python, FastAPI, LlamaIndex and LlamaParse to read documents, Qdrant for vector search, OpenAI with Instructor, Cohere, Redis, Logfire and Sentry.
- WhatsApp: whatsapp-web.js, connected by scanning a QR code.
- Dashboard: Next.js, React, TanStack Query, React Hook Form, Tailwind, Radix, Framer Motion, Recharts, PostHog.
- Embed: a small React and Vite widget that talks to the backend over Socket.IO.