


Ahmed Mahdy.
21 · Engineering & AI
Mechatronics engineering student at BUC (Class of 2028), building AI systems and hardware from scratch.
View CVDesigning the Collective Mind.
Building Intelligence Through Engineering.
Build from Scratch.
“I don't use frameworks to hide complexity. LLM in C++/CUDA. x86 OS in Assembly. Custom network protocol in Go. Every line written by hand — because understanding at the deepest level is the only way to build something new.”
Full-Stack Engineer.
“From bootloaders to vector databases. From raw CUDA kernels to Dockerized microservices. I work at every layer of the stack — hardware, OS, network, backend, AI. The gaps between layers are where innovation lives.”
Arthur: My Own AI Fleet.
“A local-first AI system that runs on my own machine: a dual-model brain, trust-gated tools, voice and vision, and a fleet that orchestrates coding agents like Codex, OpenCode and DeepSeek. No cloud.”
Engineering &
Intelligence.
LLMs from Scratch
Built charGPT — a complete GPT-style Transformer (10.7M params) in C++/CUDA with zero ML frameworks. Raw CUDA kernels for matrix ops, attention, backprop, Adam optimizer. GPU-resident training with zero PCIe transfers.
x86 OS Kernel Dev
Built hydra-os — a monolithic x86 OS from scratch in C and Assembly in 3 days. GRUB bootloader, GDT, IDT, keyboard driver, VGA framebuffer, PIC interrupts, serial debugging, and a built-in Snake game.
Network Protocols
Built nexa — a custom network protocol with its own DNS system in Go. Custom .nexa domain resolution, content server, smart client with automatic DNS lookups. Your own mini-internet on TCP/IP.
RAG & AI Systems
Built The Last Archive — a privacy-first RAG search engine. Go web crawler, Python embeddings, Ollama LLM bridge, Qdrant vector DB. Fully Dockerized microservices, offline-capable semantic retrieval.
Build it yourself,
from the metal up.
From-Scratch Engineering
No frameworks. No abstractions. Every matrix operation in charGPT is hand-written CUDA. Every interrupt handler in hydra-os is raw Assembly. Understanding at the deepest level — from silicon to intelligence.
Systems Architecture
From x86 bootloaders to Dockerized microservices. From custom TCP protocols to RAG pipelines. Building at every layer of the stack — the only way to design systems that truly work together.
AI Agents That Do Real Work
Arthur, my local-first AI assistant: it routes between local models, gates every tool call through a trust layer, and orchestrates a fleet of coding agents (Codex, OpenCode, DeepSeek) from one machine. AI that works for me, offline.
Ahmed Mahdy · Engineering & AI
Roles &
Achievements.
Local-first AI assistant: dual-model brain, trust-gated tools, voice and vision, and a fleet that orchestrates Codex, OpenCode and DeepSeek coding agents — no cloud.
AI for All Regional Hackathon winner (African Union Commission, 2026). Fire, smoke and survivor detection, risk scoring and safe routes on a Raspberry Pi rover. Hardware lead.
Built a complete GPT-style Transformer (10.7M params) entirely in C++ and CUDA — zero ML frameworks, raw CUDA kernels, GPU-resident memory training.
Built a monolithic x86 OS from scratch in 3 days — Assembly bootloader, C kernel, GDT, IDT, keyboard driver, VGA framebuffer, Snake game.
Built a custom network protocol with its own DNS system in Go — your own mini-internet on top of TCP/IP with .nexa domain resolution.
Privacy-first local RAG search engine with Go crawler, Python embeddings, Ollama bridge, Qdrant vector DB, and Next.js frontend.
Complete guide: turning an old laptop into a Linux server with Docker, UFW, Cloudflare Tunnels, Tailscale VPN, and Minecraft hosting.
Tech Vice Chair, IEEE BUC — Technical leadership, team management, and organizational strategy for the student branch.
Mechatronics Engineering — 4th year, expected graduation 2028.
International Education — Foundation in BASIC programming, cost accounting, and interdisciplinary social sciences.
12
Open-Source Projects
45+
Skills & Tools
22 ★
GitHub Stars