Available for Hire
Screenshot of Zen Voice Assistant
Back
Full Stack 2026 Featured

Zen Voice Assistant

An Indonesian-speaking voice assistant shaped like a capybara that floats on the desktop: talk to it, and it drives Chrome to open YouTube, search Google, and more. Local Whisper on the GPU, Claude as the brain, Edge-TTS as the voice.

About This Project

Zen is a personal voice assistant I built for my own desktop. It takes the form of an original capybara that I drew in SVG, living in a transparent, always-on-top Electron window in the corner of the screen. Click the capybara, press Ctrl+Alt+Z, or call it by name with the wake word, then speak. The microphone stops on its own when I go quiet, speech is transcribed by faster-whisper running locally on the GPU (free and offline), and Claude handles the request through the Claude Agent SDK using the existing Claude Code login, so no API key is needed. When a request needs the browser, Zen uses Playwright MCP to drive my own signed-in Chrome through the extension, or a dedicated Chrome profile if the extension is not installed. Replies are spoken in an Indonesian voice from Edge-TTS, and the capybara's mouth moves with the audio's volume envelope. The Python (asyncio) backend and the Electron avatar talk over a line-delimited JSON protocol on stdin and stdout with explicit states: loading, idle, listening, thinking, speaking, and acting. The avatar also has a life of its own when idle: its eyes follow the cursor, it yawns now and then, soaks in a hot spring, dozes off, and shows hearts when petted. After answering, Zen keeps listening for a few seconds for follow-up questions, and it can be interrupted at any time by clicking the capybara while it talks.

Tech Stack

Python Electron Claude Agent SDK faster-whisper Edge-TTS Playwright MCP SVG

Challenges

  • Making voice conversation feel responsive without paying per request for speech-to-text or the language model
  • Giving the assistant access to a real browser without letting it take risky actions on its own
  • Making the avatar feel alive and in sync with its voice rather than a blinking icon

Solutions

  • Whisper large-v3-turbo runs locally on an NVIDIA GPU through faster-whisper, the microphone stops automatically on silence, and the brain uses the Claude Agent SDK with the existing Claude Code login
  • Tool access is limited to the Playwright MCP server, and Zen's persona must ask for spoken confirmation before paying, sending messages, posting, deleting, changing account settings, or entering a password
  • The mouth is driven by the TTS audio's volume envelope at 30 fps, plus per-state expressions and idle behaviour: eyes that follow the cursor, yawning, soaking, sleeping, and petting