Work /
Bharat-First /
Janani Suraksha
No. 02 · Bharat-First · Maternal Health
Live signal · India · 2026
Every 23 minutes,
an Indian woman dies
in childbirth.
जननी सुरक्षा · Janani Suraksha
22,500 deaths a year. Most are preventable. India has 1.18 million ASHA workers walking village to village with a register and a pen. Janani Suraksha hands them three constant-time AI engines on the phone they already own. Predict the danger before it arrives.
i.
Risk scoring
70,000 entries · <5 ms · NFHS-5 calibrated
ii.
Referral routing
21 states · 2,823 blood banks · O(1) lookup
iii.
Anemia trajectory
7,480 profiles · learned index · 2,497 params
22,500Deaths a year India can prevent
1.18MASHA workers reached
3Constant-time AI engines
5Independent medical sources cross-validated
12Indian languages, voice input
Act I · The Problem
The deaths are not the mystery.
The early warning is.
-
Pain · 01
The ASHA carries a register, not a model.
1.18 million workers visit every pregnant woman every month. Their training is excellent. Their pen is honest. The question they cannot answer is which of these forty mothers is the next emergency.
-
Pain · 02
The "nearest" hospital is the wrong question.
The right hospital has a functional OT, a blood bank with the matching group, and a specialist on duty tonight. None of that fits on a roadside signboard.
-
Pain · 03
Anemia is a slow bleed nobody plots.
Hemoglobin trends across pregnancy. By the third trimester, the trajectory is a death sentence or a routine delivery. Today, nobody draws that line.
-
Pain · 04
One free phone with one second of data.
The tool has to run on the device the ASHA already owns. No GPU. No cloud round-trip. No assumptions about bandwidth or battery.
Act II · The Promise
Three engines. Every answer in under five milliseconds.
Every prediction is a hash lookup. Nothing trains at runtime. The model lives in 33 megabytes baked into the container image, scales to zero, and answers before the next sentence finishes.
i
Engine one. Multiplicative relative risk.
70,000 precomputed entries cover every realistic combination of twelve risk factors: age, parity, hemoglobin, blood pressure, gestational age, complication history, height, weight, more. A single hash returns Low, Medium, High or Critical. Every weight is cross-validated against five independent published sources.
70,000 entries
<5 ms response
33 MB on disk
NFHS-5 · WHO · Cochrane · Lancet · ACOG
ii
Engine two. Functional referral routing.
Real facilities from data.gov.in National Hospital Directory, with geocoordinates. 2,823 blood banks. Twenty-one states and two union territories. A precomputed spatial index per capability level returns the nearest hospital that has the OT, the specialist and the matching blood. Google Maps opens with one tap for navigation.
21 states
2,823 blood banks
O(1) primary lookup
data.gov.in source
iii
Engine three. Anemia trajectory, learned.
A two-layer MLP (5 to 64 to 32 to 1, 2,497 parameters) predicts the position in a sorted trajectory array. Constant time. The output is a sentence the ASHA can act on: "with 90 percent IFA compliance, hemoglobin improves from 7.2 to 9.8 g/dL." Inspired by Kraska et al. learned indices, applied to maternal hematology.
7,480 trajectories
2,497 parameters
O(1) position lookup
WHO-calibrated physiological model
Act III · The Evidence
Every weight in this model has a citation behind it.
Risk in pregnancy is not a guess. It is a literature problem. Janani Suraksha pulls from twelve risk factors, cross-validates every coefficient against five independent sources, and refuses to ship a number that no one published.
Source · 01
NFHS-5
National Family Health Survey 2019-21. Indian baseline rates for parity, anemia prevalence, and antenatal coverage.
Source · 02
WHO Position
Maternal mortality framework, anemia thresholds, eclampsia management protocols.
Source · 03
Cochrane Reviews
Systematic review weights for IFA supplementation, blood pressure intervention, and gestational diabetes.
Source · 04
Lancet Series
Maternal Health Series for relative risk coefficients on age, complication history, and BMI.
Source · 05
ACOG Guidelines
American College of Obstetricians for cross-validation against high-income clinical practice.
Source · 06
data.gov.in
National Hospital Directory with geocoordinates, plus 2,823 blood banks. Government of India, Ministry of Health and Family Welfare.
Source · 07
SRS 2021-23
Sample Registration System: maternal mortality ratio of 88 per 100,000 live births, the figure this product attacks.
Source · 08
Three Delays Framework
The accepted obstetric delay model used across low and middle income countries to design interventions.
Source · 09
India Telemedicine 2020
Practice guidelines: every prediction requires human clinical confirmation. The ASHA is in the loop. Always.
Act IV · Proof
It already runs. In production. On scale-to-zero.
Live · Cloud Run · asia-east1
janani-suraksha-pax2obvj3a-el.a.run.app
FastAPI on Google Cloud Run. Min instances zero, scales to thousands. ~$0/month at low traffic, no GPU at runtime, no database round-trips.
34 of 34 tests passing
make test
Risk scoring, referral routing, anemia prediction, full API contract. Every endpoint covered. CI gates every commit.
One-click Terraform deploy
make deploy
Infrastructure as code. Cloud Run, Artifact Registry, IAM. New region in minutes. Tear down with make destroy.
Six security layers · TLS 1.3
defense-in-depth
Cloud Run IAM. Sliding-window rate limiting. Pydantic strict input validation with medical ranges. CSP, CORS, security headers. Audit log per assessment. Non-root container.
District Health Officer dashboard
/dashboard
Aggregated risk distribution, hotspot identification, intervention effectiveness. The block-level view a CMO actually opens at 9 AM.
Voice input · 12 Indian languages
/api/voice
The ASHA does not have to type. She speaks. Hindi, Bengali, Telugu, Marathi, Tamil, Gujarati, Kannada, Malayalam, Punjabi, Odia, Assamese, English.
The Stack
Production-grade. Scale-to-zero. WCAG 2.2 AAA from line one.
- Python 3.12
- FastAPI
- Pydantic v2 (strict)
- Tailwind CSS
- Alpine.js
- Docker (multi-stage, non-root)
- Terraform
- Google Cloud Run
- Artifact Registry
- data.gov.in
- Google Maps API
- Telegram Bot API
- Learned-index MLP
If a million ASHA workers can use it, your field team can too.
I build constant-time, evidence-cited AI for the parts of India where bandwidth, devices and decisions are all scarce at once. Healthcare, agriculture, civic infrastructure. If your problem looks like that, let's talk.