Skip to main content
Product Design, Realtime Engine & Core ArchitectureMENA & Global2026

Chatmode

In-App Chat Engine, 1-Tag Site Widget & Zero-Signup Guest Links

Your brand. Your rules. Our engine. Save 70%+ engineering with the In-App Chat Engine or ~99% with no-signup Guest Links & 1-tag Embed Widget—plus one unified Ops Desk.

In-App Chat EngineEmbed WidgetZero-Signup LinksWhatsApp CloudREST & WebSocketsiOS & Android

Executive Case Overview

01 · Engineering Dilemma

Custom Chat Takes ~3x Dev Effort; Legacy SaaS Locks In UI & Seats

Rebuilding realtime messaging burns sprint cycles on WebSockets, reconnects, unread state, media storage, and push—while SaaS tools impose seat taxes and force third-party bubbles on custom apps.

  • Relative build effort: ~1x with Engine vs ~3x custom
  • Eliminates per-seat pricing explosions (Free to $24.99/mo)
  • Zero external branding required on Pro, Business & Engine
02 · Three Clear Paths

Links (~99% Saved), Embed Widget (~99% Saved) & Engine Core (70%+)

Each buyer selects one clear deployment claim: browser guest links with no signup, an embed.js site bubble with optional HS256 auth, or headless Engine Core where your backend owns rules and your UI owns the pixels.

  • Links: Direct, isolated Inbox, or password Group in browser
  • Widget: Single <script src="/embed.js"> tag + HS256 token
  • Engine: Domain external_id threads + short-lived peer tokens
03 · Unified Ops & AI

Optional Unified Ops Desk Across Channels, WhatsApp Cloud & Mobile

Watch threads from links, website widgets, and WhatsApp Cloud API in one multi-agent workspace with Easy Templates, isolated internal team notes, AI assistant workflows, auto-CSAT ratings, and iOS/Android staff apps.

  • 7 signed webhook event types (message.created to csat.submitted)
  • 4-role RBAC (Owner, Admin, Agent, Viewer) + cm_live_ keys
  • Native iOS & Android staff inbox with instant push alerts

Project snapshot

Role
Product Design, Realtime Engine & Core Architecture
Year
2026
Platforms
Web App, embed.js Widget, REST & WebSocket Engine, iOS & Android
Market
MENA & Global
Capabilities
WebSockets, HS256 Signed JWTs, external_id Threads, HMAC Webhooks, WhatsApp Cloud API, Easy Templates
Impact
Full messaging SaaS & API platform avoiding 70% to 99% of chat build effort across 3 distinct buyer paths
Chatmode

Interactive Product UI Showcase

Explore desktop workflows and synchronized mobile views across user roles in live English & Arabic fidelity.

chatmode.egstars.com/ops/inbox
Operators & Support Teams

Multi-Channel Inbox with Private Team Notes & Easy Templates

Production UI
Active Surfaces Link · Web · WA One Ops Desk
Guest Friction 0 Signup Required or HS256 User
Automation Hooks Templates + CSAT AI Ready
Order Help · Website Widget (HS256 Verified sub: 4821) 14:12

I need help updating the delivery address on order #4821 and connecting order alerts.

Private Internal Note · Assigned to Omar (Agent) 14:13

Verified host user #4821 via HS256 claim. Dispatch status is still pre-shipment; send the Confirm Update Easy Template card.

Omar · Operations Team 14:13

Hi! Your order #4821 has been updated before dispatch. Choose a confirmation option or open billing below:

Confirm AddressBilling DetailsResolve + CSAT
Staff Mobile App Mobile View

iOS & Android Live Queue

Widget Thread · Order #4821 Open
HS256 User · Channel: Support
WhatsApp Cloud Sync Push Live
New Visitor Message · Billing Tag
Insert Easy Template Reply

UX Rationale: Keeping private internal team whispers visually distinct from customer bubbles prevents accidental leakage across fast-moving web and mobile queues.

Mobile App User Journey

End-to-End 4-Screen Mobile App Flow

