Skip to content

Architecture Overview

The CRM Product is built on a robust Multi-Agent Architecture designed for scalability and intelligence.

System Architecture (Flowchart)

This diagram illustrates how messages flow from the user through the API Gateway to the Orchestrator and specialized agents.

Architecture Overview

The CRM Product is built on a robust Multi-Agent Architecture designed for scalability and intelligence.

System Architecture

This diagram provides a high-level view of the 9 Microservices that power the CRM Product, illustrating how they interact to deliver a seamless user experience.

Data Flow (Message Lifecycle)

The following sequence diagram explains exactly how a user's message is processed from the moment it is sent on WhatsApp until a response is delivered.

Database Schema (ERD)

The following Entity Relationship Diagram (ERD) represents the complete and verified data model of the CRM Product, derived directly from the database initialization and migration scripts.

Booking Sequence Diagram

A detailed look at the interaction between the User, Router, Booking Agent, and Database during a reservation.

Order State Diagram

The lifecycle of an order within the Transaction Agent.

Technology Stack

ComponentTechnologyDescription
CoreHybridMicroservices architecture using Go, Python, and TypeScript
Services (Go)Go 1.21High-performance services (Booking, Order, Billing, Message Sender)
Services (Python)Python 3.11AI & Data services (LLM Orchestration, Knowledge, Analytics)
Services (TS)Node.js / NestJSBusiness logic services (Tenant, Conversation)
FrameworkFiber / FastAPI / NestJSOptimized frameworks for each language
LLMOpenAI GPT-4Intelligence engine
DatabasePostgreSQLPersistent storage
Vector DBQdrantRAG knowledge base storage
CacheRedisContext and session caching

Released under the MIT License.