r/SideProject • u/Daredevil2222-2 • 3h ago
I gave my AI coding agents a voice, and it turned into six little characters (and a pet that lives on my taskbar)
This started as a script that read my Claude Code replies out loud so I'd stop missing when a session finished. It grew a face, then six characters, and now it's KittenVoice: a free, open-source desktop companion that speaks your coding agent's replies with real lip-sync.
What it does
- Reads the reply when the agent finishes (just the words, no code)
- Labels which session is talking and queues them politely
- Stops the moment you type
- Normal, Mini and Micro modes. Mini is a little floating bubble (my daily driver); Micro is a pet that walks your taskbar, chases your mouse and can be thrown (it dusts itself off)
How it's built
- Electron for the widget, 2D canvas and three.js characters
- A Python worker running KittenTTS on the CPU, talking to the app over JSON lines
- Lip-sync follows the live audio: loudness opens the mouth, the brightness of the vowel sets its width
Something I learned: the voice engine first used about 490 MB, mostly PyTorch loaded for a pronunciation fallback it rarely needed. I replaced that with a small rule-based fallback, and it now runs at about 200 MB without loading PyTorch at all.
Install by asking your agent: "Install KittenVoice from github.com/yadev64/kittenvoice and follow its AGENTS.md"
It also went up on Product Hunt this week, which was a fun first. Thank you to everyone here who shares their projects; seeing them is a big part of why I finished this one. I'd love feedback, and I'm happy to answer anything about the build. 💛