Skip to content

About

Open-source, resume-driven AI technical interviews — voice or video — in the browser.

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Interviewer Agent Kit

Open-source, resume-driven AI technical interviews — voice or video — in the browser.

License: MIT CI Python 3.12+ Node 18+ React 18

Use cases • Features • Architecture • Quick start • Configuration • API • Contributing


Overview

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 cases

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

Features

  • 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

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
Loading

Repository layout

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

Quick start

Prerequisites

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).

1. Clone and install

git clone https://github.com/hamzaali81/Interviewer-Agent-kit.git
cd Interviewer-Agent-kit
npm run setup

2. Configure environment

cp backend/.env.example backend/.env
cp frontend/.env.example frontend/.env
# Edit backend/.env — at minimum set GEMINI_API_KEY or OPENAI_API_KEY

3. Run

# Frontend (5173) + Backend (8000)
npm run dev

# Optional: LiveKit voice agent (third terminal)
npm run dev:all

Open http://localhost:5173, upload a resume, and start an interview.

Verify the API: http://localhost:8000/health · Swagger: http://localhost:8000/docs

Neon Postgres + Auth (recommended)

Persistent interview storage and user accounts via Neon.

  1. Initialize Neon (creates a project, applies schema, writes env vars):

    npx neon@latest init

    Or with the CLI directly: npx neonctl@latest init

  2. Enable Auth in the Neon Console → your project → Auth → Enable Auth. Copy the Auth Base URL from the Configuration tab.

  3. 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
  4. 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.

Configuration

Backend (backend/.env)

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

Frontend (frontend/.env)

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)

Agent worker (agent/.env) — LiveKit mode only

Copy from agent/.env.example. Requires OpenAI for STT, LLM, and TTS.

API

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)

Interview flow

  1. Upload — Candidate submits resume, role, difficulty, and duration.
  2. Prepare — Backend parses text, extracts skills, generates 6–9 tailored questions.
  3. Connect
    • Tavus: backend calls POST /v2/conversations with resume context embedded in conversational_context.
    • LiveKit: browser receives a token, joins a room; the Python agent loads context from the backend.
  4. Interview — Real-time voice or video conversation with live transcript (LiveKit) or Tavus UI.
  5. End — Session cleanup; Tavus conversations can be ended via API.

Production notes

  • Storage — Set DATABASE_URL for Neon Postgres; otherwise interviews are in-memory only.
  • Auth — Set NEON_AUTH_BASE_URL + VITE_NEON_AUTH_URL so 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_ORIGINS to your deployed frontend domain.

Roadmap

  • 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

Contributing

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.

License

MIT © Interviewer Agent Kit contributors.

About

Open-source, resume-driven AI technical interviews — voice or video — in the browser.

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages