My girlfriend is studying to become a Registered Nurse, and her next hurdle is the OSCE, a clinical exam where she has to examine a patient, played by an actor, while an examiner marks her against a checklist. Actors and examiners are not something you can book for a random Tuesday evening of practice. So I built her one: a voice AI patient she can talk to, equipment she can actually use, and an examiner that scores her afterward. The whole thing, from the first message to a working v1, took 2 hours and 49 minutes, and I typed zero lines of code.

What the app actually does

The station is "taking vital signs" on a patient recovering from an appendectomy. She opens the app on her iPhone, reads a briefing, then holds a button to talk to the patient in real time, almost no latency, nothing covering his face on screen. She picks up a blood pressure cuff, a thermometer, a stethoscope, a pulse oximeter, and each one has real choices: cuff size, which arm, which site for the thermometer. Pick the wrong cuff size and the reading comes back wrong, the same way it would on a real patient. At the end, an AI examiner reads the full session and returns a score out of 100 with a breakdown: communication, technique, interpretation, documentation.

Opening a station starts with a briefing, not a cold start into the exam. The hero image, the skills that will actually be marked, the equipment she'll have access to, and a short note on how to use the hold-to-talk button, all before the clock starts.

Briefing screen with task description and equipment overview

No code, only intent and taste

Every message I sent was a product instruction in plain English: "a hero banner like the card but full width," "the back button should sit on top of the banner." A lot of those messages weren't typed at all. I'd dictate a line or two straight into my phone while lying on the couch, Remote Control relaying it to the Mac actually running the build, and keep going from there. The actual loop repeated about 58 times: I describe what I want, Claude Code plans and edits files, it checks its own work in a built-in browser at phone size before showing me anything, I open the real app on my phone, I react in a sentence or two, repeat. That third step matters more than it sounds: it's what kept me from being the one catching every small layout mistake. Step four stayed mine on purpose, because several problems only show up on a real device, the status bar, the safe areas, the microphone, an installed PWA behaving differently from a browser tab.

I pointed it at two older projects of mine for reference instead of describing a design from scratch: one had already solved the iPhone's top-bar problem, the other had an image-generation pipeline I wanted reused as-is. Giving it working code to read was faster every time than explaining the same thing in words.

The rule that made the whole thing trustworthy

The one design decision I'm proudest of: measurement values live in the app, never in the AI's head. The voice model is told what the equipment shows, "temperature 37.9," and it only reacts to that number in character. It never invents a reading. This is what makes the traps deterministic, a wrong cuff size produces a wrong blood pressure every time, not a random one, and it's what keeps the AI examiner's scoring fair. If the model were free to make up vitals on the fly, the whole exercise would be worthless as practice.

Deciding how the voice itself should work wasn't a guess either. I asked Claude Code to read the vendor's realtime voice API documentation and compare it against a more conventional speech-to-text-then-LLM-then-text-to-speech pipeline before picking anything. We landed on manual turns: audio streams only while the button is held, and releasing it ends the turn immediately. No silence-detection delay waiting to decide she'd finished talking.

Hold-to-talk conversation with the virtual patient

Images that react to what you actually do

Tapping an object in the equipment grid opens a detail view: a large image of the item on one side, the real choices on the other as big, tappable option cards. The first version used small pills for these choices; after one look at it on the actual phone screen, that became "options are too small, make them bigger with icons."

Object detail view with large option cards for cuff size and arm Watch object offering a choice between counting pulse or breathing, and for how long

Every action a nurse can take, gloves going on, a probe cover being fitted, a specific reading on a screen, has its own close-up image, generated upfront and baked into the app rather than produced live during a session. Image models can't be trusted to render exact digits reliably, so that got tested directly before relying on it, and it turns out it works if the framing is tight enough that the screen fills most of the frame. The first attempt copied the reference photo too literally; the fix was rewriting the prompts so only the patient's identity carries over, and every image is a fresh close-up, not a repaint of the same shot. 29 images came out of this, including state variants, with gloves, without, cover fitted or not, and the app picks whichever variant matches what's actually happening the moment she takes that action.

