How to Set Up Your Own JARVIS AI Assistant

Jul 27, 2020 | Educational

Are you ready to bring a piece of science fiction into your life? With the JARVIS AI Assistant, inspired by the sophisticated AI from Iron Man, you can create your own personal assistant. This blog will guide you through every step of the installation process, making it user-friendly and accessible for everyone. So grab your favorite beverage, and let’s dive in!

About JARVIS

JARVIS, short for JOEL’S ARTIFICIAL REALISTIC VIRTUAL INTERNET SERVICE, is not just any AI; it is a true Artificial Intelligent Assistant derived from ALICE and built on Python, using Lisp as its backend. Unlike traditional assistants, JARVIS offers offline speech recognition powered by the Vosk engine and a text-to-speech service using pyttsx3. It’s designed to be fully autonomous and compatible with major operating systems like Mac OS, Linux, and Windows.

Features of JARVIS

  • Fully autonomous using AIML and Lisp.
  • Offline speech recognition with Vosk models.
  • Offline Text-to-Speech service with pyttsx3.
  • Enhanced program launching mechanism.
  • Robust chat feature powered by ALICE files.

Setup Procedures

Environment Setup

  • Install Python

    You need to have Python 3.7 or later. While JARVIS is developed in version 3.8.9, using any version from 3.7 onward should work, but ensure it is a 64-bit version. You can download Python from python.org or for 3.8.9, you can click here – Python 3.8.9 Download.
  • Check for pip Installation

    After installing Python, verify if pip is installed by opening the command prompt and typing pip or pip3. If you see an error message, refer to this guide to install pip.
  • Install Key Dependencies

    First, navigate to your cloned repository directory and open cmd, then type:
    pip install -r requirements.txt
    If you encounter an error with pyaudio, download the appropriate .whl file from this site and install it using:
    pip install .whl
    Replace `` with the name of the downloaded file. After successfully installing the wheel, run the pip command again.

Getting the Models for Our Speech Engine

  • Download Vosk Speech Engine Models

    Visit this website to download the speech engine models based on your accent. For example, if you’re in India, you may want to download the Indian model.
  • Setup the Vosk Models

    Once downloaded, extract the contents and copy the files into the vosk_speech_engine/model folder. This step is crucial for JARVIS to function correctly.

Running the Python Script

Now that everything is installed, it’s time to run your JARVIS program. In your command prompt, navigate to the cloned directory and type:

python jarvis.py

This will initialize the JARVIS program. If you run into any challenges during the installation, do not hesitate to raise an issue.

Troubleshooting Tips

If you encounter any obstacles while downloading or using the JARVIS assistant, here are some troubleshooting ideas:

  • Ensure that all your installed dependencies match the required versions.
  • Check if you are running the command prompt or terminal with administrative rights when installing packages.
  • If you receive an error regarding missing Python modules, reinstall those specific packages using pip.
  • Feel free to check out the issues section on their GitHub repository for similar problems faced by others.

For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.

At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.

So there you have it! With JARVIS, you hold the key to creating your very own AI assistant. Happy coding!

Stay Informed with the Newest F(x) Insights and Blogs

Tech News and Blog Highlights, Straight to Your Inbox