How avinashb722/jarvis-ai-assistant works
JARVIS is a desktop AI assistant with a web control panel, voice interaction, authentication, AI responses, and system/phone automation. The principal workflow runs from the web UI or voice input through the Python runtime and command handling, then to AI processing or an action, with responses presented in the UI or spoken aloud. The README documents the main capabilities; source excerpts and the SOURCE INDEX substantiate selected module relationships. Some subsystem links rely on README-level architecture because their implementations were not sampled.
Main entry points: command.py Command Handling · main.py Desktop Runtime · dual_ai.py Dual AI · main.js Web Interface
Components 21
Application Runtime
- Desktop Runtime
main.py - Command Handling
engine/command.py - Face Authentication
engine/auth/recoganize.py - Fingerprint Authentication
engine/auth/fingerprint_auth.py - Assistant Database
engine/db.py
User Interaction
- Web Interface
www/main.js - Speech Input
src/speech_to_text.py - Speech Output
src/text_to_speech.py
AI and Personalization
- Dual AI
engine/dual_ai.py - Personality Manager
engine/personality_manager.py - Language Support
engine/multilingual_support.py - AI DJ
engine/ai_dj_enhanced.py
Assistant Capabilities
- System Automation
engine/dual_ai.py - Assistant Features
engine/features.py - Phone Integration
engine/phone.py - Phone Notifications
engine/phone_notifications.py - Command History
engine/command_history.py - Proactive Suggestions
proactive_jarvis.py
Other components
- User
- Groq AI
- Google Gemini
Connections 23
- User → Web Interface: uses
README.md - User → Speech Input: speaks to
README.md - Web Interface → Desktop Runtime: controls
README.md - Speech Input → Command Handling: provides input
README.md - Desktop Runtime → Command Handling: dispatches
main.py - Desktop Runtime → Face Authentication: authenticates with
main.py - Desktop Runtime → Fingerprint Authentication: configures
main.py - Command Handling → Dual AI: invokes
engine/command.py - Command Handling → Personality Manager: uses
engine/command.py - Command Handling → Language Support: uses
engine/command.py - Dual AI → Personality Manager: transforms responses
engine/dual_ai.py - Dual AI → Groq AI: queries
README.md - Dual AI → Google Gemini: queries
README.md - Command Handling → System Automation: executes commands
README.md - Command Handling → Assistant Features: dispatches features
engine/command.py - Command Handling → Phone Integration: dispatches phone tasks
engine/command.py - Desktop Runtime → Phone Notifications: starts monitoring
main.py - Command Handling → Command History: records commands
engine/command.py - Desktop Runtime → Proactive Suggestions: offers suggestions
- Command Handling → Speech Output: speaks responses
README.md - Command Handling → Web Interface: updates interface
README.md - Command Handling → Assistant Database: reads and writes
- Desktop Runtime → AI DJ: provides capability