Close-up image shown automatically when putting on gloves State-aware close-up: ear thermometer with gloves and a probe cover fitted, reading 37.9°C Blood pressure reading with wrong cuff size flagged in red Pulse oximeter reading, SpO2 at 96%

Everything measured gets written to a running vital signs chart in the app, not narrated by the AI, so what she sees on screen is exactly what the equipment logged, nothing more.

Vital signs chart recording what was actually measured during the station

The station itself runs on an eight-minute timer, same as a real OSCE station, with a visible warning once time is running out.

Station in its last minute, timer turning red

The first real session scored 18.5 out of 100

That first run was me, not her, clicking through the station myself to see if the whole thing actually held together, and 18.5 is exactly what you'd expect from someone who isn't a nurse and doesn't know the real procedure. It wasn't meant to validate anything clinical. It was there to catch what a desktop test never would. The end-of-station report reads like an actual exam result, not a generic summary: a score ring, a grade, any critical errors called out by name, what went well, what to improve, and an expandable breakdown where every point is backed by a quote from the transcript.

Report screen showing score, grade, and a flagged critical error Report feedback: what went well and what to improve Marking breakdown with supporting evidence pulled from the transcript Remaining criteria and the report's follow-up actions

Reading through that session's actual transcript surfaced two bugs no amount of simulated testing had caught: transcript lines were getting duplicated, and at one point the virtual patient invented a family member that didn't exist in his case file, pulling the detail from somewhere else entirely. The duplication got fixed on the spot. The invented detail is still an open item, a reminder that "the AI only voices values the app gives it" needs to extend to every part of the persona, not just vital signs.

Her first real attempt came after that, and it's the one that actually mattered: 46 out of 100, with me watching over her shoulder rather than coaching her through it. Most of what pulled the score down wasn't clinical judgment, it was unfamiliarity with the interface itself: she missed a couple of actions simply because she hadn't yet figured out how an object's detail view worked or where a given choice lived. That's a real finding, just not the one I expected going in. The app's scoring was never going to be the hard part. Making the interface obvious enough that it doesn't eat into exam time is.

Every session, good or bad, gets saved, so she can go back, replay the reasoning, and see whether the next attempt actually improved.

Session history with score and status for each past attempt

What I'd tell anyone trying this

Write the domain content first, the patient case, the rules, the checklist, before touching any interface. It becomes both your documentation and the material the AI actually reasons from later. Reuse whatever you've already built that solves a piece of this, a design system, a tricky platform quirk, rather than re-explaining it in prose. Get something clickable in the first twenty minutes and put it on the real device immediately, because the real device is where the expensive problems live, not in whatever you can see on a desktop screen. And keep anything measurable, a score, a value, a timestamp, computed in code rather than left to a model's judgment. The AI can carry the implementation a long way. It can't be the source of truth for what actually happened.

Why this isn't really about nursing

Swap the patient case for a different domain's rulebook, and the same shape holds: a role someone plays, a set of tools with real consequences for using them wrong, and a record of exactly what happened that a human can check instead of trusting blindly. OSCE RN is specific to one exam because that's the problem that was actually in front of me, but nothing about the architecture is nursing-specific. A retail chain onboarding staff onto an unfamiliar POS, a utility training technicians on a procedure where the wrong sequence actually matters, a compliance scenario someone needs to walk through before they're allowed near the real thing, it's the same build: domain rules written down first, a voice or interface that reacts to real state instead of improvising it, and scoring that cites its evidence rather than asserting a number. What used to take a dedicated training team and months of build time is now a few hours of someone who understands the job sitting down and describing it clearly. That gap, between needing a custom training tool and being able to justify building one, is most of what's closing here.

She hasn't sat her real OSCE yet. But she's already run through the station enough times on her own phone that the first time won't be the first time she's done this out loud, to someone, under a clock.