Skip to content
All work

Co-founderSince 2025Pre-launch

Zaylon AI

Conversational commerce for MENA merchants, on WhatsApp and Instagram.

Zaylon turns WhatsApp and Instagram into full sales channels for MENA merchants. Customers browse, ask in their own dialect, and check out without ever leaving the chat. It reads Egyptian Arabic and Franco-Arabic the way a local would, matches a product from a photo, recovers carts on its own, and carries someone from the first question to a paid order. We built the dialect engine and the conversational commerce layer in-house.

Built
The AI system and the backend behind it
Stack
LangGraph, FastAPI, Kafka, Redis, PostgreSQL, pgvector, Supabase, Next.js, CopilotKit, GPT-4o, Gemini, Docker, Railway
Product
zaylon.ai
railway: every service deployed with its own configChannelsWhatsApp, Instagram, +3Merchant dashboardNext.js, CopilotKitWebhook gatewayFastAPI serviceMerchant APIFastAPI serviceRedissessions, batching, cacheKafkaevents between servicesPostgrespgvector, per-tenant rowsConversation servicebatching, 3 dialectsAgent serviceLangGraph, tool callingIntegrations serviceShopify, Salla, +4Sales toolscatalog, recommendSupport toolsorders, policiesCheckout toolscart, pay, confirmPayments serviceStripe, Paymob, Fawry
Zaylon's services: one conversation travels from a channel, through Kafka, to the agent and its tools, and out to the merchant's store and payment provider.

The problem

MENA shoppers do a lot of their buying over WhatsApp and Instagram, but merchants can't sit in those chats around the clock. Off-the-shelf chatbots fall apart on Egyptian Arabic and Franco-Arabic, and they can't carry someone from a question all the way to a paid order.

Three dialects, one conversation

Egyptian customers rarely write in Modern Standard Arabic. They mix dialect, Franco-Arabic, and English, sometimes in one sentence. Zaylon detects the dominant language on every turn and replies in the same register, so the same question can arrive three ways and get the same answer back in the way it was asked.

English
Hi, is the M size back in stock?
Egyptian Arabic
السلام عليكم، مقاس الميديوم متوفر؟
Franco-Arabic
salam, el medium raga3 el stock?

Approach

I built it in LangGraph as one tool-calling agent with about 35 scoped tools spanning sales, support, and checkout. It began as a multi-agent supervisor that routed to separate Sales, Support, and Checkout agents; I consolidated it into a single agent that proved more reliable and easier to reason about. Dialect detection runs first, so the customer is answered in the language they wrote in, and the same flow carries a conversation from the first product question to a confirmed payment.

Decisions

  1. 01

    LangGraph over plain LangChain

    A state machine lets me pin down exactly which transitions are legal between browsing, carting, and checkout. Plain chains drift, and in a flow that ends in a payment I can't afford drift.

  2. 02

    Consolidated to a single tool-calling agent

    It started as a multi-agent supervisor routing to separate agents. A single agent with scoped tools turned out to be more reliable and far easier to reason about: fewer handoffs to get wrong and one place to trace a conversation, while tool-level scoping still limits what any single step can touch.

  3. 03

    Redis message accumulation

    People on WhatsApp send three or four quick messages instead of one. I batch them in Redis for a short window so the agent reads the whole thought at once, instead of firing on each fragment and answering three times.

What it does

  • Handles the whole conversation end to end: answers product questions, builds the cart, and closes the order, all inside the same chat and without a human stepping in.
  • DialectBridge detects whether a customer is writing English, Egyptian Arabic, or Franco-Arabic and answers back in the same dialect.
  • Customers can send a photo of a product, and Zaylon matches it against the merchant's catalog.
  • Follows up on abandoned carts and steps in when a conversation starts to turn negative.
  • A merchant dashboard with a live inbox, analytics, RFM segmentation, and A/B testing.
  • Each merchant's data is encrypted on its own and isolated at the row level, so tenants never see each other.

Integrations

Every merchant's stack is different, so the agent works through the systems a merchant already runs rather than asking them to move.

Messaging
WhatsApp, Instagram, Messenger, TikTok, web chat
Commerce
Shopify, Salla, WooCommerce, Odoo, YouCan, Zoho
Payments
Stripe, Paymob, Fawry
Shipping
Bosta, Aramex

My role

I co-founded Zaylon and built its AI system and backend: the conversational architecture, the LangGraph agent that runs it, the tri-lingual NLP, and the FastAPI application with its database layer and the multi-tenant security around it.

  • Conversational AI architecture and the LangGraph agent
  • FastAPI application, services, and API surface
  • Database schema, migrations, and multi-tenant isolation
  • Hybrid product search: keyword and vector retrieval with rank fusion
  • Tri-lingual NLP for English, Egyptian Arabic, and Franco-Arabic
  • Proactive engine that spots sales opportunities in a conversation
  • Auth, permissions, plan entitlements, and tenant security
  • Deployment, CI, and observability for the backend

Where it stands

Integrates 6 commerce platforms and 5 messaging channels, handling product discovery, support, and checkout across three dialects. Launching commercially in 2026.