Answers a family can trust at 2 a.m.
MedEDiabuddy is an AI companion for parents and teenagers living with type 1 diabetes. It is locked to paediatric guidelines and DiaBuddy's validated dosing algorithms, adapted to Indian food and culture, and it sends emergencies to hospital before any AI is involved.
Shortlisted for the Kaichi Kida Award Paper Session, APPES 2026, Brisbane
Families' questions don't wait for clinic hours, and general chatbots aren't built for children with diabetes.
India has more children and adolescents with type 1 diabetes than any other country — about 301,000 (IDF Diabetes Atlas 2025) — and very few diabetes educators to support them. Parents turn to search engines and general-purpose AI, which are not tied to paediatric guidelines, do not know Indian food or fasting practices, and can miss an emergency.
A language model on a short leash: safety rules first, validated algorithms second, curated guidelines third.
- 1 Red-flag safety layerHard-coded checks run before any AI call. Signs of ketoacidosis or severe hypoglycaemia go straight to an emergency instruction.
- 2 Six deterministic DiaBuddy algorithmsMeal bolus, correction, basal titration, sick-day matrix, hypoglycaemia and exercise. Doses come from validated rules, not from the language model.
- 3 Curated guideline knowledgeISPAD 2022 consensus guidelines and their 2024 updates, ISPAE 2017 and ICMR type 1 diabetes guidelines, and the clinic's family booklet.
- 4 Indian contextA registry of 30 common Indian diabetes myths with evidence-based replies, carbohydrate values for more than 10,000 foods, and guidance for festivals and religious fasts.
- 5 An answer pitched to the readerParent, Teen and Doctor modes change the language and depth, not the clinical content.
Tested against experts, caregivers, leading AI models and a real diabetes educator
50 scenarios, scored against a blinded expert
MedEDiabuddy, ChatGPT, Gemini and 30 caregivers answered the same 50 vignettes across eight domains. Answers were scored for expert concordance, guideline adherence and completeness.
48 of 50 answers matched the expert, each scoring 5/5 for guideline adherence and completeness. Of the two that didn't, one (advising a doctor's review) carried no harm. One — declining an extra insulin dose during a high reading without measurable ketones — was rated potentially unsafe through under-treatment. Both errors erred on the side of caution, and the rule was corrected in the next version.
AI versus the clinic's diabetes nurse educator
30 real questions from caregivers were answered by both MedEDiabuddy and our diabetes nurse educator. Two paediatric endocrinologists, blind to the source, scored every answer.
Effect sizes were large on all three measures. In none of the 30 encounters did both reviewers rate the educator's answer above MedEDiabuddy's.
The reviewers used the scales differently (ICC 0.49–0.67; 77–92% of scores within one point), but the direction of effect was identical for both. A larger arm of about 120 encounters is under way.
What we learned
- Curation beats scale A model restricted to paediatric guidelines and validated rules outperformed far larger general-purpose models on the questions families actually ask.
- It fails safe Both errors were conservative, never over-treatment, and the red-flag layer means emergencies never depend on the AI.
- It closes a 40-point gap MedEDiabuddy scored about 40 percentage points above experienced caregivers, the gap that drives avoidable emergencies.
- It extends the educator In real questions it matched or beat a trained nurse educator, so one educator can supervise support for many more families.
From validated prototype to a companion in every DiaBuddy app
- Vignette validation: 96% expert concordance
- 30-encounter blinded comparison with a nurse educator
- Presented at APPES 2026 (Kaichi Kida session)
- 100 real-life queries with a further independent adjudicator, then publication
- Complete the ~120-encounter educator comparison
- Launch as the chat option inside the DiaBuddy app
- Five-centre randomised trial of DiaBuddy with MedEDiabuddy
- Retrieval over the full guideline library
- Copyright, trademark and CDSCO regulatory pathway
- Hindi and other Indian languages
- Educator dashboard for supervising AI conversations
- Extension to other paediatric endocrine conditions
Clinicians building AI they would trust with their own patients
Dr Anurag Bajpai
Lead developer and principal investigator · FRACPConsultant Paediatric and Adolescent Endocrinologist at Regency Centre for Diabetes, Endocrinology & Research, Kanpur, and President of ISPAE 2025–26. Developer of DiaBuddy, whose algorithms form MedEDiabuddy's clinical core, and of the MedEClasses suite of decision-support tools.
- Trained at AIIMS New Delhi and the Royal Children's Hospital, Melbourne
- Founder, MedEClasses Private Limited (DPIIT-recognised) and GROW Society; 10,000+ medical app downloads
- Series Editor, Advanced Pediatric Endocrinology; h-index about 24
DiaBuddy: insulin decision support, published in Hormone Research in Paediatrics
Dose errors cut from 39% to 6%, sick-day errors 94.5% preventable, and better quality of life in a three-month pilot.