How its-aiman434/ai-voice-assistant works
Xyrix is a desktop voice assistant with a web-based interface and Python command backend. Its primary workflow captures a voice or text command, sends it through the Eel bridge for interpretation and task execution, then displays and speaks the response. The documented capabilities also include drawing, PIN-protected sessions, chat history, app and web control, and WhatsApp actions. The sampled excerpts show the bridge and several command paths; some README capabilities, including emotion recognition and hotword detection, could not be traced to sampled implementation.
Main entry points: main.py Eel bridge · command.py Command dispatcher · script.js UI interaction · index.html Assistant UI
Components 20
Assistant interface
- Assistant UI
web/index.html - UI interaction
web/script.js - UI animation
web/controller.js - PIN and history
web/script.js - Drawing canvas
web/script.js
Command backend
- Eel bridge
main.py - Voice capture
command.py - Command dispatcher
command.py - Spoken response
command.py
Assistant actions
- App control
command.py - Web search
command.py - AI chat
command.py - WhatsApp actions
command.py
External systems
- SpeechRecognition
- pyttsx3
- DeepInfra API
- Web browser
- Desktop apps
- WhatsApp desktop
Other components
- User
Connections 23
- User → Assistant UI: uses
- Assistant UI → UI interaction: loads
- Assistant UI → UI animation: loads
- UI interaction → PIN and history: reads/writes
- UI interaction → Drawing canvas: draws on
- UI interaction → Eel bridge: calls
- Eel bridge → Voice capture: calls
- Voice capture → SpeechRecognition: captures speech
- Voice capture → Eel bridge: returns command
- Eel bridge → Command dispatcher: calls
- Command dispatcher → Eel bridge: returns response
- Eel bridge → Spoken response: calls
- Spoken response → pyttsx3: speaks with
- Command dispatcher → App control: dispatches
- App control → Desktop apps: launches
- Command dispatcher → Web search: dispatches
- Web search → Web browser: searches
- Command dispatcher → AI chat: dispatches
- AI chat → DeepInfra API: requests answer
- Command dispatcher → WhatsApp actions: dispatches
- Eel bridge → WhatsApp actions: calls
- WhatsApp actions → WhatsApp desktop: automates
- Eel bridge → UI interaction: returns response