Agentic WhatsApp Customer Engagement & Lead Automation Platform

Agentic WhatsApp Customer Engagement & Lead Automation Platform | Associative Pune

Meta Title: Agentic WhatsApp Customer Engagement & Lead Automation Platform | Associative Pune

Meta Description: Deploy a 100% open-source Agentic AI WhatsApp automation platform for your business. Features ERP/CRM integration, voice intelligence, and zero third-party API costs. Built by Associative, Pune.

Target SEO Keywords: Agentic AI WhatsApp Platform, Open-Source WhatsApp Automation, AI Customer Engagement Software, WhatsApp ERP Integration, Self-hosted AI Chatbot India, WhatsApp Lead Automation, Associative Pune.

Agentic WhatsApp Customer Engagement & Lead Automation Platform

Full-Stack Agentic AI · Open-Source Generative AI · RAG · Voice & Media Intelligence · ERP / CRM Integration · Composable CMS & Marketing Cloud

Date: September 2026

Provider: Associative, Pune, Maharashtra, India

Welcome to the future of business communication. Developed by Associative in Pune, this is a fully completed, ready-to-deploy enterprise product designed to transform your customer engagement and lead generation.

1.1 Project Investment & Deployment Timeline

Total Deployment Time:

This is a fully built, ready-to-deploy enterprise solution. The end-to-end customization, integration, local AI model provisioning, rigorous testing, and final deployment timeline is 18 to 24 weeks from the date of order confirmation and receipt of the advance payment. This time ensures your bespoke integrations and server setups are perfectly tailored to your business.

One-Time License, Setup & Deployment Cost:

Due to the enterprise-grade complexity of deploying a 100% open-source, self-hosted Agentic AI architecture (which completely saves your business from all recurring third-party AI API fees), our one-time engineering, licensing, and implementation cost is structured as follows:

  • For Indian Clients:
    • Base Cost: ₹24,00,000 INR
    • GST (18%): ₹4,32,000 INR
    • Total Deployment Cost: ₹28,32,000 INR
  • For International Clients:
    • Total Deployment Cost: $35,000 USD (GST not applicable)

1.2 Estimated Monthly Operating Costs (Cloud Hosting & Messaging APIs)

Note: The following are estimated direct operational costs for cloud infrastructure (AWS/GCP) to self-host the Open-Source AI models, plus the Meta WhatsApp Cloud API messaging costs. You will pay these directly to your chosen cloud and API providers.

  • For Indian Clients (Estimated for ~10,000 conversations/month):
    • AWS / GCP Hosting (GPU Instance for Local AI + App + Database): ~₹45,000
    • Meta WhatsApp API Charges: ~₹5,000
    • Subtotal: ₹50,000 + 18% GST (₹9,000) = ₹59,000 INR / month
  • For International Clients (Estimated for ~10,000 conversations/month):
    • Total Estimated Cost: ~$600.00 USD / month

1.3 Maintenance, Support & Updates

  • First Year (Months 1-12): 100% FREE Maintenance and Support (This is fully included in your core deployment cost).
  • Second Year Onwards (Updates & Support Cost): 18% of the core deployment cost per annum (Approximately ₹4,32,000 INR + GST / $6,300 USD per year). This Annual Maintenance Contract (AMC) covers ongoing bug fixes, security patches, open-source AI model updates, server health monitoring, and general technical support.

1.4 Client Onboarding Details

To initiate your deployment smoothly, kindly provide us with the following details:

  1. Full Name: For generating the invoice.
  2. Company Name: If you require the invoice to be billed under your company name.
  3. GST Number: If applicable, so you can claim your GST Input Tax Credit (ITC).
  4. Mobile and WhatsApp Number: For regular work-related discussions and project updates.
  5. Email ID: For sharing invoices, important communications, and handing over the final project source code.
  6. Complete Postal Address: Your current business or residential address for sending any physical documents and project files via courier.
  7. Accepted Payment Modes: We accept safe electronic bank payments within India via RTGS, NEFT, IMPS, UPI, PayPal, and Direct Bank Transfer.

To Initiate Your Order Contact Us:

  • WhatsApp: +91 9028850524
  • Email: info [at] associative [dot] in

