Selected work

Projects

A production AI platform I architected end to end, plus 19 open-source projects across RAG, machine learning, NLP, infrastructure, and web, and a stack of Kaggle notebooks.

Flagship

Production work

My biggest project lives in production, not on GitHub. Here's what it does.

Production system

CRE loan underwriting platform

A production AI platform for commercial real estate lending whose core I built, turning raw financial documents into auditable credit decisions. Multi-LLM orchestration, a RAG document-intelligence pipeline, and a deterministic credit risk engine, deployed to AWS.

RAG document pipeline

Classification and extraction over 24 CRE document types, OCR routing, dedup, and pgvector retrieval with reranking.

Credit risk engine

Deterministic, rule-based scoring (DSCR, LTV, NOI, FICO) with tiered decisions and zero LLM in the critical path.

Multi-LLM orchestration

Provider fallback across Bedrock, Gemini, and OpenAI with per-provider circuit breakers and graceful degradation.

AWS Bedrock Textract pgvector / HNSW FastAPI ARQ / Redis ECS Fargate GitHub Actions boto3

See the full capability breakdown

Open source

Open-source projects

End-to-end projects, with source on GitHub unless noted.

Showing all projects

AI / RAG

Upstream fix: Qdrant Python client

Formula evaluation in Qdrant's official Python client accepted zero raised to a negative exponent, which is undefined, instead of rejecting it. Reviewed and merged by a Qdrant maintainer after CI passed.

  • Merged into the client used by everyone running Qdrant from Python, not a fork.

View PR #1429

AI / RAG

Smart Kar: tax document analysis

A final-year college project and an end-to-end applied AI system for Nepal's SMEs: it ingests tax documents, extracts and classifies them, flags anomalies, and produces IRD-ready VAT and TDS reports. Sole developer of the system, in a two-person team.

  • Bilingual extraction: PyMuPDF for digital PDFs with a Tesseract OCR fallback for scanned input in English and Nepali, table reconstruction from OCR word geometry, and fuzzy vendor matching.
  • LLM-assisted classification, anomaly detection, and tax-rule extraction, with a passthrough fallback when no provider key is configured, so the pipeline degrades to deterministic behaviour instead of failing.
Infra

smart-secretary

An orchestration layer over a fleet of local services. It routes a natural-language request to whichever project can answer it, starts that service on demand, and says plainly when the capability does not exist instead of improvising one.

  • Capability registry with four transports (HTTP, subprocess, cross-interpreter Python, in-process) over 34 capabilities from 38 registered projects, each declaring its contract in a versioned manifest.
  • A path denylist and per-capability egress policy evaluated before any service starts or any prompt leaves the machine, so a private corpus cannot reach a third-party model. 12,000 lines, 215 tests.
Machine learning

scrapify

A scraping and analysis pipeline for hiring-market data, built to replace opinion about in-demand skills with measured evidence.

  • Caught a confounder in its own first conclusion before acting on it: one employer's near-identical postings drove 54% of the apparent demand for a single framework and 91–100% of three others. Excluding that employer moved the signal from 26.6% to 14.8% and the rest to noise.
NLP

Intelli-oppo

A debate engine that argues the opposite of whatever you claim, without ever fabricating to do it. Useful as a devil's-advocate pass over an argument you are too close to.

GitHub

AI / RAG

RAG precision enhancement

Comparative study showing why retrieval alone isn't enough. Two-stage retrieval and reranking pipeline with noise injection to stress-test semantic search performance.

  • Noise injection with 20+ hard-negative documents.
  • Cross-encoder reranking (BAAI/bge-reranker-base).
  • Evaluated via Hit Rate@k and MRR metrics.

GitHub

Web app

ChurnShield

Flask web app for real-time churn prediction with user authentication, an admin dashboard, CSV export, and SHAP-powered explainability. Includes an automated retention strategy generator.

  • Real-time prediction with a Random Forest pipeline.
  • SHAP-based feature importance per prediction.
  • Automated retention strategy generator.
GitHub 3 stars
Machine learning

IEEE fraud detection

Transaction classification on 1M+ Kaggle IEEE-CIS records. Achieved ROC-AUC 0.95 and F1 0.66 on the imbalanced fraud class with Optuna hyperparameter tuning.

  • Processed 1M+ transaction records.
  • Feature reduction via Spearman correlation.
  • Hyperparameter tuning with Optuna.
GitHub 3 stars · 2 forks
Machine learning

Time series forecasting

SKU-level supermarket price forecasting on 1.7M+ rows using LightGBM and Prophet with lag, rolling window, and calendar features.

  • Processed 1.7M+ retail records.
  • TimeSeriesSplit cross-validation.
  • Evaluated via RMSE, MAPE, SMAPE.
GitHub 2 stars · 1 fork
Machine learning

Retail price optimization

Competition-aware ML workflow integrating historical sales and competitor pricing. Achieved R² ≈ 0.92 with Random Forest and SHAP explainability for business decisions.

  • Full ML pipeline with EDA.
  • Hyperparameter tuning with Optuna.
  • Profit and revenue optimization analysis.

GitHub

Machine learning

Anomaly detection

Multi-method anomaly detection pipeline combining model-based, cluster-based, and statistical approaches on fraud and retail datasets with PCA visualization.

  • Multiple detection algorithms benchmarked.
  • Evaluation via ROC-AUC and precision/recall.
  • PCA visualization of anomalies.
GitHub 2 stars
NLP

Text embeddings explorer

Scripts and experiments for exploring text embedding models, visualizing embedding spaces, and benchmarking retrieval quality across different encoder models.

GitHub

AI / RAG

Semantic search with FAISS

End-to-end semantic search implementation using FAISS for fast approximate nearest neighbor search with sentence-transformers for dense embedding generation.

GitHub

AI / RAG

Qdrant vector DB experiments

Experiments with the Qdrant vector database: collection management, payload filtering, hybrid search, and performance benchmarks for RAG applications.

GitHub

NLP

Text chunking strategies

Comparative study of text chunking strategies (fixed-size, sentence-based, recursive, and semantic chunking), evaluating their impact on RAG retrieval quality.

GitHub

Machine learning

Regression portfolio

Collection of regression projects across different domains (housing prices, demand forecasting, and insurance costs), with thorough EDA, feature engineering, and evaluation.

GitHub 3 stars
Machine learning

Customer segmentation

Unsupervised learning project exploring clustering algorithms for customer segmentation. Includes PCA for dimensionality reduction and silhouette analysis for optimal cluster selection.

GitHub 3 stars