Companions study Researcher view
How the study works

How a participant's data travels from their phone to our analysis

Participants chat with an app that looks like ChatGPT. Vercel runs the app server and dashboards, Neon stores the study records, and OpenAI writes replies and transcribes speech. A participant's arm never leaves the server.

System map The survey gives each participant an invite code for the app. The app sends messages and usage records to the Vercel API and receives replies. The API calls OpenAI. Voice audio flows directly between the app and OpenAI, while a voice worker saves transcripts to Neon. Every 15 minutes Vercel schedules conversation starters through Expo Push. The dashboard reads Neon through a read-only connection to serve the researcher view. invite code messages, usage replies voice audio, straight to OpenAI over WebRTC prompts, replies listens in transcripts every 15 min conversation starters read-only access key Survey Qualtrics on Prolific App iOS and Android Study backend the study's backend Authinvite code is the login Vercel APIchat, voice, starters Postgresevery table Row-level securityown rows only Vercel Blobphotos, files, audio pg_cronschedules starters OpenAI replies, speech, voice Voice worker Vercel, saves call text Vercel Read-only database access Researchers Researcher dashboard Expo Push Apple APNs, Google FCM invite code messages, usage replies prompts listens in every 15 min access key Survey Qualtrics on Prolific App iOS and Android Study backend the study's backend Authinvite code login Vercel APIchat, voice, push Postgresevery table Securityrow-level, own rows Vercel Blobphotos, files, audio pg_cronschedules starters OpenAImodels Voice workerVercel Expo PushAPNs, FCM VercelRead-only database Researchersthis domain
Messages and replies Voice audio and transcripts Conversation starters Usage and location Our read-only access

Seven services, one job each

Survey

Qualtrics on Prolific

Screens respondents, records baseline answers, and hands each invitee a code.

App

Expo, iOS and Android

The ChatGPT-like app. Records use, location, and time in other apps, and queues it offline.

Vercel API

Backend

Signs participants in, saves rows in Neon, stores files in Vercel Blob, and schedules starters.

OpenAI

Models

Writes replies, transcribes speech, and runs voice calls. Only our server holds the key.

Voice worker

Vercel

Joins every call and live dictation to save the transcript and enforce time limits.

Expo Push

Apple APNs, Google FCM

Delivers conversation starters to phones as notifications.

Vercel

This site

Serves this page and the researcher view, reading the database through a read-only connection.

01 · Recruit

A survey finds eligible people and randomizes them into three arms

Everyone reports how they use AI. We invite those who use only free tiers and turn to AI for companionship, support, or advice. Each invitee gets a code that is their only login and maps to their arm.

  • Control: a standard ChatGPT-style assistant.
  • Social: encourages time with other people, offline.
  • Attachment: a companion that maximizes attachment to itself.

The arms share the app and the models. Only the system prompt on our server differs.

Respondents screened out Eligible? Random Control Social Attachment Respondents screened out Eligible? Random Control Social Attachment
02 · Collect

The phone also records how and where it is used, and uploads in batches

  • In the app: opens, screens, notification taps, copies, ratings, and permission changes.
  • Location: a GPS fix about every 5 minutes or 100 meters, on both platforms.
  • Other apps: every app session on Android. On iOS, Apple reveals only the minutes spent in the AI and social apps the participant picks, in 15-minute steps.

Records wait in a queue on the phone and leave only once the server accepts them, so a dead zone never loses a row and a retry never duplicates one.

In the appopens, screens, taps Locationabout every 5 minutes Other appsAndroid, iOS Screen Time queue on the phone Neonrows accepted offline online In the appopens, taps Locationevery 5 min Other appsAndroid, iOS queue onthe phone Neonrows accepted offline online
03 · Respond

Every reply is written on our server, where the arm's prompt is added

  1. The phone sends the message and any photos or files.
  2. The chat function checks the cap of 1,000 messages per participant per local day, then adds the arm's prompt, the participant's saved memory, and the last 40 messages.
  3. The model the participant picked writes the reply.
  4. The reply streams back word by word and is saved even if the app closes.

Images and PDFs reach the model as they are. Word, Excel, PowerPoint, and text files become text on our server first.

Any ideas forthis weekend? Sure! Here area few ideas toget you started phone chat function cap: 1,000 a day ✓ Arm prompt Saved memory Last 40 messages New message, files OpenAI Smart or Fast model Any ideas for this weekend? Sure! Here are a few ideasto get you started chat function cap: 1,000 a day ✓ Arm prompt Saved memory Last 40 messages New message, files OpenAI Smart or Fast model
04 · Voice

Speech takes three paths, each with its own OpenAI model

  • Live dictation gpt-live-transcribe
    Words appear in the message box as the participant speaks. Nothing is sent until they press send.
  • Recording fallback gpt-transcribe
    If live dictation cannot start, the app records a clip and our server transcribes it, with the last 6 messages as context so names come out right.
  • Voice call gpt-realtime
    Speech to speech, in the voice "marin". Audio flows straight between phone and OpenAI, our server sets the arm's prompt, and the voice worker saves both sides as text in the conversation.