1.5 Terms of Service & Policies

  • Payment Terms:
    • 50% Advance Payment is required at the time of deployment initiation.
    • 50% Remaining Balance is due at the time of the final handover of app files and system deployment.
  • Accepted Payment Modes: We accept highly secure electronic bank payments including RTGS, NEFT, IMPS, UPI, PayPal, and International Bank Wire Transfers.
  • Cancellation & Refund Policy: Due to the bespoke nature of enterprise software deployment and the immediate allocation of our integration engineers, once an order is initiated, it cannot be cancelled or refunded under any circumstances.
  • Support SLA: All technical support queries will be addressed within 72 hours during standard working days via WhatsApp chat or Email.
  • Demo Policy: As we deploy 100% custom-integrated applications tailored to your specific business logic and secure ERP environments, we do not provide public product demos.

To protect the integrity of our source code and bespoke architecture, the deployment is governed by strict legal frameworks:

MeasureDescription
Master Service Agreement (MSA)A strict MSA will be drafted explicitly defining severe financial penalties for reverse engineering, code extraction, or unauthorized distribution of the application.
Source Code OwnershipAssociative retains full intellectual property (IP) and source code ownership of the core architecture.
EULA & LicensingThe app is legally licensed solely for the client's specific brand and end-users. Repackaging, reselling, or white-labeling the application to third parties is strictly prohibited.
License DefinitionDelivery is strictly classified as a "Single-Entity, Non-Transferable, Non-Sublicensable Lifetime License for Internal Business Operations."
Compiled Production BuildClients receive the compiled, minified, and heavily obfuscated production build of the React.js web application. The web source is strictly bound to the client's authorized domain, ensuring unauthorized copying or local reverse engineering of the frontend is prohibited and non-functional.
API Whitelisting & ObfuscationHardcoded, encrypted API tokens ensure the apps can only communicate with the client’s registered domain. Binaries and React web builds are heavily obfuscated to make reverse-engineering nearly impossible.

PART 2: TECHNICAL PLATFORM OVERVIEW · v4

Architecture Summary

Version 4 of our platform is engineered to utilize 100% open-source and free-to-use technologies. It includes a Strapi-powered dynamic knowledge base, open-source Mautic marketing automation syncing, proactive AI-initiated outbound campaigns, live call sentiment analysis with auto-escalation, and approved ERP write actions (such as leave applications, tickets, and expense claims). This completed architecture totally eliminates third-party AI APIs (like OpenAI, Twilio, HubSpot, Adobe) in favor of highly secure, self-hosted, royalty-free alternatives.

1. Platform Overview

The Agentic WhatsApp Customer Engagement & Lead Automation Platform is a fully built AI-powered automation system. It securely connects a business's WhatsApp communication channel—and its phone line—to an intelligent agent capable of understanding customers, answering questions, qualifying leads, and seamlessly escalating to a human when necessary.

Rather than replying with fixed, robotic scripted messages, the platform uses a locally hosted Open-Source Large Language Model (LLM) coordinated by an agentic workflow. The system does not just generate text — it actively listens, sees, plans, retrieves, decides, acts, and remembers, all within a controlled and auditable framework, ensuring 100% data sovereignty for your business.

Core capabilities include:

  • Understand customer messages and logically identify intent (support question, sales inquiry, lead, complaint, etc.).
  • Answer questions using the business's own knowledge base (RAG).
  • Understand voice messages, images, and documents sent by the customer via local Vision/STT models.
  • Answer and hold live phone calls, listening and responding in real-time via open-source telephony.
  • Qualify potential customers and cleanly capture structured leads.
  • Execute controlled tools/actions (e.g., create a lead, book a calendar meeting via Cal.com).
  • Maintain deep conversation context across multiple messages, calls, and sessions.
  • Escalate conversations to a human agent and support full human takeover instantly.
  • Serve verified employee and customer records live from the company's own self-hosted ERPNext, in chat, after OTP verification.
  • Sync leads directly to the open-source CRM (Frappe CRM).
  • Keep its product, pricing, and FAQ knowledge completely current from a Strapi-managed content source.
  • Push qualified leads into Mautic (Open-Source Marketing Automation) for personalized follow-up campaigns.
  • Reach out first — initiate proactive WhatsApp messages and outbound calls for reminders and follow-ups.
  • Detect caller frustration in real-time during a phone call and escalate to a human automatically.
  • Let a verified employee not just view, but act — raising a leave application, expense claim, or support ticket in ERPNext straight from WhatsApp.

