Models are easy. Systems are the job.

I'm Ahmed. I build the layer between a model that works in a notebook and one that serves real traffic — agentic LLM pipelines, real-time vision, RAG, and the infrastructure underneath. Four years of it, across teams in Saudi Arabia, Canada, and the US.

01

Experience

Four years across three companies — voice AI, moderation at scale, matching systems, and 3D reconstruction.
2026 —
Freelance
ML Engineer
  • Building an AI receptionist for SMBs — missed-call-to-text-back on multi-agent LangChain workflows with Twilio and ElevenLabs, handling lead capture, qualification, and follow-up.
  • Developing a voice-controlled home AI agent — multi-room mic array, wake-word detection, LLM intent routing, relay-controlled actuators for lights, fans, motorized curtains.
2024 — 2026
Aiyah AI
Machine Learning Engineer · Riyadh, KSA (remote)
  • Interactive Virtual Rooms with real-time avatar conversation using STT, NLP, WebSocket streaming — 50+ concurrent sessions, sub-500ms end to end.
  • Ranking and match-making models at 88% accuracy, cutting candidate time 5 minutes → 30 seconds.
  • Multi-modal content moderation across text, image, audio, video, with dynamic routing and confidence-based fallback chains.
  • Migrated ML inference to serverless RunPod with async job queues — 42% lower monthly infra cost, throughput unchanged under variable load.
  • Integrated Stable Diffusion via Fal API for on-demand avatar and background generation.
2024
Remoteflow
Machine Learning Engineer · Canada (remote)
  • AI job-matching on NLP and sentence embeddings — 90% match accuracy connecting skills to global remote roles.
  • RAG pipelines with LangChain and ChromaDB retrieving and synthesizing context from job descriptions and candidate profiles at scale.
  • Automated cover letter generator producing 15,000+ personalized letters, educing generation time from 10 minutes to 2 minutes per letter.
2022 — 2024
XSpada
Machine Learning Engineer · US (remote)
  • Real-time Gaussian Splat-to-PLY conversion pipeline — reconstruction jobs from 90 minutes to 18, a 5× speedup.
  • NeRF-based 3D reconstruction workflows improving scene accuracy 32% — contributed to a $500K Y Combinator seed round.
  • Optimized NeRF training schedules for faster convergence without degrading reconstruction quality.
02

Education

Mechatronics — the one program that puts robotics, control systems, and embedded hardware under the same degree, which is most of why systems come before models in how I work.
MAR 2025
M.S Mechatronics Engineering
National University of Sciences and Technology (NUST), Islamabad
  • Research-focused training in computer vision and deep learning, developing and evaluating Vision Transformer models for autonomous-vehicle perception.
  • Thesis: Vision Transformer-Based Object Detection and Classification for Autonomous Vehicles in Adverse Weather Conditions — under review, IET Intelligent Transport Systems. Full results in Research ↓.
SEP 2021
B.S Mechatronics Engineering
University of Wah, Wah Cantt
  • Foundation in embedded systems and controls — PIC, STM32, and Arduino, sensor interfacing on semester hardware projects.
  • Thesis: IoT-Based Patient Monitoring Systems. — under review, IET Intelligent Transport Systems. Full results in Research ↓.
03

Research

IET Intelligent Transport Systems · Under review

Vision Transformer-Based Object Detection and Classification Framework for Autonomous Vehicles in Adverse Weather Conditions

Muhammad Ahmed · Tahir Nawaz · Md Asaduzzaman
Repository ↗
ModelParams (M)FLOPs (G)Eval (s)Accuracy
CustomViT (proposed)7.604.190.504691.47%
Xception22.958.400.950987.23%
VGG16136.9015.500.993586.75%
InceptionV329.585.700.806785.16%
ResNet-10147.167.600.841384.23%
ViT-H/14518.74111.021.436082.46%
ViT-B/1676.4114.870.830781.61%
ViT-L/32287.1144.111.111081.07%
ViT-B/3281.7437.890.887480.41%
ViT-L/16273.7412.751.078078.14%

