Inspiration

Every doctor learns history-taking the same way: practising on classmates, on actors who are expensive and hard to book, or on real patients with real consequences. But the hardest part of a consultation isn't the checklist. It's the patient who says "it's probably nothing," hides that they stopped their tablets, or shouts because they've waited four hours. Textbooks can't teach that, and chatbots answer everything you ask. We wanted a patient who behaves like a person: someone who only tells you the truth once you've earned it.

Every patient has a secret. Earn it.

What it does

OpenUp is a virtual patient for practising history-taking and difficult conversations. You talk to the patient out loud or by typing, as you would in a real consultation room.

Trust is at the heart of every consultation.

  • Every patient starts guarded. Their trust rises or falls with how you talk to them, not just what you ask.
  • Introduce yourself, ask permission, listen, show empathy, make sensitive topics feel normal, and use plain words, and they open up. Use jargon, judge them, rush them, interrupt them or ignore what they just said, and they close down.
  • Sensitive facts are locked behind trust. Ask Klaus about smoking too early and you get "now and then." Make it safe first ("lots of drivers smoke to stay awake") and he tells you: "twenty a day, for thirty years."
  • Lose their trust and you lose the history. Miss the red flags they never felt safe enough to share, and your diagnosis suffers. That's how real medicine works.

It feels like an authentic conversation, not a chatbot.

  • Patients speak like people: short answers, hesitations, trailing off, joking to deflect, asking questions back ("Is that bad? Please tell me if that's bad").
  • They interrupt you, and you can interrupt them. Talk over a patient and they react: Marco snaps "Let me finish!", Ingrid apologises and goes quiet.
  • They fill silences. Go quiet too long and they ask "Is… is something wrong?"
  • They notice how you come across: rushing, hesitating, raising your voice, or looking away while they tell you something hard. With the optional camera, they notice if you smile at the wrong moment, and they warm up when you look genuinely concerned.
  • A lifelike 3D face shows what they feel as it happens: worry, fear, anger, embarrassment, relief. It moves its lips with every word and gestures naturally. You can see trust being built or broken.

Different patients, different personalities.

A debrief that shows what trust unlocked. You present to the attending, then get an OSCE-style mark sheet with evidence, red flags found or missed, a "patient's rating of you," and the key moments where trust rose or fell. A section titled "What they were hiding, and what you found" shows the truth behind every guarded answer. You also read the consultation through the patient's eyes: "They made it sound normal. Easier to be honest."

How we built it

  • A trust engine at the core. Every patient has a trust score from 0 to 100, and every fact in their case has a trust threshold. Each turn is scored for empathy, normalising, plain language, open questions, judgement, jargon, interruptions and non-verbal cues. Below the threshold the patient gives a guarded answer; above it, the honest one.
  • The key design rule: rules decide what the patient may say; the language model only decides how it sounds. A disclosure gate checks each question against the case and tells the model what it may share right now. The medical story stays consistent and can be unit-tested, while the delivery stays natural.
  • Local voice engine (Python): a full speech loop over a WebSocket. Silero VAD handles turn-taking and interruptions, faster-whisper does speech-to-text, Piper gives each patient their own voice and mood, and a local Gemma 3 (4B) model runs through Ollama.
  • Optional Claude patient in the browser for free-flowing conversation. Each turn returns structured output: the patient's perception of the student's tone, the trust change, emotion, gesture, gaze, spoken chunks with natural pauses, and their unspoken thoughts.
  • 3D patient: TalkingHead and three.js with rigged avatars that have ARKit facial blend shapes. Fifteen emotions are mapped onto facial muscles, the lip-sync is timed to every word, and portrait lighting, emotional close-ups and a flush for anger or embarrassment make feelings readable.
  • Sensing the student: typing hesitation, voice loudness, pace and filler words, plus in-browser face reading (face-api) for eye contact and expressions that matter in context. No video ever leaves the device.
  • Web app: a single-page app in plain HTML, CSS and JavaScript, covering rotations, waiting room, video-call consultation, notes, handover and debrief.

Challenges we ran into

  • Making a patient not tell you everything. Language models want to help and answer every question. We had to separate what's true from what this person is willing to say right now, and make holding back feel like an emotional choice rather than a refusal.
  • Making trust feel earned, not gamed. Saying "sorry" ten times shouldn't unlock everything. We tuned trust so real empathy, plain language and listening matter, while jargon, judgement and talking over the patient cost you.
  • Authentic timing. Turn-taking, interruptions in both directions, silences, and stopping the patient from hearing its own voice on open speakers all took careful work. We got the response time to about 1 second by streaming sentence by sentence.
  • Emotions an audience can read. Realistic faces show emotion subtly, so we strengthened the expressions and added close-ups and an emotion label without making it cartoonish.
  • Not being creepy with the camera. Commenting on every expression felt invasive. Now only behaviour that lasts and fits the moment counts, like smiling while the patient describes chest pain.

Accomplishments that we're proud of

  • Trust you can feel. Students quickly learn that a kind, plain sentence opens a door that ten clinical questions couldn't.
  • Conversations that feel human: interruptions, hesitations, silences, deflecting jokes and questions back. Patients who react to you, not just to keywords.
  • Same illness, different people. Patients can have the same diagnosis but need completely different approaches to earn their trust, just like real patients.
  • A fully local voice loop with about 1 second response time.
  • A 3D patient whose face shows trust being built or broken: wincing at jargon, looking down when mentioning a father's heart attack, relaxing when you're kind.
  • A debrief that teaches the real lesson: what were they hiding, and why didn't they feel safe enough to tell you?

What we learned

  • History-taking is a trust problem far more than a questioning problem. How and when you ask matters as much as what you ask.
  • Patients who play things down usually aren't lying. They're scared or embarrassed. Naming that gently is often what unlocks the history.
  • Language models make great actors and poor sources of truth. Keeping the facts in rules and letting the model perform gave us both medical consistency and authentic speech.
  • In conversation, timing is the experience. A 2-second pause feels broken; a well-placed interruption feels human.

What's next for OpenUp

  • A smarter feedback coach you can talk to. Today's debrief is mostly rule-based. Next, students will debrief out loud with a coach that listens and answers by voice. It will replay the key moments where trust was won or lost, explain why the patient opened up or shut down, and let students practise the better phrasing straight away.
  • Structured patient histories after every consultation. OpenUp will automatically turn the conversation into a clean history in standard clinical sections: presenting complaint, SOCRATES, past history, medication, family, social and ICE. Students can compare it with their own notes and see exactly which facts they uncovered and which the patient kept to themselves.
  • Validation from medical professionals. We'll work with doctors, communication-skills teachers and OSCE examiners to review every case, its hidden facts and trust thresholds, and how the patients behave. We'll then compare OpenUp's scores with real examiner ratings, so students can trust that what they practise matches what's expected on the ward.

Built With

Share this project:

Updates

Submission history