โก Private โข ๐ฏ Powerful โข ๐ญ Personal
Features โข Installation โข Usage โข Documentation โข Contributing
NYRA (Neural Your Reality Assistant) is a complete, production-level, local-first AI operating system designed to be your personal desktop partner. Unlike traditional chatbots, NYRA integrates deeply with your system, offering voice interaction, intelligent automation, memory management, and an expressive anime avatar.
- Name: NYRA
- Type: Local AI Partner Assistant
- Voice: Female, cute, expressive (via TTS)
- Avatar: Anime-style (VTuber/VRM compatible)
- Personality: Calm, Intelligent, Supportive, Slightly Playful
- Languages: English, Banglish, Bengali (เฆฌเฆพเฆเฆฒเฆพ)
- Privacy: 100% local-first, no secret tracking
| ๐ง Smart AI | ๐ค Voice Enabled | ๐ญ Anime Avatar | ๐ 100% Private |
|---|---|---|---|
| Powered by Gemini 2.0 | Offline + Online TTS/STT | VRM Model Support | Local-First Design |
๐ง AI Brain
- โ Gemini Integration: Uses Google's Gemini 2.0 Flash models
- โ Automatic Model Routing: Primary, fallback, and reasoning models
- โ Context Memory: Short-term (RAM) + Long-term (ChromaDB)
- โ Multi-language: Detects English, Banglish, and Bengali
- โ Smart Responses: Context-aware conversations
๐ค Voice Interface
- โ Offline STT: VOSK for speech recognition
- โ Expressive TTS: pyttsx3 (offline) + Gemini TTS (online)
- โ Hands-free Operation: Full voice command support
- โ Multi-language Voice: English, Bengali, Banglish
- โ Wake Word Detection: Custom activation phrase
๐ญ Avatar System
- โ Anime Character: VRM model support (VTuber-ready)
- โ Emotion Engine: Reacts to user sentiment in real-time
- โ Lip Sync: Audio-driven mouth animations
- โ Idle Animations: Breathing, blinking, subtle movements
- โ Customizable: Change avatar expressions and states
๐ฅ๏ธ System Control
- โ Application Management: Open/close apps with voice or text
- โ System Commands: Shutdown, restart, sleep, lock
- โ File Operations: Create, move, delete files/folders
- โ System Monitoring: Real-time CPU, RAM, disk usage
- โ Smart Automation: Schedule tasks and reminders
๐ Services & Integrations
- โ Web Search: Google search integration
- โ Weather: Real-time weather via wttr.in
- โ WhatsApp: Browser automation for messaging
- โ Notes & Reminders: Local JSON storage
- โ PDF Generation: Create documents from text
- โ Email: Send/receive emails (coming soon)
๐ป Coding Tools
- โ Code Writer: Generate code in any language
- โ Debugger: Analyze errors and suggest fixes
- โ Code Explainer: Understand complex code
- โ Project Analyzer: Analyze entire codebases
- โ Refactoring: Improve code quality
๐๏ธ Vision Capabilities
- โ Screen Capture: Take screenshots on command
- โ OCR: Extract text from screen (Tesseract)
- โ Image Analysis: Understand images (coming soon)
- ๐ผ Productivity: Automate daily tasks, manage files, set reminders
- ๐ Learning: Code assistant, research helper, language translation
- ๐ฎ Entertainment: Tell jokes, play music, chat casually
- ๐ง Development: Debug code, write documentation, analyze projects
- ๐ Communication: Send messages, check weather, web search
- Error Detection: Automatically find errors on screen
- Humor Engine: Light jokes and playful responses
- Emotion Detection: Understands user mood
- Adaptive Responses: Adjusts tone based on context
- Python 3.11+ (Python 3.13 recommended)
- Windows OS (tested on Windows 11)
- Gemini API Key (Get it here)
git clone <your-repo-url>
cd NYRA_OSpython -m venv venv
venv\Scripts\activatepip install -r requirements.txtOpen .env and add your API key:
GEMINI_API_KEY=YOUR_ACTUAL_API_KEY_HERE
USER_NAME=YourName
AI_NAME=NYRA- VOSK Model: Download vosk-model-small-en-us-0.15 and extract to
model/ - VRM Avatar: Place your
.vrmfile atavatar/assets/nyra.vrm - Tesseract OCR: Install from here for vision features
python main.pyYou'll see a cyberpunk-style boot sequence:
- "Initializing NYRA..."
- "Loading memory modules..."
- "Neural link established..."
- Dashboard opens
- Top Bar: Time (12-hour AM/PM), Status, Mood
- Left Panel: System stats (CPU, RAM, Disk)
- Center: Avatar hologram with emotion display
- Right Panel: Communication log (chat history)
- Bottom Bar: Text input + Voice button
Type or speak:
"What time is it?"โ Shows current time"Tell me a joke"โ Returns a programming joke"Open browser"โ Launches default browser"Weather"โ Gets current weather"Search for Python tutorials"โ Opens Google search"Write Python code for sorting"โ Generates code"Shutdown"โ Powers off PC (use carefully!)
Note on Voice Commands: Text input works 100%. Voice commands require a microphone and Google Speech API access. If voice doesn't work, just use text inputโall features work identically! See VOICE_SETUP_GUIDE.py for troubleshooting.
NYRA_OS/
โโโ main.py # Entry point
โโโ boot/ # Startup loader
โโโ core/ # Brain, orchestrator, language, emotion
โโโ ui/ # PyQt6 dashboard and widgets
โโโ voice/ # STT (VOSK) and TTS (pyttsx3)
โโโ avatar/ # VRM engine, emotions, lip-sync
โโโ memory/ # Short-term + ChromaDB long-term
โโโ system/ # OS control, monitoring, files
โโโ services/ # Web search, weather, messaging
โโโ coding/ # Code assistant
โโโ documents/ # Notes, PDF generation
โโโ vision/ # Screen capture, OCR
โโโ humor/ # Jokes and playfulness
โโโ utils/ # Logger
โโโ config/ # Settings
Edit ui/styles/theme.qss:
/* Primary cyan */
color: #00ffcc;
/* Accent pink */
color: #ff007f;Modify core/brain.py system instruction:
system_instruction = f"""
You are {Config.AI_NAME}...
Personality: [Your custom traits here]
"""Edit core/router.py:
if 'my_command' in text_lower:
return {'type': 'custom', 'action': 'my_action'}Solution: Ensure GEMINI_API_KEY is set correctly in .env
Solution: Download VOSK model and update path in .env
Solution: Check audio drivers, try running as Administrator
Solution: Ensure all dependencies installed:
pip install -r requirements.txtSolution: Update graphics drivers, run in compatibility mode
- Multi-modal input (image + text)
- Plugin system for extensibility
- Mobile companion app
- Advanced VRM rendering with OpenGL
- Proactive suggestions based on usage patterns
- Calendar and schedule integration
- Email management
- Real-time translation
Contributions welcome! Please:
- Fork the repository
- Create a feature branch
- Submit a pull request with clear description
MIT License - See LICENSE file for details
- AI Model: Google Gemini
- UI Framework: PyQt6
- Voice: VOSK, pyttsx3
- Memory: ChromaDB
Salah Uddin Kader
- GitHub: @salahuddingfx
- Email: salauddinkaderappy@gmail.com
- Project: NYRA AI - Personal AI Assistant
For issues, questions, or feature requests:
- Open an issue on GitHub: NYRA_AI Issues
- Email: salauddinkaderappy@gmail.com
- Discussions: GitHub Discussions
โก NYRA - Your Local AI Partner. Private. Powerful. Personal.
Made with โค๏ธ by Salah Uddin Kader