Meet the open-source community’s answers to Google Assistant and Alexa

Starting

Now that the installation is complete, all that is left to do is to run Mycroft. Start Mycroft with:

cd mycroft-core
./start-mycroft.sh debug

These simple commands will initialize all of Mycroft's core services (the microphone listener, the core skills, etc.) and will bring up an interface that you can use to troubleshoot the assistant and perform a limited set of basic commands (Figure 3). Setup, however, is not complete – and this fact reveals one of Mycroft's major caveats.

Figure 3: Mycroft's CLI interface for troubleshooting.

The Cloud

For Mycroft to actually function as a virtual assistant, it must be linked with Mycroft AI's online account service [9]. Opening an account is relatively painless, requiring a Google or Facebook account or a conventional email and password combination. Through the website, you can then pair the desktop client with the account service using a pairing code that you can acquire by asking "Hey Mycroft, pair my device." After this process is complete, Mycroft gains access to its core skills, such as reporting the weather and answering easy questions. The website also allows you to adjust some of Mycroft's settings, such as its voice, units of measurement, and more (Figure 4).

Figure 4: Mycroft Home's website allows you to change some of Mycroft's settings to tailor the system to your tastes.

Mad Skillz

Mycroft's modularity is one of its strong points. Mycroft AI encourages developers to write new skills for its assistant [10], and users are free to add or remove skills as they wish. Mycroft AI has created a convenient script that makes it easy to add a skill [11]. To download this tool is as simple as typing the following command in your terminal:

git clone https://github.com/MycroftAI/msm.git

To install a skill using the Mycroft Skills Manager (msm) script, all you have to do is:

cd msm
sudo -H ./msm install <skill name>

Just a tip – msm will require that you have the python3-dev, python3-setuptools, and python3-pip packages installed.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • KDE Developers Are Working on a TV Interface

    The developers of the KDE desktop are hard at work to create a TV interface.

  • News

    In the news: Nextcloud Partners with IONOS; Linux to Get High Resolution Wheel Scrolling; KDE Developers Are Working on a TV Interface; System76 is Developing a New Keyboard; Embedded Linux Joins the Fight Against COVID-19; and AWS Launches a New Linux Distribution.

  • Programming Snapshot – Alexa

    Asking Alexa only for built-in functions like the weather report gets old quickly, and add-on skills from the skills store only go so far. With a few lines of code, Mike teaches this digital pet some new tricks.

  • Interview: Eben Upton

    After six years of development, founder Eben Upton and the other members of the Raspberry Pi Foundation are finally seeing the results of their efforts.

  • Home Assistant

    Home Assistant brings an open standards approach to home automation and control.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News