Abstract
Voice-activated AI assistants have become a cornerstone of modern human-computer interaction, yet most commercially available solutions are closed, proprietary systems inaccessible to developers who need lightweight, extensible, and locally deployable alternatives. This paper presents VOICE, a Flask-based AI voice assistant that integrates natural-language processing, system-level automation, and multimedia retrieval into a single cohesive application. The backend is implemented in Python using Flask and exposes a RESTful /command endpoint. User speech is captured in the browser through the Web Speech API, transmitted to the server as text, and dispatched through a priority-ordered command pipeline that handles system application launching (Chrome, Notepad, VS Code, Calculator), website navigation, web searches, YouTube music embedding, Wikipedia factual summaries, and Claude AI-powered conversational fallback. System-level commands such as volume control and application launch are executed by a separate agent microservice (agent.py) running on port 5001 and using PyAutoGUI and subprocess. The frontend is a polished single-page interface featuring an animated orb, a canvas waveform visualiser, and browser text-to-speech output. Functional testing confirms correct command routing across all supported operations, with Claude AI providing coherent responses for unrecognised queries. VOICE demonstrates that a practical, multi-capability AI assistant can be built from open-source components and deployed entirely on a local development machine.
Keywords
AI Voice Assistant; Flask; Web Speech API; Claude API; System Automation; Wikipedia Integration; YouTube Embed; PyAutoGUI; REST API; Natural Language Processing.
References
[1] Apple Inc., Siri — Voice-Activated Assistant, 2025. [Online]. Available: https://www.apple.com/siri/
[2] Google LLC, Google Assistant Documentation, 2025. [Online]. Available: https://assistant.google.com/
[3] Rasa Technologies, Rasa Open Source NLU and Dialogue Management Framework, 2024. [Online].
Available: https://rasa.com/docs/
[4] Botpress Inc., Botpress Conversational AI Platform, 2024. [Online]. Available: https://botpress.com/
[5] N. Patil and S. Desai, "Design and implementation of a Python-based voice assistant using SpeechRecognition
and subprocess automation," Int. J. Comput. Appl., vol. 184, no. 12, pp. 31–36, 2022.
[6] Anthropic, Claude API Documentation, 2025. [Online]. Available: https://docs.anthropic.com/
[7] Wikipedia Foundation, wikipedia-python Library, 2024. [Online]. Available:
https://pypi.org/project/wikipedia/
[8] Web Speech API Specification, W3C Community Group Final Report, 2023. [Online]. Available:
https://wicg.github.io/speech-api/
[2] Google LLC, Google Assistant Documentation, 2025. [Online]. Available: https://assistant.google.com/
[3] Rasa Technologies, Rasa Open Source NLU and Dialogue Management Framework, 2024. [Online].
Available: https://rasa.com/docs/
[4] Botpress Inc., Botpress Conversational AI Platform, 2024. [Online]. Available: https://botpress.com/
[5] N. Patil and S. Desai, "Design and implementation of a Python-based voice assistant using SpeechRecognition
and subprocess automation," Int. J. Comput. Appl., vol. 184, no. 12, pp. 31–36, 2022.
[6] Anthropic, Claude API Documentation, 2025. [Online]. Available: https://docs.anthropic.com/
[7] Wikipedia Foundation, wikipedia-python Library, 2024. [Online]. Available:
https://pypi.org/project/wikipedia/
[8] Web Speech API Specification, W3C Community Group Final Report, 2023. [Online]. Available:
https://wicg.github.io/speech-api/