2. Problem Statement

Businesses relying heavily on WhatsApp and phone calls for customer communication consistently face the same operational hurdles as their volume grows:

  • Repetitive, common questions overwhelm the support team.
  • Promising leads get lost in the daily noise of routine conversations.
  • Valuable business knowledge is scattered across PDFs, websites, and employee memory.
  • Voice notes, photos, and scanned documents go unread or take too much time to review manually.
  • Inbound calls are missed entirely outside of standard business hours.
  • Leads are not qualified consistently and rarely make it into the CRM system automatically.
  • Employees repeatedly ask HR for routine details (leave balance, attendance) that already sit in the ERP.
  • Customers repeatedly ask for invoice status that sits in the accounting system.
  • Third-party AI APIs (like OpenAI) are highly expensive, leading to high recurring operational costs and major data privacy concerns.

3. Solved Objectives

  • Automate repetitive customer communication across chat and voice securely on your own self-hosted infrastructure.
  • Provide business-specific AI responses securely grounded in RAG (Retrieval-Augmented Generation).
  • Perfectly understand voice messages, images, and documents shared by customers.
  • Answer and manage live inbound phone calls with an advanced open-source AI voice agent.
  • Capture structured customer information and sync it automatically to your self-hosted Frappe CRM.
  • Automate meeting and demo scheduling via open-source Cal.com.
  • Give verified employees and customers self-service access to ERPNext records directly over WhatsApp.
  • Verify user identity with a strict WhatsApp OTP before any personal or financial data is shared.
  • Keep the business knowledge base easily current using a headless CMS (Strapi).
  • Extend CRM data smoothly into Mautic for intelligent marketing retargeting.
  • Move from a reactive approach to proactive engagement with AI-initiated outreach.
  • Detect and smartly act on customer frustration in live calls before the situation escalates.
  • Allow safe, approved write-back directly to the ERP for routine employee requests.

4. Major Features Delivered

A. WhatsApp Integration

  • WhatsApp Business Cloud API setup for sending and receiving messages.
  • Webhook integration to receive lightning-fast real-time events.
  • Customer opt-in / opt-out handling for fully compliant messaging.

B. Voice, Image & Document Understanding (100% Open-Source)

  • Voice messages: Incoming WhatsApp voice notes are transcribed instantly via Faster-Whisper.
  • Image / document understanding: A local vision model (LLaVA/Qwen-VL) accurately extracts meaning from photos, forms, and ID cards.
  • Spoken replies: Outgoing AI responses are generated as natural voice notes using Piper TTS.

C. AI Voice Call Agent

  • Inbound calls are answered automatically using FreeSWITCH/Jambonz (Open-Source Telephony).
  • Streaming Speech-to-Text and Text-to-Speech allows a natural, seamless back-and-forth conversation.
  • Every single call is recorded, transcribed, and logged right alongside the customer's WhatsApp history.

D. CRM & Calendar Automation

  • Frappe CRM: Qualified leads are automatically created or updated in your self-hosted Frappe CRM.
  • Calendar booking automation: AI intelligently checks availability and books meetings via Cal.com without any human involvement.

E. Enterprise Self-Service — Frappe CRM & ERPNext

  • Deeply connects to the company's self-hosted ERPNext instance.
  • Provides Employee and Customer self-service via highly secure OTP verification on WhatsApp.

F. Dynamic Knowledge Base via Strapi

  • Backed by Strapi, an open-source headless CMS. Marketing teams can easily update pricing/FAQ content in Strapi, and the AI reads the published content in real-time.

G. Marketing Cloud Sync — Mautic

  • Qualified leads and behavioral data are automatically pushed to Mautic (Open-Source Marketing Automation) for highly personalized email and ad-retargeting journeys.

H. Proactive Outbound Campaigns

  • The AI can initiate contact (such as reminders, invoice follow-ups, and ERP-triggered events) via WhatsApp or Voice Call.

I. Live Sentiment Analysis on Calls

  • Real-time sentiment tracking during calls. Sustained negative trends trigger automatic human escalation to save the customer relationship.

