Skip to content
View SAURABHSALVE's full-sized avatar

Block or report SAURABHSALVE

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please donโ€™t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this userโ€™s behavior. Learn more about reporting abuse.

Report abuse
SAURABHSALVE/README.md

๐Ÿš€ Saurabh Salve

AI Engineer โ€ข LLM Systems โ€ข RAG โ€ข Full-Stack

Building production-grade AI systems that survive latency, cost, and unreliable model outputs

LinkedIn GitHub LeetCode Email


๐Ÿ† Open Source โ€” FastAPI Core Contributor

2 merged PRs in fastapi/fastapi โ€” 101kโญ โ€” both reviewed & merged by @tiangolo, the creator of FastAPI

๐Ÿ› #15937 โ€” Fixed a real production bug

status_code ignored on SSE / JSONL streams

SSE and JSONL streaming endpoints silently returned 200 even when a route declared a different status_code or a dependency set one on Response โ€” while the OpenAPI schema documented the correct code. Contract mismatch between docs and runtime behavior.

  • Traced it to the SSE/JSONL branches skipping the _build_response_args() path that raw StreamingResponse already used โ€” reused that logic instead of writing new code
  • Added parametrized regression tests + full OpenAPI schema snapshot testing, including a precedence test (dependency-set status overriding the declared one) added after reviewer feedback
  • Confirmed against master: 6 tests failed pre-fix, all pass after
  • Merged Jul 28, 2026 โ†’ shipped in FastAPI 0.140.13

๐Ÿ“ #15930 โ€” Closed a docs gap

Added missing API reference page for fastapi.sse

EventSourceResponse and ServerSentEvent were covered in the tutorial but had no dedicated API reference page โ€” inconsistent with every other public module (responses, websockets, templating).

  • Added docs/en/docs/reference/sse.md following the existing reference-page pattern
  • Verified the docs build cleanly and docstrings/Doc() annotations render correctly
  • Merged Jul 28, 2026, approved by maintainer @YuriiMotov and @tiangolo

Both PRs went through full maintainer review cycles โ€” test restructuring, precedence edge cases, and OpenAPI schema correctness โ€” not drive-by patches.


๐Ÿ’ญ About Me

+ I design and ship AI systems that sit between research ideas and real products
+ My focus isn't demos โ€” it's systems that don't fall apart in production

I work at the intersection of LLMs, system design, and production engineering. While others chase perfect outputs, I build systems that degrade gracefully, handle token economics, and fail predictably.

Current Focus:

  • ๐Ÿ”จ Converting large codebases into structured content pipelines
  • โšก Building agentic systems with explicit validation & retry logic
  • ๐ŸŽฏ Optimizing async backends for long-running AI workloads
  • ๐Ÿ“Š Reducing token cost & latency in multi-step LLM workflows

๐ŸŽฏ Currently Building

๐Ÿค– LLM Pipelines
Converting large codebases into structured content & video

โšก Agentic Systems
Validation, retries, and explicit failure handling

๐Ÿ”„ Async Backends
Long-running AI workloads that don't block


๐ŸŽฏ Engineering Philosophy

class AIEngineer:
    def __init__(self):
        self.focus = [
            "RAG systems that degrade gracefully under bad inputs",
            "Reducing token cost & latency in multi-step LLM workflows",
            "Clear ownership over clever abstractions",
            "Shipping > hype"
        ]

    def philosophy(self):
        return """
        Systems should fail predictably.
        Production beats perfection.
        Code quality = maintainability + readability + reliability.
        """

    def approach(self):
        return {
            "reliability": "Systems that fail predictably, not mysteriously",
            "ownership": "Clear ownership beats clever abstractions",
            "execution": "Shipping working code > endless optimization",
            "tradeoffs": "Explicit decisions documented in code & docs"
        }

๐Ÿš€ Featured Projects

๐ŸŸฃ Repo2Viral โ€” Production LLM System

Turning large GitHub repositories into usable documentation & video content

๐ŸŽฏ The Challenge
โŒ Partial context causes hallucinations in LLM outputs
โŒ Token costs explode on large repositories (100k+ LOC)
โŒ Long-running jobs can't block HTTP requests
โŒ Naive text chunking breaks code semantics
โœ… The Solution
โœ“ Code-aware chunking & retrieval (AST-based, not naive splits)
โœ“ Async FastAPI workers for long-running jobs
โœ“ Rule-based validation before surfacing LLM output
โœ“ Structured prompt templates with explicit failure modes
โœ“ Token budget management per processing step

Architecture Decisions:

  • FastAPI + Background Tasks: Decoupled long-running LLM calls from HTTP responses
  • Supabase: Managed PostgreSQL for repo metadata & job status
  • OpenAI API: GPT-4 for code understanding, GPT-3.5-turbo for content generation
  • Next.js Frontend: Server-side rendering for SEO + client-side interactivity

