Inspiration
We're two Computer Science students from India who travelled to Munich to build something meaningful at hackaTUM.
Some of our cousins are doctors, and through conversations with them, we realized how difficult it is to consistently practise clinical consultations and medical procedures with real patients. Access to simulated patients, medical equipment and personalized feedback is often limited and expensive.
We wanted to bridge the gap between knowing medicine and practising medicine. That's how Nymphy was born.
What it does
Nymphy — Practise Medicine. Understand Humans.
Nymphy is an immersive, AI-powered clinical education platform connecting four core experiences:
- Simulation: 50 virtual patient cases with distinct personalities, voices, emotions, medical histories and communication styles. Students conduct consultations, perform examinations and diagnose conditions.
- Learning & Practice: Interactive learning modules integrated with our custom ESP32-powered hardware for CPR practice, pulse monitoring and temperature measurement.
- Assessment: An intelligent reasoning engine that evaluates not just the final diagnosis, but the entire thought process behind it.
- Teaching: An adaptive educator dashboard that identifies knowledge gaps, estimates student mastery and recommends targeted learning interventions.
Our Clinical Truth Engine separates medical facts from AI-generated conversations, enabling controlled symptom disclosure and consistent patient responses.
Nymphy brings together the Avelios and Reply challenges through one connected clinical education ecosystem.
How we built it
We combined full-stack development, machine learning, embedded systems, mathematics and 3D visualization.
Software: Next.js, React, TypeScript, Three.js, React Three Fiber and OpenAI APIs.
Hardware: ESP32, MPU6050, MAX30102, DS18B20, OLED display, push button and buzzer, integrated through real-time USB serial communication.
Machine Learning & Mathematical Models:
- Multinomial Naive Bayes for clinical intent classification across 93 classes.
$$P(f|c)=\frac{N_{f,c}+\alpha}{N_c+\alpha V}$$
- Bayesian inference for tracking competing diagnostic hypotheses.
$$P(D_i|E)=\frac{e^{\sum_e\ell_i(e)}}{\sum_j e^{\sum_e\ell_j(e)}}$$
- Shannon entropy and information gain for evaluating diagnostic reasoning efficiency.
$$H(P)=-\frac{\sum_i p_i\log_2 p_i}{\log_2 K}$$
$$IG=H(P_{\text{before}})-H(P_{\text{after}})$$
- TF-IDF and cosine similarity for identifying evidence and clinical rule-outs.
$$\operatorname{sim}(a,b)=\frac{a\cdot b}{|a||b|}$$
- Bayesian Knowledge Tracing for personalized learning and student mastery prediction.
$$L_{\text{next}}=L_{\text{post}}+(1-L_{\text{post}})t$$
- Real-time CPR analysis using compression intervals, cadence accuracy, rhythm consistency and hands-off time.
$$BPM=\frac{60000}{\overline{\Delta t}}$$
$$S_{\text{CPR}}=\operatorname{round}(0.5A+0.3C+0.2B)$$
We also developed a 100-point clinical assessment framework covering diagnostic accuracy, history-taking, patient safety, physical examination, clinical reasoning and communication.
Our core assessment algorithms operate independently of LLM-generated judgments, making the evaluation explainable and reproducible.
Challenges we ran into
From unresponsive hardware components and a problematic temperature sensor to conversation latency, 3D visualization and clinical consistency, almost every layer presented its own challenges.
We repeatedly redesigned the interface because functionality alone wasn't enough — we wanted the experience to feel natural.
Developing the mathematical assessment framework was another major challenge. A correct diagnosis could be a lucky guess, and our system needed to distinguish that from genuine clinical understanding.
Accomplishments that we're proud of
- Bringing hardware, machine learning, generative AI and 3D visualization together in a single platform.
- Creating 50 distinct clinical patient cases.
- Developing an independent mathematical clinical reasoning and assessment engine.
- Connecting physical medical practice with digital learning.
- Improving clinical intent classification accuracy from 75.9% to 81.0% on our held-out evaluation set.
- Building a system that supports students as well as educators.
We're particularly proud that we got to incorporate both our technical interests and our creative side into something with a meaningful real-world application.
What we learned
We learned that building an intelligent system doesn't mean using AI for everything. Combining probabilistic models, deterministic rules, physical sensors and conversational AI can create a more transparent and effective experience.
We also gained a deeper understanding of clinical reasoning, human-centered design, embedded systems and the complexity of medical education.
What's next for Nymphy
We want to make Nymphy feel even closer to real life through realistic patient reactions, dynamic medical scenarios, additional hardware-based procedures and increasingly personalized learning experiences.
We also aim to collaborate with doctors and medical educators to clinically validate and further develop the platform.
Our goal is not to replace real clinical experience, but to make students better prepared for it.
Meet your first hundred patients before meeting your first real one.
Demo & GitHub
Our demonstration link, screenshots, hardware photographs, source code, mathematical implementations and detailed technical documentation will be available in our GitHub repository.
Please visit the GitHub link attached to this submission to explore Nymphy in greater detail.
Built in Munich. By two students from India. For the future of medical education.
Built With
- ds18b20
- fiber
- inference
- javascript
- knowledge
- learning
- machine
- max30102
- mpu6050
- next.js
- node.js
- oled
- python
- react
- serial
- signal
- ssd1306
- tailwind
- three
- three.js
- tracing
- typescript