A smart voice assistant built in Python that listens to your commands 🎙️, understands them in Russian, and performs various tasks — from opening websites 🌐 to chatting with Google Gemini AI 🤖.
It’s like Jarvis, but written in Python.
- 🔊 Text-to-Speech (TTS) — Natural speech output using
pyttsx3. - 🧠 Voice Recognition — Google Speech Recognition API.
- 🎯 Fuzzy Command Matching — Tolerates typos and variations with
fuzzywuzzy. - 🤖 Google Gemini AI Integration — Chat with AI.
- 📷 Screenshots — Capture your screen instantly.
- 📅 Date & Time Announcements — Get current date, day, and time.
- ✅ Voice-Controlled Todo List — Add and manage notes hands-free.
- 🌐 Web Shortcuts — Open YouTube, GitHub, Google, and more.
- 🔉 Feedback Sounds — Interaction confirmation.
- 👋 Personalized Greetings — Custom welcome and goodbye messages.
📦 AI-Voice-Assistant
┣ 📜 main.py # Main assistant code
┣ 📜 commands.py # Command definitions and settings
┣ 📜 sounds/ # Sound effects for feedback
┗ 📜 README.md # Project documentation
git clone https://github.com/username/ai-voice-assistant.git
cd ai-voice-assistantpip install pyttsx3 speechrecognition playsound3 fuzzywuzzy python-Levenshtein google-generativeai pyautogui- Windows: Works out of the box.
- Linux: May require
portaudioandespeaksudo apt install portaudio19-dev espeak
Run the assistant:
python main.pyThen:
- Say a command in Russian 🎤.
- The assistant will recognize and execute it.
- Enjoy hands-free automation!
| Command (Russian) | Action |
|---|---|
| "Открой YouTube" | Opens YouTube in browser |
| "Сделай скриншот" | Saves a screenshot |
| "Какое сегодня число?" | Announces today's date |
| "Добавь в заметки купить молоко" | Adds a todo item |
| "Скажи время" | Speaks the current time |
| "Привет" | Responds with a greeting |
| "Пока" | Says goodbye and exits |
All customizable settings (voice, rate, volume, commands, sounds) are stored in:
commands.py
- Python 🐍
- pyttsx3 — Text-to-Speech
- SpeechRecognition — Voice input
- fuzzywuzzy — Command similarity matching
- Google Generative AI — AI responses
- pyautogui — Screenshots & automation