Skip to content
View Kpraful's full-sized avatar
๐ŸŽฏ
Focusing
๐ŸŽฏ
Focusing

Block or report Kpraful

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.

Content in all repositories owned by your account will be closed.
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
Kpraful/README.md

Hey, I'm Praful ๐Ÿ‘‹

I build LLM systems that survive production.

praful = {
    "role":      "AI Software Engineer @ BCG X",
    "based_in":  "Delhi NCR, India",
    "years":     4,
    "building":  ["agent harnesses", "RAG that cites", "multi-tenant platforms"],
    "stack":     ["Python", "FastAPI", "Azure", "Postgres", "pgvector"],
    "belief":    "an agent that fails loudly beats an agent that guesses quietly",
    "debugging": "why it called the same tool six times",
}

Python FastAPI Azure Kubernetes PostgreSQL LangChain


๐Ÿง  What I actually build

Four things I have shipped to real tenants. Click any of them if you want the guts.

๐Ÿ”Œ Agentic AI, and a 39-tool MCP server

Built the natural-language layer of an enterprise platform: a 39-tool MCP server on FastMCP, exposing internal tools and data to LLM agents over Claude and Gemini.

  • Tenant resolved from the authenticated Okta identity, never from caller input. 403 invariant on every cross-tenant request, with a security suite that proves it.
  • Patched the tool decorator once so all 39 tools auto-wrap with error boundaries, correlation IDs and structured audit logs. Zero per-tool boilerplate.
  • Guardrails that forbid the model from stating any number a tool did not return. No fine-tuning, no hallucinated market figures.
  • Hand-rolled agent control loop: bounded 6-step tool calling, explicit stopping criterion, exceptions fed back as tool messages so the model recovers instead of crashing.
๐Ÿ” Retrieval that holds up under questioning
  • Hybrid search fusing pgvector semantic retrieval with Postgres full-text via Reciprocal Rank Fusion, configurable 70/30 weighting plus document-type weighting.
  • Multi-query expansion, token-by-token streaming, conversation memory, page-level citation extraction, all inside a 128K token budget.
  • Document-type-aware recursive chunking with sentence-window and metadata enrichment into 1536-dimension embeddings.
  • A vision path for presentations, then hierarchical DBSCAN clustering of embeddings into trend clusters with LLM-written summaries.
โš™๏ธ LLM-Ops, the unglamorous half
  • Per-tenant multi-provider routing across OpenAI, Azure OpenAI and Gemini, with time-to-first-token fallback that re-routes mid-stream, a circuit breaker, and per-user and per-tenant inflight limits.
  • 165+ versioned prompts resolved per-tenant-override then common-default, cached in Redis with hot reload, so subject-matter experts ship prompt changes without a redeploy.
  • Every call traced in LangSmith and correlated into Datadog APM, with tiktoken cost accounting and per-provider context-window management.
  • An LLM benchmarking harness scoring models on five quality dimensions plus latency, TTFT, throughput and cost, used to actually pick models.
๐Ÿ—๏ธ The platform underneath all of it
  • Multi-tenant Azure self-service platform: app architecture, networking, Kubernetes, Container Apps Jobs. 10+ tenants, 10,000+ users.
  • Per-tenant database isolation with encrypted connection strings, lazily created and dynamically budgeted pools, and ContextVar tenant propagation across async tasks. New tenants need no restart.
  • Okta OIDC with spoof-proof group-to-tenant mapping, role-based endpoint guards, and JWT auto-refresh that never forces a re-login.
  • Terraform: six reusable Azure modules standing up an isolated subscription per client, VNet, database and storage included, in about 30 minutes.

๐Ÿ“Š Receipts

Numbers I can defend in an interview.

What I built What it moved
๐Ÿข Multi-tenant Azure platform 10+ tenants, 10,000+ users, up to 5 clients per server
โšก Onboarding automation 7-10 days โžœ 1-2 hours, and 6-month infra cost per client from $6,000 โžœ $1,200-$2,000
๐Ÿ“„ Event-driven RAG pipeline 50-100 docs per client, turnaround from weeks โžœ hours
๐Ÿฉบ LLM upload diagnostics agent Catches ~90% of errors pre-processing, debugging days โžœ minutes, answers in under 90s
๐ŸŽฏ GenAI synthetic survey panel Redesigned probabilistic aggregation, prediction error 47pt โžœ 10pt vs real respondents
๐Ÿงฎ Synthetic panel modeling core Seeded k-means++ over 54-dim vectors, ~6,000 respondents โžœ ~250-300 prototypes, ~20x cheaper per question
๐Ÿ˜ Backend perf work (Infosys) Query optimization and pooling, latency down up to 30%

๐Ÿงฐ Toolbox

GenAI and LLM

OpenAI Anthropic MCP LangChain RAG Agents

Backend

Python FastAPI Flask Django Node.js

Cloud and DevOps

Azure Docker Kubernetes Helm Terraform GitHub Actions

Data

PostgreSQL pgvector MongoDB Redis Snowflake pandas NumPy

Frontend

React TypeScript Vite Redux


๐Ÿ… Badges that came with an exam

  • ๐ŸŽ–๏ธ Microsoft Certified: Azure Administrator Associate (AZ-104) and Azure Fundamentals (AZ-900)
  • ๐Ÿ‡ฎ๐Ÿ‡ณ National Finalist, Smart India Hackathon 2020
  • ๐Ÿงฉ Top 27% on LeetCode, 300+ problems solved
  • ๐ŸŽ“ B.E. Computer Engineering, Bharati Vidyapeeth College of Engineering, Pune. CGPA 8.63

โ˜• Off the clock

  • ๐Ÿ”ฌ Reading eval papers, then arguing with the benchmark
  • ๐Ÿ—๏ธ Rebuilding things that already work, but slower and with more logging
  • ๐Ÿง  Convinced that most "the model is bad" bugs are actually retrieval bugs
  • ๐Ÿ† Recovering hackathon person, still gets the itch every October

๐Ÿ“ซ Find me

LinkedIn Email

Always up for a conversation about agent infrastructure, retrieval, or why your LLM pipeline is slow. ๐Ÿš€

Popular repositories Loading

  1. material-ui material-ui Public

    Forked from mui/material-ui

    React components for faster and easier web development. Build your own design system, or start with Material Design.

    JavaScript

  2. git-test git-test Public

    This is just for test

    Python

  3. it-cert-automation-practice it-cert-automation-practice Public

    Forked from google/it-cert-automation-practice

    Google IT Automation with Python Professional Certificate - Practice files

    Python

  4. Cpp Cpp Public

    C++

  5. Scilab6-Test-Toolbox Scilab6-Test-Toolbox Public

    Forked from FOSSEE/Scilab6-Test-Toolbox

    Scilab

  6. painlessMesh painlessMesh Public

    Forked from gmag11/painlessMesh

    ESP8266 based mesh. This is a mirror copy of https://gitlab.com/painlessMesh/painlessMesh PLEASE ADD COMMENTS, ISSUES and PULL REQUESTS ON GITLAB so that all information is centralized.

    C++