Inspiration
Two of us are clinicians. Rahim is a dentist; Ali is a physician at Stanford. Their pain is the same in a four-chair dental office and in a hospital: every room is a closed door. The dentist can't see which room needs them next. The front desk can't see that a visit is running over. A newer assistant who is stuck for twenty minutes doesn't ask for help, because asking means taking gloves off and leaving the patient. The schedule says who is booked, not where the visit really is.
A good clinic used to depend on one person who knew how everyone worked. Staff now turn over every few months and that knowledge walks out with them. We wanted the building itself to pay attention, so people can care for people.
What it does
One Vexo band on a wrist, and three things happen, live:
- It knows. An instrument starts near the band and that room changes to the step on every screen, within seconds. Nobody types anything.
- It responds. Hands full, the dentist says "I need a mirror" and the team sees it. A double tap on the band during treatment asks for a hand. "Let's take a look at the pano" puts the x-ray on the screen.
- It finishes. Treatment over, two double taps sign the visit note and the prescription. The visit's supplies are counted down, and when the shelf runs low an agent reorders within a daily budget.
The same gesture means "help" during treatment and "sign" after it, because Tend reads the gesture in the context of what the room is doing.
Our demo is one web page: the day's schedule with what is really happening inside each appointment, a floor plan of the clinic lit by live steps, a running list of what the agents did and why, and how the whole system fits together.
How we built it
Tend is not one chatbot. It is a small team of agents, each with one job, talking only through one event stream.
- Vexo band: raw 16 kHz audio, 100 Hz motion and the built-in double tap, streamed over Bluetooth from the laptop in the room.
- Sound agent: YAMNet embeddings matched against instrument clips chosen by our dentist, one second at a time, on the laptop. Only labels leave it; no audio is stored.
- Gestures in context: the clinic brain decides what a tap means from the room's current step. A gyro check stops a wrist flick being mistaken for a tap.
- Speech: Deepgram on the band's own microphone, tuned to dental words. Only the matched command phrase is kept, and Deepgram is told not to train on our audio.
- Room insight: watches the steps and flags a room that is running long or ready for the dentist; Gemini writes the one-line message.
- Restock agent: Gemini proposes how much to buy and writes its reason; fixed rules cap it (daily budget, pack limit, test mode only); Stripe takes the payment.
- The human stays in the loop: nothing clinical happens without the dentist's tap, and nothing is spent without a signed visit.
- One event bus with one small message shape, so four people and their coding agents could build in parallel without touching each other's code.
Challenges we ran into
- Our own dentist vetoed two of our ideas. We planned to "detect a clogged suction by sound". Rahim pointed out that whoever is holding a clogged suction already knows. We planned to reorder a part when it happened; he pointed out no clinic orders anything for that. Both were cut within the hour. The product is better for it.
- No dental unit at a hackathon. The sounds are recordings played from a phone held against the band. We measured honestly: drill 89% of seconds right and on screen in about 4 seconds; suction 70% and about 12 seconds.
- Stray taps. At a sensitive setting, people simply handling the band produced 51 double taps in five minutes and signed a visit 18 times. We raised the threshold, filtered flicks with the gyro, and allowed one signature per visit, only after real treatment.
- Which room is the band in? We tested the obvious answer, scanning for the nearest band, and it does not work on today's firmware: a connected band stops advertising. Today the room is a setting.
- A wrist flick to change screens worked once and missed once in a live test, so we left it out of the demo and say so.
- The venue Wi-Fi keeps laptops apart, and a VPN silently cut one laptop off for fifteen minutes.
Accomplishments that we're proud of
- A real wristband, a real double tap, a real Stripe test payment decided by a real Gemini call, end to end.
- Every claim in our pitch was checked against what actually ran. The README has a table of what is real and what is simulated; the appointments and two of the three rooms on screen are a labelled demo.
- Two clinicians and two engineers, each working with a coding agent, coordinated through one repo: a folder each, a status file each, one shared event format, and a task list rewritten every few minutes.
What we learned
The hard part is not hearing the drill. It is knowing what a clinic would actually do with that knowledge, and that only came from the clinicians in the room. And a gesture is only useful if the system knows the context it was made in.
What's next for Tend
- Real instruments in a real clinic.
- The right x-ray up before the dentist walks in, from the schedule: a pano for wisdom teeth, bitewings for a filling.
- Knowing which room you are in, with a small beacon per room.
- Hearing a worn drill before it fails.
- Operating rooms and emergency departments. When a surgery runs longer than planned, the next patient waits for hours, fasting and anxious, and is often postponed at the end of the day anyway. If the hospital knew how each case was really going, not just how long it was booked for, it could tell that patient early and plan the teams around real progress.
- Agents as durable workflows with memory per clinic and per clinician, and the signed note written back to the clinic's record system.
- Every visit as a timeline: schedule data today, training data for clinical robots later.