J. ERP Write Actions

  • Supported actions for verified employees: raise a Leave Application, submit an Expense Claim, or open a Support Ticket natively inside WhatsApp using a secure confirm-then-submit flow.

5. Agentic AI Capabilities

The platform uses multiple highly specialized AI agents coordinated smoothly through a central Supervisor Agent.

AgentResponsibilities
Supervisor AgentIntent detection, agent routing, workflow coordination, tool selection, error handling, across both chat and voice.
Knowledge AgentRAG retrieval from the knowledge base, product/service information, producing highly grounded answers.
Media Understanding AgentTranscribing voice notes (Faster-Whisper), analyzing images/documents (LLaVA).
Sales/Lead AgentDetecting purchase intent, extracting structured lead data, syncing leads to Frappe CRM.
Support AgentHandling general customer support, FAQs, and common customer issues.
Voice Call AgentAnswering inbound phone calls via SIP, running real-time STT/TTS workflows.
Outbound Campaign AgentInitiating proactive outbound WhatsApp messages or voice calls for reminders/follow-ups.
Sentiment Monitoring AgentScoring caller sentiment turn-by-turn and notifying the Human Escalation Agent upon sensing frustration.
Scheduling AgentChecking calendar availability via Cal.com and booking client meetings.
Enterprise Data AgentManaging OTP verification, fetching authorized fields from ERPNext, executing ERP write actions.
Human Escalation AgentDetecting low AI confidence, handling explicit requests for a human, triggering live call transfers.

Example Tool Calling Features: search_knowledge(), transcribe_voice_message(), analyze_image(), create_lead(), sync_to_crm(), send_whatsapp_otp(), get_employee_details(), book_calendar_event(), submit_leave_application().

6. Knowledge Base and RAG

Retrieval-Augmented Generation (RAG) grounds all AI responses in your real business information to prevent hallucinations.

  • Data Flow: Data Source → Text Extraction → Chunking → Embeddings (using a Local open-source embedding model) → PostgreSQL + pgvector → Similarity Search → Relevant Context → Local LLM → Grounded Response.
  • Sources Supported: PDFs, URLs, Manual Text, FAQs, and Strapi CMS content.
  • Unanswered Questions feature: Questions the AI fails to answer are safely logged for admins to review and easily add to the knowledge base for future learning.

7. Voice & Media Intelligence

  • Voice Message Pipeline: Voice note received → Faster-Whisper STT processes it → Transcript enters normal pipeline → LLM generates Response → Piper TTS generates voice note to send back.
  • Image & Document Pipeline: Customer sends an image/PDF → LLaVA Vision model analyzes content → Extracted text/description is intelligently merged into the conversation context.

8. AI Voice Call Agent

  • How it works: Incoming Call arrives → FreeSWITCH (SIP) routes it → WebSocket Audio Stream initiates → Streaming STT listens → Voice Call Agent decides → Supervisor Agent coordinates → Streaming TTS speaks → Audio delivered to Caller.
  • Capabilities: Perfectly handles interruptions/barge-in so the caller can speak naturally. Records and logs every single call directly into the central dashboard.

9. Frappe CRM & ERPNext Integration

Your business data stays safely on your company's own infrastructure.

  • ERPNext: System of record for customers, invoices, payments, and the employee master database.
  • Frappe HR: Manages leave, attendance, and payroll data.
  • Frappe CRM: The destination for all AI-captured leads and business deals.
  • Integration Architecture: WhatsApp Chat → Supervisor Agent → Enterprise Data Agent → OTP Verification Service → Frappe REST API (over TLS / IP allowlist) → Self-hosted ERPNext.

10. OTP-Verified Self-Service on WhatsApp

Employee Self-Service Flow:

  1. Employee sends their Employee ID.
  2. ERPNext check ensures the mobile number matches the WhatsApp sender.
  3. An OTP is sent securely on WhatsApp.
  4. Employee replies with the OTP (which features a 5-minute expiry).
  5. A verified 15-minute session opens. Details are fetched live from ERPNext.

Customer Invoice Lookup Flow:

  1. Customer sends Invoice ID + WhatsApp number.
  2. System precisely matches invoice contact mobile to the WhatsApp sender.
  3. OTP verification flow activates.
  4. Invoice details are fetched live from ERPNext.

Security Controls: Deterministic verification is handled in app code (not by the LLM), featuring strict rate-limiting and masked data logging.

