The problem
Static training videos are useless for teaching power skills. You can't learn how to give a hard performance review by watching someone else do it. You have to try, get it wrong, and get feedback in the moment.
The mandate at 100Minds was a system that could role-play high-stakes leadership scenarios (performance reviews, conflict resolution, difficult conversations) where the learner speaks aloud, the AI responds in real time, and it feels like coaching, not a course.
Three constraints, all non-negotiable
Near-zero latency. Any noticeable pause in a tense role-play breaks immersion. The learner has to feel like they're in a conversation, not waiting on a server.
Strong conversational memory. The AI has to remember what the learner said three turns ago and use it, or the role-play falls apart.
Zero hallucinations. Bad corporate advice is a real liability. The AI could not invent leadership frameworks. Everything had to be grounded in curated material.
RAG solved the hallucination problem
I built a RAG pipeline that chunks the platform's curated content into a vector database, so every response is anchored in real material. On top of that sit a voice tutor for spoken interaction and an AI avatar for immersive practice.
The learner looks at a face and speaks naturally. Behind it, speech-to-text, LangChain reasoning, retrieval, text-to-speech, and avatar sync are orchestrated tightly enough that users don't perceive the AI as thinking.

The real problem was latency
Early versions had two to three seconds between the learner finishing and the AI responding, plus awkward turn-taking where the AI talked over people or left dead air. You can survive a weak AI answer. You can't survive an AI that feels laggy.
I spent weeks on the streaming pipeline. Streamed STT so processing starts before the learner finishes. Retrieval and generation run concurrently instead of one after the other. An interruption handler cuts the AI off mid-sentence when the learner starts talking.
A slightly worse model with tight latency feels better than a smarter model that pauses. Voice AI is a latency product, not a quality product.
The avatar sync problem
Syncing lip movement and expression with live audio needed careful orchestration between the voice model and the rendering layer. If audio arrived before lip-sync was ready, the avatar looked broken.
I added a small buffer that holds audio for a few hundred milliseconds while the avatar catches up, calibrated to our rendering pipeline. Invisible to the learner, load-bearing for the illusion.
Chunking is the highest-leverage decision in RAG
Chunk too coarsely and you lose precision, retrieving a page when you need a sentence. Chunk too finely and you lose context, retrieving a sentence stripped of its paragraph, and the answer sounds plausible but is subtly wrong.
I settled on semantic chunking at paragraph boundaries with adjacent-chunk overlap, tuned per document type. Not glamorous, but it moved the hallucination rate more than any prompt engineering did.
What I learned
Voice AI UX is its own discipline. Latency tolerance, interruption handling, and pacing matter as much as model quality.
Reliable AI products aren't about picking the smartest model. They're about mastering the orchestration layer.
Models are commodities. The latency budget, retrieval quality, interruption handling, and avatar sync are what make the product feel real.
What I owned
- The RAG pipeline end to end (ingestion, chunking, embedding, retrieval), grounding every response in curated content
- A voice tutor with streamed STT, concurrent retrieval and generation, and natural interruption handling, inside a sub-second budget
- An interactive AI avatar synced to live audio through a calibrated buffering layer
- LangChain and LangGraph workflows for retrieval, generation, session memory, and multi-turn context
- Per-document-type chunking strategy that maximized precision without losing conversational context
- The latency budget across STT, reasoning, retrieval, TTS, and avatar rendering
