Lahore, Pakistan · UTC+5
Principal Full-Stack Engineer & AI Architect
I turn LLM prototypes into production systems, and architect the platforms they run on.
Open to principal and architect roles · available for consulting
About
I've been building software for more than fifteen years, mostly backend and platform work on Azure and AWS. A lot of it now involves LLMs: retrieval that cites its sources, agents that run inside a pipeline a person can review, and models that stay on the device when the data is private.
I pay most attention to the things that hurt later if you skip them now, like data models, failure modes, identity and cost. I write ADRs so the reasoning outlives the meeting it came from, and I test from the spec inward.
Selected work
6 case studiesAI / Product
Saaliheen
A word-by-word Quran reader for web and mobile, in English and Urdu, with grammar, roots, recitation and a Quran Chat that answers only from cited translations and Tafsir.
- Next.js
- Expo / React Native
- Neon Postgres
- pgvector
- Claude API
Case study →AI / Developer tooling
cc-orchestrator
A local board that relays Azure DevOps Work Items and GitHub issues through pipelines of Claude Code runs, each in its own git worktree, and asks a human to approve any tool outside an allowlist.
Case study →AI / Platform · client work
AI-Native CMS
An AI-first backend for a hospitality marketing platform that generates a business's website content by default and lets owners refine it, with every edit feeding back into how the next site is generated.
- Python
- FastAPI
- PostgreSQL + pgvector
- SQLAlchemy 2.0
- OpenAI / Anthropic
Case study →AI / Desktop
Meeting Assistant
A macOS meeting companion that transcribes live and recorded meetings on the device, tells speakers apart by voice, and tracks which questions were raised and whether anyone answered them.
- Rust
- Tauri 2
- whisper-rs (Metal)
- sherpa-onnx
- Swift
Case study →Security / Healthcare · client work
Healthcare Identity Library
A TypeScript library that obtains, validates and spends signed SAML credentials for calls to regional public-health services, behind a region-neutral API a clinical application can code against once.
- TypeScript
- Node.js
- SAML 2.0
- XML-DSig (xml-crypto)
- Mutual TLS
Case study →SaaS / Developer tools · client work
StressForge
A multi-tenant load-testing platform that runs k6 tests on a worker pool and streams live latency and throughput to the browser while the test runs.
- TypeScript
- Fastify
- Next.js
- k6
- BullMQ
Case study →More work
SurfaceLensComputer Vision / 3D · client work
Finds the floor in a customer's photo and previews a surface-coating texture on it, all in the browser.
React · Three.js · Canvas 2D · Zustand · Vite
SiteCommandEnterprise / Construction · client work
Construction and compliance software for web and mobile. It handles asset management, HSE incident tracking and cladding fire-safety compliance, and also runs staff scheduling and job tracking.
.NET · Angular · Azure · SQL Server · Docker
NasrCivic / Fundraising
A fundraising site for Pakistan. Anyone can run a campaign for a good cause from a shareable link. Contributions go straight to the organiser and get reconciled on the platform.
TypeScript · Hono · Cloudflare Workers · D1 · R2
who-am-iProduct / Web
A portfolio builder for developers. Sign in with GitHub and your public work comes in as a draft you can edit, theme and publish to a personal URL.
Next.js · TypeScript · Supabase · Postgres · GitHub OAuth
ScanlyMobile / Privacy
Free, ad-free document scanning on iPhone and Android, with all the work done on the device, including live edge detection and text recognition. Exports are searchable PDFs and there is no account to create.
React Native · Expo · TypeScript · Swift · Kotlin
Lend LoopProduct / Automation
A tool-lending board for a neighbourhood. Neighbours list what they have and request tools for date ranges, and n8n sends the email notifications and overdue reminders.
Next.js · Convex · Clerk · n8n · TypeScript
Experience
- 2020 – Present
Chief Technology Officer · Aquila360 Pvt Ltd
I still write much of the backend code myself, for our own products and for client platforms. That has included a payment gateway, a load-testing service and an LLM voice agent. I also own the engineering standards across Azure and AWS, from CI/CD to how we review code.
- 2024 – Present
Solution Architect · ALEC Engineering and Contracting LLC, UAE
Designed multi-tenant OIDC authorization that federates Entra ID and Autodesk, and a Master Data API on Azure Container Apps. Moved the estate off a legacy App Service Environment onto a private, Terraform-managed platform behind a WAF. I also fixed a KEDA scaling problem that had the platform paying for idle capacity.
- Jul 2025 – Aug 2026
Lead Backend Engineer, marketplace payments · Aquila360 · client engagement
Built and ran the payment platform behind a marketplace on Worldpay for Platforms, covering merchant onboarding, charges, refunds, subscriptions, gift cards, payouts and deliveries. Writes are idempotent and service calls are HMAC-signed with a replay window. Webhooks go through SQS and Lambda, with dead-letter analysis for the ones that fail. Stack: TypeScript, Prisma, Aurora PostgreSQL, Terraform.
- 2020 – 2024
Senior Software Consultant · ALEC Engineering and Contracting LLC, UAE
- 2020 – 2022
Senior Software Consultant · Social27 Inc., USA
- 2018 – 2020
Senior Systems Developer · ALEC Engineering and Contracting LLC, UAE
- 2016 – 2018
Systems Developer · ALEC Engineering and Contracting LLC, UAE
- 2014 – 2015
SharePoint Developer · NewBoy FZCO, UAE
- 2013 – 2014
Systems Developer · 01 Systems, Bahrain
- 2012 – 2013
Associate Software Engineer · Systems Limited
- 2011 – 2012
Associate Software Engineer · PowerSoft19
What I work with
AI systems
- LLM integration (Anthropic, OpenAI)
- RAG and hybrid retrieval
- pgvector
- Agent orchestration and MCP
- On-device inference
Architecture
- Service and event-driven design
- Monorepos
- ADR-driven decisions
- Payments (Stripe, Finix)
Cloud & delivery
- AWS
- Azure
- Cloudflare
- Terraform
- Docker
- CI/CD
Full stack
- TypeScript
- React / Next.js
- Node.js
- Python / FastAPI
- C# / .NET
- Go
- Rust
Identity & security
- OAuth2 / OIDC
- SAML
- OpenIddict
- Entra ID SSO
- Zero-trust networking