Post image

“I’ve worked with Postgres, Snowflake, and AWS in my professional environment, but for building a side project, I wanted something easier to set up. It hardly took me 10 minutes to understand how to link Neon with my application and how to make my ML workflows connect to it”

(Deepti Bahel, Data Engineer and creator of NephroCompass)

The most interesting projects on Neon’s Free Plan always start as personal side projects that developers build to solve a problem they’ve lived themselves.  NephroCompass is one of the most touching ones: an open-source clinical decision support tool built by a data engineer to help detect Chronic Kidney Disease (CKD) risk earlier.

How NephroCompass Began: Making Kidney Disease Risk Visible 

NephroCompass didn’t start as a startup idea. Unfortunately, it began with a life-changing medical event. A few years ago, its creator Deepti Bahel went from feeling healthy to becoming a sudden kidney transplant patient, with “no clear explanation” for why her kidneys had failed. There were no dramatic symptoms, no early warning signs, just a silent decline that ended in emergency surgery and a lifetime of follow-ups.

As she navigated dialysis, transplant recovery, and a routine of constant lab work, one question stayed with her: Why did no one catch this earlier? 

As a data engineer, she saw a gap that felt both technical and personal. Early signals do exist in routine lab results (markers like GFR, ACR, hemoglobin, creatinine) but patients and clinicians often don’t have tools that interpret those values proactively.

That question eventually turned into a hackathon project. Deepti brought together her medical experience, a CKD dataset shared by a collaborator at Stanford University, and the data science tools she uses every day. 

And NephroCompass was born.

Post image

NephroCompass is an end-to-end clinical decision support tool that combines several layers of intelligence:

  • Predictive modeling. It uses XGBoost, random forest, and logistic regression models trained on a curated CKD dataset. Each model returns a probability score, e.g. a 0.985 likelihood of CKD for a given set of lab values.
  • Explainable AI (SHAP). SHAP (Shapley Additive Explanations) is a method based on cooperative game theory that explains how much each feature contributes to a model’s prediction. NephroCompass uses SHAP to show why a model flagged someone as high-risk (e.g. elevated creatinine, low GFR, high ACR, or other contributing factors). Each prediction is paired with these feature attributions so clinicians and researchers can get transparency into the model’s reasoning.
  • LLM-powered guidance. An integrated agent uses the stored results to generate red flags, follow-up steps, and high-level lifestyle suggestions, always paired with clear disclaimers.
  • Historical tracking. Lab inputs, model predictions, and usage logs are stored behind the scenes, enabling model retraining and ongoing improvement.
Post image

Behind the interface, NephroCompass relies on a lightweight Postgres setup powered by the Neon Data API.

Building on Neon

NephroCompass originally started as a hackathon project, which meant Deepti needed something she could set up quickly and depend on. So she created a Neon free account, got the Postgres connection URL, plugged it into SQLAlchemy’s create_engine, and began structuring her tables. From there, the Data API became the single interface she used for reading and writing data.

A workflow built entirely around the Data API

“All these AI models and the base data behind that are stored in Neon. Whatever entries I am making in the system, they are all getting stored in the Neon database” (Deepti Bahel, Data Engineer and creator of NephroCompass)

Using the Data API, every part of NephroCompass’ workflow runs through the same pipeline:

  • Pulling the cleaned CKD dataset into Python to train models
  • Using SQLAlchemy and the connection URL from Neon to create structured tables for predictions and logs
  • Storing every inference the app runs, including the inputs, outputs, and SHAP explanations
  • Retrieving stored data whenever the ML pipeline needs to refresh the models
  • Fetching historical results for the agent that generates next-step recommendations

Lightweight but scalable

NephroCompass is a small project that started in a hackathon, but the data patterns are real – and Deepti is already thinking ahead. She’s planning to turn NephroCompass into a publicly usable app, so she needed something she knew could scale. And after someone close to her shared prostate cancer data, she began planning a second version of the tool using similar techniques. The same Neon setup will support that work too.

Get Started

If you’re working on your own open-source side project, Neon can give you the Postgres setup you need at every step of the way. Create a project on the Free Plan and start building.

Apply to the Open Source Program

We sponsor qualifying open source projects that start on our Free Plan, increasing their resource limits and helping them grow. If you’re building in public, scaling, and could use a little headroom, apply to our Open Source Program here.

A big thank you to Deepti Bahel for sharing her story and for choosing Neon. You can connect with her via Linkedin and read her posts on Medium.