Nox is a fully local, extensible desktop voice assistant powered by Gemini Pro, Whisper, and Porcupine. It listens, understands, responds intelligently, and can even control your operating system.
- 🔊 Wake word activation – “Hey Nox”
- 🎙️ Speech-to-text using Whisper
- 🤖 Gemini-powered conversational AI
- 🧠 Memory: “Remember my name is...” works!
- 💬 Persona switching: “Be sarcastic” changes tone
- 💻 System control: Open apps, URLs, screenshots, shutdown
- 🗃️ Last 10 interactions cached in
nox_cache.json - 🗣️ Text-to-speech replies using pyttsx3
| Layer | Technology |
|---|---|
| AI/LLM | Gemini 1.5 Pro (Google) |
| STT | Whisper (OpenAI) |
| TTS | pyttsx3 |
| Wake Word | Porcupine by Picovoice |
| Core | Python 3.10+ |
| Config | python-dotenv |
| Optional GUI | Flask or Tkinter (future) |
| Layer | Technology |
|---|---|
| AI/LLM | Gemini 1.5 Pro (Google) |
| STT | Whisper (OpenAI) |
| TTS | pyttsx3 |
| Wake Word | Porcupine by Picovoice |
| Core | Python 3.10+ |
| Config | python-dotenv |
| Optional GUI | Flask or Tkinter (future) |
nox-assistant/
├── nox/
│ ├── main.py
│ ├── ai_engine.py
│ ├── speech_to_text.py
│ ├── text_to_speech.py
│ ├── wake_word.py
│ ├── memory.py
│ ├── cache.py
│ ├── system_controller.py
│ └── __init__.py
├── assets/ # wake word files
├── .env.example # API keys template
├── requirements.txt
├── README.md
└── .gitignore
- Python 3.10+
- A working microphone
- An internet connection (for Gemini/Whisper)
- A Gemini API key
- A Picovoice access key
git clone https://github.com/p19racha/NoxAI.git
cd NoxAIpython -m venv venv
venv\\Scripts\\activate # Windows
source venv/bin/activate # macOS/Linuxpip install -r requirements.txtCopy the example and add your own keys:
cp .env.example .envEdit .env:
GEMINI_API_KEY=your_google_gemini_api_key
PICOVOICE_ACCESS_KEY=your_picovoice_key
python nox/main.pySay:
- “Hey Nox” (wake word)
- “What’s the capital of Japan?”
- “Open Notepad”
- “Remember my name is Alice”
- “What’s my name?”
- “Be sarcastic”
GEMINI_API_KEY=your_key_here
PICOVOICE_ACCESS_KEY=your_key_here- Stores your name, facts, etc. in
nox_memory.json - Caches last 10 interactions in
nox_cache.json
- ✅ Mic not detected? Check audio device permissions.
- ✅ Wake word not triggering? Ensure
.ppnfile path is correct. - ✅ Keys not loading? Make sure
.envis in%AppData%\\Noxor local.
MIT License – you’re free to use, modify, and distribute Nox.
- Web-based GUI (Flask)
- LLM fallback via LLaMA (offline)
- Real-time streaming STT
- Auto-installable
.exefor Windows - Chat log viewer