Voice agents that know when to talk
We build voice agents for Indian callers from open models running on our own server: speech-to-text, a language model and text-to-speech, plus a small turn-taking model that decides when the caller has finished speaking. The safety rules live in code, not in the prompt.
Working demo with a fictional bank · Live demo on requestFour jobs in one conversation
Three models in a chain, plus the job people forget: deciding when the caller has finished.
When should the agent speak?
Too early and it interrupts you. Too late and it feels slow. Humans switch turns in about 200 ms; a fixed silence timer is either too slow or too rude.
A pause is not the end
Callers stop mid-sentence to think. The agent waits instead of jumping in.
One score, every 0.3 s
A small model reads pitch, sentence completeness and pause length, and gives one end-of-turn score. It runs on a CPU.
You talk, it stops
When the caller talks over the agent, it stops speaking. This is a rule on loudness and length, not a model.
Safety lives in code, not in the prompt
Telling a language model the rules in its prompt was not enough: it still leaked data. So the rules moved into code that the model cannot override.
Verify first
No balance or account data before identity is checked.
Confirm before action
A card is blocked only after a clear "yes".
Hide secrets
OTPs and PINs are masked before the AI ever sees them.
Hand over
Fraud, anger or "I want a human" goes to a person.
Cascade or full-duplex?
Full-duplex models listen while they speak, which sounds more human. A cascade is easier to test, control and trust, so that is what we deploy today, while we keep researching duplex models.
| Cascade (what we built) | Full-duplex | |
|---|---|---|
| Delay | Adds up across stages | Very low |
| Interruptions and "hmm"s | Needs a turn-taking model | Handled naturally |
| Control and safety | Easy to test, rules in code | Harder to control |