How sohangadewar/ai-desktop-assisatnt works
This is a Python desktop voice assistant. Its main workflow listens for speech, waits for a Jarvis wake word, dispatches recognized commands, and speaks results; a concurrent UI reflects listening and speaking states. Command branches cover system controls, web and app launching, time/date, battery, weather, and calls. The README is brief, so workflow details come from assistant.py; the weather service is visible there, while other external behavior is limited to the calls shown in that file.
Main entry points: assistant.py Command dispatch
Components 17
Voice and UI
- Assistant runtime
AI-Desktop-Assistant/assistant.py - Speech recognition
AI-Desktop-Assistant/assistant.py - Spoken responses
AI-Desktop-Assistant/assistant.py - Animated UI
AI-Desktop-Assistant/assistant.py
Command handling
- Command dispatch
AI-Desktop-Assistant/assistant.py - System controls
AI-Desktop-Assistant/assistant.py - Web and apps
AI-Desktop-Assistant/assistant.py - Date and time
AI-Desktop-Assistant/assistant.py - Battery status
AI-Desktop-Assistant/assistant.py - Weather lookup
AI-Desktop-Assistant/assistant.py - Contact calling
AI-Desktop-Assistant/assistant.py
System and services
- Desktop operating system
- Web browser
- wttr.in
- Battery sensor API
- Telephone handler
Other components
- User
Connections 19
- User → Speech recognition: speaks commands
AI-Desktop-Assistant/assistant.py - Speech recognition → Assistant runtime: returns recognized text
AI-Desktop-Assistant/assistant.py - Assistant runtime → Command dispatch: dispatches commands
AI-Desktop-Assistant/assistant.py - Assistant runtime → Spoken responses: acknowledges wake word
AI-Desktop-Assistant/assistant.py - Command dispatch → Spoken responses: speaks replies
AI-Desktop-Assistant/assistant.py - Assistant runtime → Animated UI: starts UI thread
AI-Desktop-Assistant/assistant.py - Animated UI → Assistant runtime: reads interaction state
AI-Desktop-Assistant/assistant.py - Command dispatch → System controls: handles controls
AI-Desktop-Assistant/assistant.py - Command dispatch → Web and apps: handles app requests
AI-Desktop-Assistant/assistant.py - Command dispatch → Date and time: formats current date
AI-Desktop-Assistant/assistant.py - Command dispatch → Battery status: checks battery
AI-Desktop-Assistant/assistant.py - Command dispatch → Weather lookup: requests weather
AI-Desktop-Assistant/assistant.py - Command dispatch → Contact calling: matches contacts
AI-Desktop-Assistant/assistant.py - System controls → Desktop operating system: runs system commands
AI-Desktop-Assistant/assistant.py - Web and apps → Web browser: opens pages
AI-Desktop-Assistant/assistant.py - Contact calling → Telephone handler: opens telephone link
AI-Desktop-Assistant/assistant.py - Battery status → Battery sensor API: reads sensor
AI-Desktop-Assistant/assistant.py - Weather lookup → wttr.in: fetches JSON
AI-Desktop-Assistant/assistant.py - Weather lookup → Spoken responses: speaks report
AI-Desktop-Assistant/assistant.py