Architecture & risk review
Review the data flow, failure modes, security boundaries, evaluation plan, likely costs and scaling assumptions.
AI/ML Engineer · AI Agents, RAG & Automation · Available for freelance
I help CTOs, founders and product leaders turn promising AI prototypes into dependable production systems. My focus is clear architecture, practical evaluation, safe automation and a handoff your team can maintain.
A little about me
My background spans applied research, backend engineering and cloud delivery. I translate business constraints into practical architecture, prove the riskiest path early and leave behind an operating model your team can extend.
Meet the engineer
Get to know me and the thinking behind my work in AI, engineering and production systems.
Watch on YouTubeFor CTOs & product leaders
I am most useful when a prototype works, but the team still has questions about architecture, risk, ownership or rollout. We start with the decision you need to make, then choose the simplest suitable approach.
Review the data flow, failure modes, security boundaries, evaluation plan, likely costs and scaling assumptions.
Build one complete workflow through the real data path, with controls, observability and evidence from representative cases.
Add versioning, CI/CD, promotion gates, monitoring, rollback paths and cost visibility around models and AI services.
Work with product and engineering to review decisions, solve difficult implementation problems and keep the build tied to business goals.
Selected professional outcomes
These are sanitized results from commercial work. I do not publish client code, private data or confidential architecture.
p50 workflow latency across 1.24M records
LLM API cost through routing, caching and retrieval optimization
AI assistants delivered with approximately 99.5% availability
less drafting and analysis time in document workflows
AWS reference architecture
The public repository implements the core infrastructure and promotion logic. The compute layer can use ECS/Fargate, Lambda or managed inference depending on the workload.
Open-source engineering references
I built these public references so clients and engineers can inspect how I work, not just read a list of technologies.
A model-independent reference for evidence-backed AI workflows with explicit state, citation verification, health checks, structured logging and observable API contracts.
Inspect repository ↗A business-agent safety layer with risk policies, human approval gates, idempotent execution and typed audit events.
Inspect repository ↗Release promotion gates, drift measurement, immutable artifacts, inference health checks and core AWS infrastructure as code.
Inspect repository ↗Self-correcting RAG on local Llama models: relevance grading, query rewrite, cited answers and a groundedness check that turns unsupported answers into “I don’t know”. Ships with an LLM-as-judge evaluation harness, a FastAPI service and an MCP server.
Inspect repository ↗Commercial & applied research
The details are sanitized, but the engineering problems are real: slow data paths, risky agent actions, manual document work and decisions buried in fragmented information.
Graph-based orchestration, structured contracts, validation and human review for complex document generation.
Focus: workflow design · validation · document generation 60% to 70% less drafting timeLambda, SQS, PostgreSQL indexing, PgBouncer and failure recovery for high-concurrency processing.
Focus: bottleneck analysis · data path · reliability 97% faster p50 latencyTranscription, summaries, decisions and action-item synchronization across meetings and Salesforce.
Focus: integrations · structured outputs · automation End-to-end workflow automationGoverned natural-language analysis over SQL and CSV data with instant tables, trends and charts.
Focus: tool safety · analytics UX · API delivery ≈60% less manual analysisHybrid retrieval, reranking, caching, citations and evaluation for trustworthy knowledge access.
Focus: retrieval quality · evidence · cost control 40% lower inference latencyA non-wearable human-activity recognition prototype using signal processing, RNNs and Raspberry Pi.
Focus: applied research · signal processing · edge AI Privacy-first ambient sensingStructured extraction and citation trails that turn earnings calls and fragmented web sources into decision-ready briefs.
Focus: extraction · provenance · report synthesis Evidence-backed report synthesisPipeline health, data-quality checks, anomaly monitoring and executive KPIs in one operational view.
Focus: data quality · observability · decision reporting One view from ingestion to decisionExperience
Three years shipping production AI inside product teams, now independent. Based in Lahore, Pakistan and open to relocation or remote work.
Self-employed · Remote
AI agents, RAG assistants and workflow automation for startups and SMBs, taken from prototype to monitored production.
Rolustech · Lahore (Hybrid)
Meeting intelligence from call recordings to Salesforce, LLM research and enrichment pipelines, and a 126 s to 4 s p50 latency fix across 1.24M records.
OptimusFox · Lahore · joined as AI Intern (Jun – Jul 2023)
25+ policy RAG assistants, an agentic insurance-appeal workflow that cut drafting time by 60 to 70 percent, and a conversational BI product.
COLAB, FAST-NUCES
Led a 30-member applied AI research team across NLP and ML while completing a BS in Computer Science at FAST-NUCES.
Field notes
Three practical lessons from building and operating these systems.
If a risky action pauses for review, the request, policy decision and reviewer outcome must remain traceable. That is why the control-plane reference treats approval as explicit state and preserves an audit event before execution.
The useful work was in the data path: query shape, indexes, connection pooling and concurrency behavior. Optimizing the expensive path first created a larger gain than changing the intelligence layer.
Accuracy, p95 latency, error rate and drift are evaluated together. When a release is blocked, the platform returns the violated policies so a team can act on evidence instead of guessing.
Capabilities
Planning, tool use, approval flows, deterministic outputs, evaluations and safe failure modes.
Versioning, CI/CD, release gates, model monitoring, drift detection and operational observability.
Event-driven services, resilient APIs and data workflows across AWS and Azure.
Practical reviews of reliability, security, cost, latency, evaluation and scale risks.
Delivery approach
Define the user, business decision, constraints and measurable success criteria before selecting a model.
Map failure modes, traceability, security, recovery and cost into the architecture.
Deliver one complete workflow and evaluate it against representative cases.
Add observability, automation and documentation so the system remains maintainable after handoff.
What a client actually receives
The package changes by engagement, but the goal does not: your team should be able to operate, explain and extend what I build.
Architecture recordBoundaries, risks, decisions and trade-offs.
Working vertical sliceOne complete path through the real workflow.
Evaluation evidenceRepresentative cases, metrics and failure examples.
Operational handoffRunbooks, visibility and a maintainable release path.
Questions
Production AI agents, RAG assistants, LLM automation and MLOps on AWS and Azure. Usually a prototype that works but needs architecture, evaluation, safety controls or lower running cost before real users depend on it.
Yes. I work remotely with teams worldwide from UTC+5, with overlap for European working hours and US mornings, and I am open to relocation for the right full-time role.
With a small, paid first milestone: an architecture and risk review, or one production vertical slice. You see working evidence before committing to more.
OpenAI, Azure OpenAI, Claude and open models such as Llama through Ollama; LangGraph and LangChain for orchestration; MCP for tool integrations; Python, FastAPI, PostgreSQL, Redis, Docker and Kubernetes; AWS and Azure for deployment.
Every system ships with an evaluation set, source traceability where it matters, groundedness checks, PII redaction, and cost and latency monitoring. When the evidence is not there, the system says so instead of guessing.
Yes. I am open to AI/ML engineering roles on-site, hybrid or remote, and to relocation. Reach me by email or on LinkedIn.
Connect with me
If you are planning an AI product, improving an existing platform or trying to move a prototype into reliable production, send me the context. I’ll help you identify a practical first step.