# Pritam Dey

Data scientist at Amgen. AI agents, LLMs, forecasting, and machine learning.

Hyderabad, India

[Portfolio](https://pritamdey.in/) · [LinkedIn](https://www.linkedin.com/in/pritam-dey/) · [GitHub](https://github.com/pritam-dey3) · [Email](mailto:pritam.pritamdey.984@gmail.com)

_Last updated: 2026-11-07_

## Summary

Pritam Dey is a data scientist at Amgen in Hyderabad, India. He builds AI agents, LLM tools, and Bayesian and Monte Carlo forecasting models for pharmaceutical work. He created the open-source projects WingMate, Interact, and Snatch, and published MRI-based Alzheimer's disease classification research in the Journal of Alzheimer's Disease Reports.

## Experience

### Amgen — Data Scientist

January 2026 – Present

- Developing advanced forecasting models to project drug sales performance across therapeutic areas.
- Applying Monte Carlo simulation and Bayesian statistical methods to improve forecast robustness and quantify uncertainty.
- Leveraging agentic AI capabilities to enhance scenario analysis, model automation, and decision support for forecasting workflows.

### AI Lens Pvt Ltd. — Principal Data Scientist

June 2024 – December 2025

- End-to-end creation of an AI-powered code editor to boost the productivity of clinical statisticians. This can be considered as a cursor and cline alternative for clinical statisticians
- Led end-to-end development and fine-tuning of Large Language Models for code translation between SAS and R.
- Architected and implemented AI powered business analytics solutions, using SOTA machine learning models and LLM to generate insights.
- Implement full stack analytics application using Fast API, React and AWS.

### Syngenta India Pvt. Ltd. — Data Scientist

May 2023 – June 2024

- Crop genotype analysis by implementing advanced clustering algorithms with genetic hierarchy validation
- Developed computer vision models for plant phenotyping and disease detection using drone imagery
- Led cross-functional teams in delivering scalable ML solutions for agricultural application.

### Dr. Reddy's Laboratories Ltd. — Data Scientist

August 2021 – April 2023

- Designed and implemented enterprise-wide search engine for investigation data
- Developed anomaly detection models to forecast product stability, directly enhancing quality control and ensuring regulatory compliance.
- Developed intelligent scheduling system using genetic algorithms for medical representative routing
- Created computer vision solutions for visual aid analysis in medical communications

## Projects

### AI Powered Code Editor for Clinical Trials

AI Lens · June 2024 - December 2025

AI-powered code editor end-to-end to assist in clinical trial data analysis.

- Build sophisticated AI Agent with code creation, editing, and shell commands execution capabilities.
- Fully integrated support for MCP servers
- Developed a user-friendly interface with Angular and FastAPI.

Tech: LLM, Agent, FastAPI, Angular

### Interact - Open Source Library

Personal Project · Ongoing

Provide a user-friendly open-source library for building conversational AI agents with LLMs.

- Created and maintained an open-source library called Interact as an alternative to LangChain.
- Provided a user-friendly API for building conversational agents with LLMs.

Tech: LLM, Open Source

### Instruction tune LLM

AI Lens · June 2024 - December 2025

Advanced LLM finetuning for converting SAS codes into R.

- Finetuned a large language model to convert SAS code to R and vice versa.
- Prepare synthetic dataset with prompt and response pairs for code conversion.

Tech: PyTorch, Transformers, Axolotl

### Visual-Aid Analysis

Dr. Reddy's Laboratory · Aug 2021 - May 2023

Evaluate visual presentations for doctors with computer according to design guidelines.

- Analyzed visual aids shown to doctors for visual appeal.
- Optimized the design of slides by improving color balance and layout.

Tech: OpenCV, PyTorch

### Interact with My Resume Using LLM

Personal Project · October 2023

Developed an interactive portfolio application with personal AI Agent.

- Developed a large language model to interact with the resume and answer queries about experience, skills, and projects.
- Build RAG and function calling capabilities for interactive experience.
- Developed a React application for the front-end.

Tech: Llama.cpp, FastAPI, React

### Auto Team Detection of Bundesliga Matches

Personal Project · March - April 2022

Automate sports analytics with AI-driven team and ball detection for Bundesliga matches.

- Used YOLOv7 for human and ball detection.
- Applied computer vision and ML methods to detect jersey colors.

Tech: OpenCV, YOLOv7, Scikit-learn, PyTorch

### Business Analytics with AI

AI Lens · June 2024 - December 2025

Transform business data into actionable insights using AI and classical statistics.

- Developed models to understand business data, trends, and generate actionable insights.

Tech: Stochastic Dominance, Streamlit, Scikit-learn

### Plant Phenotyping

Syngenta India Pvt. Ltd. · June 2023 - May 2024

Crop analysis with drone-based image segmentation and hybrid mapping.

- Developed a model to segment crop leaves from drone images.
- Segment grid like plots in the field and map them to appropriate hybrids.

Tech: OpenCV, PyTorch, YOLOv7

### E2E NLG Challenge

Indian Statistical Institute (Prof: Uptal Garain) · Jan - May 2021

Generate restaurant descriptions in natural language from structured data using transformers.

- Built a transformer-based model from scratch to convert structured data about restaurants into text.
- Work on novel approaches to improve the quality of generated text.

Tech: PyTorch, Transformers, BERT

### Genotypes Clustering

Syngenta India Pvt. Ltd. · June 2023 - May 2024

Discover genetic patterns with advanced clustering and interactive visualizations.

- Implemented clustering algorithm to group similar genotypes based on genetic makeup.
- Visualized clusters using UMAP.

Tech: UMAP, Scikit-learn, Streamlit, Plotly

### Genotype Cluster Validation using Hierarchy

Syngenta India Pvt. Ltd. · June 2023 - May 2024

Validate genetic clusters with hierarchical visualization for deeper insights.

- Validated and visualized clustering algorithm with genetic hierarchy.

Tech: Dendrograms, SciPy, Streamlit

### Social Media Analytics

AI Lens · June 2024 - December 2025

Visualize and analyze social media engagement with machine learning.

- Developed a model to analyze social media interaction and engagement data.
- Built a dashboard to visualize trends and engagement metrics.

Tech: Streamlit, LLM, machine learning

### Predicting Survival Chances of Passengers in Titanic

Personal Project · March 2020

Predict Titanic survival with robust ensemble models and feature engineering.

- Built an ensemble model combining decision trees, random forests, and other classifiers.
- Achieved high prediction accuracy using ensemble learning.

Tech: Scikit-learn, XGBoost, Machine learning models

### Inspecting Insurance Availability in Chicago

Indian Statistical Institute (Prof: Swagata Nandi) · October - November 2019

Uncover insurance trends in Chicago using regression and data analysis.

- Performed linear regression and outlier detection.
- Analyzed trends in insurance availability and demographic impact.

Tech: R, ggplot2, dplyr, Linear Regression

### Analysis of Egyptian Skull Data

Indian Statistical Institute (Prof: Swagata Nandi) · March - May 2020

Classify ancient skulls with discriminant and factor analysis in R.

- Applied linear discriminant analysis and factor analysis to classify skulls of different ages.

Tech: R, MASS, Factor Analysis

### Google Of Investigations

Dr. Reddy's Laboratory · Aug 2021 - May 2023

Accelerate incident investigations with a custom search engine using BM25 and tf-idf.

- Built a search engine from scratch for incident investigations within the company.
- Use of BM25 and tf-idf for fast and accurate search results.

Tech: bm25, tf-idf

### Stability Failure Prediction

Dr. Reddy's Laboratory · Aug 2021 - May 2023

Boost product stability testing with predictive modeling and historical data analysis.

- Predicted whether a product will fail in a particular test based on past timepoints and historical data.
- Improved stability testing accuracy by 15%.

Tech: Scikit-learn, Pandas

### Cost of Poor Quality

Dr. Reddy's Laboratory · Aug 2021 - May 2023

Reduce manufacturing errors by analyzing batch quality and root causes.

- Identified reasons behind poor quality in manufactured batches of a drug.
- Reduced error rates in batch production by 12%.

Tech: Tableau, Scikit-learn, Pandas

### Smart Scheduler

Dr. Reddy's Laboratory · Aug 2021 - May 2023

Optimize medical visit schedules with intelligent genetic algorithms.

- Created an intelligent scheduler using a genetic algorithm for medical representative visits.
- Increased scheduling efficiency by 25%.

Tech: Genetic Algorithms, Pandas

### Brand Gini

Dr. Reddy's Laboratory · Aug 2021 - May 2023

Recommend top brands and products using data-driven analysis of prescriptions.

- Suggested relevant products and brands based on past prescriptions and brand popularity.

Tech: Pandas

### RCA (Root Cause Analysis)

Dr. Reddy's Laboratory · Aug 2021 - May 2023

Drive performance improvement with actionable root cause analysis and ML.

- Conducted root cause analysis of poor performance at headquarters.
- Proposed actionable solutions to improve performance by 10%.

Tech: SQL, Scikit-learn

## Open source

### [WingMate](https://github.com/pritam-dey3/WingMate)

WingMate is an open-source framework that allows users to run LLM based agents on their local machines. It enables users to run workflows, automate tasks, and build applications with ease and privacy.

### [Interact](https://github.com/pritam-dey3/Interact)

Interact is an LLM orchestration library that provides a user-friendly API for building conversational agents with large language models. It serves as an alternative to LangChain.

### [Snatch](https://github.com/pritam-dey3/Snatch)

Fully automated script to scrape data from any websites without using any paid services.

## Publications

- MRI-based mild cognitive impairment and Alzheimer's disease classification using an algorithm of combination of variational autoencoder and other machine learning classifiers. *Journal of Alzheimer's Disease Reports*, 2024. [DOI](https://doi.org/10.1177/25424823241290694)

## Education

### Indian Statistical Institute

MSTAT - Masters in Statistics · 2019-2021

- Grade: 73%

### Ramakrishna Mission Residential College, Narendrapur

B.Sc. in Statistics · 2016-2019

- CGPA: 8.8

## Courses and certifications

- CS224N: Natural Language Processing with Deep Learning — Stanford Online, 2021
- Sequences, Time Series and Prediction — DeepLearning.AI, 2020 ([certificate](https://www.coursera.org/account/accomplishments/verify/R9WRWHMY65S6))
- Machine Learning — Coursera, 2020 ([certificate](https://www.coursera.org/account/accomplishments/verify/WGUXWJUGQEXU))
- Complete SQL Bootcamp — Udemy, 2020 ([certificate](https://www.udemy.com/certificate/UC-ccac780c-be59-4109-9011-a0bc24118657/))
- Programming, Data Structures and Algorithms using Python — NPTEL, 2018 ([certificate](https://nptel.ac.in/noc/E_Certificate/noc18-cs21/NPTEL18CS21S45106321810030623.jpg))
- Introduction to R software — NPTEL, 2017 ([certificate](https://archive.nptel.ac.in/content/noc/NOC17/SEM2/Ecertificates/111/noc17-ma17/Course/NPTEL17MA17S2450107171001693.jpg))

## Writing

- [Beyond RAG: Our Shift to an Agentic System](https://www.linkedin.com/pulse/beyond-rag-our-shift-agentic-system-pritam-dey-za4sc) — Why a pure RAG setup hits its limits and how we evolved the architecture into a fully agentic system with tool use, planning loops, and dynamic context management.
- [A Peek into Sarvam AI's Vocabulary: How Well Does It Understand Indian Languages?](https://dev.to/pritam_dey/a-peek-into-sarvam-ais-vocabulary-how-well-does-it-understand-indian-languages-2o92) — A data-driven analysis of how well Sarvam AI's tokenizer represents Indic languages compared to Phi-4, Qwen, and GPT-OSS. Examines vocabulary coverage, tokenization fluency, and morphological depth across Hindi, Bengali, Telugu, and Tamil to understand what genuine linguistic investment in Indian languages looks like.
- [ReplayLLM — File-based LLM Provider for LiteLLM](https://gist.github.com/pritam-dey3/04fb18063eb525fec88ffe58ba234678) — ReplayLLM is a drop-in LiteLLM provider that replays pre-scripted responses from a file—including streaming and tool calls—without hitting a real model, enabling fully deterministic integration tests for AI agents.

## Skills

- Python
- Javascript
- R
- Rust

## Languages

- English
- Bengali
- Hindi
