Lab brief L-01Legal AI · GCCStatus — Research

GulfLaw.ai.

An Arabic-native legal-AI platform for Gulf law firms: autonomous agents, precedent mining, and handwritten-Arabic intelligence, built for data sovereignty.

Role — Architect & builderStack — Arabic LLM · RAG · LangGraph · QdrantStage — Research
§ 01The idea

Legal AI that thinks in Arabic first.

Most legal AI is built for English-language, common-law workflows, then translated. Gulf practice is the inverse: Arabic-first documentation, multi-jurisdiction civil and Sharia-influenced law, and a deep reluctance to put client data on someone else's cloud. GulfLaw.ai starts from that reality.

It pairs an Arabic-tuned model with a retrieval layer over GCC case law and a suite of autonomous agents that always pass through a human gate, so the system drafts, researches, and monitors compliance, while a lawyer stays accountable for every output. Handwritten case notes (still 40% of Gulf practice) are photographed, read, and folded into a searchable knowledge base.

The whole platform is designed to run where the data must live: public cloud, private GCC data centres, hybrid, or fully sovereign on firm-owned hardware.

§ 02The problem

An inefficiency tax, paid in billable hours.

§ 03The agent suite

Six agents. A human gate on every one.

Intake

01

Turns a client inquiry into a structured case brief with conflict check and jurisdiction analysis.

Gate · partner approval

Research

02

Queries precedent and live court databases, surfacing the most relevant cases with citation-chain mapping.

Gate · lawyer validates

Drafting

03

Generates contracts and motions from clause libraries, learning the firm's house style over time.

Gate · associate review

Discovery

04

Reviews documents for relevance, privilege, and responsiveness at a fraction of manual cost.

Gate · QA sampling

Compliance Monitor

05

Tracks regulatory change across five jurisdictions and flags active cases the change touches.

Gate · officer confirms

Billing

06

Captures time from activity with transparent, tamper-evident logs to pre-empt disputes.

Gate · partner approves
§ 04Architecture

A governed stack, layer by layer.

Application
Arabic RTL portal & APIs
Web portal, mobile, client self-service dashboards, and partner integrations.
AI core
Arabic LLM + RAG + agents
Jurisdiction-tuned model, hybrid vector + keyword retrieval, and a LangGraph agent orchestrator with human-in-loop gates.
Knowledge
Governed legal corpus
Vectorized Arabic case law with data-lineage tracking (DMBOK), immutable audit logs, and RBAC/ABAC access policy.
Processing
OCR & NLP pipeline
Arabic handwriting OCR, diacritization, entity extraction, document classification, and embedding generation.
Ingestion
Connectors & uploads
Court-system and registry connectors, document upload, email, and webhook listeners.
Security
Compliance, end to end
AES-256 at rest, residency zones, and a path to SOC 2, ISO 27001, and NIST CSF.
§ 05Deployment

Run it where the data must live.

Small–mid firms

Public cloud

Managed multi-tenant SaaS in-region, with SOC 2 / ISO 27001 controls.

Large firms

Private cloud

Dedicated GCC data-centre deployment with stronger isolation and NIST CSF alignment.

Government-facing

Hybrid

Sensitive data stays on-prem; an air-gapped option keeps the most sensitive matters offline.

State & advisory firms

Sovereign

Fully firm-owned hardware with custom certification: zero external dependency.

§ 06What I'm testing
Open questions

GulfLaw.ai is an active experiment, not a shipped product. The hypotheses I'm probing: how accurately current OCR reads real Gulf-dialect handwriting; whether RAG over Arabic case law is faithful enough to trust with citation; how light a human-in-the-loop gate can be before accountability erodes; and whether a genuinely sovereign deployment can stay maintainable.

If you run a Gulf firm (or regulate them) and want to pressure-test these ideas, I'd like to talk.

Sovereignty, speed, and an Arabic-first system of record.

An exploratory prototype by Dr. Nabeel A. Khan. Figures are design targets, not audited results.

Fin · Sheet 07