11. Unique & Future-Proof Capabilities

  • 11.1 Strapi Headless CMS: Marketing teams can update pricing in Strapi with ease. A Strapi webhook automatically triggers re-indexing in PostgreSQL pgvector.
  • 11.2 Mautic Syncing: Qualified leads and behavioral data are pushed instantly to self-hosted Mautic for email journeys and smart ad retargeting.
  • 11.3 Proactive Outbound Campaigns: The AI can independently initiate WhatsApp messages/calls based on a set schedule, an ERPNext event (like an invoice overdue), or a CRM stage change.
  • 11.4 Live Sentiment Analysis: A sustained negative trend (user frustration) automatically triggers a transfer to a human operator.
  • 11.5 ERP Write Actions: Verified employees can use simple natural language to submit Leave Applications, Expense Claims, or IT Helpdesk Tickets. The AI uses a strict and secure "Confirm-then-submit" flow.

12. Business Persona Configuration

You can easily customize the AI agent's name, role, tone (Professional, Friendly, Casual), language (English, Hindi, Marathi, Hinglish), voice persona, and custom escalation rules.

13. Lead Generation and Qualification

The AI progressively collects structured data (such as Name, Service, Requirement, Budget, Timeline) and smoothly outputs it as JSON, instantly syncing it to Frappe CRM as a brand new Lead/Deal.

14. Human Takeover

Our powerful Dashboard allows live monitoring of all chats and calls. A simple one-click human takeover gracefully pauses the AI, allows your human staff to chat, and resumes AI handling when the human is finished.

15. React Dashboard

This is your operational control centre, featuring:

  • Inbox & Conversations: Access to full chat history.
  • Calls: Review call recordings and transcripts.
  • AI Agent & Knowledge Base: Easy configuration options.
  • Leads & Integrations: Connect and monitor ERP/CRM/Calendar statuses.
  • Verification Logs & Employee Requests: Track all OTP verifications and ERP write actions.
  • Campaigns: Monitor the success of proactive AI outreach.

16. AI Playground

A safe sandbox environment allows your team to test prompts, agent routing, RAG retrieval, and simulated OTP flows without ever affecting live customers.

17. Analytics and Monitoring

Meticulously tracks resolution rates, human escalations, total leads generated, API latency, OTP success rates, Strapi sync freshness, and OpenTelemetry tracing for complete, full system observability.

18. Security and Governance

  • Workspace isolation ensuring multi-tenant data separation.
  • Strict PII protection and data redaction in system logs.
  • Tool permission control (meaning LLMs cannot execute unverified tools).
  • Identity-bound tools (Subject data comes purely from the secure session, never from model output hallucination).

19. Technology Stack (100% Open Source)

LayerTechnology
Frontend UIReact, TypeScript, Vite, Tailwind CSS, Zustand
Backend APIPython, FastAPI, Pydantic, SQLAlchemy, Alembic
AI LLMLocal Llama 3 / Mistral (via vLLM or Ollama)
Agent OrchestrationLangGraph, LangChain
Vision ModelLLaVA / Qwen-VL (Local Deployment)
STT / TTSFaster-Whisper, Piper TTS / Coqui
RAG / DBPostgreSQL, pgvector, PyMuPDF
TelephonyFreeSWITCH / Jambonz
MessagingWhatsApp Business Cloud API
CRM / ERPFrappe CRM, ERPNext, Frappe HR (Frappe REST API)
CMS / MarketingStrapi, Mautic
CalendarCal.com
Queue / BackgroundRedis, Background Workers
Security & DevOpsJWT, RBAC, Docker, OpenTelemetry

20. Complete System Architecture

  • WhatsApp Message Pipeline: Customer → WhatsApp Cloud API → FastAPI → Webhook Processor → Local STT/Vision (if media is attached) → Redis Queue → LangGraph Supervisor → Local LLM + RAG → Response Validation → WhatsApp → Customer.
  • Live Call Path: Caller → FreeSWITCH (SIP) → WebSocket Audio Stream → Streaming STT → LangGraph Voice Call Agent → Streaming TTS → Caller.
  • Enterprise Connector Path: Agent → OTP Verification Service → Frappe REST API (secured via TLS/VPN) → Self-Hosted ERPNext and Frappe CRM.
  • Data Syncs: Strapi (webhook) → RAG Ingestion; Lead Agent → Mautic API; Outbound Campaign Agent → Voice/WhatsApp.

