AI Interview Coach
Voice-enabled interview practice agent with real-time feedback, scoring, and personalized improvement plans.
Project walkthrough
AI Interview Coach
Project Goal
Voice-first interview practice with real-time AI and rubric scoring.
- →Natural voice conversation via Realtime API
- →Behavioral and technical question banks
- →5-dimension automated scoring
- →Personalized coaching plans across sessions
Use ← → arrow keys or buttons to navigate the walkthrough
Time breakdown (35h)
Each phase maps to the estimated hours — follow in order for a realistic build schedule.
Voice pipeline setup
8h- •WebSocket proxy with auth and session management
- •Audio codec handling (PCM 24kHz)
- •Latency monitoring and reconnect logic
Interview flow & prompts
8h- •Role-based question bank (behavioral + technical)
- •Interviewer persona system prompt
- •Follow-up question generation based on answer depth
Scoring rubric & feedback
8h- •5-dimension rubric with structured JSON scores
- •Per-answer feedback with specific improvement tips
- •Aggregate session score and percentile tracking
React UI & session storage
6h- •Voice activity indicator and recording controls
- •Live transcript display
- •Session history with score trends
Coaching plan generator
5h- •Identify weakest rubric dimensions across sessions
- •Generate weekly practice plan with targeted questions
- •Export PDF summary for user review
Architecture
The React client streams audio via WebSocket to a FastAPI proxy that forwards to OpenAI Realtime API for low-latency speech-to-speech interaction. After each answer, a scoring service evaluates the transcript against a 5-dimension rubric and generates targeted feedback and a personalized improvement plan.
Scroll inside the frame to explore · use + / − to zoom up to 200%
Prerequisites
- OpenAI Realtime API access and WebSocket fundamentals
- React with audio recording (MediaRecorder API)
- Understanding of speech-to-text and text-to-speech pipelines
- Experience designing evaluation rubrics
- Basic WebSocket proxy patterns in Python (FastAPI)
Setup steps
- Create FastAPI WebSocket proxy to OpenAI Realtime API
- Build React UI with microphone capture and audio playback
- Define interview rubric: clarity, structure, depth, relevance, confidence
- Seed 10 behavioral and 10 technical question banks by role
- Store session transcripts and scores in SQLite or Postgres
- Test end-to-end voice loop with <500ms perceived latency
Features to build
- Voice interaction
- Real-time feedback
- Score tracking
- Personalized coaching
Expected result
Conduct a 5-question mock interview via voice, receive real-time follow-ups, then view a scored report across 5 dimensions with specific feedback and a personalized 1-week improvement plan.
Resume bullet points
- →Built voice-enabled AI interview coach with real-time speech processing
- →Designed evaluation rubric with automated scoring across 5 dimensions