The complete native mobile UX flow for Chatmode—engineered for frictionless Arabic/English conversion and intuitive ergonomics.

01 Guest Links · ~99% Saved

Instant Browser Link Creation

Direct, Inbox, or Password Group — zero signup required

New Chat Link Live
Inbox Mode · Private Threads chatmode.egstars.com/l/consult
0 Signup 30-Day Browser
Link Modes
Direct · Inbox · Public Group 3 Modes
Visitor Access Control
Member Limit & Optional Password
Persistence Path
Browser (~30d) or Register Workspace Instant

Removing mandatory account signup for inbound links lets consultants and founders receive visitor messages immediately inside the same browser.

02 Site Widget · ~99% Saved

1-Tag Embed with HS256 Identity

Display name for guests; signed sub tokens for logged-in users

Embed Widget Live
Authenticated Buyer · sub #4821 embed.js + Signed HS256 User Token
1 Tag JWT Verified
Signed Claims (24h)
iss · sub · name · exp (HS256) HS256
Anonymous Fallback
Omit Token -> Prompt Display Name
Host Session API
POST /api/v1/visitor/session + /ws/… 60/min

Signing short-lived HS256 tokens on the customer backend keeps known users in persistent threads while public pages seamlessly welcome guests.

03 Unified Ops Desk

Omnichannel Inbox & Easy Templates

Staff web and iOS/Android apps with private notes & routing

Chatmode Ops Desk Live
Order Help · Channel #support Synced Web Widget + WhatsApp Cloud
4 Roles Assigned
Role Access Scope
Owner · Admin · Agent · Viewer RBAC
Internal Whisper UI
Isolated Container · Internal View Only
Reply Accelerators
Easy Templates + Auto Follow-Ups + AI Templates

Visual separation between private internal notes, structured Easy Templates, and live customer messages eliminates accidental client leaks under load.

04 Engine Core · 70%+ Saved

Custom In-Product Chat via external_id

Your app draws 100% of the UI; peers never create Chatmode logins

In-App Engine Flow Live
Booking Room · external_id #842 Custom UI Chrome · Zero Chatmode Branding
120/min Peer Token
Domain Thread Mapping
1 Thread per Order, Booking or Ticket external_id
Provision & Peer Limits
300/min Provision · 120/min Peer WS
Post-Resolve Automation
csat.submitted Signed Webhook Event CSAT

Mapping threads cleanly to external_id allows marketplaces and SaaS apps to launch order-level messaging in days while keeping full UI ownership.

UI/UX Craft & Design System

Color tokens, bilingual typography scale, RTL logic, and the UX product decisions behind the interface.

Color Architecture

Obsidian Canvas #07080c Primary ultra-deep dark interface canvas
Midnight Indigo Shell #111320 Logo backdrop, cards & workspace containers
Chatmode Deep Violet #383f82 High-contrast CTA gradient start & primary controls
Brand Indigo Iris #5b66b5 Signature vector monogram, links & thread highlights
Warm Bronze Accent #b58a5b Secondary CTA stop, highlights & action cues

Bilingual Typography & RTL

Display · Outfit · Cairo Aa أ ب ت — 0123456789
UI / Body · Cairo · JetBrains Mono

Native RTL Arabic & LTR English parity.

Outfit anchors modern geometric English UI headings while Cairo provides crisp native legibility across Arabic workspaces. JetBrains Mono formats API paths, cm_live_ keys, and HS256 payloads.

Full Arabic RTL & English LTR parity synced via locale-init across personal links, the embeddable widget bubble, developer API docs, and native mobile apps.

Key UX Decisions

01

Strict Claim Separation Per Buyer

Never conflating Widget (~99% chat work avoided) with Engine (70%+ effort saved) builds engineering trust and funnels every lead into the right integration guide.

02

Isolated Private Notes UI

Team whispers sit inside explicitly labeled, bordered containers separated from visitor message threads so agents never leak internal context.

03

Zero-Account Browser Persistence for Links

Saving generated guest links locally for ~30 days removes onboarding resistance while offering an effortless path to claim permanent multi-agent workspaces later.

