# Production RAG & Vector Intelligence Pipeline
async def query_intelligence(query: str, tenant_id: str) -> Response:
embeddings = await embed_model.aembed(query)
context = await qdrant.search(
collection="tenant_knowledge",
query_vector=embeddings,
query_filter={"tenant_id": tenant_id},
limit=5
)
return await llm.agenerate(query=query, context=context)- π΅π° Based in Lahore, Pakistan
- π§ AI Engineer & Software Engineer with 3+ years designing, building, and deploying production systems
- β‘ Deep expertise in LLM applications, RAG pipelines, Document AI, Text-to-SQL, and vector retrieval
- ποΈ Proven track record building multi-tenant SaaS platforms, automated financial engines & real-time analytics
- π Shipped systems delivering $30M+ transaction pipelines, 60% operational overhead cuts, and 333% growth in acquisitions
- π¨ Reach me directly at [email protected]
- π’ Open to work β ready to build scalable, intelligent products!
π Quanta β Multi-Tenant AI BI Platform (Text-to-SQL)
Conversational BI SaaS turning natural-language questions into validated SQL, live charts, and interactive dashboards without requiring manual SQL queries.
- AST Security & Mutation Blocking: Model-generated SQL parsed via
sqlglotAST; mutation nodes strictly rejected inside read-only transactions to protect production databases. - Secure Remote Tunneling: SSH bastion with asymmetric trust & public-host SSRF defenses to securely query private-subnet databases.
- Cost Optimization: Compact schema serialization reducing LLM planning-stage token payload by ~60%.
- Stack:
FastAPIβ’React 19β’TypeScriptβ’SQLAlchemy 2.0β’PostgreSQL 16β’sqlglotβ’OpenAI / Gemini / Groqβ’Docker
π SBA Loans HQ / Virtual BDA β AI Loan Portal & Document Automation
Multi-tenant FinTech platform managing the entire loan lifecycle from inbound lead capture to funded deal, with AI embedded at every stage.
- AI Lead Scoring: Gemini-powered classifier scoring leads (0β100) with explainable quality and spam indicators.
- 2-Phase Document OCR: AWS Textract + Gemini pipeline for automated document classification, structured data extraction, and audit findings.
- AI Deal Master Summary: Synthesizes multi-document financials into an underwriting credit memo with risk and collateral analysis.
- Impact: 60% reduction in operational overhead, 30% faster loan processing, 25% revenue growth, and 100% visibility into case status.
- Stack:
Django REST Frameworkβ’Google Geminiβ’AWS Textractβ’PostgreSQLβ’Celery + Redisβ’DocuSealβ’Docker
π³ Mr Seller Note β FinTech Loan & Stripe Automation
Private lending automation platform replacing manual spreadsheet tracking with a comprehensive automated financial calculation and payment engine.
- Automated Fund Splitting: Stripe Connect handles multi-party payouts (borrower β seller β referral commission β platform fees) in a single flow.
- Amortization Engine: Exact principal and interest calculations per installment with real-time running ledger updates.
- Multi-Role Portals: Scoped dashboards for Sellers, Borrowers, Referrals, and Admins.
- Stack:
Next.jsβ’Django REST Frameworkβ’PostgreSQLβ’Stripe Connectβ’Celeryβ’AWS EC2
ποΈ EasyBar β Rebar CAD & Manufacturing Platform
End-to-end industrial platform automating iron rebar design, quotations, and confirmed ordering for the construction industry.
- Interactive 2D Drafting Engine: Built with
Konva.jsfor parametric sketching of bars, nets, and cages with real-time measurement feedback. - Automated Production Tickets: Machine vendors receive automated, production-ready tickets directly from order submissions.
- Recognition & Scale: Generated $30M+ in potential orders in year 1, 1,000+ active users in month 1, and selected for the Contech Incubator.
- Stack:
React.jsβ’Djangoβ’Konva.jsβ’PostgreSQLβ’AWS Lambda + EC2β’Docker
Automotive intelligence platform leveraging Open Car Data (OCD), automated scraping, and market analytics for dealership inventory acquisition.
- Automated Data Harvesting: AWS Lambda + Selenium workers for continuous data harvesting, sync, and automated outreach via SendGrid.
- Sales Prospects Module: Algorithms analyzing vehicle market patterns to surface high-margin inventory acquisition leads.
- Impact: 333% surge in private-party acquisitions, 47% increase in customer traffic, 12% higher gross sales.
- Stack:
Next.jsβ’Djangoβ’Seleniumβ’PostgreSQLβ’AWS Lambda + RDS + S3β’SendGrid
ποΈ Whisper Audio Transcript β Speech-to-Text AI Pipeline
Modular Python pipeline utilizing OpenAI Whisper for accurate speech-to-text audio processing.
- Capabilities: High-fidelity multi-lingual transcription, support for various audio formats, and clean CLI execution.
- Stack:
Python 3.11β’OpenAI Whisperβ’PyTorch
| Category | Technologies & Tools |
|---|---|
| AI / ML & LLMs | OpenAI β’ Anthropic Claude β’ Google Gemini β’ LangChain β’ LlamaIndex β’ Hugging Face β’ OpenAI Whisper β’ sqlglot (AST) |
| Vector Databases | pgvector β’ Qdrant β’ Pinecone β’ ChromaDB |
| Backend & APIs | Python 3.11 β’ FastAPI β’ Django β’ Django REST Framework β’ SQLAlchemy 2.0 β’ Celery β’ Pytest β’ Nginx β’ Gunicorn |
| Frontend & UI | Next.js 15 β’ React 19 β’ TypeScript β’ JavaScript β’ Tailwind CSS v4 β’ Konva.js (2D Canvas) β’ Redux Toolkit |
| Databases & Caching | PostgreSQL 16 β’ MySQL β’ Redis β’ SQLite β’ RabbitMQ |
| Cloud & DevOps | AWS (EC2, S3, RDS, Lambda, Textract, SQS) β’ Docker β’ GitHub Actions β’ Linux β’ Selenium β’ Stripe Connect |
| Developer Tools | Git β’ VS Code β’ Postman β’ Swagger β’ DBeaver β’ Jira |
| Technology | Status | Focus Area |
|---|---|---|
| Go | π‘ Exploring | High-concurrency microservices & network tooling |
| Kubernetes | π‘ Scaling | Container orchestration & cloud-native deployments |
| Terraform | π‘ Tinkering | Infrastructure as Code (IaC) on AWS |
| GraphQL | π’ Comfortable | Flexible client querying & schema-driven APIs |
| React 19 | π’ Production | Modern frontend UI architecture & Server Components |
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β " Make it work, make it right, make it fast. β
β In that order. Always. " β
β β Kent Beck β
β β
β β Ship early, iterate often β
β β Vector search without good chunking is just noisy math β
β β An untested API is a broken API you haven't found yet β
β β If the deploy process scares you, automate it β
β β Good architecture > clever code β
β β Logs, metrics, and evaluations are not optional β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