Smallest, fastest, most accurate — all three at once. The proposed model outperforms ViT-H/14 by ~9 points at 1/68th the parameters and nearly 3× the speed. Cross-dataset, trained on BDD100K only: ACDC 88.37% · CADC 89.89% · Cityscapes 87.00% · ONCE 89.20% — the gain holds on four datasets it never saw, which is the property that matters when a perception stack meets a road it wasn't trained on.

04

Projects

Every one open source, every one with clips of it running.
01
Speech · Localization

A full video localization pipeline. ffmpeg extracts audio, Whisper transcribes into timestamped segments, Llama-3.3-70B on Groq translates in batches of 25 across 20+ languages including Spanish, Arabic, and Italian. Outputs original, translated, or bilingual SRT, and can burn subtitles into an MP4. A live preview table shows original against translation before export.

Stack
  • OpenAI Whisper
  • Groq · Llama-3.3-70B
  • ffmpeg
  • 20+ languages
Repository ↗
02
Agentic Systems

A live interview tool built on Tavus's Conversational Video Interface. Candidates talk to an AI interviewer over video; the moment the call ends, local HuggingFace models score sentiment and emotion per answer, competencies and hard skills get tagged, and an optional GPT layer writes per-question coaching notes — all rendered into an in-browser dashboard.

Stack
  • Tavus API
  • HuggingFace Transformers
  • OpenAI (optional)
  • Flask
Repository ↗
03
Computer Vision · Safety Monitoring

Surveillance-style intrusion detection on YOLOv10. Every detected person is tracked against a configurable polygon zone — arbitrary shape, not a fixed rectangle. Outside: green box. Inside: red box and an alert banner at the moment of crossing. Zone geometry, confidence threshold, and frame rate are adjustable at runtime, so the same code runs a demo clip or a live camera feed.

Stack
  • YOLOv10 · Ultralytics
  • OpenCV
  • Streamlit
  • 59 passing tests
Repository ↗
04
Agentic Systems · Content Generation

A 5-step LangChain pipeline — outline, intro, sections, conclusion, polish — that plans an article's structure before writing a word of it, streaming real per-step progress instead of a spinner. Exports to a properly formatted .docx via a real markdown-it-py parse-tree walk, so headings, tables, and hyperlinks all round-trip correctly into Word.

Stack
  • LangChain
  • OpenAI API
  • python-docx
  • Flask
Repository ↗
05
Biometrics

Built deliberately without dlib — the dependency that routinely breaks cloud builds via C++ compilation failures. Instead: OpenCV's YuNet for detection, SFace for 128-d embeddings. Two ONNX files, ~5MB, CPU-only, deploys clean. Enroll from 1–3 photos; matching is cosine similarity against SFace's 0.363 threshold.

Stack
  • OpenCV YuNet + SFace
  • ONNX (~5MB total)
  • Cosine similarity matching
  • 43 passing tests
Repository ↗
06
Agentic Systems · Multi-modal

A real tool-use loop, not a single API call wearing an agentic label. The app samples timestamped frames and sends them to Claude with the user's question; Claude decides for itself whether it has enough, and calls zoom_into_segment(start, end) when it needs a closer look. Those frames return inside the tool-result block — the native multi-modal pattern, no extra round trips. Videos over 90 seconds auto-switch to chunk-and-synthesize. Full agent trace visible in the UI.

Stack
  • Claude Sonnet
  • Anthropic tool use
  • OpenCV frame sampling
  • Streamlit
Repository ↗
06

Stack

LLM & Agents

LangChain · LangGraph · RAG · Multi-agent orchestration · Prompt engineering · Tool use

Computer Vision

CNNs · YOLO · Vision Transformers · Object detection · Segmentation · NeRF

Retrieval

RAG · Pinecone · Chroma · Embeddings · SentenceTransformers

Frameworks

PyTorch · TensorFlow · FastAPI · Python · Hugging Face Transformers · C++

Infrastructure

Docker · DigitalOcean · RunPod · Redis · Serverless

APIs

OpenAI · Anthropic · Gemini · ElevenLabs · Fal · Runware · HeyGen · Twilio

Embedded

PIC · STM32 · Arduino · Sensor interfacing.

Languages

English (professional) · Urdu (native)