An ultra-fast, invisible real-time AI interview assistant for Windows.
Transcribes interviewer audio in <350ms, generates structured STAR responses grounded in your real resume, and remains 100% undetectable during screen sharing.
Technical interviews are stressful. Navigating complex behavioral questions, algorithm constraints, and system design challenges simultaneously requires instant recall. Most commercial interview assistants cost $30โ$60/month, lag behind during live conversations, and risk exposing your screen during interviews.
Interview Copilot is a free, open-source desktop companion designed to solve this with native Windows performance and zero latency bottlenecks:
- ๐๏ธ Captures only the interviewer's voice from your default speakers via Windows WASAPI Loopback (without touching your microphone).
- โก Transcribes speech under 350ms using Groq's high-throughput
whisper-large-v3-turbo. - ๐ง Streams structured STAR answers (Situation, Task, Action, Result) tailored strictly to your verified resume background.
- ๐ป Ghost Overlay Technology: Employs Windows native
SetWindowDisplayAffinity(hwnd, 0x00000011)(WDA_EXCLUDEFROMCAPTURE), making the entire overlay completely invisible during screen shares on Google Meet, Zoom, Microsoft Teams, OBS Studio, and Windows Snipping Tool.
๐ก Visual Showcase:
The overlay remains crystal clear to you on your desktop, but is omitted entirely from any screen capture, recording, or live video broadcast stream.
+--------------------------------------------------------------+
| [Your Monitor View] |
| |
| +------------------------------------------------------+ |
| | ๐ข LISTENING... | |
| | Q: "Tell me about a time you optimized a slow query?"| |
| | > STAR Response: | |
| | Situation: At Acme Corp, order queries took ~4.2s. | |
| | Task: Reduce latency under peak traffic loads. | |
| | Action: Added composite indexes & Redis cache. | |
| | Result: P99 latency dropped to 45ms (-98%). | |
| +------------------------------------------------------+ |
| |
+--------------------------------------------------------------+
VS
+--------------------------------------------------------------+
| [Interviewer's Screen Share / Meeting Recording View] |
| |
| (The overlay window above vanishes entirely โ only your |
| clean IDE, browser, or desktop wallpaper is captured!) |
| |
+--------------------------------------------------------------+
- ๐ก๏ธ 100% Screen Share Invisibility: Uses low-level Win32 DWM flags so you can comfortably code, take notes, and share your entire screen without worrying about window leakage.
- โก Ultra-Low Latency STT (<350ms): Powered by Groq Cloud Whisper API for real-time speech segment transcription.
- ๐ฏ Grounded STAR Prompting: Reads your personal history from
context.mdto ensure Gemini never hallucinates companies, skills, or metrics you didn't experience. - ๐๏ธ Silent Vision Screen Analysis (
Ctrl + Alt + S): Instantly captures your active IDE or browser to parse LeetCode algorithms, database schemas, or system architecture diagrams. - ๐ฑ๏ธ Click-Through (Passthrough) Mode (
Ctrl + Alt + T): Click directly through the overlay into your IDE editor or terminal without moving or closing the window. - ๐ Permanent HWND_TOPMOST: Native Win32 Z-order lock ensures the overlay never gets buried behind Chrome or VS Code windows.
- ๐ Privacy First & Local Config: All API keys and resume details stay strictly on your local machine.
flowchart TD
subgraph OS_Layer["Windows OS Layer"]
WASAPI["WASAPI Loopback (Speaker Output)"]
DWM["Desktop Window Manager (DWM)"]
SCREEN["Primary Screen Buffer"]
end
subgraph Pipeline["Audio Pipeline"]
Capture["AudioCapture (16kHz PCM)"]
VAD["VAD Energy Threshold Filter"]
AudioQueue["Thread-Safe Audio Queue"]
end
subgraph AI_Core["AI Orchestration"]
STT["Groq Whisper API (<350ms)"]
ResumeStore["context.md (Resume Bank)"]
Gemini["Google Gemini Flash Streaming"]
end
subgraph GUI_Layer["PyQt6 Presentation Layer"]
Affinity["WDA_EXCLUDEFROMCAPTURE"]
Overlay["Ghost Overlay Window"]
Hotkeys["Global Hotkey Dispatcher"]
end
WASAPI --> Capture --> VAD --> AudioQueue --> STT
STT -- Transcription --> Gemini
ResumeStore --> Gemini
SCREEN -- Hotkey Trigger --> Gemini
Gemini -- Stream Tokens --> Overlay
Overlay --> Affinity --> DWM
Hotkeys --> Overlay
This project was built with strict production-grade criteria: sub-second latency, zero UI freeze, and 100% screen capture invisibility. Below are the core engineering trade-offs made:
| Architectural Decision | Chosen Approach | Alternative Considered | Why & Engineering Trade-off |
|---|---|---|---|
| Audio Capture | Native WASAPI Loopback (soundcard) |
Virtual Audio Cable / Stereo Mix | Zero third-party driver installation; captures clean speaker output directly at 16kHz PCM without interfering with the candidate's mic. |
| Speech-to-Text | Cloud Groq Whisper (whisper-large-v3-turbo) |
Local Whisper (whisper.cpp) |
Local Whisper consumes 2-4GB VRAM with 1.5s-3.5s latency on laptops. Groq transcribes in <350ms with negligible local CPU/RAM load, keeping system resources available for IDE and compilers. |
| Desktop GUI | PyQt6 + Direct Win32 Ctypes | Electron / Webview | Electron introduces ~150MB+ memory overhead and lacks direct access to native Windows window handles. PyQt6 runs at ~45MB RAM and grants direct access to HWND for SetWindowDisplayAffinity(hwnd, 0x00000011) and HWND_TOPMOST. |
| LLM Streaming | Gemini Flash (thinking_budget=0) with Failover |
Deep CoT Reasoning Models | Deep CoT creates 15-40s pauses before first token (unusable in live interviews). Flash achieves sub-600ms time-to-first-token with structured STAR prompting and automatic fallback if server errors occur. |
| Concurrency Model | Decoupled Worker Threads + queue.Queue |
Shared State / AsyncIO in GUI | Audio I/O and HTTP streaming run strictly on background threads communicating via thread-safe queues and Qt Signals, guaranteeing zero Main Thread UI freezing. |
| Shortcut | Action | Description |
|---|---|---|
Ctrl + Alt + H |
Panic Toggle | Instantly hide or show the overlay window |
Ctrl + Alt + S |
Screen Vision | Silently capture screen and analyze with Gemini Vision |
Ctrl + Alt + T |
Click-Through | Enable passthrough so clicks hit the background IDE directly |
Ctrl + Alt + Q |
Manual Record | Manually capture and process an audio chunk |
Ctrl + Alt + A |
Auto-Listen | Toggle automatic voice activity detection on/off |
Ctrl + Alt + X |
Clear Output | Clear the current question and response from screen |
Ctrl + Alt + C |
Copy Code | Copy the generated code snippet to clipboard |
Ctrl + Alt + Down/Up |
Scroll Window | Smoothly scroll through long explanations |
- Windows 10 (Build 19041+) or Windows 11
- Python 3.10, 3.11, or 3.12 installed
- Free API Keys:
- Google AI Studio (Gemini API Key)
- Groq Cloud Console (Groq API Key)
git clone https://github.com/<your-username>/interview-copilot.git cd interview-copilot
pip install -r requirements.txt
Create your .env configuration file from the template:
cp .env.example .env
Open .env and paste your API keys:
GEMINI_API_KEY=your_gemini_api_key_here GROQ_API_KEY=your_groq_api_key_here
Create your personalized context file:
cp context.example.md context.md
Edit context.md with your genuine skills, past projects, metrics, and target job description. The AI engine will use this as its source of truth.
python main.py
(Or double-click run.bat on Windows).
- Launch
python main.pyso the dark translucent overlay appears on your desktop. - Press
Win + Shift + S(Windows Snipping Tool) or join a test Google Meet / Zoom call and share your entire screen. - Observe the captured area where the overlay sits:
- Result: The overlay will be completely invisible on the broadcast/capture, showing only what is underneath!
Contributions, bug reports, and feature suggestions are warmly welcomed! Please read our CONTRIBUTING.md for details on our code of conduct and development setup.
This repository is developed for educational purposes, mock interview practice, technical preparation, real-time language translation, and accessibility assistance. Users are solely responsible for adhering to the ethical guidelines, codes of conduct, and academic/professional policies applicable to their specific interview sessions.
This project is open-source and distributed under the MIT License.