Software Engineer · AI Agent Systems · Full-Stack & Mobile

I build AI agent systems that run in production — and the apps, APIs and infrastructure around them.

Currently a core contributor to a multi-tenant AI learning assistant at eduArabia — authorization, sandboxing and evaluation. Before that, 8+ years shipping web and mobile systems end to end for recruitment, field maintenance, ERP, e-commerce and e-learning.

Riyadh, Saudi Arabia
53%
CI critical path cut — 8m42s → 2m57s
103
privileged tool modes secured by one authorization gate
8+
years building web & mobile software
40+
fuel stations run on one maintenance system I built
Built foreduArabiaMerfadA national endowments authority (KSA) · with UNDPSudan MineralsHAM Electro MechanicalGlobal Flow ServicesHilia Store
01 — Work

Selected work

Production systems I designed, built and shipped — AI agents first, then the platforms and apps around them.

Featured · 2026

AI Learning Assistant — multi-tenant, Arabic-first

eduArabia · 2026 · Core contributor

A multi-tenant AI learning assistant built on the Claude Agent SDK (Python 3.12, FastAPI, PostgreSQL 16) for eduArabia’s EdTech products. Arabic and English; student, teacher and admin roles. Product details are confidential until launch — the engineering is below.

  • Claude Agent SDK
  • FastAPI
  • PostgreSQL · pgvector
  • Row-level security
  • gVisor
  • LangGraph
  • Designed the authorization model: per-tenant row-level security, consent-based delegated identity against the host platform, and a course-scoped execution gate that closed a privilege-escalation gap across 103 privileged tool modes.
  • Built a network-isolated (gVisor) sandbox that lets the assistant analyse uploaded course content at ~$1.3 per package, with credentials held in a host-side broker.
  • Built the evaluation harnesses that gate merges — tool routing, answer grounding, adversarial prompt injection — and cut the CI critical path by 53%.
02Shipped · Oct 2026

Merfad — Arabic education-jobs portal

Freelance · private client · merfad.org

A WordPress job board where the owner publishes a vacancy in under three minutes and gets a short link and a ready-to-share post; visitors read a real page and are forwarded to the application link.

  • Everything as code: a custom block theme and plugin, and one command rebuilds the whole site (provision + seed); 40+ recorded decisions and a hand-off guide for a non-technical owner.
  • Measured before launch: mobile Lighthouse 96 / 100 / 100 / 100, zero axe violations, 391 PHPUnit + 174 Playwright tests, and a security review with no high finding.
  • An experimental Gemini “ad assistant” turns a raw announcement into structured fields — kept behind a 15-sample eval that caught a regression before merge.
  • WordPress
  • PHP
  • Playwright
  • Lighthouse
  • Gemini
Read the case study →
03Live · Oct – Nov 2026

Sahab — your own cloud for AI coding agents

Own account · specified, directed and verified by me; built by AI coding-agent teams

Run AI coding agents in your own cloud from your phone or desktop: each session in its own gVisor sandbox on its own network, credentials that never enter a sandbox, and risky actions waiting for your tap.

  • One sandbox and one network per session; internet only through an egress guard that refuses private and metadata addresses.
  • The real model credential lives in one service outside the sandboxes; each session gets a placeholder that only works through it.
  • Approvals on the phone: a tap denies, a 1.2-second hold allows, silence denies after ten minutes.
  • TypeScript
  • gVisor
  • Passkeys
  • PWA
Read the case study →
04In progress · Google Play closed testing

AYN — maintenance management for multi-site operations

Own account · specified, directed and verified by me; built by AI coding-agent teams

Multi-tenant maintenance management (CMMS): tickets, an SLA clock with a three-step escalation ladder, and an offline-first technician app on Android.

  • Tenant isolation enforced by PostgreSQL: forced row-level security on the 58 of 76 tables that hold tenant data.
  • Integration suite on a real PostgreSQL in about 4.5 minutes, down from 15–24; a real restore drill matched 77 of 77 tables.
  • Android app passed Google Play review and is live on closed testing; updates reach installed phones over the air.
  • NestJS
  • PostgreSQL
  • React
  • Expo
Read the case study →
052026

Endowments Excellence Index platform

A national endowments authority (KSA) · with UNDP · 2026

Bilingual (Arabic RTL / English) self-assessment platform: Next.js front end, FastAPI API and a deterministic scoring engine with golden-master tests that reproduce the official sample report.

  • Waqf-type routing with weight redistribution; the printed report is the document of record.
  • Security and data-integrity review: forged-admin-token path, autosave races and a rounding defect in scoring — found and fixed.
  • Next.js
  • FastAPI
  • Golden-master tests
  • CI / staging
062025–2026 · In progress

Multi-tenant Moodle platform for the Saudi market

eduArabia · 2025–2026

Regulatory (NeLC) and commerce features on an Arabic-first Moodle 4.5 distribution, wired end to end and verified live.

  • xAPI reporting to the national learning-record store; OTP/MFA by email and Saudi SMS gateway.
  • Payment-gateway abstraction, Arabic certificates with QR verification, notifications, hardened Docker images.
  • Moodle 4.5
  • PHP
  • xAPI
  • Docker
