Keith Cox, PhDBehavioral Researcher & Conversational AI Designer

Portfolio

Design Prototypes

Specifications and prototypes for conversational AI systems.

Pharmacy Virtual Assistant

2025

Figma + Voiceflow + Airtable

Multi-agent architecture with identity-gated data disclosure and deliberate human escalation.Read the full case study

Designed a multi-agent virtual assistant for a fictional pharmacy: wireframed in Figma, built in Voiceflow, and backed with a synthetic retail pharmacy database in Airtable. A routing agent triages every request into FAQ, patient-specific, or clinical questions, and the architecture is built around two strict rules: (1) no protected data can be accessed until the user's identity has been verified, and (2) all clinical judgment is reserved for licensed pharmacists.

  • Identity gate. Patient records sit behind a verification step that is the only route to them in the flow, so privacy does not depend on a model obeying a prompt.
  • Clinical escalation. The router is trained to send clinical questions to a human. Unlike the identity gate, this relies on a model, because the router has to recognize the question as clinical. That's why missed clinical questions are a key measure for a pilot.
  • Keypad fallback. A caller whose date of birth is misheard twice switches to keypad entry.

The boundary around patient records has one opening, and the Identity Gate stands in it.

Web Apps / Technical Projects

Real, live software: designed, built, and deployed end to end.

Conference Companion App

2026
conference-companion.keithgcox.com

Scoped, designed, and built on the fly to fill gaps in the official conference app. Recommended to all attendees by the organizing committee in under 24 hours.Read the full case study

Built a companion to an international research conference’s official app, which had no talk-level search or scheduling, in a single afternoon with Claude Code: full-text search, per-talk scheduling, and a live “happening now” view keyed to the event’s 30-minute talk grid.

Search comparison:
My app (left) vs. the official conference app (right).

Some-R-Set Scorepad

2026
somerset-scorepad.keithgcox.com

Live in production: players join by code and spectate games in real time, and every game persists to shared history.

Scoring this card game on paper goes wrong in two places: the penalty arithmetic when a team misses its bid, and whose turn it is to deal. I built a scorepad that does both, then extended it so a whole table can follow one game from their own phones. It is a single HTML file with no framework, built with Claude Code, that installs as an offline-capable web app and syncs through Firebase.

Key decisions

  • Two-step entry. One player records the bid, everyone watches the hand live, and any phone records the result.
  • Join by code. A six-character code puts every device on the same game or tournament.
Scorepad live game board mid-game, showing team scores, the seat diagram with the dealer, two set penalties in the hand list, and a bid waiting on its result
A second phone following the same game live, showing a notice that someone else is entering the current hand
Scorepad finished single-elimination tournament, with the champions, a Play again button, and the completed bracket
Scorepad Personal Stats for a demo player, showing win-loss record, championships, streaks, moons shot, and bids won

The Cookbook

2026
cookbook-demo.keithgcox.com

Live in production and used daily: any recipe URL becomes a consistently formatted entry, and a week of meals becomes one merged, aisle-sorted shopping list.

My household cooks from recipes on a dozen sites, each formatted differently, and used to build the weekly shopping list by hand. I designed and built The Cookbook with Claude Code to turn any recipe link into one consistent format and a planned week into one shopping list.

Key decisions

  • The model is the last resort. Import tries the page's structured data first and only then asks Claude to read the page. A review screen comes before anything is saved.
  • Quantities merge only when the units are comparable. “2 scallions” and “1 bunch scallions” stay separate lines.
  • Aisle corrections stick. Moving an item to the aisle a particular store keeps it in carries over to next week's list.

The app is in daily use. In testing, 16 of 19 recipes imported from structured data alone, with no model involved.

The Cookbook recipe grid, showing Creamy Ziti and Firecracker Meatballs as cards with cook time and serving count, each photo rendered in the same 3:2 frame regardless of the shape of the source image
A Cookbook recipe detail screen showing time, base servings, meal, cuisine, rating, times cooked, and tags
The Cookbook weekly meal plan with three nights filled in, each entry showing the recipe and the servings it is scaled to
The generated Cookbook shopping list, quantities merged across the planned recipes and grouped by aisle, each line naming which recipes wanted it
2025–Present

Self-Hosted LLM Lab & RAG Research Assistant

I wanted a place to test prompts systematically, and a way to query my own research library by question instead of by keyword. I run local models in LM Studio and built a retrieval-augmented generation (RAG) assistant over my academic literature collection.

Its few-shot prompts draw on conversation analysis: each example names the interactional move the agent should recognize or make, in addition to the words to produce.

Conversation Design Philosophy

Grounding conversation design in the empirical study of real talk.

My approach to conversation design comes from my training as a conversation analyst. Conversation analysis specifies what “good” looks like in an interaction: what people are saying, what they are doing by saying it, and how they do it. AI experience work needs the same thing: a way to define, evaluate, and improve how an agent behaves, turn by turn.

Decades of conversation-analytic research describe how people actually talk to each other. I use that research to identify specific failure modes in conversational interfaces, recommend concrete engineering fixes, and build evaluation protocols rigorous enough to measure the effect of both.

What makes an AI conversation feel trustworthy?

People trust each other when their conduct is relevant, reasonable, and accountable. For an agent, that mostly comes down to three things: responses fitted to the particular user (recipient design), graceful repair (especially when the user initiates it), and a calibrated epistemic stance (tracking who knows what at each moment and adjusting each turn to match).

How AI conversations tend to break down

Five failure modes recur: “mechanical listening” instead of action-first listening (i.e., focusing on what the user is saying rather than on what the user is doing); treating resistance as confusion; overly rigid sequential expectations; weak repair initiation; and losing context across turns.

Precision prompt engineering

A conversation-analytic vocabulary produces better few-shot examples, because it specifies the interactional move an agent should recognize, not just the surface text.

Publications

Peer-reviewed research on trust, resistance, and breakdown in high-stakes conversations.

  • Cox, K. (2025). “When Good News Falls Flat: Complications in the Delivery and Reception of Good News in Pediatric Neurology.” Social Psychology Quarterly 88(1): 45–65. DOI: 10.1177/01902725241253258

  • Timmermans, S., Stivers, T., Cox, K., & McArthur, A. (2024). “Patients in Pain: How Treatment Plan Formulations Shape Patient Response.” Communication & Medicine 19(2): 137–151. DOI: 10.1558/cam.22881

  • Cox, K. (2023). “Invoking Uncertainty: Parents’ Accounts for Intrusions on Medical Authority in Pediatric Neurology.” Journal of Health and Social Behavior 64(4): 537–554. DOI: 10.1177/00221465231194052

  • Tarn, D. M., Barrientos, M., Pletcher, M. J., Cox, K., Turner, J., Fernandez, A., & Schwartz, J. B. (2021). “Perceptions of Patients with Primary Nonadherence to Statin Medications.” Journal of the American Board of Family Medicine 34(1): 123–131. DOI: 10.3122/jabfm.2021.01.200262

In progress

Interactional Risk in First-Time Conversations Between Strangers

UCLA collaboration: 140 speakers across 70 dyads, examining how speakers calibrate interactional risk when making evaluative claims without shared relational history. Directly analogous to agent–patient first contact.