Raichu
multi-tenant AI sales agent
Private · raichu-ai
Mine: the Laravel tenancy and queue pipeline, and the FastAPI RAG + ordering brain.
An AI shop assistant a consumer brand can put on every chat channel — it answers
from the brand's own catalog, recommends, and takes real orders. I designed the
conversational ordering flow end to end: fuzzy catalog search → variant
selection → cart → upsell → validated intake → COD confirmation → order created in WooCommerce,
with a local order snapshot so a gateway failure degrades gracefully instead of dropping the
sale. The RAG pipeline (LangChain + FAISS over PDF/DOCX/OCR ingestion) keeps
answers inside the brand's catalog — product hallucination is the failure mode that destroys
trust in retail chat, so it's designed out rather than prompted away.
After a production audit found social-channel bots implying orders that no
pipeline could actually create, I enforced a channel capability boundary in the
architecture — order emission gated at both the brain and Laravel layers, plus a
sanitizer, documented as a project-wide non-negotiable. Public comment replies ship with the
same two-layer safety design: an LLM prompt layer plus a deterministic product allowlist, so
the bot cannot quote a product not bound to that post.
Laravel 12PHP 8.2PythonFastAPILangChainFAISSGPT-4o visionRedis queuesPusherStripe
Latias
customer CRM & campaigns
Private · raichu-ai
Mine: identity resolution, segmentation, loyalty, campaign delivery, order sync.
The CRM half of the platform, running over 1,026,113 customers and
2,330,105 orders. Identity resolution links repeat buyers across channels by phone; a
segmentation engine drives campaign audiences on behavioural and transactional rules; a
points-and-tiers loyalty system sits on live order history. Campaigns go out over WhatsApp and
SMS with multi-account routing and delivery-receipt reconciliation — so
delivery is measured, not assumed. The WooCommerce order-sync pipeline carries revenue and
status attribution into merchant reporting at 26,900+ orders per reconciliation
window.
Next.jsTypeScriptDocker ComposeWooCommerce RESTWhatsApp Cloud APISMS + DLR
Unified backend
three products, one platform
Private · raichu-ai
Mine: the consolidation — shared auth, organisations, billing.
Raichu, Latias and Bulma were built separately and had drifted into three
divergent auth and tenancy models. I consolidated them onto one shared FastAPI
backend providing common authentication, organisations and billing behind three
Next.js front ends — five channels of inbound customer messaging (web widget, WhatsApp Cloud
API, Messenger, Instagram DM, TikTok DM) landing in one asynchronous Redis pipeline.
FastAPINext.jsRedisMulti-tenancyMeta Graph APITikTok DM API