A powerful, multimodal AI assistant designed specifically for macOS. Jarvis integrates Voice, Vision, and Desktop Control to act as a true digital companion.
- Wake Word: Listens for "Hey Jarvis" (using
openWakeWord). - Speech-to-Text: Uses OpenAI Whisper for accurate transcription.
- Text-to-Speech: Uses OpenAI TTS (Onyx voice) for realistic responses.
- GPT-4o Vision: Show Jarvis objects via your webcam ("What am I holding?").
- Face Recognition: Learns your face and greets you by name.
- Command: "Learn my face" / "Recognize me".
- Personalization: Knows "Jehad" is the creator.
- Continuous Mode: "Eyes On" mode to watch and converse without constant prompts.
- App Management: "Open Safari", "Open VS Code".
- Media Control: "Play next song", "Pause music".
- System: "Set volume to 50%".
-
Clone the repository:
git clone https://github.com/HappyLife2/Jarvis-Mac.git cd Jarvis-Mac -
Set up Environment: Copy the example env file and add your OpenAI API Key.
cp .env.example .env nano .env # Add: OPENAI_API_KEY=sk-... -
Install Dependencies: (Requires Python 3.10+)
pip install -r requirements.txt
Note: If you encounter issues with
dliboropencv, ensure you havecmakeinstalled (brew install cmake). -
Run Jarvis:
make run
- "Hey Jarvis, what's the weather?" (Requires location)
- "Hey Jarvis, open Spotify."
- "Hey Jarvis, set volume to 80%."
- "Hey Jarvis, what do you see?" (Takes a snapshot)
- "Hey Jarvis, eyes on." (Enables continuous camera mode)
- "Hey Jarvis, eyes off." (Disables camera)
- "Hey Jarvis, learn my face." (Look at the camera)
- "Hey Jarvis, recognize me."
- Core: Python (
satellite/main.py) - Audio:
sounddevice+scipy - Vision:
opencv-python+face_recognition - LLM: OpenAI GPT-4o
- System: AppleScript (
osascript)
- This project is optimized for macOS (Apple Silicon recommended).
- Ensure Terminal/VS Code has Camera and Microphone permissions.