Ahmed Mahdy
Ahmed Mahdy
The Portfolio

Projects & Experience.

A portfolio of projects across hardware and software: a local-first AI agent fleet, a hackathon-winning rescue rover, an LLM from scratch in C++/CUDA, a custom x86 OS, a network protocol, and a RAG engine. Plus IEEE leadership initiatives.

01Active

Arthur — Local-First AI Assistant & Agent Fleet

A JARVIS-style desktop AI that runs entirely on a local machine, no cloud. Dual-model brain (fast router + thinking model), trust-gated tool execution where every action passes a decision layer, voice loop with local Whisper STT, screen vision via Qwen2.5-VL, and SQLite memory. Fleet mode orchestrates external coding agents (Codex, OpenCode, DeepSeek) with race, chain and shared-board strategies. Ships as an offline Windows installer built by CI.

PythonAI AgentsLocal LLMOllamaWhisperMCPOrchestration
02Live★ 1GitHub →

AFRICA RESQ — AI Search & Rescue System (1st Place, AI for All 2026)

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

PythonYOLOComputer VisionFastAPIRaspberry PiRobotics
03Live★ 3GitHub →

charGPT — LLM from Scratch in C++/CUDA

A complete GPT-style Transformer (10.7M params) trained entirely in C++ and CUDA — zero ML frameworks. Implements raw CUDA kernels for matrix operations, multi-head attention, backpropagation, Adam optimizer, and gradient accumulation. Trained on Shakespeare with GPU-resident memory for zero PCIe transfers during optimization. Includes interactive chat interface with temperature control.

C++CUDALLMCUDA KernelsGPUTransformerGPT
04Live★ 3GitHub →

hydra-os — x86 Operating System from Scratch

A minimal monolithic x86 OS built from scratch in C and Assembly — built in 3 days as a challenge. Multiboot-compatible kernel with GRUB bootloader, protected mode setup, Global & Interrupt Descriptor Tables, keyboard driver, VGA framebuffer driver, PS/2 interrupt handling, PIC remapping, serial COM debugging, and a built-in Snake game rendered directly through the framebuffer.

CAssemblyOS DevBootloaderKernelx86
05Live★ 1GitHub →

nexa — Custom Network Protocol with DNS System

A complete custom network protocol built from scratch in Go with its own DNS system. Your own mini-internet running on top of TCP/IP. Features custom DNS resolution for .nexa domains, content storage and retrieval server, smart client with automatic DNS resolution, and full domain management (register, update, delete, resolve). Demonstrates raw TCP socket programming.

GoNetworkingProtocolDNSTCP/IPClient-Server
06Live★ 3GitHub →

The Last Archive — RAG-Powered Search Engine

A high-performance local-first search and archival engine powered by RAG. Modular microservices: Go web crawler (Spider), Python Transformer embedding service, Go/Ollama LLM bridge (llama-go), Node.js API orchestrator, Next.js frontend, and Qdrant vector database. Fully offline-capable with Dockerized microservice architecture. Privacy-first semantic retrieval over personal archives.

GoTypeScriptPythonNext.jsRAGQdrantDocker
07Live★ 3GitHub →

Laptop to Server — Infrastructure Guide

A comprehensive guide on converting an old laptop into a production Linux server. Covers Ubuntu Server installation, static IP configuration with Netplan, Docker & Docker Compose setup, UFW firewall, Minecraft server deployment, and three methods of internet exposure: port forwarding, Tailscale VPN, and Cloudflare Tunnels (with/without custom domains).

LinuxDockerDevOpsNetworkingCloudflareTailscale
08Present

IEEE BUC — Tech Vice Chair

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

IEEELeadershipL&DManagement
System Logsv2.0.4

[00] INITIALIZING PORTFOLIO DATABASE...

[01] REPOSITORIES DETECTED: 12 PUBLIC REPOS

[02] TOTAL STARS ACCUMULATED: 22 ★

[03] PROJECT 01: ARTHUR — LOCAL AI AGENT FLEET

[04] PROJECT 02: AFRICA RESQ — HACKATHON WINNER

[05] PROJECT 03: charGPT — LLM FROM SCRATCH

[06] PROJECT 04: hydra-os — X86 OS KERNEL

[07] PROJECT 05: nexa — CUSTOM PROTOCOL STACK

[08] PROJECT 06: last-archive — RAG ENGINE

[09] PROJECT 07: LAPTOP-TO-SERVER GUIDE

[10] IEEE BUC TECH VICE CHAIR: ACTIVE

[11] SYSTEM STATUS: ALL SYSTEMS OPERATIONAL.

[12] END OF DOSSIER.

Dossier IntegritySYSTEM ACTIVE