21. End-to-End Examples

  • WhatsApp Lead: Customer asks for a price → AI smartly queries RAG/Strapi → Extracts Lead Data → Syncs automatically to Frappe CRM → Sends professional response.
  • Voice Note + Image: Customer sends a voice note and an image of a broken item → Faster-Whisper transcribes audio → LLaVA analyzes the image → Supervisor correctly identifies Support Intent → AI accurately guides the customer through the return process.
  • Inbound Call: Caller rings at 3 AM → FreeSWITCH answers → AI successfully books a follow-up meeting via Cal.com → AI confirms the booking on WhatsApp.
  • Employee Self-Service: Employee texts their ID → Secure OTP flow activates → Verified Session starts → Employee asks for leave balance → AI seamlessly fetches this from Frappe HR.

22. Data Model Overview

EntityPurpose
users / workspacesPlatform users and multi-tenant boundary.
business_profilesBusiness persona configuration.
contacts / conversationsCustomer profiles and message threads.
messages / media_assetsInbound/outbound texts, stored voice notes, images.
calls / call_transcriptsRecord of phone calls, duration, transcripts.
agents / agent_configsAI agent definitions and parameters.
knowledge_sources / documentsPDFs, URLs, Strapi content chunks (pgvector).
leads / crm_syncsCaptured leads and sync status with Frappe CRM.
erp_connections / otp_challengesSelf-hosted ERPNext connection data, hashed OTPs.
verified_sessions / erp_lookup_logsActive verified identities, audit of ERP fetches.
strapi_sources / marketing_syncsConnected Strapi CMS and Mautic marketing sync logs.
outbound_campaigns / sendsProactive campaign configs and delivery logs.
erp_write_requestsDrafted/submitted ERP actions (leave, expense, tickets).

23. Backend API Overview

EndpointPurpose
POST /api/v1/auth/loginAuthenticate user and issue secure JWT.
GET /api/v1/conversationsList conversations for the specific workspace.
POST /api/v1/media/analyzeTranscribe voice note / analyze image.
POST /api/v1/voice/webhookReceive real-time call events and audio stream.
POST /api/v1/knowledge/uploadUpload PDF file safely to the knowledge base.
POST /api/v1/crm/syncSync a captured lead to Frappe CRM.
POST /api/v1/integrations/erpnext/connectRegister self-hosted ERPNext server credentials.
POST /api/v1/knowledge/strapi/connectRegister Strapi instance and content types.
POST /api/v1/marketing/mautic/connectConnect Mautic for advanced marketing automation.
POST /api/v1/erp/requestsSubmit a confirmed ERP write action (leave/expense).
POST /api/v1/calendar/bookBook a calendar event via Cal.com.
POST /api/v1/whatsapp/webhookReceive inbound WhatsApp events directly from Meta.

24. Project Folder Structure

Plaintext

backend/
├── agents/          # Supervisor and specialized agent implementations
├── workflows/       # LangGraph workflow/state graph definitions
├── rag/             # Chunking, embeddings, retrieval pipeline
├── media/           # Local Whisper STT, LLaVA image/document understanding
├── voice/           # FreeSWITCH streaming, live call handling
├── whatsapp/        # WhatsApp Cloud API client & webhook handlers
├── tools/           # Tool definitions callable by agents
├── services/        # Business logic (leads, conversations, etc.)
├── database/        # SQLAlchemy models, Alembic migrations
├── security/        # Auth, RBAC, permission checks
├── integrations/
│   ├── crm/         # CRM adapter (Frappe CRM)
│   ├── frappe/      # Frappe REST client (ERPNext)
│   ├── calendar/    # Cal.com calendar booking client
│   └── webhooks/    # Generic outbound webhooks
├── verification/    # OTP issue/verify, verified sessions, rate limits
├── cms/             # Strapi client, publish-webhook handler
├── marketing/       # Mautic (Marketing Automation) client
├── campaigns/       # Outbound campaign scheduling, trigger evaluation
├── sentiment/       # Live call sentiment scoring
├── observability/   # Logging, tracing (OpenTelemetry)
└── config/          # Environment & settings management