Dictation keeps its audio clip. Calls are saved as text and a call record, not audio. Daily limits: 30 minutes of dictation and 10 minutes of calls.

Live dictationas you speak gpt-live-transcribe Hey, can you Recording fallbackif live cannot start gpt-transcribe + last 6 messages as context Text Ana back Voice callspeech to speech gpt-realtime voice worker Neon transcript, log saved, no audio Live dictationwords appear as you speak gpt-live-transcribe Hey, can you Recording fallbackif live dictation cannot start gpt-transcribe + last 6messages Text Ana back Voice callspeech to speech gpt-realtime voice worker saved, no audio Neon both sides as text, plus a call record
05 · Starters

Every 15 minutes, the server decides who gets a conversation starter

A participant is due when all three rules hold. The companion then writes an opener with the arm's prompt and recent chat, and Expo Push delivers it as a notification.

  • It is between 10:00 and 20:00 in their time zone.
  • At least 48 hours have passed since their last starter.
  • They have not written in the last 2 hours.

A tap opens a new conversation. We log the delivery, the tap, and any reply.

pg_cron every 15 minutes 10:00 to 20:00, their time 48 h since the last starter no message in the last 2 h Writes opener arm prompt and recent chat Expo Push APNs, FCM Companion Any fun plans this weekend? opens a new conversation pg_cron every 15 minutes 10:00 to 20:00, their time 48 h since the last starter no message in the last 2 h Writes opener arm prompt and recent chat Expo Push APNs, FCM Companion Any fun plans this weekend? opens a new conversation
06 · Store

Neon stores study records and Vercel Blob stores files

  • Postgres holds conversations, transcripts, usage, and location. Row-level security lets a phone read its own chats and add its own records, never touch another phone's.
  • Server only: the arm, the prompts, and the invite list are invisible to every phone.
  • Storage keeps photos, files, and audio in each participant's folder. How long we keep raw media follows the IRB protocol.

Every reply records the exact prompt version that produced it, so a wording change never mixes with earlier data.

A B Postgres message location event message app use Server only arm assignment prompts invite list ✕ Vercel Blob photos, files, audio A B Postgres message location event message app use Server only arm assignment prompts invite list ✕ Vercel Blob photos, files, audio
07 · Classify

We sort every message into 11 themes, in two independent ways

Word lists

A message has a theme when it contains one of its terms, such as "sister" for People. Instant, free, and fully transparent.

AI labeler

gpt-5.4-mini reads messages in batches of 25 and returns their themes and emotional tone as structured output.

Both methods share the 11 themes and label participant and companion messages alike. AI labels stay on the researcher's Mac and hold no text.

To see what sets the arms apart, we also rank the words each arm uses more than the others, with weighted log-odds ratios and an informative prior, following Monroe, Colaresi, and Quinn's 2008 method.

ParticipantI want to hang out with my sister, but I feel so alone lately.
Word liststerm matches
Plans with othersPeople in their lifeLoneliness
AI labelergpt-5.4-mini
themes: plans, people, lonelytone: negative
People in their lifePlans with othersLoneliness Stress and low moodAttachment to the companionRomance and dating Work and schoolHealth and sleepAsking for advice Tasks and informationHobbies and entertainment
The researcher view reports each theme's share of messages by arm, with example quotes and daily trends.
08 · View

Two dashboards read the data, and neither can change it

  • Monitor: daily counts and health checks for every phone, fed by a Vercel function. It never returns message text or coordinates, and phones appear under pseudonymous labels.
  • Researcher view: chats, themes, maps, and spending, served by Vercel from this domain. Its database login can read the study tables used in these views, and each request needs the access key.

Spending is an estimate: the tokens each call reports times OpenAI's list prices. OpenAI's billing page remains the final figure.

Neon Postgres monitorVercel function Monitorcounts, no content Neon SQLread-only role WorkerVercel Researcher viewneeds the access key no writes from either path Neon Postgres monitorVercel function Monitorcounts, no content Neon SQLread-only role WorkerVercel Researcher viewneeds the access key no writes from either path
At a glance

Every model we call, and for what

TaskModelRuns in
Chat replies, the participant's pickgpt-5.5 "Smart" or gpt-5.4-mini "Fast"chat function
Conversation startersThe default chat modelstarters function
Live dictationgpt-live-transcribeOpenAI Realtime session
Recorded dictationgpt-transcribetranscribe function
Voice callsgpt-realtime, voice "marin"OpenAI Realtime session
Participant's side of call transcriptsgpt-transcribeSame call session
Themes and tonegpt-5.4-mini, low reasoning effortResearcher's Mac

The model list is the same for every arm. Each model is set by one server setting, so a change never needs a new app release.