Tech Stack: FastAPI Next.js OpenAI API Supabase Docker Redis

Key Metrics:

  • โšก Handles repos up to 150k LOC
  • ๐Ÿ’ฐ ~60% token cost reduction via smart chunking
  • ๐ŸŽฏ <3s API response time (job queuing, not blocking)

Repo Demo


โšก Agentic AI Image Studio โ€” Latency-First Design

Multi-agent system for automated prompt refinement & output control

๐Ÿ’ก Explicit Tradeoff: Speed vs Quality

Decision: Used Latent Consistency Models (LCM) instead of standard diffusion models

Impact:

  • โœ… ~10ร— faster inference (2-4 steps vs 20-50 steps)
  • โœ… Better throughput for production use cases
  • โš ๏ธ Slight quality degradation vs SDXL/SD 2.1

Why this matters: Real products prioritize speed and reliability over perfect outputs. Users prefer fast, good-enough results to slow, perfect ones.

Implementation:

# Fast inference pipeline
pipe = DiffusionPipeline.from_pretrained(
    "SimianLuo/LCM_Dreamshaper_v7",
    scheduler=LCMScheduler()
)
# 4 steps instead of 50
images = pipe(prompt, num_inference_steps=4)
๐Ÿค– Agent Architecture

Multi-Agent Orchestration:

  1. Prompt Refinement Agent: Enhances user input using GPT-3.5
  2. Image Generation Agent: LCM-based diffusion pipeline
  3. Quality Control Agent: Rule-based + CLIP scoring validation
  4. Retry Logic: Automatic regeneration on quality threshold failure

Tech Stack: PyTorch Diffusers LangChain CLIP FastAPI

Repo


๐ŸŒฟ Plant Disease Detection API โ€” ML, Shipped Properly

Production-ready computer vision service with REST API

๐ŸŽฏ Production-First Design
โœ“ Fine-tuned ResNet50 (98% validation accuracy on PlantVillage dataset)
โœ“ Dockerized REST API with health checks & monitoring
โœ“ Designed for deployment, not just notebooks
โœ“ Input validation, error handling, and logging baked in
โœ“ <100ms inference latency on CPU

Why ResNet50?

  • Proven architecture with ImageNet pretraining
  • Excellent accuracy/speed tradeoff for deployment
  • Smaller than ResNet101 โ†’ faster inference
  • Well-supported in production frameworks (ONNX, TorchScript)
๐Ÿ“Š Model Performance
Metric Value
Validation Accuracy 98.2%
Inference Time (CPU) ~95ms
Model Size 102 MB
Classes 38 diseases

Tech Stack: PyTorch FastAPI Docker scikit-learn Pillow

API Endpoints:

  • POST /predict - Single image classification
  • POST /batch - Batch prediction
  • GET /health - Health check
  • GET /metrics - Model performance metrics

Repo


๐Ÿ›  Tech Stack & Skills

๐Ÿค– GenAI & LLMs

OpenAI LangChain Anthropic HuggingFace

Capabilities:

โ€ข RAG Pipelines & Vector Databases (Pinecone, Weaviate)
โ€ข Prompt Engineering & Orchestration
โ€ข Agentic Workflows with LangChain/LangGraph
โ€ข Fine-tuning & Model Evaluation
โ€ข Token Optimization & Cost Management

๐Ÿ Backend & APIs

Python FastAPI Node.js PostgreSQL Redis

Capabilities:

โ€ข FastAPI, Express.js, Flask
โ€ข Async/await patterns & background workers
โ€ข RESTful API design & GraphQL
โ€ข Database optimization (PostgreSQL, MongoDB)
โ€ข Caching strategies (Redis, in-memory)

๐Ÿ”ฅ Full-Stack Development

React Next.js TypeScript Tailwind

Capabilities:

โ€ข MERN Stack (MongoDB, Express, React, Node)
โ€ข Next.js (SSR, SSG, API routes)
โ€ข TypeScript for type safety
โ€ข Responsive UI with Tailwind CSS
โ€ข State management (Redux, Zustand, React Query)

โ˜๏ธ Cloud & DevOps

AWS GCP Docker Vercel

Capabilities:

โ€ข AWS: EC2, Lambda, S3, Bedrock, SageMaker
โ€ข GCP: Vertex AI, Cloud Run, Cloud Functions
โ€ข Docker & container orchestration
โ€ข CI/CD pipelines (GitHub Actions, GitLab CI)
โ€ข Infrastructure as Code (Terraform basics)

๐Ÿง  ML & Computer Vision

PyTorch TensorFlow scikit-learn

Capabilities:

