EmbedChat AI

EmbedChat AI

OpenAIFastAPIAgnoCeleryMongoDBNextJSClerkUpstashRedis

An AI-powered customer support platform for e-commerce merchants.

Problem

E-commerce merchants face high support overhead, fragmented customer interactions, and slow resolution times across platforms like Shopify, WooCommerce, and custom stores. They needed a scalable, intelligent solution that could handle real-time customer queries, maintain context, and integrate seamlessly with multiple platforms.

Solution

Developed a production-grade SaaS platform combining a Next.js frontend with a Python/FastAPI backend, orchestrated by Agno for agentic AI reasoning. The system automates customer support via multi-tenant AI agents capable of:

  • Routing queries based on store type (Shopify, WooCommerce, general)
  • Synchronizing product catalogs and website content into a vector database
  • Maintaining long-term, context-aware user memory
  • Executing platform-specific actions (cart management, product search)

EmbedChat AI EmbedChat AI

Architecture & Key Decisions

  • Frontend: Next.js 16 (App Router) with TypeScript, Tailwind CSS, and Shadcn/UI for responsive dashboards and embeddable widgets; Preact + Vite for minimal bundle widget (~25kb gzipped).

  • State & Data: Zustand (widget settings), SWR (data fetching), MongoDB (tenant/agent config), and read-only analytics access to backend MongoDB.

  • Backend: FastAPI services with JWT-based authentication, Celery workers for heavy background tasks, Redis for caching and rate-limiting.

  • Agent Intelligence: Agentic RAG system with persistent memory, vector search (MongoDB Atlas + OpenAI embeddings), and tool orchestration for real-time query execution.

  • Integration: Shopify via MCP, WooCommerce via API, generic sites via smart web scraping (Firecrawl/Trafilatura).

EmbedChat AI EmbedChat AI

Outcome

Delivered a robust, multi-tenant SaaS platform enabling e-commerce merchants to automate customer support, reduce operational overhead, and provide personalized, context-aware experiences to users. The system supports both a full-featured admin dashboard and a lightweight embeddable chat widget, now production-ready and actively tested for commercial deployment.

Impact / Value Proposition

  • Significant reduction in manual support workload

  • Scalable across multiple e-commerce platforms

  • Modular architecture allows fast integration of future tools and features

  • Secure, isolated tenant environments with real-time analytics

  • Easy integration with existing e-commerce platforms with custom embeddable widgets

EmbedChat AI