Skip to main content

Muhammad Afaq Bhatti

AI/ML Engineer
Islamabad, Pakistan·loading contact...·github.com/mafaqbhatti·LinkedIn

AI/ML Engineer focused on production LLM systems, GraphRAG retrieval engines, and multi-agent systems with rigorous empirical validation. Open to full-time AI/ML roles and remote work.

Education

COMSATS University IslamabadIslamabad, Pakistan
BS Computer ScienceCGPA 3.4/4.0

Professional Experience

ML Engineer I · ElevenSoftwaresDec 2025 – Present · Islamabad, PK
  • Architect production RAG and GraphRAG knowledge pipelines (LangChain, LangGraph) over unstructured documents and databases, cutting manual verification and document retrieval time by 70%.
  • Develop autonomous LangGraph agentic workflows and tool-calling systems to automate decision-making; containerized and deployed scalable FastAPI microservices via Docker on AWS (EC2, S3).
  • Built VisionAttend, a deep learning biometric verification system incorporating RetinaFace (CNN) for face detection, ArcFace embeddings, and anti-spoofing liveness classification with a PostgreSQL backend.
  • Establish automated experiment tracking and model evaluation frameworks using MLflow and DVC, conducting systematic error analysis and hyperparameter sweeps.
ML Intern · ElevenSoftwaresSep 2025 – Nov 2025 · Islamabad, PK
  • Developed deep learning and NLP embedding pipelines for semantic candidate evaluation, optimizing cosine retrieval precision across high-dimensional vector spaces.
  • Built an intelligent Support Ticket Assistant combining supervised text classification with an LLM-powered RAG pipeline to automate context-grounded response generation.
  • Engineered an automated document OCR and table extraction pipeline with deterministic image preprocessing, cleansing, and tabular feature extraction for ERP reconciliation.
  • Trained and evaluated supervised classification models for transaction anomaly detection, performing rigorous feature engineering and confusion-matrix error analysis.
Data Science Intern · ITSOLERAJul 2025 – Sep 2025 · Islamabad, PK
  • Collaborated in a cross-functional technical team to develop, train, and deploy 6 production ML and deep learning models, including LSTM recurrent neural networks for temporal pattern forecasting.
  • Implemented complete MLOps lifecycle (DVC, MLflow, GitHub Actions CI/CD) and deployed containerized REST APIs in Python, accelerating release turnaround by 40%.

Flagship Engineering Implementations

Stack: PyTorch · ResNet18 · ConvLSTM · U-Net · Monte Carlo Dropout · Google Colab (Tesla T4) · FastAPI · PostgreSQL / PostGIS · Redis · Gemini 2.0 Flash · Twilio Voice

Flood Forecasting and Disaster Management System — a satellite ML core with an autonomous agentic response layer. 0.8435 (84.5%) Recall and 0.6496 IoU on 19,964 held-out multi-sensor samples, extended into a 60-second agentic flood-response loop.

Stack: Python 3.12 · FalkorDB · FastAPI · React 19 · MCP · Cypher · Docker Compose

Multi-tenant FalkorDB knowledge graph that traces why decisions were made, flags premise drift, and grounds answers with verified quotes. 34/40 (85%) strict accuracy vs 22/40 (55%) dense vector RAG, with 5/5 expert routing and 3/3 impact analysis.

Stack: LightRAG · Gemini 2.5 Flash · BAAI/bge-small-en-v1.5 · NanoVectorDB · GraphML · FastAPI · Docker · AWS EC2

Knowledge graph retrieval engine with 50× lower inference cost. 50× lower inference cost versus traditional dense-vector pipelines.

Stack: LangGraph · Groq (LLaMA-3.3) · AWS EC2 · Streamlit

Parallel fan-out / fan-in multi-agent system on LangGraph and Groq. 5× faster execution than sequential multi-agent execution.

Stack: Groq (LLaMA 3 70B) · Apache Kafka · PostgreSQL 16 · Redis 7 · Node.js 20 · Next.js 14 · Streamlit · Docker

Autonomous 5-agent AI recruitment pipeline compressing weeks into 3 minutes. 2–4 week hiring cycle compressed into ~3 minutes of autonomous processing.

Stack: PyTorch · CUDA · FastAPI · React 19 · Tailwind CSS · SQLAlchemy · NumPy · Docker

From-scratch PyTorch Neural Radiance Field synthesizing 360° novel views from circular photographs. Continuous volumetric 3D scene representation and 60-frame orbiting animation rendering on consumer GPU (RTX 3050, 4GB VRAM).

Technical Stack

Languages & Core Runtimes:Python, TypeScript / JavaScript, C++, SQL
Machine Learning & 3D Vision:PyTorch, NeRF & COLMAP, scikit-learn, TensorFlow
LLMs & Agentic Systems:LangGraph, LightRAG, LangChain, Groq, Gemini & Multi-Provider LLMs, MCP (Model Context Protocol), Pydantic v2 & Structured Outputs, LangSmith
Backends, Streaming & Interactive UIs:FastAPI, Server-Sent Events (SSE), React 19, Vite & Next.js, Streamlit, Express.js & Node.js, Flask
MLOps, Orchestration & QA:MLflow, DVC, Prefect, BentoML, LLM & RAG Evaluation Harnesses, Selenium & Pytest, mypy (strict), Ruff & uv
Cloud, DevOps & Data Infrastructure:Docker & Docker Compose, Caddy, Nginx & Vercel, Jenkins, Terraform / OpenTofu, AWS (EC2, S3, Lambda, ECR), FalkorDB & Cypher, PostgreSQL & MongoDB, GitHub Actions