Ahmed Mahdy
Ahmed Mahdy
Origin Story

Ahmed Mahdy.
Engineer & AI Builder.

21-year-old mechatronics engineering student at Badr University in Cairo (4th year, Class of 2028). I build systems from first principles: a 10.7M-parameter GPT in raw C++/CUDA, an x86 OS in C and Assembly, and Arthur — a local-first AI assistant that orchestrates a fleet of coding agents on my own machine. Hardware lead on AFRICA RESQ, 1st place at the AI for All Regional Hackathon (African Union Commission, 2026).

“The fastest way to understand a system is to build it yourself — from the metal up.”

— Ahmed Mahdy

Section II — Strategic Ecosystem

Ventures &
Experience.

01

Arthur — Local-First AI Assistant & Agent Fleet

Python / Local LLMs / Agent Orchestration

Built a JARVIS-style desktop AI that runs entirely on my own machine: dual-model brain (fast router + thinking model), trust-gated tool execution, voice loop with local Whisper STT, screen vision via Qwen2.5-VL, SQLite memory, and a fleet mode that orchestrates coding agents (Codex, OpenCode, DeepSeek) with race, chain and shared-board strategies. Ships as an offline Windows installer built by CI.

02

AFRICA RESQ — AI Search & Rescue (Hackathon Winner)

Computer Vision / Robotics / FastAPI

1st place, AI for All Regional Hackathon (African Union Commission, Sept 2026) — hardware lead, ran the rover in the field. YOLO fire/smoke/survivor detection cross-checked with thermal, risk scoring, safe-route planning, nearest-shelter search across 13 Egyptian cities, live FastAPI dashboard. Tracked rover: LiDAR, camera, GPS, gas and temperature sensors on Raspberry Pi.

03

charGPT — LLM from Scratch

C++ / CUDA / Deep Learning

Built a complete GPT-style Transformer (10.7M params) entirely in C++ and CUDA. Raw CUDA kernels for matrix ops, attention, backprop, and Adam optimizer. No ML frameworks, zero PCIe transfers during training. Runs on RTX 4080.

04

hydra-os — x86 Operating System

C / Assembly / Kernel Dev

Built a minimal monolithic x86 OS from scratch in 3 days. Multiboot-compatible kernel, GDT, IDT, keyboard driver, VGA framebuffer, PIC handling, and a built-in Snake game. Assembly bootloader to C kernel transition.

05

nexa — Custom Network Protocol

Go / TCP/IP / DNS

A complete custom network protocol with its own DNS system — your own mini-internet on top of TCP/IP. Custom .nexa domain resolution, content server, smart client, and full DNS registry management.

06

The Last Archive — RAG Engine

Go / TypeScript / Python / Next.js

Privacy-first local RAG search engine. Go web crawler, Python transformer embeddings, Ollama LLM bridge, Qdrant vector DB, Node.js orchestrator, Next.js frontend. Fully offline-capable Dockerized microservices.

07

Tech Vice Chair — IEEE BUC

Technical Leadership

Technical Vice Chair of the IEEE student branch at BUC. Driving technical initiatives, team management, organizational strategy, and coworking culture to empower engineering talent.

08

Account Manager — Alrify

Client & Financial Operations

Managing client accounts, financial analysis, accounting operations, and social media marketing. Bridging technical expertise with business strategy and relationship management.

Entrepreneurial Journey

From-Scratch Engineering

LLM in C++/CUDA, x86 OS in Assembly & C, custom network protocol in Go — built from first principles without frameworks. Every line hand-written.

AI Agents & RAG Systems

Arthur: a local-first AI assistant with a dual-model brain, trust-gated tools, voice and vision, and a fleet that orchestrates Codex, OpenCode and DeepSeek coding agents. Plus a full RAG search engine with Go crawler, Python embeddings, Qdrant vector DB, and Ollama-powered inference.

Infrastructure & DevOps

Dockerized microservices, Cloudflare Tunnels, Tailscale VPN, UFW firewalls, Linux servers from old laptops. Full-stack from metal to deployment.

Hardware & Robotics

Hardware lead on AFRICA RESQ (1st place, AI for All Hackathon 2026): a tracked rescue rover with LiDAR, camera, GPS and gas sensors on Raspberry Pi. ESP32 and KiCad for embedded boards, SolidWorks for mechanical design.

“The fastest way to understand a system is to build it yourself — from the metal up.”

— Ahmed Mahdy

Technical Arsenal

Education

2023 — Present

Badr University in Cairo (BUC)

Mechatronics Engineering — 4th year, expected graduation 2028

Graduated

Bavarian International School gAG

International Education

Experience

Present

Tech Vice Chair, IEEE BUC

Technical Leadership, Team Management

Past

Account Manager @ Alrify

Financial Analysis, Accounting, Social Media Marketing

Skills & Competencies
C++CUDAGoJavaScriptTypeScriptPythonFlutterDartNode.jsNext.jsReactDockernginxSQLitePostgreSQLMongoDBFirebaseGoogle CloudGitFigmaCUDA KernelsGPU ProgrammingLLM ArchitectureTransformersRAG SystemsQdrantVector SearchOS Developmentx86 AssemblyBootloadersNetwork ProtocolsDNS SystemsTCP/IPREST APIsMicroservicesOllaman8nPrompt EngineeringAI AgentsAutomationSOLIDWORKSAutoCADCADROSESP32KiCadMATLABLow Level ProgrammingAssembly AutomationTeam ManagementLeadershipL&DFinancial AnalysisSocial Media Marketing