๐Ÿค–

Building a lip-sync AI interviewer: the technical decisions we made

The InterprepAI Teamยทยท9 min read

A convincing AI interviewer has to listen, think, speak, and move its face โ€” all in near real time, because latency is what breaks the illusion of a conversation. Building that meant a series of deliberate trade-offs. Here are the decisions that shaped the interview engine, and why we made them.

Orchestration: compose a pipeline instead of rolling our own

A real-time voice agent is a pipeline: capture audio, transcribe, run the language model, synthesize speech, and stream it back, all while handling interruptions. Building and tuning that plumbing from scratch is a deep project in itself, and most of it is undifferentiated work.

We chose to orchestrate the pipeline with a framework built for exactly this, so our effort went into the parts that make the interviewer good โ€” the persona, the questioning behavior, the scoring โ€” rather than into reinventing low-latency audio plumbing.

Latency is the product

In conversation, a delay of even a second reads as awkward or broken. Every component in the chain adds latency, so the central engineering constraint was keeping the end-to-end response time low enough that turn-taking feels human.

That constraint drove many downstream choices: streaming partial results instead of waiting for complete ones, handling interruptions gracefully so the candidate can cut in like a real conversation, and keeping the model's responses tight rather than monologuing.

The avatar: lip-sync over a static face

A disembodied voice is functional but flat; a face that moves with the speech is what makes the session feel like a real interview and surfaces the pressure candidates actually need to practice under. We drive a real-time lip-synced avatar so the interviewer looks like it is speaking, not like a recording.

We deliberately kept the avatar behind an abstraction so the provider can be swapped without touching the rest of the system. Avatar technology is moving fast, and we did not want a vendor decision made today to become a rewrite tomorrow.

Transport: lightweight WebRTC

Getting low-latency bidirectional audio and video between the browser and the engine is a WebRTC problem. We opted for a lightweight transport that does exactly what we need without the overhead of a heavier managed platform, which keeps the architecture simpler and the cost predictable.

Simplicity here pays off operationally: fewer moving parts between the candidate's microphone and the model means fewer places for latency and failures to creep in.

Keeping long conversations coherent

Real-time model connections have practical limits on how long a single session can run, which is a problem for an interview that should feel continuous. We handle this with session resumption and context management so a long conversation stays coherent even across the seams, without the candidate noticing.

The theme across all of these decisions is the same: spend engineering effort on what makes the interviewer feel real and useful, and lean on the right tools for everything that is plumbing. That is what let a small team ship a convincing real-time interviewer.

Stop reading about it. Practice it.

Run a realistic AI mock interview tailored to your CV and the exact role, then get a detailed report on every answer.

Start a free mock interview โ†’

Keep reading

โฑ๏ธ

Product

Introducing session duration limits โ€” the AI now wraps up naturally

๐Ÿ—๏ธ

Technical interviews

System design interviews: why "right" answers don't get you hired

๐Ÿ“Š

Research

We analyzed 1,000 interview sessions. Here's what the data shows.

Browse all posts โ†’