XS Lawyer — Building an AI Legal Assistant for Egyptian Law.
A subscription-based SaaS platform that puts a domain-trained AI assistant in front of every Egyptian who needs legal guidance — backed by document analysis, multilingual chat, and a full subscription, billing, and CRM operating system.
Four chapters of the XS Lawyer build.
Public website, the domain-trained LLM, a ten-module admin dashboard and the brand identity that ties them together — tap any case study to step inside.
Public Website
The xs-lawyer.com public surface — landing page, pricing table, FAQ, legal pages, signup flow and the live AI chat experience — bilingual EN/AR with full RTL support.
- Live Platform — Above the Fold
- Hero & Value Proposition
- Pricing
- Contact Form
- + 1 more inside
LLM — Domain-Trained Legal AI
A domain-trained AI engine built on top of a curated Egyptian legal corpus — with citation enforcement, document analysis and multilingual EN/AR chat.
- Egyptian Legal Corpus
- Citation Enforcement Pipeline
- Document Analysis — Contracts & PDFs
- Multilingual EN / AR Chat
- + 1 more inside
Admin Dashboard
The full admin OS — analytics, users, CRM, plans, features, subscriptions, payments, finance, reports and translations — running the entire SaaS in EGP under one role-based dashboard.
- Analytics Dashboard
- Users Management
- Newsletter Subscriptions
- Plans Catalog
- + 1 more inside
Brand Identity
A complete identity system — logo, palette, typography, voice — built to feel measured and trustworthy for an AI legal-tech audience in Egypt.
- Brand Hero & Chat UI
- Identity in Context
- Logo Lockups
- System & Application
We Built the Platform
A fully custom legal-tech SaaS for XS Lawyer — AI-powered, bilingual, and built to match the brand's authority-first identity.
Make Egyptian Legal Help Available 24/7 — Without Hiring a Lawyer.
XS Lawyer's founders saw a clear gap: ordinary Egyptians and small businesses had no fast, affordable way to understand a contract clause, check a regulation, or get a second opinion before signing. They needed a SaaS product — not a marketplace, not a directory — with an AI assistant trained on Egyptian civil, commercial, criminal, family, labor, and constitutional law.
- An AI chat interface trained specifically on Egyptian legal sources, in Arabic and English.
- Document upload & analysis — users drop a contract PDF and get plain-language explanations.
- A subscription billing system with three plans and four cycles (monthly → annual).
- A full admin operating system: users, CRM leads, plans, payments, finance, translations.
- Compliance-grade encryption and end-to-end conversation privacy from day one.
Legal Help in Egypt is Slow, Expensive, and Hard to Access.
Three structural barriers were keeping ordinary users locked out of legal clarity — and a generic AI chatbot couldn't solve any of them on its own.
Off-the-shelf chatbots cite US/UK precedents and hallucinate confidently when asked about Egyptian Civil Code or Personal Status Law. Users were getting wrong answers wrapped in confident language.
Existing options were either expensive lawyer marketplaces or static document templates. There was no middle layer where users could ask, get a real answer, and pay only for what they used.
A working product needed plans, credits, document quotas, multi-cycle pricing, payments, CRM leads, multilingual content, and analytics — all of which had to ship together for launch.
A Domain-Trained Legal AI Wrapped in a Production SaaS.
We didn't ship a chatbot — we shipped a product. The AI runs against an Egyptian-law-curated knowledge base with citation enforcement, sitting inside a Laravel SaaS with subscription billing, document quotas, multilingual content, and a full admin operating system. Every layer talks to the next: a chat message decrements a credit, an upload counts against a document quota, a sale lands as a CRM lead.
NLP pipeline trained on Egyptian Constitution, Civil Code, Commercial Law, and case precedents — with citation enforcement to cut hallucinations.
Users upload contracts and PDFs; the system extracts clauses, flags risk language, and explains them in plain Arabic or English.
3 plans × 4 cycles, with credit and document quotas enforced at the chat layer — so usage and revenue are always in sync.
Users, CRM leads, plans, features, payments, finance reporting, translations, and analytics — one role-based dashboard.
For the first time, someone in Cairo can drop a contract into a chat at midnight and walk away knowing what they're about to sign. That's the product we set out to build.
From Idea to Live Product, Step by Step.
An eight-phase build over sixteen weeks — starting from a blank page and ending at a live, paying SaaS — with brand, website, AI, admin and launch all owned by one team.
Took the founder's idea from a one-line concept to a real product brief: target users, pricing model, scope of legal coverage, success metrics and a phase plan locked before any pixels or code.
Designed the XS Lawyer identity from scratch — custom logo mark and lockups, color palette, typography, voice and bilingual EN/AR guidelines packaged for app, web and print.
Curated and cleaned Egyptian legal sources, defined the citation schema, and ran prompt evaluations against ~200 real legal questions to lock the answer pattern.
Designed and shipped xs-lawyer.com — landing, pricing, FAQ, legal pages, signup and the live chat surface — bilingual EN/AR with full RTL support.
Stood up the Laravel SaaS skeleton: auth, role-based access, multi-tenant chat, RTL/LTR i18n, and the credits + document quota model that everything else hangs off.
Built the streaming chat UI, file upload, PDF parsing, clause extraction, and the citation-checking layer that ties answers back to specific legal articles.
Shipped the admin: clients, users, CRM (companies/contacts/leads), plans & features, subscriptions, payments via Paymob/Apple, finance (accounts, income, expenses, transfers, reporting), translations and content management.
End-to-end encryption review, rate limiting, abuse detection, analytics dashboards, then a soft launch followed by the public xs-lawyer.com release.
Selected Screens
A Production SaaS, Live and Earning.
Have an AI product idea that needs to ship as a real SaaS?
If your product is a model wrapped in a Notion doc, that's exactly the gap we close — billing, admin, multilingual, security, and all. Let's talk.