Senior AI Engineer · Karachi, Pakistan 🇵🇰
The model does the judgement. The arithmetic is deterministic. Every number has a source.
Five years across full-stack engineering and AI, the last stretch spent entirely on production LLM systems: fine-tuning, retrieval, agent orchestration, and the evaluation harnesses that keep all three honest.
There is one idea running through most of what I build. A language model is very good at reading, extracting and judging, and it is the wrong tool for anything that has to be exactly right every time. So I put the model where judgement belongs, keep the arithmetic in deterministic and unit-tested code, and make every output traceable to the document or URL it came from. Systems built that way can be audited, reproduced, and defended in a room full of people who do not trust AI.
- 🔭 At Tracker AI, I own the LLM stack end to end for a clinical decision-support product: supervised fine-tuning, retrieval architecture, evaluation, inference cost, and deployment.
- 🧩 Designing behavioral evaluation frameworks: regression suites, response consistency checks, and reasoning-quality scoring that run in CI rather than in someone's head.
- 🎙️ Deep background in voice-first AI (streaming ASR, real-time TTS, interruption handling) and high-accuracy document OCR with structured extraction.
- 👥 Have led and mentored engineering teams of 6+.
- 📈 On the side: systematic trading research in FX and metals, because backtesting is just evals with a P&L attached.
plansight · construction document intelligence
Point it at a permit set or an RFI package and get back validated building quantities, cited answers, and a grounded scope of work. A drawing set is not one kind of document, so ingestion is not one kind of pipeline. Quantity questions are treated as extraction rather than retrieval, and search is hybrid because construction queries are full of exact tokens that embeddings blur.
valuation-engine · private company valuation from filings
Upload an income statement and a balance sheet, name the industry, get a valuation across price/earnings, EV/EBITDA with an EBIT fallback, and price/sales, each showing the benchmark it used and the reliability checks it passed or failed. The model transcribes statements into structured line items and performs no arithmetic, so the same inputs always produce the same valuation and every figure traces to a formula.
conversational-rag-engine · one codebase, any number of bots
Each bot is a YAML profile naming a vector index and a persona. No forking, no per-client branches, no duplicated prompt strings. Pluggable Pinecone, Qdrant and Chroma backends, cost and latency accounting, and an evaluation suite that can gate CI on retrieval quality.
Holdfast · constraint integrity under context compaction
Compactors preserve the task and quietly drop the constraints. COMPINT is the offline suite that measures that loss across long-context environments and compactor configurations. SC-GUARD is the fix: a session-scoped constraint registry kept outside the compression path and re-injected at every compaction event, hardened into a deployable sidecar.
passive-skill-distillation · paper to production
Turns agent trajectory logs into validated, versioned natural-language skills appended to a non-reasoning model's system prompt. No gradient step exists anywhere in the critical path, which is what makes it cheap enough to run continuously and which relocates the risk to prompt supply-chain security. Implements arXiv:2608.07885.
Also here: market-sizing-engine (cited TAM/SAM/SOM with deterministic arithmetic) · hardpoint (the contracts and ingestion layer above, extracted into a library, pre-alpha) · VideoGenerator (text to narrated short-form video, offline mode needs no API keys) · mini-project-board (full-stack Kanban, Node and React)
Work that is not public: the LLM stack at Tracker AI, an AI intake platform for U.S. immigration practitioners (multilingual voice intake, OCR, cross-form consistency checks), a retrieval-backed project charter auditor, and a set of MQL5 trading systems with a prop-firm compliance engine. Happy to talk through any of it.
Generative AI & LLM Frameworks
Providers
Fine-Tuning & Training
Inference & Local LLMs
Specializations
Voice & Multimodal
Backend & APIs
Databases & Vectors
Cloud & DevOps
Senior AI Engineer and LLM engineering roles, remote or on-site.
"The model is one component. The system is the product."
