ZTABS builds RAG systems for Riyadh enterprises working with complex document corpora in banking, government, healthcare and energy. Saudi Arabia's regulatory landscape operates primarily in Arabic with bilingual Arabic-English requirements for international business. SAMA regulates banking and payments. Saudi PDPL governs personal data protection with specific health data safeguards under Article 23. Vision 2030 government transformation generates extensive Arabic policy documentation. ZTABS is remote-first by design from our Houston, Texas office.
Riyadh's Arabic-first regulatory environment creates distinctive RAG requirements. Government regulations, royal decrees and ministerial circulars published in Arabic require precise morphological analysis for retrieval. Bilingual Arabic-English corporate environments need cross-lingual search. Saudi-specific regulatory terminology differs from other Arabic-speaking jurisdictions.
RAG development in Riyadh at a glance
| Need | What we build | Key requirement |
|---|
| Banking compliance | SAMA regulatory retrieval | Bilingual Arabic-English precision |
| Government services | Policy and regulation search | Arabic regulatory terminology |
| Healthcare | Clinical and claims retrieval | PDPL health data safeguards |
| Energy | Regulatory and technical docs | Aramco and ministry standards |
| E-invoicing | ZATCA documentation | Phase and wave awareness |
Banking compliance retrieval
Riyadh's SAMA-regulated banks need RAG covering extensive Arabic regulatory documentation.
SAMA regulatory intelligence. SAMA circulars, regulatory frameworks, licensing requirements and supervisory guidance indexed with section-level granularity in Arabic and English. Queries return specific circular sections with citations and effective dates. STC Bank (evolved from STC Pay digital wallet) accurately referenced where relevant.
Open banking and payments. SAMA open banking framework, payment service provider licensing and fintech sandbox requirements searchable by topic and entity type. API specification documentation for open banking integration. SADAD bill payment system and mada debit card network documentation relevant for merchant and PSP integration through contracted bank or acquirer arrangements.
AML compliance. Anti-money laundering requirements, customer due diligence guidance and suspicious transaction reporting indexed for compliance teams. Identity verification platform integration requires platform-specific eligibility assessment, contractual access rights, API technical testing and ongoing monitoring for each service individually.
Insurance regulation. Insurance Authority (IA, since 23 November 2023, formerly under SAMA insurance supervision) requirements for insurance companies. Regulatory circulars, licensing requirements and Cooperative Insurance Companies Control Law provisions retrievable by topic and requirement type.
Building a RAG system for your Riyadh banking operations?
Tell us about your regulatory document corpus, bilingual requirements and compliance scope. We start with a data audit covering Arabic document formats, regulatory complexity and access patterns.
Government regulatory retrieval
Saudi government transformation under Vision 2030 generates extensive policy documentation.
Ministry circulars and regulations. Ministry of Commerce, Ministry of Human Resources and Social Development (MHRSD) and CST (Communications, Space and Technology Commission) publications indexed in Arabic with bilingual metadata. Royal decrees, ministerial orders and regulatory circulars searchable by authority, topic and date.
Labour and HR regulations. MHRSD regulations, employment contract requirements and Saudisation provisions indexed for HR teams. Nitaqat programme requirements and WPS (Wage Protection System, a mandatory electronic salary transfer system) compliance documentation.
SPL National Address. Saudi Post (SPL) National Address system for address standardisation and geocoding, distinct from Dubai's Makani grid system. RAG systems referencing Saudi addresses use SPL National Address conventions.
SDAIA guidance. Saudi Data and AI Authority guidance on data protection and AI governance. SDAIA guidance evolves and serves as authority interpretation; RAG must accurately distinguish between binding regulation and evolving guidance.
Vision 2030 programme documentation. National Transformation Program, Fiscal Balance Program and sector strategy documentation indexed for government and private sector planning. Cross-ministry alignment for Vision 2030 implementation. Public-private partnership documentation and procurement frameworks searchable by sector.
Healthcare retrieval
Saudi healthcare RAG navigates PDPL health data requirements and digital health platforms.
Saudi PDPL health data. Saudi PDPL Article 23 sets additional health data safeguards including minimum workforce access and processing limited to health and insurance necessity. General processing bases under Articles 5 and 6 apply alongside Article 23's additional safeguards; Article 23 does not impose universal explicit consent for every health data processing. Article 24 covers credit data explicit consent separately. Controller legitimate interest is unavailable for public entity processing and sensitive data processing. RAG architecture implements appropriate processing bases and safeguard mechanisms.
Nphies integration. National Platform for Health Information Exchange (Nphies) requires entity-level eligibility, contractual agreement and product-specific testing for claims submission, eligibility verification and prior authorisation. RAG systems handling healthcare claims operate within Nphies actual eligibility and product testing requirements for the specific entity.
Clinical guidelines. Saudi clinical practice guidelines and Ministry of Health protocols indexed for clinical teams. Drug formulary and prescribing information specific to Saudi-approved products. Distinction from guidelines published by other jurisdictions.
Nafath and Absher. Nafath provides digital identity verification under its own eligibility and access conditions. Absher provides government services integration with distinct requirements. Each platform has separate contractual, identity, access and integration testing procedures. RAG systems describe actual per-platform requirements rather than implying a shared approval credential or existing approvals.
Arabic-English bilingual retrieval
Arabic morphological analysis. Modern Standard Arabic regulatory documents require morphological analysis for effective retrieval. Root-based lexical matching improves regulatory term search. Diacritical mark handling for formal regulatory text versus undiacriticised business communication.
Cross-lingual embedding. Arabic-English bilingual embedding models enable cross-lingual search. English queries retrieve Arabic regulatory documents. Arabic text challenges include right-to-left rendering, morphological complexity and formal versus dialect register distinction.
Saudi Arabic specificity. Saudi regulatory terminology differs from other Arabic-speaking jurisdictions. Institution names, legal terms and regulatory concepts have Saudi-specific meanings. RAG distinguishes Saudi regulatory context from pan-Arab usage.
Arabic OCR. Scanned Arabic government documents require specialised OCR. Quality depends on scan condition, font type and document age. Complex Arabic tables and handwritten annotations have inherent extraction limitations.
Saudi PDPL and regulatory compliance
PDPL scope. Saudi PDPL applies with health data Article 23 additional safeguards. Controller legitimate interest unavailable for public entities and sensitive data. Processing basis depends on entity type and data sensitivity. Implementing regulations specify additional requirements and exceptions. RAG architecture implements appropriate legal basis mechanisms.
ZATCA e-invoicing. Phase 2 integration operates on notified waves. Standard-invoice clearance versus simplified reporting within 24 hours. Specific wave notification schedules apply to individual taxpayers. RAG systems indexing ZATCA documentation track current phase, wave and entity-specific notification status.
CST telecommunications. Communications, Space and Technology Commission (CST) regulatory requirements for telecommunications and technology services. RAG systems reference the current institutional name and regulatory scope.
Cross-border transfers. Saudi PDPL cross-border transfer operates through permitted routes with specified safeguards and assessment requirements, alongside sector-specific rules. Hosted embedding, LLM inference, logs, support access and subprocessor chains determine actual cross-border exposure per component; Saudi hosting does not by itself eliminate cross-border flows.
Source ingestion and retrieval architecture
Ingestion provenance. Every document tracked from source through parsing, chunking and embedding. Arabic and English versions tracked separately with cross-reference links. Regulatory document version control tracks circular supersession.
OCR and format limitations. Arabic OCR quality variable depending on source document condition and font. Modern digital regulatory publications extract cleanly. Scanned ministry circulars from archives require specialised Arabic OCR. Complex Arabic tables and engineering drawings have extraction limitations.
Chunking strategy. Regulatory documents chunked by circular section preserving Arabic regulatory hierarchy. Healthcare documents chunked by Nphies transaction type and clinical guideline section. E-invoicing documentation chunked by phase, wave and requirement type.
Hybrid search. BM25 with Arabic morphological analysis for exact regulatory terms combined with bilingual semantic search. Cross-lingual retrieval using Arabic-English embedding models. Reranking with cross-encoder models trained on Arabic-English pairs.
Security and access control
Saudi data residency. Saudi PDPL cross-border transfer has specified routes and safeguards. Cloud infrastructure selection considers Saudi hosting availability and regulatory requirements. Embedding, LLM inference, logs, support access, SDK telemetry and subprocessor chains assessed per component for actual cross-border exposure.
Tenant-level ACLs. Multi-tenant RAG enforces access controls at ingestion and retrieval. Banking compliance documents restricted to authorised personnel. Healthcare data access following PDPL health data safeguards. Government document classification levels respected.
Prompt injection defence. Retrieved documents can contain adversarial content. Arabic text injection may exploit bidirectional text rendering and morphological complexity. Retrieved text is evidence, not permission or instructions. Input sanitisation, output filtering and result isolation reduce but do not eliminate injection risk.
Evaluation and quality
Held-out real task evaluation. Quality measured on actual user tasks. Banking evaluation includes SAMA regulatory queries in Arabic. Government evaluation includes Vision 2030 policy document queries. Healthcare evaluation includes Nphies documentation queries. No invented benchmark accuracy percentages.
Citation fidelity. Citation presence and retrieval score are not proof of truth, completeness or calibrated certainty. Arabic regulatory citation accuracy includes checking the correct circular number, date and issuing authority. Automated verification checks cited authorities exist and support generated claims.
Illustrative Example
Hypothetical: Riyadh bank building SAMA compliance RAG
A Saudi SAMA-licensed bank with compliance obligations spanning SAMA circulars, AML requirements and open banking regulations has regulatory knowledge scattered across multiple sources: SAMA circulars and regulatory frameworks, AML/CTF programme documentation, SADAD and mada payment integration specifications, internal compliance policies exceeding 1,600 Arabic and English documents and regulatory interpretation correspondence.
RAG development would implement bilingual Arabic-English ingestion across SAMA publications, AML guidance, open banking specifications and internal compliance repositories. Arabic morphological search enabling precise regulatory term matching in formal Arabic regulatory language. Section-level chunking preserving circular hierarchy and cross-references. Hybrid retrieval combining exact circular number matching with semantic compliance concept search across both languages. Regulatory change monitoring tracking new SAMA circulars and amendments.
Assumptions: SAMA publications available in structured Arabic format, internal compliance policies have consistent bilingual structure, compliance officers available for evaluation dataset creation (300 to 500 regulatory queries with expected circular references in Arabic and English) and Arabic OCR quality sufficient for scanned legacy circulars. Residual risks include Arabic morphological complexity affecting retrieval precision, regulatory interpretation nuances requiring human compliance judgment, SAMA circular change frequency requiring regular re-ingestion and bilingual terminology differences between Arabic and English versions. No guarantee of specific retrieval accuracy, compliance response time reduction or regulatory risk reduction.
This is a hypothetical scenario for illustration. Actual scope, timeline and cost depend on your requirements.
Cost and timeline
RAG system development follows the published cost guide. Prices quoted in USD. These are initial planning ranges dependent on corpus size, connectors, permissions, evaluation, integrations, reviews, deployment and actual delivery work.
| Tier | Range | Timeline | Example |
|---|
| Basic / MVP | $15K to $40K | 4 to 8 weeks | Simple document Q&A |
| Mid-Range | $40K to $100K | 8 to 18 weeks | Bilingual hybrid search |
| Advanced | $100K to $150K | 18 to 28 weeks | Multi-authority with evaluation |
| Enterprise | $150K to $200K+ | 5 to 8 months | Multi-tenant SAMA-compliant |
Proposal evaluation criteria
Six criteria for evaluating any RAG system proposal for Riyadh operations.
| Criterion | What to verify |
|---|
| Source rights, licences and data-flow mapping | Document usage rights per source, Arabic regulatory source authority, SAMA circular accessibility, and full-stack data flows including embedding service, generation API, logs, telemetry, backups and subprocessor locations |
| Tested permissions, revocation and downstream controls | Per-tenant and per-source ACLs, PDPL processing basis and Article 23 health data safeguards, Nphies eligibility and product testing, revocation propagation latency tested, and any authorised downstream actions explicitly scoped |
| Held-out tasks, citation checks, abstention and acceptance | Representative held-out bilingual SAMA regulatory and Arabic policy queries with measured precision, recall, MRR and latency; adversarial and edge-case tests; abstention policy for insufficient evidence; citation verification confirming claims appear in cited sources; agreed acceptance thresholds |
| Scope, milestones and operating-cost assumptions | Complete delivery scope with milestones, workload assumptions, and indicative monthly vector-database ($25 to $1,000) and LLM generation ($200 to $5,000) cost ranges qualified by query volume, context window, token pricing, hosting model and plan tier |
| Ingestion lifecycle, recovery, monitoring and ownership | Version-aware bilingual ingestion, superseded-circular retirement, sync latency and residual stale-data window, backup and restore procedures, incident response, monitoring dashboards and data ownership terms |
| Customer and provider responsibilities, languages and training | Operating runbook, recovery drills, support tiers, customer-retained qualified compliance and clinical review. Before commitment agree who supplies trainers, domain validators, reviewers, support contacts and any on-site roles from each side; staff working languages and required training materials or translations agreed separately from product UI and corpus languages |
2026 US-buyer planning benchmark. The following illustration combines the published Mid-Range and Advanced guide tiers for planning purposes, not from an empirical project-cost survey. A production RAG system over approximately 10,000 documents with multiple document formats and ingestion pipelines, hybrid retrieval and reranking, source citations, authentication and role-based access, admin and evaluation workflows, content and licensing rights management, and full-stack operating infrastructure places within $40K to $150K over 8 to 28 weeks at those two tiers. Indicative recurring costs include vector-database hosting at $25 to $1,000 per month and LLM generation at $200 to $5,000 per month, qualified by actual query volume, context window size, token pricing, hosting model and plan tier. These are published guide ranges for initial scoping, not project-specific quotes. Actual project scope may fall within any of the four published tiers. Customer-side licensing, infrastructure and domain-expert review costs are excluded.
Budget look right for your Riyadh RAG project?
Share your regulatory landscape, bilingual requirements and SAMA compliance scope. We provide a scoped estimate based on actual Arabic text complexity and retrieval needs.
How delivery works
ZTABS is remote-first by design from our Houston, Texas office.
Architecture. Data audit covering document formats, Arabic text quality, regulatory authorities and access patterns. Architecture decisions on Arabic-English embedding model, vector database and deployment infrastructure. Component-level assessment of data flows, provider terms, hosting locations and subprocessor access for each service handling regulated data.
Data pipeline. Multi-format ingestion with Arabic-English parsers for regulatory and commercial documents. Bilingual chunking preserving Arabic regulatory structure. Metadata enrichment with authority, document type, language, date and regulatory reference.
Deployment. Saudi or regional cloud infrastructure based on data residency requirements. Self-hosted deployment where provider terms unsuitable. Containerised deployment with CI/CD pipeline.
Monitoring. Query logging with bilingual response quality tracking. Arabic retrieval performance metrics. Ingestion pipeline health monitoring. Cost tracking for embedding and generation.
Full stack considerations
The RAG system stack extends beyond retrieval and generation. Model provider training and retention terms affect data governance. Arabic-English embedding model selection critical for bilingual quality. Arabic LLM generation may have different token economics. Vector database hosting scales with document count ($25 to $1,000 per month). LLM generation costs range from $200 to $5,000 per month depending on query volume and context window size. Indexes, logs, backups, SDKs, support contracts and subprocessors are all part of the operational surface area. Saudi hosting does not by itself eliminate cross-border flows through provider logs, support access, SDK telemetry or subprocessor chains; assess actual provider terms per component.
Not every question needs vector search
Simple SAMA circular lookups, exact Nphies transaction codes and straightforward ZATCA wave status queries perform well with keyword search or structured database queries. Vector semantic search adds value for conceptual regulatory queries, cross-authority analysis and bilingual terminology resolution. Architecture routes queries to appropriate search method. BM25 handles exact circular numbers and transaction codes. Semantic search handles conceptual compliance queries. Generation adds value for multi-circular summarisation and bilingual explanation but not for simple fact retrieval.
When ZTABS is not the right fit
- Small corpus without complex synthesis needs. For a stable corpus under 50 documents with straightforward lookup requirements, permissioned search or long-context prompting may be more cost-effective; the comparison depends on actual corpus, workload and synthesis requirements.
- Off-the-shelf RAG platform covers the need. If Glean or Vectara handles requirements without custom retrieval, use those first.
- On-site embedded staff required. ZTABS is remote-first by design. Where this engagement requires on-site roles, languages or responsibilities, agree these before commitment or engage a separate provider.
- Work principally requiring SAMA regulatory advisory. Where the engagement scope is principally regulatory advisory or compliance determination rather than scoped RAG delivery, the customer retains appropriately qualified professionals; responsibilities agreed before commitment.
- Work principally requiring Arabic-only custom LLM training. RAG uses existing models with retrieval augmentation; custom Arabic-only model training is a separate engagement.
Risks and mitigations
Hallucination. RAG reduces but does not eliminate hallucination. Arabic regulatory hallucination can fabricate SAMA circulars. Citation verification and evaluation pipelines measure quality. Compliance officer review essential.
Arabic NLP quality. Arabic morphological complexity affects retrieval precision. Formal regulatory Arabic versus business dialect variation. Evaluation on actual Arabic queries critical.
Regulatory change frequency. Saudi regulatory environment evolves with Vision 2030 implementation. Ingestion pipeline monitors authorities for updates. Version control flags superseded circulars.
ZATCA wave specificity. E-invoicing Phase 2 waves apply to specific taxpayers at specific dates. RAG must track entity-specific notification status, not universal dates.
Ready to build your Riyadh RAG system?
Share your document types, bilingual requirements and regulatory landscape. We scope the architecture and identify the highest-value corpus to pilot.