MojaedgeStart trial
AI & analytics

AI assistant

Chat for customers + staff. Bring your own API key. Cost dashboard included.

Three surfaces

**Storefront chat** (sells), **Portal chat** (logged-in customer self-service), **Desk staff helper** (search products, look up customers from inside ERPNext). All three run on the same gateway with different system prompts and tool sets.

BYO LLM key

We point at `ai-gw.xcobean.com` (LiteLLM gateway). You supply your own Anthropic / OpenAI / Groq / Gemini API key under your tenant's Settings → AI. We never see your prompts or your bills.

What the customer chat can do

Search the live ERPNext catalog (with Redis-backed cache), add items to cart, ask for delivery quotes, apply promo codes, fire M-Pesa STK, check order status, recommend related items based on recent views. Defensively parses Llama text-format tool calls so weird LLM responses don't break the flow.

Cost dashboard

Admin → **AI usage**. Token spend per surface, per model, per day. Drill into any session.


Missing something? Tell us what you needed.