Safety rules in plain code
Asking the model to spot a crisis
Word lists miss vague wording, so a second net runs on the next turn, but the crisis rule always applies on the same turn and never depends on a model.
9 files open · click a tab, or use prev / next at the bottom of the page
A face-to-face AI companion you can talk to for 20 minutes, in English or Hinglish.
> A real-time voice and avatar agent with plain-code safety rules and evals for every change.
Voice AI decides turns mostly from silence: stop making sound and it starts talking; make any sound and it stops. People don't talk like that. For a 20-minute conversation in Hinglish, the turn-taking, the latency and the safety rules decide whether it feels like a person or a phone menu.
Vaani is built in versions. Version 0 is the baseline: voice, character, five conversation skills, memory within a call and a face. Version 0.5 adds the Reading Engine, which reads face and voice together to decide turns.
abhay@os ~ % what did I actually do?
[ ok ] exit 0 · 5 tasks · owner: abhay
Three numbers I'd put on a slide. Measured in production, not in a benchmark I wrote the night before.
The design documents are the source of truth: decisions are numbered (RE-D1, V0-D1…) and each phase names the folders it may touch.
Asking the model to spot a crisis
Word lists miss vague wording, so a second net runs on the next turn, but the crisis rule always applies on the same turn and never depends on a model.
Calling SDKs from the conductor
An extra layer, but a voice or brain outage falls back without touching the turn logic.
Emotion detection
Less to say about the person, but guessing feelings from faces is unreliable and feels invasive.
Plain code, no AI: the crisis and age rules must apply on the same turn and never depend on a model. Every list has tests.
If I built it again, I'd change…
lessons.txt (END) — press q to quit
Oct 2026 — now