System Architecture & Live Engineering

Multi-path realtime messaging stack engineered by EG Stars to power shareable links, a single-tag site embed, and high-throughput Engine Core REST/WebSocket integrations.

01

Three Client Entry Surfaces

Links, Widget & Engine Peers
  • Direct / Inbox / Password Links
  • 1-Tag /embed.js Script Bubble
  • Custom In-Product Engine UI
  • iOS & Android Staff Inbox App
02

Identity, Keys & Rate Guard

Zero-Trust Auth Edge
  • HS256 Short-Lived User JWTs
  • Scoped Bearer cm_live_ API Keys
  • Engine Limits: 300 / 120 / 60 rpm
  • Origin Allowlist & 4-Role RBAC
03

Engine Core & Ops Automation

Threads, Templates & AI
  • Domain external_id Thread Engine
  • Easy Templates & Button Actions
  • Automated Follow-Ups & AI Assistant
  • Automated Post-Resolve CSAT Ratings
04

Realtime Hub, Rails & Storage

WebSockets & Outbound Hooks
  • WebSocket /ws/… Live Delivery
  • 7 Signed Outbound Webhook Events
  • WhatsApp Cloud API Channel Sync
  • Plan-Tiered Media Vault (Up to 100MB)
Verified Live Production: chatmode.egstars.com
REST + WebSocket Engine1-Tag /embed.js WidgetHS256 Signed JWTsexternal_id Mappingcm_live_ API KeysSigned Webhooks (7 Events)WhatsApp Cloud APIAI Assistant + Auto-CSATiOS & Android Staff App

Product Deep-Dive

Product Thesis & Market Fit

Your Brand. Your Rules. Our Engine — Three Paths, Not One Blurry Story

Product and business teams face an ugly binary choice when adding real-time chat: building in-house requires roughly ~3x the engineering effort across WebSockets, reconnect backoff, unread state, media uploads, and mobile parity—while legacy SaaS tools lock you into aggressive per-seat fees and third-party branding. At EG Stars, we designed and engineered Chatmode around three distinct, honest buyer paths—so every customer ships at maximum velocity without sacrificing product ownership.

Architectural Buyer Matrix

Personal Links vs. Site Widget vs. Chatmode Engine Core

One effort claim per buyer—choose the exact integration surface your product requires:

Dimension 1 · Personal & Guest Links 2 · Website Embed Widget 3 · Chatmode Engine Core
Engineering Effort Avoided ~99% Chat Work Avoided ~99% Chat Work Avoided 70%+ Saved (~1x vs ~3x Custom)
UI Ownership & Branding Hosted browser chat surface Site bubble (brand-free on Pro+) 100% Custom App UI (Zero Chatmode Branding)
Authentication Model 0 signup · ~30-day browser link Display name for guests or signed HS256 JWT Host-signed peer bearer tokens (no Chatmode logins)
Integration Primitives Direct, Inbox, or Password Group URL Single embed.js tag or POST /visitor/session Domain external_id threads (orders, bookings, tickets)
Where Operators Reply Same browser or team workspace Unified Chatmode Ops Desk (or CRM webhooks) Inside your own UI or optional unified Ops Desk
Production Developer Surface

From a Single <script> Tag to High-Throughput Engine Core APIs

Backed by an openapi.yaml spec, official Node helper (chatmode-engine), and clear rate limits—300 req/min Engine provisioning, 120 req/min peer send/history/read, and 60 req/min workspace API (Open API Docs):

Path 2 · Embed Widget + HS256 /embed.js
<!-- 1. Drop-in site bubble (0 signup for cold guests) -->
<script
  src="https://chatmode.egstars.com/embed.js"
  data-workspace="acme"
  data-channel="support"
  data-user-token="eyJhbGciOiJIUzI1NiIs...">
</script>

