Skip to content
FlowthreadPublic

About

A theatrical space where students rehearse real networking conversations with an AI voice partner over OpenAI Realtime, get strengths-first feedback, then walk into the room. Networking is a stage. Practice makes progress.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

76 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Rehearse

Networking is a stage. Practice makes progress.

React 18 Vite 6 TypeScript 5 Tailwind CSS 4 OpenAI Realtime WebRTC MIT License

A low-pressure, theatrical space where students rehearse real networking conversations
with an AI voice partner, then walk into the room.

Run locally Β· The science

Built for the CSC Winter Sparkathon Β· Theme: build technology that brings people together or helps people support one another


πŸš€ Inspiration (The Problem)

The fear of the first hello

Somewhere between wanting a mentor and sending the first message, most students stop.

The barrier is not a shortage of willing adults. In a 2026 LinkedIn global study of 18,050 professionals, 83% of experienced Millennial and Gen X professionals said they would help someone starting their career even if they had never met them. What is missing is not goodwill. It is a place to practise.

The gap The evidence
72% of Gen Z professionals feel disconnected from the people who could help their careers, and lack the confidence to turn contacts into opportunities LinkedIn / Censuswide, 2026 (n = 18,050)
64% say nobody ever clearly showed them how to build professional relationships LinkedIn, 2026
60% of Gen Z workers actively avoid in-person networking events Freeman 2025 Gen Z Report, cited in industry analysis
29% feel socially anxious during real-life small talk; 26% dread awkward conversational pauses Same analysis
37% worry about bothering people; 37% fear being judged; 34% worry about sounding inauthentic LinkedIn, 2026
9.1% of U.S. adolescents aged 13 to 18 meet criteria for social anxiety disorder, with typical onset around age 13 NIMH NCS-A (2001–2004)
78% of Gen Z workers reported imposter syndrome in the past year, versus a 49% overall average Asana workforce survey

We call this the initiation gap: the distance between wanting to reach out and being able to do it out loud, without your voice shaking.

Why it compounds

The conversations students avoid are exactly the ones that matter most.

  • Weak ties move careers. In a five-year randomised experiment across more than 20 million LinkedIn users, Rajkumar and colleagues (Science, 2022) found that moderately weak ties (acquaintances with roughly ten mutual connections) produced the highest rates of job mobility. Weak ties bridge separate social circles and carry information you cannot get from the people closest to you.
  • Bridging is economic mobility. Analysing 21 billion friendships across U.S. ZIP codes, Chetty and colleagues (Nature, 2022) showed that economic connectedness, friendships linking lower and higher socioeconomic status people, is one of the strongest predictors of upward income mobility identified to date. Children from lower-income families who grow up in counties as connected as the average higher-income child's earn about 20% more as adults.
  • Isolation is a health cost. The U.S. Surgeon General's 2023 advisory reports 61% of young adults experience serious loneliness, with lacking social connection raising premature mortality risk by 26% to 29%.

Avoidance is not a personality trait. It is a skill deficit, and skill deficits are trainable.


🎭 What it Does (The Solution)

Rehearse turns networking practice into theatre. You get a ticket, you step onto a stage, the curtain goes up, and nobody real is watching.

The product runs one complete loop:

  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚   1. ENTER  β”‚ β†’  β”‚ 2. FEEDBACK β”‚ β†’  β”‚  3. REFLECT β”‚ β†’  β”‚   4. ACT    β”‚
  β”‚  voice chat β”‚    β”‚   the reviewβ”‚    β”‚  the mirror β”‚    β”‚  real world β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
  1. Enter the stage πŸŽ™οΈ A short onboarding reads your social goal, your comfort level, and the role you want to play, then seeds a live coffee chat with an AI partner over OpenAI Realtime. The partner stays in character, asks the questions a real alumnus would ask, and never grades you mid-sentence.

  2. Get instant feedback πŸ“ The moment you leave the stage, you receive a short review: one line you said well, one moment that landed, and one specific thing to try next. Never a report card.

  3. Reflect πŸ” A guided reflection analyses your communication style, names your strengths honestly, and gives you one useful next sentence instead of ten abstract tips. Your first series, Self-Introduction, unlocks here.

  4. Act in real life 🌱 Every session ends with concrete, low-friction next steps, such as "send a 10-minute chat request to a local alumnus". These become a to-do list on your home screen, so the app pushes you off the app.

