melgarafael/DeskcommCRM
Open-source AI sales OS — self-hosted CRM with native AI agents + WhatsApp (WAHA). Open alternative to Kommo, Octadesk & Intercom for any business that sells by chat. MCP-ready, multi-tenant, LGPD.
What it solves
DeskcommCRM is an open-source sales operating system designed for businesses that sell via WhatsApp. It replaces paid alternatives like Kommo, Octadesk, and Intercom by providing a self-hosted CRM that integrates AI agents to handle customer interactions, qualify leads, and manage sales funnels without monthly fees or data lock-in.
How it works
The system combines a CRM interface with AI agents that can operate the CRM itself. It uses RAG (Retrieval-Augmented Generation) per tenant to ensure agents have business-specific knowledge. The platform supports two WhatsApp connection methods: via QR code (using WAHA) or through the official Meta Cloud API.
Technically, it is built with Next.js 16 and Supabase (Postgres with vector extensions for RAG). It uses a worker-based architecture where events are logged to a database and processed by cron-driven workers to avoid direct HTTP calls from database triggers. AI capabilities are powered by the Vercel AI SDK, allowing users to choose between providers like OpenRouter, Anthropic, or OpenAI.
Who it’s for
It is designed for any business selling through WhatsApp, including e-commerce stores (with native Nuvemshop integration), medical clinics, real estate agencies, and service providers.
Highlights
- AI Agents as First-Class Citizens: Agents don't just chat; they qualify leads, move them through the sales funnel, and can be assigned as owners of a lead.
- Self-Improving AI: Resolved conversations are converted into new knowledge, and the AI can suggest its own improvements via a "Proposals" system.
- Automated Follow-ups: Features a "Radar" to identify cooling leads and adaptive follow-up triggers based on the funnel stage.
- One-Command Installation: Includes a setup kit for VPS deployment with automatic HTTPS and database schema application.
- Multi-tenant & LGPD Compliant: Built-in Row Level Security (RLS) for data isolation and audit logs for compliance.
- Coded Automations: Supports "WHEN/IF/THEN" rules to trigger actions like tagging leads or sending WhatsApp messages based on webhooks or CRM events.
Related
- Project
- Project
- Project
- Project
- Project