A personal AI assistant with persistent memory, natural text-to-speech, and dual AI model support.
- Persistent memory across sessions
- Natural text-to-speech output
- Dual AI model support
- Fast and low-cost processing
- Python 3.8+
- Groq API Key (for cloud AI)
- Optional: Ollama (for local AI fallback)
-
Clone the repository:
git clone https://github.com/Abhijeet-dhotre/jarvis-.git cd jarvis- -
Install dependencies:
pip install requests scipy pocket-tts
-
Set up environment variables:
- Copy
.env.exampleto.env - Add your Groq API key:
export GROQ_API_KEY="your_api_key_here" # Linux/Mac set GROQ_API_KEY=your_api_key_here # Windows
- Copy
-
(Optional) Install Ollama for local AI:
ollama serve ollama pull gemma3:1b
Run Jarvis:
python jarvis.pyhelp- Show available commandstime- Display current date and timesysinfo- Show system informationcalc <expression>- Evaluate math expressionflip- Flip a coinroll- Roll a diejoke- Tell a random jokequote- Display inspirational quoteask <question>- Ask AI a questionclear- Clear terminalexit- Shut down Jarvis
MIT