The measure of success is not time spent in Rehearse. It is the message you send afterwards. ✨


🧠 The Science of Rehearse

Three research traditions shaped every product decision.

1. Deliberate practice, not passive content

Ericsson's model of expertise requires isolating a challenge just beyond your comfort, rehearsing it repeatedly, receiving targeted feedback, and practising again. Reading "10 best informational interview questions" does nothing for a student whose voice tightens when a mentor asks an unexpected follow-up. A four-week randomised trial by TomΓ‘s and colleagues found that traditional instruction produced an initial gain followed by a significant decline in empathic skill (p = 0.001), while active rehearsal produced significantly stronger performance (p = 0.021). Rehearse is a practice court, not a course.

2. Psychological safety and graded exposure

Edmondson (1999) defined psychological safety as the shared belief that a space is safe for interpersonal risk-taking. Clinical exposure works through inhibitory learning: you enter the feared situation repeatedly and discover that a pause, a fumbled sentence, or a follow-up question does not cause catastrophe. In virtuo exposure adds privacy, control, and repeatable pacing that a live networking event can never offer.

3. Why text is the wrong medium

Natural human turn-taking averages a ~200 ms gap between speakers (Stivers et al., 2009). Text strips away prosody, pacing, and the cognitive pressure of answering within a fraction of a second, and for anxious students it becomes an avoidance buffer rather than a rehearsal. Rehearse keeps the medium honest: duplex audio, natural rhythm, no editable draft.

Why not just a video call with an avatar?

Hyper-realistic or poorly synchronised avatars introduce extraneous cognitive load, the visual uncanny valley, and reward loops that pull working memory away from speaking. Rehearse deliberately removes the face and keeps the voice.

Why the loop ends in the real world

A pilot randomised controlled trial of a Virtual Reality Job Interview Tool with transition-age adolescents found that repeated virtual interviews (15.6 sessions on average) steadily improved interview performance, yet self-reported anxiety and self-efficacy did not change significantly on their own (p > 0.10). Simulation builds competence. Transfer builds confidence. That is why every Rehearse session closes with a real-world task.

Existing approach Format Why it falls short
LinkedIn Async text + public profiles Public metrics amplify comparison, perfectionism, and imposter feelings
YouTube / career guides Passive video and reading Teaches what to say, not how to say it under pressure
Generic text chatbots Async text No prosody, no 200 ms turn-taking pressure, reinforces text avoidance
Video avatars / gamified apps Multimodal visual simulation Uncanny visual cues and reward loops add cognitive load
Classroom role-play Synchronous human practice Hard to schedule or standardise, and fear of peer judgement persists
Rehearse Real-time duplex voice Trains spoken turn-taking privately, then hands you a real task

πŸ› οΈ How We Built It (Tech Stack)

Layer What we used Why
Frontend React 18, Vite 6, TypeScript, Tailwind CSS 4, motion/react, lucide-react, React Router 7 A mobile-first, theatre-inspired UI that runs at 60 fps on a phone
Voice AI OpenAI Realtime API over WebRTC Duplex audio with natural turn-taking, no avatar, no turn-based silence threshold
Backend Vercel serverless functions (/api/realtime-token, /api/review-advice, /api/review-chat) Mints a short-lived client secret per session, so the main API key never reaches the browser
Review engine gpt-4o-mini (configurable via OPENAI_REVIEW_MODEL) Fast, cheap, strengths-first feedback generation
Design system Tokenised CSS variables, Fredoka + Nunito One source of truth for the purple, gold, and paper palette

Session flow, end to end

