How sanviitapralia/desktop-based-virtual-assistant-using-python-based-on-natural-language-processing works
JARVIS is a Windows desktop voice-and-text assistant. Its main workflow accepts typed or recognised speech, handles exit/mode changes, maths and installed-app commands as fast paths, classifies remaining input, routes the intent to a tool, then prints and speaks the reply. Its documented capabilities also include persistent memory, web search, system and volume controls, and Hinglish normalisation. The README and sampled sources support the main stages; some entry-point and integration links are documented but not shown in source excerpts, so those links are dashed.
Main entry points: assistant.py Assistant workflow · router.py Intent router · app_launcher.py Installed app launcher · speech.py Speech input
Components 22
Assistant interaction
- Application entry
main.py - Assistant workflow
core/assistant.py - Speech input
core/speech.py - Spoken replies
core/tts.py
Language and intent
- Intent classifier
core/classifier.py - Hinglish normaliser
core/language.py - Intent router
core/router.py
Assistant capabilities
- Safe maths
tools/math_engine.py - Installed app launcher
tools/app_launcher.py - Built-in applications
tools/applications.py - Websites and search
tools/browser.py - System and volume
tools/system.py
Configuration and state
- Memory store
tools/memory.py - SQLite memories
config.py - Runtime settings
config.py - Logging
core/logger.py - Classifier artifacts
models/vocab.json
Other components
- User
- Microphone
- Google recognition
- Windows desktop
- Web browser
Connections 24
- User → Application entry: starts assistant
README.md - Application entry → Assistant workflow: starts workflow
README.md - Assistant workflow → Speech input: requests input
core/assistant.py - Microphone → Speech input: provides audio
core/speech.py - Speech input → Google recognition: recognises audio
core/speech.py - Assistant workflow → Hinglish normaliser: detects language
core/assistant.py - Assistant workflow → Safe maths: checks maths
core/assistant.py - Safe maths → Hinglish normaliser: normalises text
tools/math_engine.py - Assistant workflow → Installed app launcher: checks app commands
core/assistant.py - Assistant workflow → Intent classifier: classifies input
core/assistant.py - Intent classifier → Classifier artifacts: loads artifacts
core/classifier.py - Assistant workflow → Intent router: routes intent
core/assistant.py - Intent router → Built-in applications: opens or closes
core/router.py - Intent router → Websites and search: opens or searches
core/router.py - Intent router → System and volume: runs system actions
core/router.py - Intent router → Memory store: reads or writes
core/router.py - Memory store → SQLite memories: reads or writes
tools/memory.py - Installed app launcher → Windows desktop: launches or closes apps
- Installed app launcher → Web browser: opens URLs
- Websites and search → Web browser: opens sites or search
tools/browser.py - Assistant workflow → Spoken replies: delivers reply
core/assistant.py - Spoken replies → User: speaks reply
README.md - Assistant workflow → Runtime settings: loads settings
core/assistant.py - Assistant workflow → Logging: records events
core/assistant.py