About

I work from evidence to deployment.

I work across production computer vision, agentic AI, and civic technology. The job is broader than training a model: define the evidence, prevent leakage, understand failure modes, and build the service around the result.

At Louis Dreyfus Company, that meant finding out why a field-video counter over-counted before retraining anything. At People's Association, it means making retrieval and agent behavior measurable enough for public-facing products. My thesis, CountOnce, asks whether a count can report a range that is right as often as it claims.

The setting changes, but my standard does not: make the evidence visible, test the failure modes, and leave behind a system another person can operate.

Roles and results Résumés Discuss an applied AI problem

Zulfaqar Hafez smiling beside a painted portrait
Public LinkedIn portrait

Craft

What I can do, with proof.

Every skill with its proof

Six groups, ordered by how often employers ask for them. Each skill in them on the Skills page links to where you can try it, see it or check it; skills from employer work I cannot show are listed separately and marked.

  1. Agents and LLM systems

    MCP servers and tool calling · LangGraph agent pipelines · LangChain and the OpenAI SDK · Agent trace auditing · Adversarial guardrail testing · Fine-tuning transformers in PyTorch

  2. Evaluation

    Held-out evaluation and error analysis · Benchmarks against baselines · Agent evaluation at pass^k · Paired reruns with bootstrap CIs · Pre-registered studies with an LLM judge · Leakage checks on test splits

  3. Computer vision

    Object detection with YOLO · Multi-object tracking (BoT-SORT) · Pose estimation (MediaPipe) · OpenCV · ROS 2 with Nav2, in simulation · Grad-CAM

  4. RAG and retrieval

    Hybrid retrieval with reranking · On-device embeddings and reranking · Web evidence retrieval · Embeddings, UMAP and HDBSCAN

  5. Backend and full stack

    Next.js, React and TypeScript · TypeScript APIs and document generation · Server prerendering and build gates · FastAPI services · Supabase and PostgreSQL · SQL analytics and MongoDB · Rust · C++17 · Singpass login in a live civic product

  6. Deployment and model optimisation

    Serving models with FastAPI and ONNX Runtime · Docker · Kubernetes, on a local kind cluster · Monitoring with Prometheus and Grafana · Load testing with k6 · Model quantisation (int8 ONNX) · In-browser inference (ONNX Runtime Web) · CI and release automation · Serverless deployment

Credentials

  • Microsoft AI-300, 2026
  • NVIDIA Deep Learning Institute Fundamentals of Deep Learning, 2025
  • NVIDIA Deep Learning Institute Generative AI with Diffusion Models, 2025
  • NVIDIA Deep Learning Institute Exploring Adversarial Machine Learning, 2025
Credential notes on Experience