072021–2022

Maintenance Management System — 40+ fuel stations

HAM Electro Mechanical Engineering Co. · Freelance

Laravel GraphQL backend, Vue admin and a Flutter technician app (BLoC, QR equipment scanning, FCM push, Arabic/English).

  • Breakdown tickets with timelines, priorities and trades; maintenance and HSE procedures; spare parts; teams and two-factor auth.
  • Supported and enhanced after delivery.
  • Flutter
  • Laravel · Lighthouse
  • Vue
  • GraphQL
082022–2023

Evaluation & Recruitment Platform

Sudan Minerals for Recruiting & Training Co. · Freelance

Laravel + Lighthouse GraphQL API, Vue.js HR dashboard and a Flutter applicant app, delivered from one GraphQL contract.

  • Laravel
  • GraphQL
  • Flutter
  • Vue
092019–2020

ERP & field tracking for petroleum-well operations

Global Flow Services (FZE) · Freelance

Odoo ERP customization (Python/PostgreSQL) exposed through a GraphQL API to a Flutter app that tracked technicians and malfunction reports.

  • Also in this period: Hilia Store (Oman) Flutter jewellery e-commerce app and point-of-sale systems for local retail in Sudan.
  • Odoo
  • Python
  • GraphQL
  • Flutter
02 — How I think

I obsess about boundaries.

Where a responsibility lives decides whether a system survives change. Five rules I keep coming back to:

  1. 01

    Architecture is decisions, not diagrams.

    A diagram without its trade-offs written down is decoration.

  2. 02

    Boring tech beats clever tech

    — until boring tech breaks under your specific load. Then you migrate, deliberately.

  3. 03

    Tenant isolation is not a database concern.

    It is a property of every layer.

  4. 04

    The fastest way to ship is to delete code.

    Every line is a liability someone will maintain.

  5. 05

    AI agents are systems, not magic.

    Treat them like a service that calls a third-party API: measure, isolate, verify.

03 — Experience

Eight years, three chapters.

Freelance delivery for clients in Sudan and Oman, then full-time product engineering at eduArabia — with a short stint teaching along the way.

  1. Mar 2023 — PresentAmman, Jordan · Remote

    eduArabia

    Software Engineer

    Two years of continuous full-stack delivery (Laravel APIs + React SPAs) on e-training and course-commerce platforms in large teams — surveys, question banks, certificates, checkout, AI video transcription — then principal work on the AI learning assistant, the Saudi Moodle platform and the Endowments Excellence Index.

  2. Feb 2018 — Mar 2023Sudan & Oman

    Freelance Software Developer

    Full-stack & mobile

    Recruitment, field-maintenance, ERP and e-commerce systems for companies in Sudan and Oman — mobile app, admin dashboard, API, database and deployment delivered as one piece, with support after launch.

  3. Jul — Oct 2020Khartoum

    Alofoug College of Science & Technology

    Web Development Instructor

    Practical HTML/CSS, JavaScript and PHP course for IT diploma students.

04 — Skills

What I work with

AI systems
Claude Agent SDK, LangGraph, LiteLLM, RAG & embeddings, evaluation harnesses, prompt-injection defence, MCP servers
Backend
Python (FastAPI, SQLAlchemy, Pydantic) · PHP (Laravel, Lighthouse GraphQL, Moodle plugins) · Node/TypeScript (NestJS) · Odoo
Frontend
React, Next.js, Vue 3, TypeScript, Tailwind — Arabic-first / RTL interfaces
Mobile
Flutter / Dart — BLoC, GraphQL, Firebase & FCM, local notifications, QR scanning, offline-tolerant sync
Data
PostgreSQL (row-level security, pgvector, full-text search) · MySQL/MariaDB · Redis · SQLite · Supabase
DevOps
Docker & Compose, GitHub Actions CI, Linux, Nginx / Traefik / Caddy, Ansible, Borg, Cloudflare, Tailscale
Standards & APIs
GraphQL, REST, OAuth2 / OIDC, LTI 1.3, SCORM / xAPI / cmi5
Practices
Test-driven development, architecture decision records, code review, performance measurement, security review
Education
B.Sc. (Honours) in Information Technology
Nile Valley University, Atbara, Sudan · 2017–2024. Graduation project: AI-based student behaviour analysis using facial-expression and pose recognition.
Personal infrastructure
Self-hosted, Ansible-provisioned
Linux server with Traefik reverse proxy, Borg 3-2-1 encrypted backups with weekly restore drills, and a read-only Telegram monitoring bot.
Certificates & languages
Azure Fundamentals (AZ-900) preparation · Cybersecurity course series — Edraak · Agile Methodology — Edraak (2024)
Arabic (native) · English (professional working proficiency)
05 — Contact

Let’s build something that ships.

Interested in AI-systems and software engineering work, collaborations, or just talking shop. The fastest way to reach me is email.

contact@engmahdi.com+966 54 060 0375engmahdi.comlinkedin.com/in/eng-mahdi-mohamedgithub.com/eng-mahdi-mohamed