A comprehensive AI assistant with voice recognition, text-to-speech, system control, and Iron Man-like interface capabilities
- Wake word detection ("AALEX", "Alex", "Hey AALEX", "Jarvis")
- Google Speech Recognition for accurate voice commands
- Continuous listening mode
- Natural voice synthesis with male voice preference
- System control (volume, brightness, screenshots, system info)
- Application launcher and web search integration
-
Always-on-top overlay in top-left corner
-
Notes system for quick note-taking
-
Code snippets storage and management
-
Screen analysis and monitoring
-
ChatGPT integration for AI responses
-
Social media management with quick access
-
Transparency controls and customization
-
Auto-save functionality
- Integrated browser for social media management
- AI tools quick access (ChatGPT, Claude, Perplexity, etc.)
- Social media management (Twitter, LinkedIn, Facebook, etc.)
- News feed integration
- Developer tools access
- Web content management
- One-click launch of all components
- Process management and monitoring
- Status tracking of running components
- Launch log for debugging
- Stop all functionality
- Python 3.7 or higher
- Windows 10/11
- Microphone and speakers
-
Clone or download the project
git clone <repository-url> cd aalex
-
Install Python dependencies
pip install -r requirements.txt
-
Install PyAudio (if installation fails)
# For Windows, you might need to install from a wheel pip install pipwin pipwin install pyaudio -
Run AALEX
python aalex.py
- Launch everything:
python aalex_launcher.py - Click "Launch All" to start all components
- The GUI overlay will appear in the top-left corner
- Say "AALEX" to activate voice commands
- Voice Assistant:
python aalex.py - GUI Interface:
python aalex_gui.py - Browser:
python aalex_browser.py - Launcher:
python aalex_launcher.py
Say one of the wake words to activate:
- "AALEX"
- "Alex"
- "Hey AALEX"
- "Jarvis"
- "AALEX, what time is it?"
- "AALEX, what's the date?"
- "AALEX, volume up/down/mute"
- "AALEX, take a screenshot"
- "AALEX, system information"
- "AALEX, battery status"
- "AALEX, shutdown/restart/sleep computer"
- "AALEX, open notepad/calculator/chrome"
- "AALEX, close [application]"
- "AALEX, search for [query]"
- "AALEX, weather information"
- "AALEX, tell me a joke"
- "AALEX, tell me a quote"
- "AALEX, help" - Shows all available commands
- Quick note-taking with timestamps
- Add, delete, and clear notes
- Auto-save functionality
- Store and manage code snippets
- Copy to clipboard functionality
- Syntax highlighting support
- Real-time screen monitoring
- Application usage tracking
- System performance monitoring
- Screenshot capture
- Direct API integration
- Chat interface
- API key management
- Quick access to all platforms
- Integrated feed management
- One-click platform access
You can modify voice settings in the setup_tts() method:
- Speech rate (default: 180)
- Volume level (default: 0.9)
- Voice selection (prefers male voices)
Add or modify wake words in the wake_words list:
self.wake_words = ["aalex", "alex", "hey aalex", "jarvis", "your_custom_word"]Add new commands by:
- Adding a method to the
AALEXclass - Adding the command to the
commandsdictionary
-
"No module named 'pyaudio'"
- Install PyAudio:
pip install pyaudio - If that fails, try:
pip install pipwin && pipwin install pyaudio
- Install PyAudio:
-
Microphone not working
- Check microphone permissions in Windows settings
- Ensure microphone is set as default recording device
-
Voice recognition not accurate
- Speak clearly and at normal volume
- Reduce background noise
- Adjust microphone sensitivity in Windows
-
TTS not working
- Check if speakers are working
- Verify Windows TTS is enabled
- Try different voice options in the code
- Close unnecessary applications for better performance
- Use a good quality microphone for better recognition
- Speak clearly and wait for the beep before giving commands
- AALEX runs locally on your computer
- Voice data is processed by Google Speech Recognition (sent over internet)
- No personal data is stored or transmitted
- System commands require user confirmation for safety
Feel free to contribute by:
- Adding new voice commands
- Improving voice recognition accuracy
- Adding new system control features
- Enhancing the user interface
- Reporting bugs and issues
This project is open source and available under the MIT License.
- GUI interface
- Custom wake word training
- Integration with smart home devices
- Calendar and reminder system
- Email and messaging integration
- Advanced system monitoring
- Plugin system for custom commands