Senior AI & Platform Architect · Riyadh · Open to work

I architect private AI and enterprise SaaS.

I design the platforms businesses run every day: Masar ERP, a cloud SaaS for accounting, inventory, and POS; private on-premise AI agents that keep company data in-house; and official integrations with Elm Bayan and ZATCA Phase 2 — plus the infrastructure behind 99.9% uptime.

Experience
6+ yrs
Flagship
Masar ERP
Uptime
99.9%
platform.ts

01 — Core capabilities

Engineering solutions, not just keywords.

Three disciplines I combine to ship resilient products: applied AI, enterprise backend architecture, and the infrastructure that keeps it all online.

AI Agents & RAG Engineering

Stateful agent orchestration, private model serving, and high-precision retrieval.

  • LangGraph cyclic dialogue workflows & state machines
  • FastAPI async microservices & tool execution
  • On-Premise Ollama (DeepSeek / Qwen) with pgvector
  • Multi-format knowledge ingestion (PDF, DOCX, XLSX)

Multi-Tenant SaaS & Backend Architecture

Resilient enterprise platforms with total customer data isolation.

  • Laravel 13 stancl/tenancy database-per-tenant architecture
  • 17 plan-gated ERP modules & Spatie RBAC policies
  • General Ledger (GL) posting SSOT & inventory issuance
  • OpenAPI/Scribe documented REST & POS client APIs

Saudi Government & FinTech Integrations

Commercial integrations with strict regulatory and banking standards.

  • Elm Bayan Freight API (الهيئة العامة للنقل / علم)
  • ZATCA Phase 2 e-invoicing (ECDSA signing, UBL 2.1 XML)
  • Neoleap / Al Rajhi checkout with 3DS & Webhooks
  • Tamper-proof idempotent retry guarantees

DevOps, Security & Mobile Systems

Automated cloud delivery, hardened Linux servers, and offline-first clients.

  • Docker Compose multi-service stacks & volume isolation
  • CI/CD deployment pipelines via GitHub Actions to VPS
  • Linux hardening (Fail2ban, Cloudflare Full Strict TLS)
  • Flutter offline-first mobile apps with local SQLite

02 — Curated architecture

Systems I've designed and shipped.

Several of these are internal or NDA-protected enterprise systems. Each card opens the architecture and the engineering decisions behind it — challenge, solution, and stack.

Production AI Agent

Autonomous AI Customer Service Agent & Knowledge Engine

Stateful customer support agent built on LangGraph and FastAPI, running local Ollama inference and semantic retrieval over PDF, DOCX, and Excel manuals with zero cloud data transit.

  • LangGraph
  • FastAPI
  • Python 3.11
  • pgvector
  • Ollama
  • Docker Compose
  • Vite
  • Tailwind
View architecture
Flagship SaaS

Masar ERP — Multi-Tenant SaaS Architecture

Production-grade database-per-tenant cloud ERP platform on Laravel 13, orchestrating 17 plan-gated business modules, ZATCA e-invoicing, and Neoleap bank payments.

  • Laravel 13
  • stancl/tenancy
  • MySQL
  • Redis
  • ZATCA
  • Neoleap
  • Vue
  • Vite
Government Integration

Saudi Elm Bayan Logistics & Transport Integration

Official commercial integration with the Saudi Elm Bayan freight platform, orchestrating trip lifecycles, digital consignment waybills, and Transport General Authority (TGA) compliance.

  • Laravel
  • Elm Bayan API
  • REST Contracts
  • Node.js
  • MySQL
  • Firebase FCM
Mobile Architecture

Offline-First POS & Mini-ERP Mobile System

High-performance, offline-first point of sale and lightweight ERP mobile application built with Flutter and SQLite, utilizing Firebase solely for cryptographic license verification.

  • Flutter
  • Dart
  • SQLite
  • Firebase Auth & Licensing
  • ESC/POS
  • Hardware Drivers
View architecture
Private AI Platform

Misbar Quantum — Sovereign On-Premise RAG Platform

Enterprise on-premise retrieval-augmented generation platform (ai.tawcode.com) running open-source models locally via Ollama with pgvector semantic retrieval and zero data leakage.

  • Laravel
  • FastAPI
  • Ollama
  • pgvector
  • PostgreSQL
  • Model Context Protocol
  • Docker
Production Web

Masar ERP — Bilingual SaaS Product Platform

Bilingual marketing and onboarding platform for Masar ERP (masarerp.com) — ZATCA-certified cloud accounting, multi-branch inventory, and POS built for Saudi SEO and enterprise conversion.

  • Laravel
  • Bilingual UX
  • JSON-LD
  • Technical SEO
  • Tailwind
Infrastructure & Ops

High-Availability Cloud Infrastructure & CI/CD Pipelines

Self-managed cloud server infrastructure on Ubuntu and Contabo VPS with zero-touch GitHub Actions deployments, Cloudflare Full (Strict) TLS, and Fail2ban security hardening.

  • Linux / Ubuntu
  • GitHub Actions
  • Docker
  • Apache/Nginx
  • Cloudflare TLS
  • Fail2ban
  • Prometheus
View architecture
Production Web

Saher Soft — Digital Platform & Corporate Visibility

Corporate digital platform with performance-first architecture and an enterprise SEO foundation built for technical service discovery in Saudi Arabia.

  • Laravel
  • Technical SEO
  • Performance
  • Tailwind

03 — Let's connect

Building something ambitious?

Whether it's an AI-driven platform, a multi-tenant SaaS, or hardening your cloud infrastructure — tell me the problem and the constraints. I reply when I can add clear engineering value.

Opens your email client · or reach me directly via the links.