JARVIS is a modular AI voice assistant built with Python that can listen, understand, respond, and perform basic actions using mostly free and local tools.
⚠️ This project is currently under active development.
- 🎤 Voice input from microphone
- 🧠 Speech-to-text using faster-whisper (offline)
- 🤖 AI responses via Ollama (Llama3 local model)
- 🔊 Text-to-speech using pyttsx3 (offline)
- 🖼️ Image generation (Pollinations API, no API key)
- 🔁 Continuous conversation loop
- 🧩 Basic command detection (chat, image generation, shutdown)
🎤 Voice → 🧠 STT → 🤖 LLM → 🔊 TTS → 🔁 Loop
Jarvis/
│
├── main.py # Entry point
│
├── core/
│ ├── listen.py # Microphone input
│ ├── transcribe.py # Speech → Text
│ ├── brain.py # LLM processing
│ ├── speak.py # Text → Speech
│
├── features/
│ ├── image_gen.py # Image generation
│
├── utils/
│ ├── config.py # Environment config
│
├── images/ # Generated images
├── .env
├── requirements.txt
└── README.md
- Python 3.11+
- faster-whisper
- pyttsx3
- Ollama (Llama3)
- sounddevice + scipy
- requests
Follow these steps to run the JARVIS assistant locally.
git clone https://github.com/SifatNycto/Jarvis.git
cd Jarvispython -m venv .venvWindows:
.venv\Scripts\activatepip install -r requirements.txtDownload and install Ollama from:
👉 Ollama
Verify installation:
ollama --versionollama pull llama3ollama serveIMPORTANT: Keep this terminal running. This is the AI backend.
Open a NEW terminal (do not close the Ollama terminal):
python main.pyYou can talk normally to the assistant.
Examples:
- "how are you"
- "what is python"
- "tell me a joke"
- "shutdown"
To generate images, your command MUST include keywords like:
- "generate image"
- "generate an image"
Examples:
- "generate image of a cyberpunk city"
- "generate an image of a dragon"
If you do not include these words, the assistant will treat it as a normal conversation.
Stop the assistant:
Ctrl + CStop Ollama:
taskkill /IM ollama.exe /F- Better intent detection (LLM-based)
- Faster response pipeline
- Wake word support ("Hey Jarvis")
- Tool system (open apps, search web)
- GUI interface
🚧 Work in progress — features and structure may change.
This project focuses on learning and building a real-world AI system using free/local tools with clean modular design.