Browser ──POST /api/realtime-token──▢ Vercel function ──▢ OpenAI
   β”‚                                        β”‚
   │◀──── ephemeral client secret β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
   β”‚
   └── WebRTC audio (peer to peer) ──▢ Realtime model ──▢ AI partner voice
   β”‚
   └── transcript ──POST /api/review-advice──▢ gentle review + next-step tasks

The browser never holds the long-lived key. Each practice session gets a credential that expires on its own.


πŸ“Š Impact & Mutual Support

Rehearse is built on a two-sided misunderstanding.

Students assume outreach is an imposition. 37% of Gen Z say they avoid it because they worry about bothering people. Meanwhile 83% of experienced professionals say they would gladly help a stranger who is starting out. The goodwill is already there. What is missing is a low-stakes way for a nervous student to become the kind of person who sends the message.

When that first message lands, the effect compounds:

  • Mentorship is reciprocal. In MENTOR's The Mentoring Effect, 86% of mentored young people say they want to become mentors themselves.
  • Support becomes community. Mentored youth are more likely to volunteer regularly and to hold leadership roles in clubs, teams, or student councils (51% versus 22% for at-risk youth without a mentor).
  • Purpose becomes reachable. Harvard's Making Caring Common and Gallup found 79% of Gen Z want work that helps others, and young people who feel needed by others are roughly 3 to 4 times more likely to experience meaning and purpose.
  • Bridging capital grows. Every rehearsal ends in a real conversation with a real person, which is precisely how economic connectedness is built.

And it matches the Sparkathon theme directly. The U.S. Surgeon General calls for pro-connection technologies: tools that strengthen human relationships rather than replace them. Rehearse uses AI strictly as temporary scaffolding. The AI is the practice partner. The mentor is the point.

We are not building a companion. We are building the confidence to leave.


πŸ’» Quick Start (Local Setup)

Prerequisites: Node.js 18+ and pnpm (npm works too), plus an OpenAI API key with Realtime access.

# 1. Clone
git clone https://github.com/Flowthread/Rehearsee.git
cd Rehearsee/Rehearsee-Code

# 2. Install
pnpm install

# 3. Configure the environment
echo "OPENAI_API_KEY=sk-your-key-here" > .env

# 4. Run
pnpm dev

Open http://localhost:5173.

Variable Required Default Purpose
OPENAI_API_KEY βœ… none Server-side key used to mint realtime client secrets and generate reviews
OPENAI_REVIEW_MODEL βž– gpt-4o-mini Model used by /api/review-advice and /api/review-chat
Script What it does
pnpm dev Starts Vite with the local API middleware on port 5173
pnpm build Type-checks with tsc -b and builds for production
pnpm preview Serves the production build locally
pnpm typecheck Type-checks only

Deploying: import the repo into Vercel, set the project Root Directory to Rehearsee-Code, add OPENAI_API_KEY under Settings β†’ Environment Variables, and deploy. The api/ folder becomes serverless functions automatically.


πŸ€– AI Use Disclosure

We are transparent about where AI sits in this project.

  • In the product: OpenAI Realtime powers the voice partner, and gpt-4o-mini drafts the post-session review. This is the core experience, and it is framed throughout as rehearsal with an AI partner, never as a conversation with a human.
  • In the build: AI coding assistants were used for scaffolding, refactors, and debugging. Every architectural decision, prompt contract, and line of shipped code was reviewed, tested, and is fully understood by the team.
  • In the research: the behavioural and economic evidence in this README was compiled and cross-checked by the team, with attention to which figures come from peer-reviewed work and which come from industry surveys.

Rehearse does not pretend an AI is a friend. It uses AI to help you go make one.


πŸ‘₯ Team

Built with care by Flowthread.

Name Role
🎬 Abiha Product, narrative, research
🎨 Mujtaba Design system, frontend

Want to contribute? Open an issue or send a pull request. We are especially interested in more real-world practice scenes, sharper transcript-based reviews, and accessibility work.


Rehearse. Step onto the stage, one rehearsal at a time. ✨

About

A theatrical space where students rehearse real networking conversations with an AI voice partner over OpenAI Realtime, get strengths-first feedback, then walk into the room. Networking is a stage. Practice makes progress.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages