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


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

cd mycroft-core
./ 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

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

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • 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.

  • Doghouse – Raspberry Pi

    The Raspberry Pi computer has rekindled interest in tinkering with hardware and created a market for products combining the tiny computer with customized software.

  • IBM, Universities Collaborate on Technologies for the Aging Workforce

    IBM and the researchers at the University of Dundee School of Computing (UK) and the University of Miami's Miller School of Medicine are collaborating to develop open source software technology tools to accommodate the needs of older workers to help them adapt to and remain productive in the changing workplace of the 21st century.

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95