# Chetan Chandane — Portfolio Knowledge Base --- ## Profile - **Name:** Chetan Chandane - **Title:** AI Engineer | Full Stack - **Focus:** Building production GenAI and agentic AI systems (LLMs, RAG, multi-agent workflows) and shipping them as full-stack cloud products. - **Education / School:** Rochester Institute of Technology (RIT), MS Computer Science - **Links:** GitHub (https://github.com/chetanchandane), LinkedIn (https://www.linkedin.com/in/chetanchandane/), Medium (https://medium.com/@chetanchandane013), Email address (chetan.chandane2026@gmail.com) ## Relevant Coursework - Artificial Intelligence - Intro to Machine Learning - Computer Vision - Intro to Big Data - Database Implementation - Data Structures and Algorithms - Advanced Object-Oriented Programming with Java - Problem Solving with Python ## Career History ### Full Stack Engineer Intern — Excellus Blue Cross Blue Shield (Sept 2025 – May 2026) - Frontend Development, Backend Development - **Stack at Excellus:** Angular, ASP.NET, Azure ### Machine Learning Engineer — Rochester Institute of Technology (Dec 2024 – July 2025) - Machine Learning, Data Analysis, Predictive Modeling ### Software Engineer — Vodafone Intelligent Solutions, Pune, India (Oct 2020 – Jun 2023) - Engineered enterprise automation platform integrating ServiceNow with internal ITSM systems via REST APIs, webhooks, and event-driven architecture, eliminating 30% of manual workflows and processing 5,000+ incident/change requests monthly across global operations. - Built and maintained CI/CD infrastructure using Jenkins, Git, and Maven for 15+ microservices, achieving 25% faster deployments and 99.5% build success rate through automated testing and standardized release pipelines. - Designed ELK Stack observability solution with custom dashboards and automated alerting for SLA compliance, reducing mean time to resolution (MTTR) by 15% and preventing 50+ production incidents through proactive monitoring. - **Tech:** AWS, DevOps Engineering, CI/CD Pipelines, Automation, ServiceNow, Jenkins, Maven, ELK Stack ## Expertise Areas ### Full Stack Web Development - End-to-end web applications: Angular, .NET APIs, responsive UIs - Tech: React, Angular, ASP.NET, Node.js, TypeScript, JavaScript, HTML5, CSS3, SASS, Flask, Python, SQL, PostgreSQL, Postman, Java, C# ### DevOps & Automation - CI/CD, automated testing, containerized deployments - Tech: Git, GitHub Actions, Docker, Terraform, AWS, Azure, Azure DevOps, Linux, Pandas ### GenAI, LLM & Agentic AI - Production RAG (HyDE, hybrid BM25/dense retrieval, RRF fusion, cross-encoder reranking), multi-agent/agentic systems, MCP tool layers, LLM-powered automation. - Rigorous LLM evaluation and observability: Ragas metrics (Faithfulness, Answer Relevancy, Context Precision/Recall), LLM-as-judge, LangSmith tracing, CI quality gates. - Tech: Anthropic Claude, OpenAI, Google Gemini, LangChain, LangGraph, LangSmith, Ragas, Cohere Rerank, Qdrant, ChromaDB, Pinecone, Groq, Hugging Face, FastAPI, Streamlit ### Databases - Postgres, MySQL, MongoDB, Supabase, AWS DynamoDB, Azure Cosmos DB - Vector Databases: ChromaDB, Pinecone ### Certifications - AWS Certified Cloud Practitioner - AWS Certified Solutions Architect - Associate ### Algorithms & Data Structures - Regular LeetCode practice across core patterns and structures. - **Topics:** arrays, lists, linked lists, trees, heaps, intervals, binary search, sorting, and more. - Strong foundation in problem-solving and algorithmic thinking. ## Personal Projects ## Projects ### 🍎 Cloud Native (AWS) AI-powered Nutrition Assistant **Aliases:** Nutri AI, AWS Nutrition Assistant, Cloud-native nutrition assistant **Repo:** https://github.com/chetanchandane/cloud-native-aws-application **Stack / Skills:** React + Amplify, AWS Lambda (Node.js), API Gateway, S3 (pre-signed uploads + CORS), DynamoDB, Cognito, OCR (AWS Rekognition + Textract), LLM integration (GPT-4o Turbo), Terraform (modular IaC), GitHub Actions CI/CD **What it is (idea):** - AI-powered **serverless** app that lets users upload food images and receive **nutrition insights** + **personalized dietary recommendations**. **How I did it (implementation):** - Built a web upload flow using **pre-signed S3 URLs** and a serverless backend. - Implemented OCR using **Rekognition + Textract**, then used **GPT-4o Turbo** to generate personalized diet recommendations. - Stored meal logs/results in **DynamoDB** and exposed them through REST endpoints. - Automated infra provisioning and deployment using **Terraform modules** + **GitHub Actions** (input-driven apply/destroy). **Key APIs / flow:** - `GET /upload-url` → returns pre-signed S3 URL for upload - `POST /process-image` → triggers OCR + GPT processing + stores output in DynamoDB - `GET /result/{image_key}` → fetches nutrition insights - `GET /meal-logs?date=YYYY-MM-DD&user_id=` → retrieves user meal logs **RAG-friendly Q&A anchors (what to ask me):** - “How did you design the S3 upload flow?” → pre-signed URL + CORS + serverless pipeline - “What was your OCR approach?” → Rekognition/Textract → LLM reasoning - “How did you handle infrastructure and CI/CD?” → Terraform modules + GitHub Actions workflow_dispatch --- ### 🔒 rag-data-plane: Multi-Tenant RAG on AWS (work in progress) - **Repo:** https://github.com/chetanchandane/rag-data-plane - **Status:** Work in progress. Slice 1 (ingestion) is complete; Slice 2 (query path and isolation) is largely built, with the leak matrix running in CI. Resilience (timeouts, fallbacks, circuit breakers, cache) and scale evidence (k6 load tests, SLO dashboard) are still to come. - **What it is:** The data plane for a planned rag-control-plane: a domain-agnostic, multi-tenant RAG ingestion and retrieval API on AWS, built to show failure handling, enforced tenant isolation, and measured quality for under $30 a month. - **Isolation:** Tenant and role isolation is enforced by Postgres row-level security, not application code. Tenant IDs in request bodies are ignored; identity comes from verified JWT claims. - **Leak matrix:** Every eval question (150 answerable, 30 unanswerable, 10 extraction attempts) is asked as six personas (2 tenants x 3 role levels). Every returned chunk is checked structurally against committed manifests and for canary tokens from other tenants or higher roles. Each persona must also retrieve every canary it is allowed to see, so an empty result cannot pass. Latest run: 1,140 requests, 0 leaks. Any leak fails the CI build. - **Ingestion:** Presigned S3 uploads with checksum validation, SQS with a dead-letter queue, idempotent Lambda workers, versioned chunks with an atomic active-version flip, and OpenTelemetry traces for parse, chunk, and embed. - **Retrieval:** Hybrid search in a single SQL query (pgvector plus full-text, fused with RRF), then reranking, abstention, and citation validation on the query endpoint. - **Infra:** Terraform for every AWS resource, GitHub OIDC deploys with no long-lived keys, Neon Postgres with pgvector. - **Tech:** Python, FastAPI, Mangum, AWS Lambda, S3, SQS, API Gateway, Neon Postgres, pgvector, asyncpg, Terraform, OpenTelemetry, GitHub Actions ### 🚦 agent-gate: Regression Gate for LLM Agents - **Repo:** https://github.com/chetanchandane/agent-gate - **What it is:** A regression gate for changes to an LLM agent's behavior. Agent changes must earn acceptance through evidence. The agent under test is a fictional home-services booking and dispatch assistant (HVAC, plumbing, electrical) built with LangGraph; its behavior lives in versioned plain-text policy files, the only thing that changes between versions. - **How it works:** An improver LLM proposes edits to the policy files. A deterministic gate accepts an edit only if it passes four rules: R1 dev pass rate improves by a minimum gain, R2 no confirmed regression on a protected safeguard set, R3 holdout pass rate holds within tolerance (the improver never sees the holdout set), and R4 mean cost and p95 latency stay within budget. - **Adversarial testing:** Three deliberately bad policies written by hand (always book the earliest slot, treat any mention of water as an emergency, and drop the safety guardrails) go through the exact same gate to prove it rejects bad edits. - **Results (one live run, numbers vary between runs):** Dev pass rate 80% to 94%, safeguard 83% to 100%, holdout held at about 95%. Emergency category 66% to 100%, multi-issue 25% to 100%. Six candidates rejected, including all three adversarial policies. - **Engineering:** Run cache, hard spend cap, OpenTelemetry tracing, static HTML report, offline test suite (ruff, mypy, pytest), and a GitHub Actions workflow that gates every policy pull request and posts the R1 to R4 decision table as a PR comment. - **Tech:** Python, LangGraph, Anthropic Claude, OpenTelemetry, pytest, mypy, ruff, uv, GitHub Actions ### 🏥 TriageAI — Agentic Clinical Triage System (RIT Master's Capstone) **Status:** Completed. **Aliases:** Agentic Patient Portal, AI triage portal, multi-agent triage system, clinical triage agent **Repo:** https://github.com/chetanchandane/TriageAI **Stack / Skills:** LangGraph (cyclic agentic state machine, HITL interrupt/resume, SqliteSaver persistence), Gemini 2.5 Pro (reasoning/tool calling/vision), MCP (Model Context Protocol tool layer), ChromaDB (policy RAG), Supabase/PostgreSQL (auth + profiles + RLS), LangSmith (observability), Streamlit (patient chat + staff dashboard), Resend (email), Pydantic schemas **What it is (idea):** - Autonomous **multi-agent AI system** that triages free-text **patient portal messages** with clinical-grade safety, grounding every decision in **patient history** and **hospital policy** before a human reviews it. - Emulates a triage nurse's investigative workflow: it reads the message, retrieves history and policy via MCP tools, asks follow-up questions when info is missing, then produces a structured assessment. **Results / impact (quantified):** - **100% Safety Recall** across 159 safety-screened messages — zero missed emergencies (no false negatives). - **84% reduction in false positives** vs a keyword baseline, solving alert fatigue without sacrificing recall. - **93.1% precision** on the adversarial set; caught **27/27 adversarial traps** (silent strokes, atypical MIs, CO poisoning with no keywords). - **100% urgency ±1 accuracy** and **90% exact urgency match** on the tricky-message run; consistent failure mode is safe over-escalation by one level, never under-escalation. - Load-tested over **640 LangGraph runs**, ~**1.63M tokens (~$3.16)**, median reasoning depth **4,730 tokens/message**, **P50 latency 10.18s**, traced end-to-end in LangSmith. **How I did it (implementation):** - Built a **cyclic LangGraph state machine**: Safety Gate → agentic reasoning loop (tool calls + checklist) → synthesis → policy-grounded draft reply → human-in-the-loop staff review → email delivery. - Exposed tools via **MCP** (`get_patient_history`, `search_hospital_policy` (ChromaDB RAG), `get_available_slots`) so data sources (e.g. swapping Supabase for an HL7 FHIR/EHR endpoint) can change without touching agent logic. - Implemented **human-in-the-loop** using LangGraph `interrupt()` for NORMAL/HIGH/EMERGENCY messages; state persisted via `SqliteSaver` so a paused workflow survives server restarts. - Built **Streamlit** UIs (patient streaming chat + staff dashboard with pending approvals) and structured Pydantic outputs (`SafetyResult`, `TriageResult`). **RAG-friendly Q&A anchors:** - “How is it agentic?” → cyclic LangGraph state machine with tool-calling loop + checklist gate - “How is it safe?” → 100% safety recall, 84% fewer false positives, over-escalates rather than under-escalates - “Why MCP?” → decoupled tool layer so EHR/data sources swap without changing agent logic - “What did the load test show?” → 640 runs, ~1.63M tokens, P50 10.18s, fully traced in LangSmith --- ### 🧪 Clinical Trial Compliance RAG — Production RAG over FDA/ICH Regulations **Status:** Completed / deployed. **Aliases:** Clinical Trial RAG, Compliance RAG, FDA/ICH RAG, regulatory RAG, clinical-trial-compliance-rag **Repo:** https://github.com/chetanchandane/rag **Stack / Skills:** FastAPI + Uvicorn, Anthropic Claude (generation `claude-sonnet-4-6`, HyDE drafting, Haiku as eval judge), OpenAI `text-embedding-3-small` (dense) + fastembed BM25 (sparse), HyDE query expansion, RRF fusion (k=60), Cohere `rerank-english-v3.0` cross-encoder, Qdrant Cloud (hybrid collection), LangSmith (per-stage tracing), Ragas 0.4 (eval), GitHub Actions (CI quality gate), Docker + Render, vanilla JS/CSS UI **What it is (idea):** - Production-grade **Retrieval-Augmented Generation** system for querying **FDA and ICH clinical-trial regulatory documents**. Ask compliance questions in plain English and get grounded, **fully source-cited** answers (document + page) — built for an accuracy-critical domain where hallucinations carry real regulatory and patient-safety risk. **Results / impact (quantified, 294-question golden eval set):** - **79% Faithfulness** and **75% Answer Relevancy** (Ragas) with full source citations. - Advanced retrieval lifted **Context Precision +37%** (0.59 → 0.80) and **Context Recall +24%** (0.72 → 0.89) over a dense-only baseline. - End-to-end latency: **median 15.2s**, p95 18.9s; retrieval (embed + hybrid search + rerank) totals under **1s** — generation and HyDE dominate. - **GitHub Actions CI gate** blocks any PR that regresses below thresholds (Faithfulness ≥0.70, Relevancy ≥0.70, Precision ≥0.60, Recall ≥0.60). **How I did it (implementation):** - Retrieval pipeline: **HyDE** (Claude drafts a hypothetical regulatory passage) → **hybrid search** (OpenAI dense + BM25 sparse, top-20 each, concurrent against Qdrant) → **RRF fusion** (k=60) → **Cohere cross-encoder rerank** (20 → 5). - Generation: **Claude** answers strictly from retrieved context with inline citations. - Observability: every stage (`embed_query`, `hybrid_search`, `rerank`, `generate`) auto-traced to LangSmith with latency and token counts. - Evaluation: automated **Ragas** harness (4 metrics, LLM-as-judge) generating a synthetic golden dataset and logging LangSmith Experiments, wired into CI; deployed on Docker + Render. **RAG-friendly Q&A anchors:** - “How does the retrieval pipeline work?” → HyDE → hybrid BM25/dense → RRF fusion → Cohere rerank (20→5) - “How did you measure quality?” → Ragas 4 metrics on a 294-question golden set, +37% precision / +24% recall over dense baseline - “How do you prevent regressions?” → GitHub Actions CI gate on Ragas thresholds, full LangSmith tracing - “Why is it safe for compliance?” → strictly grounded, fully source-cited answers (document + page) --- ### ✍️ Github2Blog — Repo → Dev.to Blog (LangGraph + OpenAI) **Aliases:** Git2Blog, GitHub-to-blog agent, Dev.to auto publisher **Stack / Skills:** Python, FastAPI, LangGraph, LangChain, OpenAI, PyGithub (GitHub API), Dev.to API, Uvicorn, dotenv **What it is (idea):** - Agentic workflow that takes a **GitHub repository URL**, analyzes the repo, generates a **technical blog post (Markdown)**, and **publishes to Dev.to**. **How I did it (implementation):** - Designed a LangGraph pipeline with explicit nodes: 1) Orchestrator (initial state) 2) `code_retriever` (fetch + classify top-level repo files) 3) `metadata_parser` (stars/forks/language/description/updated_at) 4) `component_summarizer` (LLM summaries using file snippets) 5) `blog_generator` (full Markdown post) 6) `publisher` (publishes Markdown to Dev.to via API) - Configured the workflow via `.env` using GitHub token, OpenAI key, and Dev.to API key. - Ran via a `__main__` block containing a list of target repos. **RAG-friendly Q&A anchors:** - “How does it analyze a repo?” → GitHub API + file classification + summarization - “What’s the pipeline?” → orchestrator → retrieve → metadata → summarize → generate → publish - “How does publishing work?” → Dev.to API with final Markdown payload --- ### 🔐 Secure Infrastructure Automation (Bash + Ansible + Terraform + Mock Vault) **Aliases:** secure-infra-automation, one-command infra provisioning, mock CyberArk vault demo **Stack / Skills:** Terraform (AWS EC2 + Security Groups), Ansible (Apache setup, user creation, secret injection), Flask mock vault API (CyberArk simulation), Bash orchestration (`provision.sh`), secure secret handling (permissions), AWS EC2 **What it is (idea):** - Fully automated provisioning + configuration + **secure secret injection** into a cloud VM, executed via a **single command**. **How I did it (implementation):** - Terraform provisions an **EC2 instance** and security groups. - A local Flask service acts as a mock vault, simulating CyberArk secret retrieval. - Ansible configures the instance: - installs Apache - creates a `devops` user - injects secrets onto the instance - Secrets are stored at `/etc/app/secrets.env` with strict permissions (`0600`). - All logs captured (e.g., `logs/provision.log`) to support debugging and traceability. **RAG-friendly Q&A anchors:** - “How did you handle secrets?” → token-protected mock vault API + Ansible injection + strict file perms - “Whats one-command deployment?” → `cd scripts && ./provision.sh` - “How do you verify it worked?” → SSH → check Apache, check secrets, check `devops` user --- ### 🧩 WebApp Clone — Backend (Auth + File Uploads) **Aliases:** backend-project-nodejs, Express auth backend, Cloudinary upload API **Repo:** https://github.com/chetanchandane/backend-project-nodejs **Stack / Skills:** Node.js, Express, MongoDB, Mongoose, JWT auth, bcrypt hashing, Multer uploads, Cloudinary storage, CORS, dotenv, Nodemon **What it is (idea):** - Backend for a web application providing: - user authentication (JWT + bcrypt) - file uploads (Multer → Cloudinary) - MongoDB persistence **How I did it (implementation):** - Implemented secure login/registration using JWT tokens + password hashing (bcrypt). - Built file upload pipeline using Multer middleware and Cloudinary as storage. - Structured persistence via Mongoose models and environment-driven configuration. **RAG-friendly Q&A anchors:** - “How does auth work?” → JWT + bcrypt + MongoDB - “How do file uploads work?” → Multer middleware → Cloudinary upload - “How is the app configured?” → `.env` vars (Mongo URI, token secrets, Cloudinary keys) --- ### ✅ Spring Boot Todo Application (JSP + Bootstrap) **Aliases:** springboot-todo-webapp, JSP Todo app **Repo:** https://github.com/chetanchandane/springboot-todo-webapp **Stack / Skills:** Java, Spring Boot, Spring MVC, JSP, Bootstrap + jQuery (WebJars), Maven, validation, embedded Tomcat/Jasper/JSTL **What it is (idea):** - Todo app with CRUD operations (add/update/delete/view) and a server-rendered JSP UI. **How I did it (implementation):** - Built domain + controller + service layers (Todo model, controller, service). - Implemented input validation using Spring Boot Validation. - Used a static list as storage (not DB yet; DB integration is a noted future enhancement). - Exposed RESTful endpoints and JSP pages for listing/adding/updating todos. **Endpoints (from README):** - `GET /api/v1/list-todos` → display all todos - `GET /api/v1/add-todo` → render add todo page - `POST /api/v1/add-todo` → add new todo - `GET /api/v1/update-todo` → render update page - `POST /api/v1/delete-todo` → delete todo by id --- ### 💬 Ask Chetan — Portfolio AI Chatbot **Aliases:** Ask Chetan, portfolio chatbot, Digital Twin, ChetanAI, portfolio chat **Live:** https://chetanchandane.vercel.app **Stack / Skills:** React, TypeScript, SCSS, MUI (Material-UI) icons, react-markdown, sessionStorage, Vercel serverless functions (Node.js), Express (local dev), Anthropic Claude Haiku (@anthropic-ai/sdk), context-injection / RAG-lite (no vector DB), dotenv **What it is (idea):** - AI chatbot embedded in my portfolio that answers visitor questions in **first person** (as me), using only a curated **knowledge base** — no hallucination. Visitors can ask about my background, experience, projects, or tech stack; the bot responds in a fun, professional tone with optional emojis. **How I did it (implementation):** - **Frontend:** Chat UI (ChatTab) with message bubbles, typing indicator, quick-question buttons, Clear chat, and social links (LinkedIn, GitHub, Medium, Gmail). Messages and chat history persisted in **sessionStorage** so they survive tab switches. Markdown rendering for assistant replies via react-markdown. Placed the chat section right below the hero so visitors see it immediately. - **Backend:** Vercel serverless `api/chat.js` that validates input (roles, message count/size caps), injects a system prompt + full knowledge base into each request (prompt-caching friendly), and calls **Anthropic Claude Haiku** (`@anthropic-ai/sdk`) with low temperature. Strict fallback message when the answer isn’t in the KB. For local dev, added an **Express** server (`api-server.js`) that mounts the same handler and runs on port 3001, with Create React App proxy so `/api/chat` works. - **Knowledge base:** Single `knowledgeBase.js` (Markdown string) as the single source of truth; no vector DB — “RAG-lite” context injection. Prompt instructs the model to answer only from the KB and to respond in first person with a mentor-like tone. **Problems we ran into and how we solved them:** - **Backend not available locally:** With only `npm start`, the React app ran but `/api/chat` didn’t exist (no serverless on CRA). We added a small Express server (`npm run api`) and a `proxy` in `package.json` so the frontend forwards `/api/chat` to localhost:3001. - **Grounding the model on the knowledge base:** Early on the model replied as if it had no context. I send the full knowledge base as the `system` prompt on every request and keep temperature low, so the assistant answers only from the KB and falls back to a fixed message when something isn't covered. - **Chat window scrolling off-screen on send:** `scrollIntoView` on the messages end was scrolling the **whole page**, pushing the chat section out of view. We switched to scrolling only the messages container: `listRef.current.scrollTop = listRef.current.scrollHeight`. - **Social/action button colors disappearing in light mode:** A generic `.light-mode .chat-social-link` rule was applied after the branded overrides (LinkedIn blue, GitHub black, Gmail red), so it overwrote them. We reordered the CSS so the branded modifier classes (e.g. `--linkedin`, `--gmail`) come **after** the base light-mode rule and retain their colors. - **ANTHROPIC_API_KEY not loaded for local API:** The Create React App dev server doesn’t run the API; the separate Node process didn’t load `.env`. We added `dotenv` and `require('dotenv').config()` at the top of `api-server.js` so the key is loaded when running `npm run api`. - **Raw errors (e.g. 503) shown to users:** We replaced all API-failure UI with a single in-chat assistant message (e.g. “Something went wrong on the backend, my human self has been notified, please email me”) and log the real error to the console for debugging. **RAG-friendly Q&A anchors (what to ask me):** - “Tell me about your portfolio chatbot” / “Ask Chetan” → RAG-lite, Anthropic Claude Haiku, first-person, sessionStorage, Vercel serverless - “What problems did you hit building the chatbot?” → grounding the model on the KB via the system prompt, scrollIntoView vs container scroll, light-mode CSS order, dotenv for local API, generic error message in UI - “What’s the tech stack for Ask Chetan?” → React, TypeScript, SCSS, MUI, react-markdown, Vercel serverless, Express (local), Anthropic Claude Haiku, knowledgeBase.js, no vector DB --- ## Additional Projects (brief) - **Clinical Trial Compliance RAG:** Production RAG over FDA/ICH regulations with fully source-cited answers; 79% Faithfulness / 75% Answer Relevancy (Ragas), +37% Context Precision and +24% Context Recall via HyDE + hybrid BM25/dense + RRF + Cohere reranking. FastAPI, Qdrant, Claude, GitHub Actions CI gate. Repo: https://github.com/chetanchandane/rag - **Triage AI:** Completed multi-agent (cyclic LangGraph) clinical triage system; 100% safety recall and 84% fewer false positives vs keyword baseline, MCP tools + ChromaDB policy RAG + human-in-the-loop, traced over 640 runs in LangSmith. Repo: https://github.com/chetanchandane/TriageAI - **Nutri AI:** Serverless nutrition platform; analyzes food images and calculates nutrients using React, AWS, and GPT-4o. - **Git2Blog Agentic AI:** LangGraph pipeline that analyzes GitHub repos, generates technical blog posts with AI, and publishes to DEV.to. - **AWS Containerized Blog:** Containerized WordPress + MySQL with Docker; deployment via AWS ECR. - **AWS SecureOps:** End-to-end infrastructure automation (Ansible, Bash, Terraform). - **Deep Learning Image Synthesis (ML):** VGG19-based Neural Style Transfer with PyTorch. - **California Housing: KDD Analytics Pipeline (ML):** KDD process, DBSCAN/LOF, regression modeling. --- Source: https://chetanchandane.com (last updated 2026-11-23)