AI-Native Retail & E-Commerce Business Leader | Category Head @ Milkbasket (GM, Reliance Retail) | βΉ3,000 Cr P&L & Turnaround Executive
Bridging 20+ years of full-stack retail P&L leadership (Sourcing, Supply Chain, Merchandising, Operations, Finance & Governance) with hands-on Cloud, Data, and Autonomous AI systems.
Modern Indian retail boards increasingly recognize that the next-generation CEO / Business Head / Chief Merchandising Officer must command both commercial P&L economics and hands-on AI/technology execution. This GitHub repository is my Executive AI Transformation Labβthe working software layer behind 20+ years of real-world retail scale:
| Mandate & Scale | Commercial & P&L Turnaround | Enterprise Tech, Cloud & Automation Delivered |
|---|---|---|
| Milkbasket (Reliance Retail) Category & Merchandising Head β All Verticals (2024βPresent) |
Scaled orders 3X (1 Lakh β 3 Lakh daily orders); turned all loss-making hubs β 3 profitable hubs & counting; expanded regional assortment +30% (+75%+ in key markets); built signature micro-festival playbook. | Partnered with Jio Platforms & RDIP to build GCS β BigQuery automated competitor pricing alerts, integrated Reliance's Central Promotion Engine (CPE), and automated pricing, liquidation & vendor claims. |
| Reliance Retail β Central Sourcing GM / DGM β Home Care & Regional Task Forces (2022β2024) |
Led βΉ3,000 Cr annualized Home Care sourcing across 10+ formats (Smart Bazaar, JioMart, Milkbasket, 7-Eleven, Metro, Bismi); owned βΉ1,000 Cr enterprise relationships (Reckitt, Patanjali, Shubhkart); CEO-selected for βΉ1,350 Cr+ penetration & recovery task forces (UP βΉ600 Cr+, AP/TG βΉ500 Cr, Punjab βΉ250 Cr); +25% YoY growth, +600 bps regional TOT margin uplift, +150 bps top-tier Reckitt incentive. | Automated Forecasting & Replenishment (F&R), data cleaning pipelines, and trade planning sheetsβholding lean 27 Days of Cover (DoC) with minimal manual input. |
| Future Group India Head of Sales, Merchandising & Supply Chain / Category Head (2007β2022) |
Led βΉ3,000 Cr Easyday (North & South), bringing loss-making North small formats to the verge of profitability; led βΉ500 Cr Big Bazaar North & turned all E-Zone stores profitable; led βΉ150 Cr CD&E. | Engineered Automated Replenishment System (ARS) and helped integrate SAP, BIW & SQL across Future Retail (2008β2012), achieving 21-day inventory (below credit period / negative working capital). |
| Global Sourcing & Capital Markets halcyon ASIA Β· GHCL Β· AgriWatch (2005β2007) |
Restructured China genset sourcing driving 5X company revenue growth; authored Board/AGM financial models & Investor Relations decks. | Commodity & FOREX derivatives modeling (Reuters, Bloomberg, CBOT, CME, NYMEX, LME). |
Multidisciplinary Foundations:
- Autonomous AI & Global Commerce: IIT Madras Pravartak (Professional Certificate in Agentic AI & Data Science) Β· Executive Alumnus, Indian Institute of Foreign Trade (IIFT), New Delhi.
- Financial & Economic Engineering: MBA (Finance), Indian Institute of Finance β grounding autonomous pricing, TOT negotiation, and working capital velocity in P&L discipline.
- Governance & Legal Guardrails: LL.B. (Bachelor of Laws), Law Centre-II, Faculty of Law, University of Delhi β embedding statutory MRP ceilings, commercial contracts, and regulatory compliance directly into business logic.
- Quantitative First-Principles: B.Sc. Physics (Hons), A. N. College, Patna β mathematical modeling, probability distributions, and price elasticity optimization.
- Cloud, Data & Product Credentials: Certified across AI, Cloud, Data & UX/UI by Google, AWS, Microsoft, IBM, Galgotias University (Data Science & Analytics), and Dice Academy (UX/UI Interaction Design).
Core Executive Thesis: Eliminate the translation gap between Boardroom P&L and Engineering. Encode gross margin floors, statutory MRP ceilings, FEFO shelf-life, MOQs, and negative working capital directly into autonomous AI systems that drive measurable EBITDA and inventory turnover.
| System | Paradigm | Business P&L Lever | Live Interactive App |
|---|---|---|---|
| Deep-RL-Replenish | Deep RL (PPO / DQN) | Working capital & holding vs. stockout Pareto | deep-rl-replenish.streamlit.app |
| CLIP-Catalog | Vision-Language (OpenCLIP + FAISS) | New-SKU onboarding speed (days β seconds) | clip-catalog.streamlit.app |
| Uplift-DRL | Deep Causal CATE (DragonNet + TMLE) | Promo ROI & zero discount burn on Sure Things | uplift-drl.streamlit.app |
| Shelf-Vision | CV Object Detection (YOLOv8) | OOS elimination & planogram Share-of-Shelf | shelf-vision.streamlit.app |
| Fresh-Grade | Multi-Task ViT (ViT-B/16) | Perishable shrinkage & FEFO markdown ladders | fresh-grade.streamlit.app |
| BasketGNN | Graph Neural Network (LightGCN) | Inventory-aware AOV & basket expansion | basketgnn.streamlit.app |
| A2A Vendor Arena | Multi-Agent Swarm (LangGraph + FastAPI) | Autonomous bilateral procurement bargaining | a2a-vendor-negotiation-arena.onrender.com |
Rather than isolated point solutions, my flagship neural networks and multi-agent systems interconnect into an enterprise closed-loop quick-commerce intelligence pipeline:
flowchart TD
classDef vision fill:#EFF6FF,stroke:#3B82F6,stroke-width:2px;
classDef recsys fill:#F5F3FF,stroke:#8B5CF6,stroke-width:2px;
classDef pricing fill:#ECFDF5,stroke:#10B981,stroke-width:2px;
classDef causal fill:#FDF4FF,stroke:#C026D3,stroke-width:2px;
classDef policy fill:#EEF2FF,stroke:#4F46E5,stroke-width:2px;
classDef ops fill:#FFFBEB,stroke:#F59E0B,stroke-width:2px;
CLIP["CLIP-Catalog<br/><b>(Vision-Language Zero-Shot)</b>"]:::vision
SV["Shelf-Vision<br/><b>(CV Shelf & OOS Audit)</b>"]:::vision
FG["Fresh-Grade<br/><b>(ViT Quality & Days-to-Spoil)</b>"]:::vision
UD["Uplift-DRL<br/><b>(DragonNet CATE Targeting)</b>"]:::causal
DRL["Deep-RL-Replenish<br/><b>(PPO Multi-Hub Policy)</b>"]:::policy
BG["BasketGNN<br/><b>(Co-Purchase Graph RecSys)</b>"]:::recsys
ENS["SASRec & Two-Tower<br/><b>(Sequential & Vector Ensemble)</b>"]:::recsys
PMO["Perishable-Markdown-Optimizer<br/><b>(Yield & Price Elasticity)</b>"]:::pricing
IO["Agentic-Inventory-Optimizer<br/><b>(LangGraph PO Validator)</b>"]:::ops
A2A["A2A-Vendor-Negotiation-Arena<br/><b>(Procurement Bargaining)</b>"]:::ops
OPS["Dark Store Picking Totes<br/><b>& Last-Mile Batching</b>"]:::ops
CLIP -- "Instant Zero-Shot Taxonomy & Cold-Start" --> BG
CLIP -- "Visual SKU Embeddings" --> SV
SV -- "Real-Time OOS Mask<br/>(Zero-Ghost SKU Filter)" --> BG
FG -- "FEFO Priority Signal<br/>(SELL_FIRST Boost)" --> BG
FG -- "Decay Curves & Days<br/>(Markdown Ladder Rules)" --> PMO
FG -- "Days-to-Expire Signal<br/>(FEFO Downweight)" --> DRL
UD -- "Persuadable User IDs<br/>(Targeted Promo Boost)" --> BG
BG -- "Next-Week Demand Lift" --> DRL
DRL -- "Learned Reorder Quantities<br/>(Draft PO)" --> IO
BG --> ENS
PMO -- "Dynamic Clearance Prices" --> OPS
ENS -- "Personalized Replenishment Additions" --> OPS
IO -- "Validated Reorder Quantities" --> A2A
A2A -- "Agreed Price, MOQ & Delivery SLA" --> OPS
- Zero-Shot SKU Onboarding & Cold-Start Induction:
CLIP-Catalogeliminates the 3β5 day manual labeling latency for new vendor items, synthesizing zero-shot taxonomy classifications with OpenCLIP (ViT-B/32) and filtering ambiguous items through a commercialOnboardingBridge(70% auto-tag / 40% human-review threshold), immediately cold-starting new SKU representations intoBasketGNNandShelf-Visionwithout retraining latency. - Zero Ghost-Inventory Recommendations:
Shelf-Visionidentifies empty out-of-stock shelf facings and broadcasts anOOS masktoBasketGNN, ensuring the recsys never recommends unavailable products to shoppers. - FEFO Clearance Acceleration:
Fresh-Gradedetects produce ripeness and shelf-life, feedingSELL_FIRSTpriority weights intoBasketGNNto stimulate sales velocity while simultaneously triggering dynamic yield markdowns inPerishable-Markdown-Optimizer. - Deep Causal Promo Personalization:
Uplift-DRLestimates Conditional Average Treatment Effect (CATE) using DragonNet with targeted regularization, filtering out "Sure Things" and "Sleeping Dogs" to direct promotional coupon spend exclusively to "Persuadable" shoppers, feeding high-propensity customer IDs directly intoBasketGNN. - Learned Replenishment Policy:
Deep-RL-Replenishtrains a PPO policy on a custom Gymnasium environment modeling multi-SKU Γ multi-hub inventory dynamics with stochastic demand, lead times, and four competing cost pressures (holding, stockout, ordering, spoilage); learned reorder quantities flow through a FEFO bridge that enforces Fresh-Grade shelf-life downweights, vendor MOQs, and case-pack rounding before handoff toAgentic-Inventory-Optimizerfor validated PO dispatch β demonstrating the learned-policy vs rule-based-agent architectural choice on the same business problem. - Autonomous Procurement Bargaining:
A2A-Vendor-Negotiation-Arenaautomates bilateral procurement bargaining between buyer and supplier agents, reconciling reorder quantities fromAgentic-Inventory-Optimizerwith vendor cost and MOQ boundaries within a bounded 6-turn state machine deployed on Render. - Multi-Modal RecSys Ensembling: Graph neural networks (
BasketGNN) capture high-order co-purchase graph topology, ensembling with causal sequence models (SASRec) and dense vector retrieval (Two-Tower) to drive measurable basket expansion and replenishment conversion.
Eleven distinct neural architectures shipped to production-grade retail use cases β from dense anchor-free object detection on dark-store shelves (
YOLOv8), multi-task Vision Transformer heads for perishable grading (ViT-B/16), contrastive vision-language representation learning with zero-shot taxonomy synthesis (OpenCLIP ViT-B/32), through graph-propagation collaborative filtering on co-purchase bipartite adjacencies (LightGCN), deep causal targeted regularization for promo allocation (DragonNet), to learned-policy reinforcement learning for multi-hub inventory replenishment (PPO). Each paradigm is matched to the retail problem whose inductive bias it fits best.
| System | Core Architecture & Stack | Business & Technical Impact |
|---|---|---|
| Autonomous A2A Vendor Negotiation Arena | Streamlit, FastAPI, LangGraph, Groq (openai/gpt-oss-120b), Render |
Autonomous bilateral procurement bargaining state machine between a Retail Buyer (Milkbasket) and FMCG Supplier with multi-parameter trade-offs (price, volume, SLA) converging within a 6-turn limit. Deployed on Render (FastAPI backend) with an interactive Streamlit arena UI. |
| Multi-Agent Dynamic Pricing Swarm | LangChain, Groq (openai/gpt-oss-120b), Pydantic |
Autonomous trading desk: Reconciles rival competitor pricing, price elasticity (%ΞQ = Ξ΅ Γ %ΞP), statutory MRP ceilings, and margin floors to output executive P&L decision scorecards. |
| Perishable Markdown & Yield Optimizer | LangChain, Groq (openai/gpt-oss-120b), Pydantic |
Autonomous commercial yield management: Continuously evaluates batch hours-to-expiry against cost salvage thresholds, dynamically triggering aggressive clearance (<24h), promotional markdowns (24-48h), and base price holding (>48h) to eliminate shrinkage. |
| Autonomous Inventory Optimizer | LangGraph, Pydantic, Python | Closed-loop replenishment state machine tracking sales velocity, Days of Cover (DoC), vendor MOQs, and lead times to dynamically draft validated JSON Purchase Orders. |
| VoC Defect Routing Agent | LangChain, Groq (openai/gpt-oss-120b), Pydantic |
Autonomous quick-commerce QA triage: Extracts structured defect assessments from unstructured reviews, classifies failure modes (Temperature, Packaging, Missing Items, Spoilage), rates severity (1-5), and routes tickets to Dark Store Ops, Category Managers, or Supply Chain. |
| Sequential Recommender (SASRec) | PyTorch, Transformers, Causal Self-Attention | Captures dynamic user interaction trajectories over time using left-padded causal Transformer self-attention blocks to predict next-basket SKU additions (evaluated on HR@10, NDCG@10). |
| Retail-SQL-Copilot | LangChain, SQLAlchemy, Tool-Calling | Autonomous enterprise text-to-SQL copilot with automated schema inspection, query safety guardrails, and natural language executive BI synthesis. |
| Multimodal SKU Classifier | PyTorch, ResNet-18, Hugging Face Hub | Late-fusion neural architecture combining vision representations with text encoders (nn.EmbeddingBag) for automated catalog categorization. Model weights published on Hugging Face. |
| Shelf-Vision: Planogram & OOS Detection | Ultralytics YOLOv8, PyTorch, OpenCV, Streamlit | Computer vision audit pipeline auditing retail dark-store shelf photos; uses bipartite Hungarian spatial matching to detect empty Out-of-Stock (OOS) slots, misplaced facings, and brand Share-of-Shelf (SoS) %. (Live Interactive App on Streamlit) |
| Fresh-Grade: ViT Produce Quality & Shelf-Life | PyTorch, Vision Transformer (ViT-B/16), timm, Streamlit | Multi-task Vision Transformer estimating 4-class perishable produce quality grade alongside continuous days-to-spoil regression (Softplus); chains directly into dynamic markdown price ladders and FEFO dark-store picking. Model weights on Hugging Face. (Live Interactive App on Streamlit) |
| BasketGNN: Graph Co-Purchase Recommender | PyTorch, LightGCN (Sparse Tensors), Streamlit | Graph neural network on user-item and SKU co-purchase bipartite graphs; dynamically ingests Shelf-Vision out-of-stock (OOS) masks and Fresh-Grade FEFO perishable priority signals to generate inventory-aware next-basket cross-sell recommendations. (Live Interactive App on Streamlit) |
| Uplift-DRL: Deep Causal Promo Targeting | PyTorch, DragonNet, Targeted Regularization, Streamlit | Four CATE estimators (DragonNet, TARNet, T-Learner, S-Learner) with TMLE targeted regularization estimating incremental coupon uplift and sorting shoppers into Persuadables, Sure Things, Lost Causes, and Sleeping Dogs with a budget-aware commercial TargetingBridge. (Live Interactive App on Streamlit) |
| Last-Mile Delivery Batching Agent | LangChain, NetworkX, Groq (gpt-oss-120b) | Ingests localized order spikes and utilizes spatial graph logic to autonomously cluster quick-commerce deliveries, adhering to strict rider weight capacities (15kg) and time-to-deliver SLAs. |
| Enterprise Supply Chain MCP Server | FastMCP, Python MCP SDK, SQLite3, JSON-RPC | Production Model Context Protocol (MCP) server providing standard JSON-RPC tools over stdio for LLM agents to securely inspect live dark-store inventory levels and vendor SLA lead times. |
| Agentic REST API Gateway | FastAPI, Streamlit, LangChain, Groq (openai/gpt-oss-120b) |
Enterprise AI API gateway wrapping an autonomous Voice of Customer (VoC) defect triage agent; classifies delivery grievances (Temperature, Packaging, Spoilage), assigns severity 1-5, and routes tickets to Dark Store Ops or Supply Chain. Features an interactive Streamlit console. |
| Deep-RL-Replenish: Learned Multi-Hub Replenishment Policy | PyTorch, Gymnasium, Stable-Baselines3 (PPO/DQN), Streamlit | Custom Gymnasium environment modeling multi-SKU Γ multi-hub inventory with stochastic demand, lead times, and four competing cost pressures (holding, stockout, ordering, spoilage); PPO agent learns context-adaptive (s, S) reorder behavior that targets 10β30% lower total cost than textbook base-stock at equivalent or higher service level. Consumes Fresh-Grade shelf-life signals via FEFO bridge; emits validated reorder quantities to Agentic-Inventory-Optimizer for PO dispatch. Direct learned-policy vs. LLM-agent comparison to its sibling rule-based system. (Live Interactive App on Streamlit) |
| CLIP-Catalog: Vision-Language Zero-Shot Onboarding | OpenCLIP (ViT-B/32), PyTorch, FAISS (IndexFlatIP), Streamlit |
Contrastive vision-language dual encoder fine-tuned with symmetric InfoNCE loss on retail catalog imagery; zero-shot taxonomy categorization and sub-millisecond semantic text/image retrieval with an autonomous commercial OnboardingBridge that auto-publishes high-confidence SKUs and routes ambiguous items to a 3-second verification queue. (Live Interactive App on Streamlit) |
π Deep Learning, Recommenders & Predictive Forecasting (Click to Expand)
- Two-Tower Neural Recommendation Engine: Custom dual-encoder neural network in PyTorch with in-batch negative sampling and sub-millisecond FAISS vector indexing for high-throughput candidate retrieval. (Live Interactive App on Streamlit)
-
Demand Sensing & Probabilistic Forecasting (TFT): Temporal Fusion Transformer architecture using PyTorch Forecasting with Quantile Loss (
$P_{10}/P_{50}/P_{90}$ ) and dynamic safety-stock optimization dashboards. (Live Interactive App on Streamlit) - Retail Document Intelligence (RAG): Strict enterprise Retrieval-Augmented Generation system using LangChain, ChromaDB, and Gemini 2.5 Flash for grounded citation of standard operating procedures (SOPs) and retail policy documentation. (Live Interactive App on Streamlit)
- Autonomous Multi-Agent Procurement Squad: Decentralized LangGraph architecture combining real-time web scraping, inventory thresholds, and data-backed vendor negotiation drafting. (Live Interactive App on Streamlit)
βοΈ Commercial APIs, Classical ML Benchmarks & Utilities (Click to Expand)
- Competitor Pricing Intelligence Agent: Web scraping and SKU matching agent for tracking rival retailer pricing and identifying margin-expansion opportunities. (Live Interactive App on Streamlit)
- Automated Catalog Classifier: DistilBERT NLP model fine-tuned for high-accuracy vendor item taxonomy classification. Model weights on Hugging Face (Live Interactive App on Streamlit).
- Yield Optimization Engine: Mathematical API evaluating elasticity and shelf-life dynamics to minimize spoilage and maximize realization in perishable grocery categories.
- Retail ML vs. DL Architectures Benchmark: Head-to-head empirical study contrasting tabular gradient boosting (XGBoost) against deep tensor representations.
- Customer Segmentation API: Unsupervised RFM (Recency, Frequency, Monetary) clustering microservice generating actionable customer cohorts.
- Review Sentiment & Triage API: NLP classification microservice for operational incident routing and customer sentiment analytics.
-
Agentic AI & Swarm Orchestration: Model Context Protocol (FastMCP Servers over stdio JSON-RPC 2.0), LangGraph (Cyclic StateGraphs, Dynamic Routing, Conditional Edges), LangChain, Multi-Agent Swarms, Tool Calling & Structured Outputs (Pydantic v2), Groq (
openai/gpt-oss-120b), Google Gemini - Reinforcement Learning & Decision Policies: Deep Reinforcement Learning (PPO, DQN), Gymnasium Custom Multi-Hub Environments, Markov Decision Processes (MDP), Generalized Advantage Estimation (GAE), Stochastic Demand & Lead-Time Simulation, Adaptive (s, S) Reorder Policies, Holding vs. Stockout Pareto Frontier Optimization
- Causal Machine Learning & Uplift Modeling: Conditional Average Treatment Effect (CATE / ITE), DragonNet (Targeted Regularization & TMLE Clever Covariates), TARNet, Meta-Learners (S-Learner, T-Learner), Qini Curve & Qini Coefficient, AUUC, Uplift Decile Diagnostics, Off-Policy Policy Value (IPW / Horvitz-Thompson), Promo Budget P&L Guardrails
-
Vision-Language & Contrastive Learning: OpenCLIP (ViT-B/32, ViT-B/16, ViT-L/14), Symmetric InfoNCE Loss, Contrastive Cross-Modal Alignment, Zero-Shot Taxonomy Synthesis, Prompt Ensembling, FAISS Sub-Millisecond Vector Retrieval (
IndexFlatIP), Autonomous Catalog Onboarding Bridge (Auto-Tag, Human-Review Queue, Margin Ambiguity Gating) -
Deep Learning, Computer Vision & RecSys: Vision Transformers (ViT-B/16 Multi-Task Heads & Attention Rollout Heatmaps), PyTorch, Ultralytics YOLOv8 (Anchor-Free Object Detection), Graph Neural Networks (LightGCN on Co-Purchase Bipartite Graphs with Sparse Tensors), Causal Self-Attentive Recommenders (SASRec), Two-Tower Dual Encoders, Multimodal Late Fusion (ResNet-18 +
nn.EmbeddingBag), Bipartite Hungarian Spatial Matching (scipy.optimize.linear_sum_assignment), Hugging Face Hub &timm -
Time Series, Forecasting & NLP: Temporal Fusion Transformers (TFT), Probabilistic Quantile Loss (
$P_{10}/P_{50}/P_{90}$ ), PyTorch Forecasting, DistilBERT NLP Fine-Tuning, Hugging Face Transformers, Gradient Boosting (XGBoost), Scikit-Learn - Information Retrieval, Graphs & Vector Search: FAISS (Sub-millisecond Dense Vector Indexing), ChromaDB, Retrieval-Augmented Generation (RAG), Semantic Vector Embeddings, NetworkX (Spatial Graph Clustering & Delivery Batching)
-
Retail Operations, P&L & Commercial Governance: Multi-Format P&L Turnarounds (βΉ3,000 Cr+ Scale), Strategic Sourcing & TOT / JBP Negotiation, Automated Replenishment Systems (ARS / F&R), Negative Working Capital (21β27 Days of Cover), Pricing / Liquidation / Vendor Claim Automation, Price Elasticity Modeling (
$% \Delta Q = \varepsilon \times % \Delta P$ ), FEFO (First-Expire-First-Out) Inventory Scheduling, Statutory MRP Ceilings & Margin Floors, Hyperlocal Assortment & Micro-Festival Merchandising - Cloud, Enterprise Data & Production Systems: Google Cloud Platform (GCS, BigQuery), Databricks, AWS (Bedrock, SageMaker), Enterprise Data Integration (RDIP, Central Promotion Engine, SAP, BIW), Python (3.10+), SQL, PostgreSQL, SQLAlchemy, MySQL, SQLite, Pandas, NumPy, FastAPI, Streamlit, Flask, RESTful Microservices, Docker, Render PaaS Deployment, Power BI, Product & UX/UI Interaction Design
Open to CEO, Business Head, Chief Merchandising Officer (CMO), COO, and Board Advisory opportunities across Quick-Commerce, E-Commerce, Omnichannel Retail, FMCG, Food/Perishables, and Retail-Tech.
- LinkedIn: linkedin.com/in/samirsandhwar
- Email: findsamirks@gmail.com
- Hugging Face Hub: huggingface.co/findsamirks (Model weights & inference checkpoints)
- Streamlit Demos: Streamlit Community Cloud (Interactive microservices & forecasting apps)
- Render Live Microservices: a2a-vendor-negotiation-arena.onrender.com (Production FastAPI & LangGraph backend)
- Curated List: Retail AI Architectures Portfolio