Qlay AI Proctor
A Mac and Windows app that supervises a remote job assessment and watches the candidate through their own webcam, on their own computer.
- Electron
- React
- Python
- Agora
In short
Qlay AI Proctor is a Mac and Windows app that supervises a remote job assessment. The candidate gets a link, nobody is in the room, and the app does the invigilating: it watches them through their own webcam, on their own laptop, and keeps them inside the test.
What I built
Several people worked on this, and I wrote most of the commits. My share was the operating-system side and the live exam session.
On the desktop side that is starting and supervising the detection program, the locked exam window, the floating webcam panel, the second-monitor detector, and the rules for what counts as a violation. On the interface it is the live session: reading gaze, recording and uploading the webcam, holding the live connection, and turning those signals into the activity log a reviewer reads afterwards.
Why not a website
A page in a browser cannot see a second monitor being plugged in, cannot stop someone switching apps, and cannot run face detection without uploading every camera frame. That is why this is a desktop app, and why the checks run on the candidate's own machine.
The candidate's side
They paste their session link and agree to being monitored, then verify their identity, set up a phone as a second camera angle, and calibrate where they look and how they sound. The test opens in a window they cannot switch away from, with their webcam in a small panel beside it.
Three programs, split on purpose
The interface is React and has no access to the computer. A Node process does the operating-system work: locking the window, watching displays, restarting anything that dies. A Python program owns the webcam and the face and gaze models, and it ships inside the app so nobody has to install it.
The interface may ask Node for only a short list of allowed actions, so a compromised page still can't reach the machine. Video goes through Agora, and session events and crash reports go to their own services.
Staying inside the test
Every candidate has their own test link. When they aren't signed in, the assessment site sends them to a login page and then to its homepage, not to their test. The exam window remembers the address it was given and goes back there after login, retrying a handful of times and waiting until the page no longer looks like a login screen.
Alarms also carry different meanings. Blocking an app-switch means the candidate tried to leave, while a window losing focus may just be a system notification. They are reported as separate events.
Going easy on the laptop
Face detection on every frame would heat up the machine the candidate is being tested on. Gaze is checked three times a second on a compressed snapshot, and a change is reported at most once every three seconds. The webcam recording uploads in short pieces during the test, at the smallest size the storage service accepts.
Release checks that fail loudly
The build stops if the server address is missing, since the app would otherwise open normally and quietly talk to nothing. A release is also rejected unless its signature is time-stamped: the certificate lasts about three days, so an unstamped build works today and breaks for candidates later in the week.
What stuck with me
Keeping the interface powerless made the rest easier to reason about. And both release checks come from the same lesson: the failures that hurt most are the ones that look fine on the day you ship.