Internal project · AI applications
AI mock interview platform
Candidates practise technical interviews with an AI interviewer that works from their own resume and a target job description.
Overview
A SaaS application where a candidate uploads a resume, adds a job description and runs a staged mock interview. Answers are scored against a rubric, and administrators have their own area for users, analytics and settings.
Business context
The aim was practice that follows the candidate's own resume and the target role, instead of a fixed question list, with scoring that is consistent from one session to the next.
The problem
A fixed list of practice questions cannot follow a candidate's own experience or the role they are applying for.
The technical challenge
Run an interview as a controlled, recoverable sequence with AI in the loop: process resumes in the background, keep session state safe, and stay usable when one AI provider is slow or unavailable.
Solution approach
A FastAPI backend parses and indexes resumes in a background worker and moves each session through a state machine. A model router sends requests to one of four AI providers and fails over when one fails. A Next.js front end serves candidates and administrators.
Objectives
- Ground questions in the candidate's resume and a chosen job description
- Keep the interview flow predictable, with explicit stages
- Score each answer against a rubric and keep the results
- Avoid dependence on a single AI provider
Key features
- Resume upload for PDF and Word files, with processing status and an antivirus status stored per upload
- Job-description matching against the parsed resume
- Interview sessions with six stages: introduction, technical, follow-up, system design, behavioural and summary
- Answer scoring across several dimensions, including correctness and communication
- Candidate dashboard and an admin area for users, analytics and settings
- Role-based access for candidates and administrators
Technical architecture
Swipe sideways to see the full diagram
Implementation approach
- 01Resume files are parsed (PDF and Word), split into chunks and indexed by a background worker, so an upload returns immediately and its status can be polled.
- 02Session state is held in Redis and modelled as an explicit state machine, including a recovering status for interrupted sessions.
- 03Every provider call goes through one router; adapters for OpenAI, Anthropic, Gemini and OpenRouter share a single interface.
- 04Structured logging and OpenTelemetry tracing are built in, and a local Docker Compose stack adds Prometheus, Tempo and Grafana.
- 05The Next.js front end has its own server-side API routes between the browser and the backend.
Engineering challenges and decisions
Choices that shaped the system, and why they were made.
- 01
Do not depend on one AI provider
Provider adapters share one interface, and the router tries ranked candidates in turn. Each provider has a circuit breaker, so a failing provider is skipped quickly instead of slowing every request.
- 02
Make the interview a state machine
Six explicit stages and a recovering status keep the flow predictable and let an interrupted session be handled deliberately instead of by accident.
- 03
Process documents outside the request
Parsing, chunking and indexing run in a worker. The upload response stays fast and a failed parse is recorded as a status, not lost.
- 04
Treat uploads as untrusted
Each uploaded resume carries an antivirus scan status next to its processing status, so the state of every file is visible.
Verified outcomes
No performance, revenue or user figures are published for this project, because none are documented in a form we can stand behind. What is shown here is how the system is built.
What is not shown
- No users, sessions or interview results are reported. None are documented in a form we can stand behind.
- Product screenshots are not published yet; the architecture diagram shows the design.
Screenshots and visual evidence
No product screenshots are published for this project. The architecture diagram above is an illustration of the design, not a screen from the application.
Related services
The work above is the kind of engineering these services provide.
Start with the problem
Tell us the problem. We will tell you honestly how we could help.
Describe what is slowing the business down in your own words. We reply with questions or a suggested next step. We do not promise a response time or a price before we understand the problem.