โ€ข PyTorch for deep learning
โ€ข CNNs & Transfer Learning
โ€ข Model fine-tuning & optimization
โ€ข ONNX, TorchScript for deployment
โ€ข MLOps: experiment tracking, model versioning

๐Ÿ—„๏ธ Databases & Storage

PostgreSQL MongoDB Supabase Pinecone

Capabilities:

โ€ข Relational: PostgreSQL, MySQL
โ€ข NoSQL: MongoDB, DynamoDB
โ€ข Vector DBs: Pinecone, Weaviate, ChromaDB
โ€ข ORMs: SQLAlchemy, Prisma, Mongoose

๐ŸŽจ Additional Tools

Git Linux Postman Jupyter


๐Ÿ“Š GitHub Stats & Activity

GitHub Stats

GitHub Streak

Top Languages


๐Ÿ† Problem-Solving & Competitive Programming

90+ LeetCode Problems Solved ๐ŸŽฏ

LeetCode Stats

Focus Areas:

  • ๐ŸŒณ Data Structures: Arrays, Trees, Graphs, Hash Tables
  • ๐Ÿงฎ Algorithms: Dynamic Programming, Greedy, DFS/BFS
  • ๐ŸŽฏ System Design: Scalability, Caching, Load Balancing
  • โšก Optimization: Time/Space complexity analysis

๐Ÿ’ผ Professional Experience

๐Ÿ”ต IBM SkillsBuild

Data Science Intern | Remote

Key Achievements:

โœ“ Built churn prediction pipeline 
  processing 100k+ customer records
  
โœ“ Automated reporting dashboards
  โ†’ ~40% reduction in manual 
  analysis time
  
โœ“ Implemented feature engineering
  pipeline with 15+ predictive 
  features
  
โœ“ Collaborated with cross-functional
  teams on model deployment

Tech Stack:
Python pandas scikit-learn SQL Tableau

๐ŸŸ  AWS

Cloud Computing Intern | Remote

Key Achievements:

โœ“ Containerized applications on EC2
  with auto-scaling configurations
  
โœ“ Built serverless ETL pipelines
  handling 10k+ daily events
  
โœ“ Optimized Lambda functions
  โ†’ 30% cost reduction
  
โœ“ Implemented CloudWatch monitoring
  & alerting systems

Tech Stack:
AWS (EC2, Lambda, S3) Docker Python CloudFormation


๐ŸŽ“ Education & Certifications

๐ŸŽ“ Education

Bachelor of Engineering in Computer Science
Your University Name | Expected Graduation: 2025

Relevant Coursework:

  • Data Structures & Algorithms
  • Machine Learning & Deep Learning
  • Cloud Computing & Distributed Systems
  • Database Management Systems
  • Operating Systems & Computer Networks

๐Ÿ“œ Certifications

  • โ˜๏ธ AWS Certified
    Cloud Practitioner

  • ๐Ÿค– IBM Data Science
    Professional Certificate

  • ๐Ÿ Python for Data Science
    Coursera / IBM


๐Ÿ’ก Core Principles

Principle What It Means
๐ŸŽฏ Reliability First Systems should fail predictably, not mysteriously
๐Ÿ—๏ธ Ownership > Cleverness Clear, maintainable code beats smart abstractions
๐Ÿš€ Shipping > Perfection Working code in production > perfect code in development
๐Ÿ“Š Data-Driven Decisions Measure everything, optimize what matters
๐Ÿ”ง Pragmatic Engineering Choose the right tool for the job, not the coolest one

๐Ÿ“ Latest Blog Posts

โžก๏ธ Read more on my blog


๐Ÿ“ซ Let's Connect

Building something interesting? Let's talk about systems that work in production.

I'm always interested in discussing:

  • ๐Ÿค– Production LLM systems & RAG pipelines
  • โšก Optimization strategies for AI workloads
  • ๐Ÿ”ง System design & architecture decisions
  • ๐Ÿš€ Collaborative projects & open-source contributions

LinkedIn GitHub LeetCode Email Portfolio


๐Ÿ’ฌ "Talk is cheap. Show me the code." โ€” Linus Torvalds

๐ŸŽฏ Systems Engineer โ€ข Not a Demo Builder

Focused on what survives production, not what looks good in slides.

Profile Views

โญ๏ธ From SAURABHSALVE | Built with ๐Ÿ’œ and lots of โ˜•

Pinned Loading

  1. Q-A-CHATBOT Q-A-CHATBOT Public

    Python 1 1

  2. genai-artisans genai-artisans Public

    JavaScript

  3. image-generation image-generation Public

    Python 1

  4. repo2viral repo2viral Public

    TypeScript 1

  5. shopkeeper-kg shopkeeper-kg Public

    Python 1

  6. plant-disease-detection plant-disease-detection Public

    CSS 1