frontend/
├── components/      # Reusable UI components
├── pages/           # Route-level views
├── layouts/         # Page/dashboard layout shells
├── hooks/           # Custom React hooks
├── services/        # API client layer
├── store/           # Zustand client-state stores
├── types/           # Shared TypeScript types
└── features/        # Feature-scoped modules (leads, inbox, calls, etc.)

tests/               # Backend and frontend test suites
docs/                # Technical documentation
docker/              # Dockerfiles and compose configuration
scripts/             # Developer and operational scripts

25. System Architecture & Deployment Modules

The platform is fully engineered and systematically deployed across 33 sequential architectural modules:

PhaseArchitecture ModuleMain TechnologiesDelivered Capability
1Project SetupGit, DockerRunnable empty project skeleton
2FastAPI BackendFastAPI, PydanticRunning backend service
3PostgreSQL DatabasePostgreSQL, SQLAlchemyPersistent data layer
4React DashboardReact, TypeScript, ViteNavigable dashboard skeleton
5Auth & WorkspaceJWT, RBACMulti-tenant login system
6WhatsApp IntegrationWhatsApp Cloud APIWorking WhatsApp message loop
7Local LLM IntegrationvLLM, Llama 3Basic AI text responses
8LangGraph SupervisorLangGraphWorking agent router
9RAGpgvector, open-source embeddingsGrounded knowledge answers
10Specialized AgentsLangGraph, LangChainMulti-agent conversation handling
11Lead ManagementFastAPI, PostgreSQLStructured lead pipeline
12Human TakeoverWebSocketsFunctional human-in-the-loop system
13Tools & WebhooksTool frameworkControlled agent actions
14Redis ProcessingRedisScalable async message handling
15SecurityJWT, RBAC, validationProduction-grade security baseline
16Testingpytest, PlaywrightAutomated test coverage
17ObservabilityOpenTelemetryEnd-to-end request visibility
18Docker & DeploymentDocker, Docker ComposeDeployable production build
19Media UnderstandingLLaVA, OCRAI understands images & documents
20Voice MessagesFaster-Whisper, Piper TTSVoice notes handled like text
21AI Voice Call AgentFreeSWITCH, Streaming STT/TTSAI answers & holds live phone calls
22Frappe CRM IntegrationFrappe REST APILeads sync to self-hosted Frappe CRM
23Calendar BookingCal.com APIAI books meetings autonomously
24CRM Provider AbstractionAdapter pattern, FastAPIPluggable CRM layer
25ERP Integration UserFrappe REST APIIntegration keys, access scope defined
26ERPNext Connectorhttpx, Circuit breakerSecure read access to employee/invoice data
27OTP Verification ServiceRedis, WhatsApp Auth templatesVerified-identity sessions
28Employee Self-ServiceLangGraph, ERPNext connectorOTP-verified ERP look-ups on WhatsApp
29Strapi Knowledge SourceStrapi API, webhooksLive, editable knowledge base
30Mautic IntegrationMautic APILeads flow into marketing automation
31Proactive CampaignsBackground worker, Voice CallAI-initiated reminders and follow-ups
32Live Sentiment AnalysisStreaming transcript scoringFrustrated callers auto-escalate
33ERP Write ActionsFrappe REST API (write)Verified employees can submit leave/expenses

26. MVP vs Advanced Version Breakdown

  • MVP Base: Authentication, WhatsApp integration, Basic AI, RAG, Frappe CRM lead capture, Dashboard.
  • Communication Expansion Tier: Voice messages, LLaVA Image understanding, FreeSWITCH AI Voice Call Agent, Cal.com booking.
  • Enterprise Integration Tier: Read-only ERPNext connector, OTP verification, Employee self-service.
  • Future-Proof Tier: Strapi CMS, Mautic Sync, Proactive Outbound Campaigns, Sentiment Analysis, ERP Write Actions.

27. What Makes This Product Different From a Normal Chatbot?

