Mirza Shahbaz Ali Baig
Product Engineer · Full-Stack + Agentic AI
Systems that ship
I own products end-to-end, specializing in Backend engineering and AI systems — Backend architectures, optimized marketing sites, UI/UX, third-party integrations, and production infrastructure. I design scalable systems, event-driven pipelines, and agentic AI systems that hold up in production.
Activity
GitHub contributions · last 12 months
8 followers · 94 reposProjects
Med Spa & Salon Management Platform
confidentialConfidential · Vertical management software for med spa, salon, and beauty & wellness businesses
- End-to-end product ownership — UI/UX, marketing site, backend architecture, and production infrastructure
- Scheduling & appointments; team, services, and client management
- Payments, packages, gift cards, and memberships via Stripe Connect
- Multi-channel conversations — WhatsApp, Instagram, SMS, and email in one inbox
- Social planner and marketing automation workflows
- SEO optimized public marketing website; scalable event-driven backend with job queues and automation engine
NestJS · Next.js · PostgreSQL · Prisma · BullMQ · Redis · Stripe Connect · Cloudflare R2 · Socket.IO · Resend · Twilio
WhatsApp Messaging Platform
confidentialReal-time omnichannel messaging · client project
- End-to-end ownership: webhooks, queues, persistence, agent dashboard
- Meta Business API integration — HMAC validation, instant BullMQ enqueue, HTTP 200 before processing
- Redis Pub/Sub + Socket.IO gateway for live agent routing by room
- Idempotent workers; push-based inbox replacing HTTP polling
- Production deployment for educational-sector communications at scale
NestJS · PostgreSQL · Redis · BullMQ · Socket.IO · Next.js · Meta Business API
- Five NestJS services, each with dedicated Postgres — connected via Kafka + Redis
- Transactional outbox → order.created; GEOSEARCH matching with SET NX driver locks
- Full lifecycle: offer → accept/decline/timeout → assign → complete/cancel
- Idempotent Kafka consumption; crons for expired offers and stale pending orders
- Next.js sim UI + API gateway as a single observable control surface
NestJS · Next.js · PostgreSQL · Prisma · Redis · Kafka · Docker · TypeScript
- Planner → retriever → responder agent with XOR routing (chat vs search rewrite)
- Two-stage retrieval: Qdrant vector search → Jina rerank before generation
- NeMo Guardrails on input/output; Portkey for LLM routing, fallback, and cost metadata
- Batch ingestion for PDF/HTML/Office with paragraph-aware chunking to Qdrant
- RAGAS eval suite + guardrail confusion matrix; Next.js UI with auth and rate limits
FastAPI · LangGraph · Qdrant · OpenAI · Groq · Portkey · Jina AI · NeMo Guardrails · Postgres · RAGAS · Logfire · Langfuse · Next.js
Education
BS Computer Science
Punjab University College of Information & Technology (PUCIT)
2024 – 2028 · Lahore, Pakistan
3.96
CGPA
Writings
A Practical guide to internal architecture of Node js beginner friendly for backend Engineers.
Nov 24, 2025
A practical breakdown of Auth tokens including access and refresh token, explaining why we need them?
Aug 29, 2025
Density-based spatial clustering of applications with noise (DBSCAN) is a data clustering algorithm proposed by Martin Ester, Hans-Peter Kriegel, Jörg Sander, and Xiaowei Xu in 1996. It is density based clustering algorithm which finds arbitrarily shaped clusters based on density.
Sep 04, 2025