Open-source, resume-driven AI technical interviews — voice or video — in the browser.
Use cases • Features • Architecture • Quick start • Configuration • API • Contributing
Interviewer Agent Kit is a production-oriented starter for building AI-powered technical interviews. Candidates upload a resume; the backend extracts skills, generates tailored questions with an LLM, and connects them to a real-time interviewer — either a Tavus video avatar or a LiveKit voice agent.
Built for teams who want a forkable, self-hostable foundation instead of a black-box SaaS.
| Use case | Who it's for | How this kit helps |
|---|---|---|
| Technical screening | Engineering teams, staffing agencies | Automate first-round interviews grounded in the candidate's actual resume |
| Interview practice | Bootcamps, career coaches, students | Let candidates rehearse with adaptive follow-ups at chosen difficulty |
| Hiring platform MVP | Startups building HR tech | Fork, brand the UI, swap storage (Postgres), and ship fast |
| Research & demos | ML / voice AI engineers | Compare Tavus CVI vs LiveKit Agents with the same resume pipeline |
| Internal mobility | L&D and engineering managers | Screen internal candidates for new roles with consistent rubrics |
- Resume ingestion — PDF, DOCX, and plain text with skill extraction
- LLM question generation — Gemini (native API) or OpenAI, with graceful template fallback
- Dual interview modes
- Tavus CVI — photorealistic video interviewer (docs)
- LiveKit voice — low-latency WebRTC room + Python agent worker
- Session API — REST endpoints for interviews, tokens, and agent context
- Monorepo dev UX — one command starts frontend + backend (
npm run dev) - Contribution-ready — MIT license, CI, issue/PR templates, documented architecture
flowchart TB
subgraph Browser["Browser (React + Vite)"]
UI[Setup form + interview room]
end
subgraph Backend["Backend (FastAPI)"]
API[REST API]
Parser[Resume parser]
QGen[Question generator]
Store[(Neon Postgres / memory)]
TavusSvc[Tavus service]
LKToken[LiveKit tokens]
end
subgraph LLM["LLM providers"]
Gemini[Gemini / OpenAI]
end
subgraph Interview["Interview runtimes"]
Tavus[Tavus CVI · Daily.co]
LiveKit[LiveKit Cloud]
Agent[Python agent worker]
end
UI -->|POST resume| API
API --> Parser --> QGen --> Gemini
QGen --> Store
UI -->|Tavus mode| TavusSvc --> Tavus
UI -->|LiveKit mode| LKToken --> LiveKit
LiveKit --> Agent
Agent -->|GET context| API
Interviewer-Agent-kit/
├── backend/ FastAPI API — resume, questions, Tavus, LiveKit tokens
├── frontend/ React + Vite UI
├── agent/ LiveKit voice agent worker (LiveKit mode only)
├── .github/ CI, issue & PR templates
├── CONTRIBUTING.md
├── LICENSE
└── README.md
| Requirement | Version |
|---|---|
| Python | 3.12+ (3.14 not yet supported by pydantic wheels) |
| Node.js | 18+ |
| npm | 9+ |
You also need API keys for the providers you enable (see Configuration).
git clone https://github.com/hamzaali81/Interviewer-Agent-kit.git
cd Interviewer-Agent-kit
npm run setupcp backend/.env.example backend/.env
cp frontend/.env.example frontend/.env
# Edit backend/.env — at minimum set GEMINI_API_KEY or OPENAI_API_KEY# Frontend (5173) + Backend (8000)
npm run dev
# Optional: LiveKit voice agent (third terminal)
npm run dev:allOpen http://localhost:5173, upload a resume, and start an interview.
Verify the API: http://localhost:8000/health · Swagger: http://localhost:8000/docs
Persistent interview storage and user accounts via Neon.
-
Initialize Neon (creates a project, applies schema, writes env vars):
npx neon@latest init
Or with the CLI directly:
npx neonctl@latest init -
Enable Auth in the Neon Console → your project → Auth → Enable Auth. Copy the Auth Base URL from the Configuration tab.
-
Configure env (often written by
neon init; otherwise set manually):# backend/.env DATABASE_URL=postgresql://... NEON_AUTH_BASE_URL=https://ep-xxx.neonauth.region.aws.neon.build/neondb/auth # frontend/.env — same Auth Base URL VITE_NEON_AUTH_URL=https://ep-xxx.neonauth.region.aws.neon.build/neondb/auth
-
Install new dependencies after pulling:
npm run setup:backend # psycopg, PyJWT cd frontend && npm install @neondatabase/neon-js@latest
When DATABASE_URL is set, interviews are stored in Postgres. When NEON_AUTH_BASE_URL is set, protected API routes require a Bearer JWT from Neon Auth; without it, the app runs in anonymous local-dev mode.
Users sync to neon_auth.user in your Neon database. See Neon Auth + React.
| Variable | Required | Description |
|---|---|---|
GEMINI_API_KEY |
Recommended | Google AI Studio key for question generation |
OPENAI_MODEL |
No | LLM model id (default: gemini-flash-latest) |
OPENAI_API_KEY |
Optional | OpenAI fallback for question generation |
TAVUS_API_KEY |
Tavus mode | Tavus API key from PAL Maker |
TAVUS_PAL_ID |
Tavus mode | PAL id (behavior / pipeline) |
TAVUS_FACE_ID |
Optional | Face id if PAL has no default |
DATABASE_URL |
Recommended | Neon Postgres connection string |
NEON_AUTH_BASE_URL |
Recommended | Neon Auth URL (enables JWT-protected routes) |
LIVEKIT_URL |
LiveKit mode | LiveKit project WebSocket URL |
LIVEKIT_API_KEY |
LiveKit mode | LiveKit API key |
LIVEKIT_API_SECRET |
LiveKit mode | LiveKit API secret |
CORS_ORIGINS |
No | Comma-separated frontend origins |
| Variable | Default | Description |
|---|---|---|
VITE_BACKEND_URL |
http://localhost:8000 |
Backend base URL |
VITE_INTERVIEW_MODE |
tavus |
tavus (video) or livekit (voice) |
VITE_NEON_AUTH_URL |
— | Neon Auth Base URL (matches backend) |
Copy from agent/.env.example. Requires OpenAI for STT, LLM, and TTS.
| Method | Path | Description |
|---|---|---|
GET |
/health |
Service health and provider configuration flags |
POST |
/api/interviews |
Upload resume → create session + questions |
GET |
/api/interviews/{id} |
Get interview metadata (no raw resume text) |
POST |
/api/tavus/conversations |
Create Tavus CVI room for an interview |
POST |
/api/token |
Mint LiveKit join token |
GET |
/api/agent/context/{id} |
Agent worker context (internal) |
- Upload — Candidate submits resume, role, difficulty, and duration.
- Prepare — Backend parses text, extracts skills, generates 6–9 tailored questions.
- Connect
- Tavus: backend calls
POST /v2/conversationswith resume context embedded inconversational_context. - LiveKit: browser receives a token, joins a room; the Python agent loads context from the backend.
- Tavus: backend calls
- Interview — Real-time voice or video conversation with live transcript (LiveKit) or Tavus UI.
- End — Session cleanup; Tavus conversations can be ended via API.
- Storage — Set
DATABASE_URLfor Neon Postgres; otherwise interviews are in-memory only. - Auth — Set
NEON_AUTH_BASE_URL+VITE_NEON_AUTH_URLso sessions are per-user. - Secrets — Never commit
.env. Rotate keys if exposed. - Scaling — Run multiple backend instances behind a load balancer only after swapping the store.
- Tavus — Create a new conversation per interview; static room URLs expire when sessions end.
- CORS — Set
CORS_ORIGINSto your deployed frontend domain.
- Postgres session store (Neon)
- User authentication (Neon Auth)
- Interview scoring and feedback reports
- Webhook callbacks for completed sessions
- Docker Compose one-liner deploy
- i18n for UI and interviewer prompts
We welcome issues and pull requests.
| Guide | Topic |
|---|---|
| CONTRIBUTING.md | Setup and code standards |
| docs/GIT_WORKFLOW.md | Pull, commit, push, PR rules |
| .github/COMMIT_CONVENTION.md | Commit message format |
| AGENTS.md | AI contributor guidelines |
Report vulnerabilities privately — see SECURITY.md.
MIT © Interviewer Agent Kit contributors.