Traditional ChatbotThis Ready-to-Deploy Agentic AI
Fixed, scripted responsesOpen-Source LLM reasoning-based responses
Third-party API dependency (Expensive)100% Local AI Models (Free/Zero-recurring cost)
No autonomous workflowMulti-step agentic workflow with Supervisor
Text-only understandingMultimodal (Text, Voice, Images via LLaVA/Whisper)
No phone/voice capabilityAnswers and holds live phone calls (FreeSWITCH)
No access to business recordsOTP-verified, live look-ups from self-hosted ERPNext
Read-only automationCan write to ERP (leave, expense) & proactively reach out
Static uploaded knowledgeLive, headless-CMS backed knowledge (Strapi)

28. Platform Capabilities

  • AI: Natural language, Intent detection, RAG, Multi-agent orchestration, Multimodal (Voice/Image), Real-time voice interaction.
  • Business: Customer support, Lead qualification, Automated scheduling, Employee self-service (read/write capabilities), Invoice lookup.
  • Automation: WhatsApp, AI Phone calls, Frappe CRM, ERPNext, OTP, Strapi CMS, Mautic Marketing, Background processing.
  • Management: Comprehensive Dashboard, Call monitoring, Analytics, Audit logs.

29. Future Scope & Custom Expansions

While the base system contains 33 core architectural modules, the system is explicitly architected from the ground up to easily support future custom expansions, including:

  • Payroll / payslip look-ups with strict step-up authentication.
  • ERP look-ups and write actions over live phone calls with voice OTP generation.
  • Predictive, AI-scored campaign targeting.
  • Seamless payment workflows.
  • Multi-channel support (Telegram / Web chat integration).

30. Technical Quality & Security Standards

Engineered as a high-grade, production-ready enterprise product featuring: Modular architecture, API-first design, Database migrations, Type safety (TypeScript, Pydantic), Input validation, Automated testing, Security by design, Observability (OpenTelemetry), and Privacy by design (100% self-hosted).

31. Important Terminology

  • Agentic AI: An AI system that intelligently plans, decides, and acts autonomously.
  • RAG (Retrieval-Augmented Generation): Retrieves relevant information from a knowledge base to properly ground answers.
  • Local LLM: A Large Language Model (like Llama 3) running securely on your own servers to ensure total data privacy.
  • STT / TTS: Speech-to-Text (Faster-Whisper) and Text-to-Speech (Piper).
  • Telephony / CPaaS: FreeSWITCH/Jambonz, connecting the application to public phone networks.
  • Frappe / ERPNext: Open-source ERP framework for accounting, HR, and CRM operations.
  • Headless CMS: Strapi, storing content via API rather than rendering traditional websites.
  • OTP / Verified Session: Short-lived security codes proving user identity before releasing ERP data.

32. Final Executive Summary

This ready-to-deploy product delivers a state-of-the-art Agentic AI automation platform for WhatsApp and telephony. By architecting the system exclusively on 100% open-source, self-hosted technologies (Llama 3, Frappe CRM, ERPNext, Mautic, Strapi, Cal.com, FreeSWITCH, Faster-Whisper, LLaVA), your business achieves absolute data sovereignty and completely eliminates recurring third-party AI API costs.

It transforms standard customer messaging into a proactive, multimodal, lead-qualifying, and ERP-integrated workforce multiplier, fully customized, integrated, and deployed within a reliable 18 to 24 weeks by Associative in Pune, Maharashtra.

Agentic WhatsApp Customer Engagement & Lead Automation Platform
Deploy a 100% open-source, self-hosted Agentic AI WhatsApp and Voice platform. Automate customer engagement, lead generation, and ERP integration securely
Agentic WhatsApp Customer Engagement & Lead Automation Platform
Deploy our completed, 100% open-source, self-hosted Agentic AI WhatsApp and Voice automation platform. Features ERP/CRM integration, RAG, and zero third-party API costs
Agentic WhatsApp Customer Engagement & Lead Automation Platform
Deploy our self-hosted, 100% open-source Agentic WhatsApp Customer Engagement & Lead Automation Platform. Features ERP integration, RAG, and zero third-party AI API costs
Agentic WhatsApp Customer Engagement & Lead Automation Platform Associative
Deploy our 100% open-source Agentic WhatsApp Customer Engagement & Lead Automation Platform. Features ERPNext integration, RAG, and AI voice agents
Agentic WhatsApp Customer Engagement & Lead Automation Platform Associative
Deploy our fully built, 100% open-source Agentic WhatsApp Customer Engagement & Lead Automation Platform. Features RAG, AI voice, and CRM/ERP integration

Read more