// 2. Short-lived HS256 token signed on your backend (<= 24h)
{
  "iss": "acme/support",
  "sub": "user_4821",
  "name": "Salma H.",
  "exp": 1795689600
}
Path 3 · Engine Core API (300/min) POST /api/v1/{ws}/channels/...
// Provision a custom app thread mapped by domain external_id
const res = await fetch(
  "https://chatmode.egstars.com/api/v1/acme/channels/orders/threads",
  {
    method: "POST",
    headers: {
      "Authorization": "Bearer cm_live_your_workspace_key",
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      external_id: "order_4821",
      guest: { external_id: "buyer_90", name: "Salma" }
    })
  }
);
// Returns short-lived peer bearer + WebSocket /ws/... path
Signed Outbound Webhook Events:
message.created message.updated thread.assigned thread.resolved thread.reopened csat.submitted template.button_clicked
Enforced SaaS Plans & Unified Ops Desk

Transparent Economics Replacing Aggressive Per-Seat Software Taxes

Every plan includes live threads, the embed widget, and Engine/App APIs—paired with isolated private team notes, Easy Templates, WhatsApp Cloud API sync, and iOS/Android staff apps:

Free $0
  • 1 Workspace · 2 Channels · 2 Members
  • 1 API Key · 5 MB Upload Cap
  • Live Threads, Widget & API Access
Pro $7.99/mo
  • 3 Workspaces · 10 Channels · 10 Members
  • 5 API Keys · 25 MB Upload Cap
  • Custom Domain + Remove Branding
Business $24.99/mo
  • 10 Workspaces · 40 Channels · 30 Members
  • 20 API Keys · 100 MB Upload Cap
  • Includes AI Assistant + White-Label
Enterprise Custom
  • Unlimited Workspaces, Channels & Seats
  • Unlimited API Keys · 100 MB Uploads
  • Custom Domain, AI Assistant & SLA
Engineering & Product FAQ

Frequently Asked Questions About Chatmode Architecture

How does Chatmode Engine differ from the Website Embed Widget and Guest Links?

Chatmode separates three explicit paths so you never mix product claims: (1) Guest Links generate a private or group URL in your browser with no signup (~99% chat work avoided). (2) Website Widget adds a single embed.js script bubble to your site where your agents reply from the Chatmode inbox (~99% avoided). (3) Chatmode Engine lets engineering teams draw 100% of their own in-product chat UI while Chatmode runs WebSockets, history, and webhooks (~70%+ dev effort saved vs custom build).

Do website visitors or app users need to create a Chatmode account?

Never. Visitors on personal links or public website widgets start chatting immediately with zero signup—just a display name. For logged-in users on your website, your backend signs a short-lived HS256 JWT (sub claim) so they open their persistent thread seamlessly. Inside Chatmode Engine, users and staff connect as channel-scoped peers with short-lived bearer tokens and zero Chatmode logins.

How does Chatmode Engine map threads to our orders, bookings, or support tickets?

Your backend holds a workspace-scoped API key (Authorization: Bearer cm_live_...) and provisions threads keyed by your domain external_id (such as an order ID, ticket ID, or consultation room). Provisioning supports up to 300 req/min and peer messaging supports 120 req/min via REST and WebSocket (/ws/...), with signed outbound webhooks for message.created, thread.assigned, thread.resolved, and csat.submitted.

Does Chatmode support native Arabic RTL, WhatsApp Cloud API, and mobile staff apps?

Yes. Built in-house by EG Stars using Cairo and Outfit typography tokens, Chatmode delivers full bidirectional Arabic RTL and English LTR parity across personal links, the embeddable widget, API documentation, official WhatsApp Cloud API channel sync, private internal staff notes, Easy Templates, and iOS/Android staff mobile apps.

What are the pricing tiers, and can EG Stars integrate Chatmode Engine into our app?

Chatmode offers a Free tier (1 workspace, 2 channels, 5 MB uploads), Pro at $7.99/mo (custom domain and branding removal), Business at $24.99/mo (includes the AI assistant and 40 channels), and Enterprise (unlimited scale). EG Stars both operates Chatmode and partners with SaaS and marketplace teams to integrate real-time messaging and WhatsApp automation.