explaingit

lexy-boa/whatsapp-agentic-crm

Analysis updated 2026-05-18

0PythonAudience · developerComplexity · 4/5Setup · moderate

TLDR

Avni is a WhatsApp customer service assistant for a fashion retailer that uses a single Claude AI call with tools to search products, check stock, look up orders, and hand off to a human when needed.

Mindmap

mindmap
  root((repo))
    What it does
      WhatsApp customer chat
      Product search and inventory
      Voice note transcription
      Human handoff
    Tech stack
      Python
      FastAPI
      Claude tool use
      PostgreSQL
      Redis
      Qdrant
    Use cases
      Automate retail customer chat
      Handle voice orders in regional languages
      Escalate sensitive requests to staff
    Audience
      Developers
      Retail businesses
    Setup
      Docker Compose
      Needs AI API keys
      Demo catalog included

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Automate WhatsApp customer support for a retail business, including product search and order lookups.

USE CASE 2

Handle customer voice notes in South Indian regional languages and dialects.

USE CASE 3

Route sensitive requests like refunds or payment disputes to a human instead of letting the AI answer.

USE CASE 4

Study a real world example of a single tool-using AI call replacing a multi step AI pipeline.

What is it built with?

PythonFastAPIPostgreSQLRedisQdrantDockerClaudeWhisper

How does it compare?

lexy-boa/whatsapp-agentic-crm0xallam/my-recipe0xhassaan/nn-from-scratch
Stars00
LanguagePythonPythonPython
Last pushed2022-11-22
MaintenanceDormant
Setup difficultymoderatemoderatemoderate
Complexity4/52/54/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 1h+

Requires Docker Compose and AI API keys (Claude, OpenAI, Groq), a demo catalog lets you try it without a real Shopify store.

The README does not state a license, so usage terms are unclear.

In plain English

This project, called Avni, is a customer service assistant that runs on WhatsApp for a fashion retail business. Customers can text or send voice notes, including in South Indian languages like Malayalam, Tamil, Telugu, and Kannada, and Avni searches the product catalog, checks whether items are in stock, looks up past orders, and hands the conversation over to a real person when the situation calls for it, such as a refund or a payment dispute. The published version has all real client details replaced with a fictional demo brand called DemoBoutique. The core of the system is a single call to Claude, Anthropic's AI model, that has access to four tools: one for searching products, one for checking inventory, one for looking up orders, and one for escalating to a human. Rather than running the conversation through several separate AI steps that each had to agree with the others, the model itself decides in one pass which of these tools it needs during a given exchange. The author explains that an earlier version of this system used eleven separate steps across two AI calls, and switching to this single tool using approach cut it down to seven steps and made it simpler to add new capabilities later. Voice notes go through a pipeline that transcribes speech using a Whisper model run through Groq, cleans up transcription errors, and detects which regional dialect is being spoken. Product search uses AI generated embeddings stored in a vector database called Qdrant, while PostgreSQL holds the core business data such as orders and inventory. A dashboard called the Control Room gives the business owner a view of conversations, escalations, and system health. The project runs in Docker containers alongside Postgres, Redis, and Qdrant, and includes a demo catalog so it can be tried locally without a real Shopify store. It ships with over 80 automated tests covering the tool logic, voice pipeline, and privacy safeguards.

Copy-paste prompts

Prompt 1
Walk me through setting up this WhatsApp agentic CRM locally with Docker Compose.
Prompt 2
Explain how the single Claude tool-use loop replaced the older 11-step pipeline in this project.
Prompt 3
Show me how the voice pipeline transcribes and detects dialect from a customer's WhatsApp voice note.
Prompt 4
Help me understand how escalate_to_human works and when it gets triggered in this system.
Prompt 5
Explain how this project connects Shopify product data to the Qdrant vector search.

Frequently asked questions

What is whatsapp-agentic-crm?

Avni is a WhatsApp customer service assistant for a fashion retailer that uses a single Claude AI call with tools to search products, check stock, look up orders, and hand off to a human when needed.

What language is whatsapp-agentic-crm written in?

Mainly Python. The stack also includes Python, FastAPI, PostgreSQL.

What license does whatsapp-agentic-crm use?

The README does not state a license, so usage terms are unclear.

How hard is whatsapp-agentic-crm to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is whatsapp-agentic-crm for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.