DeskcommCRM is an open-source, self-hosted AI sales operating system (CRM) for businesses that sell via chat, positioned as an open alternative to Kommo, Octadesk and Intercom. It combines AI agents with a CRM: agents can run per-tenant RAG, execute skills during a conversation, move leads through the funnel, and hand off to a human when appropriate, with audited IA-to-human transitions. WhatsApp is supported two ways: QR-code connection through WAHA (multi-number, with anti-ban measures such as throttling, jitter and a sending time window) or the official Meta Cloud API channel with approved, synced templates. The product is multi-tenant by design, with RLS on every tenant-aware table and an isolation test enforced as a CI gate; it also includes LGPD capabilities (export, anonymization, audited consent), an append-only audit log, server-side RBAC, configurable per-pipeline vocabulary, Webhooks for inbound lead sources, and QUANDO/SE/ENTÃO automation rules. The repository describes an internal MCP server and a roadmap item to expose CRM capabilities publicly via MCP. The stack includes Next.js 16, TypeScript, Supabase (Postgres + Auth + Storage + Realtime), Tailwind + shadcn/ui, WAHA, the Vercel AI SDK (OpenRouter, Anthropic, OpenAI and more), Upstash Redis rate limiting and optional Sentry telemetry. Installation ships as the hostgator-setup-kit, which deploys app, WhatsApp and database with a single command, and supports UI- or script-driven updates with automatic backup.
Setup
Self-host installation (the path for users, not developers): on a VPS with Docker, run git clone https://github.com/melgarafael/DeskcommCRM.git, enter the directory and run bash hostgator-setup-kit/install.sh. The installer asks only for what is yours (domain, Supabase credentials, AI provider key, admin password), validates each answer, generates technical secrets, creates the Postgres extensions and applies supabase/baseline.sql, creates the first admin, brings the whole stack up with automatic HTTPS, and installs the automations cron plus the update agent. Non-interactive mode: copy .env.hostgator.example to .env, fill it in, and run bash hostgator-setup-kit/install.sh --yes. If your VPS already ships its own reverse proxy (Hostinger, Coolify, Dokploy, CapRover, etc.), the installer detects it and publishes the CRM through it instead. After install, open https://<your-domain>, log in with the admin account, and scan the QR code with your WhatsApp during onboarding. For local development you need Node 22, pnpm, a Supabase project and optionally Docker for WAHA, and you must apply baseline.sql manually; see docs/SETUP.md.
Use cases
Let AI agents greet, qualify and advance sales leads on WhatsApp inside a self-hosted CRM
Run multi-tenant customer service and sales for chat-based businesses, with per-tenant RAG knowledge
Capture leads from landing pages, forms or tools like Zapier/n8n through inbound webhooks straight into the funnel
Automate tagging, funnel movement, agent assignment and WhatsApp messages with QUANDO/SE/ENTÃO rules
Handle LGPD obligations such as data export, anonymization and audited consent
Serve as an open, self-hosted alternative to Kommo, Octadesk and Intercom with your data on your own server