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

Hey, Mycroft

Article from Issue 211/2018
Author(s):

Voice-activated assistants like Mycroft bring online, hands-free help to users, but with more transparency and less spying.

Every few years, Silicon Valley becomes obsessed with a new development in the tech space. Some, like the 3D web, fizzle out and leave nothing more than a footnote in the history of the tech industry. Others, like the push towards cloud services, have become a central part of many users' (and developers') lives.

Silicon Valley's latest craze is voice assistants. Google, Apple, Amazon, and a few others are all jostling to make the most capable voice assistant on the market, hoping to create an artificial intelligence that will do everything for you on your phone or computer. This year's CES has seen all kinds of devices powered by either Google's or Amazon's AIs – home automation kits, smart speakers, cars, and more.

As is the case with most proprietary services, these AIs have one big caveat: They are opaque, and they collect a lot of information about you that gets sent to someone else's opaque servers. Luckily, the open-source community is already at work on several voice assistants that are transparent and respectful of your privacy – and that strive to match their commercial rivals in functionality.

Mycroft

Mycroft [1] is the most developed and most popular open source AI assistant. It is created by Mycroft AI, a 19-man operation set up by entrepreneur Joshua Montgomery in Kansas [2]; despite its small size, Mycroft AI has the ambitious plan of creating a virtual assistant that will be able to compete with the devices developed by the giants of Silicon Valley (Figure 1). The company has announced plans to "demonstrate something approximate to a human" by 2020 [3]. The open source development model is an integral part of this plan.

Figure 1: Joshua Montgomery, Mycroft AI's founding father and CEO.

The clearest sign of Mycroft's intent to take on Google and Amazon is their devices. The company has released one smart speaker, the Mark I, for developers. Funded via Kickstarter in 2015 [4], the device resembles an adorable cross between ET and Eve from the movie WALL-E, with a white ovoid shell and two big eyes and a mouth made with LEDs at the front of the device (Figure 2). The company has started another Kickstarter campaign for their Mark II, which resembles a plastic and cloth egg with a screen on the front [5].

Figure 2: The Mycroft Mark I, with its big LED eyes and white plastic shell.

Despite their commitment to developing smart speakers, the company also provides its software for Linux distributions.

Skills

Mycroft organizes tasks into skills. When the user asks a question or gives a command, Mycroft uses an intent parser to identify the reason for the utterance. Once the intent is known, Mycroft checks to see whether it has a skill that addresses the intent. For instance, if you ask Mycroft about the weather, it will parse the request and send the intent data to the weather skill. Mycroft currently installs with 30 core skills when you set up the system [6]. You can think of these skills as the things Mycroft "knows how to do" at the time you install it. (See Table 1 for some examples of Mycroft core skills.)

Table 1

Mycroft Core Skill Examples

Skill

Description

Audio Record

Record and play audio

Date Time

Tell the date or time

Desktop Launcher

Open a desktop application (e.g., "Open Firefox")

DuckDuckGo

Query the DuckDuckGo search engine for general questions

Joke

Tell jokes ("Tell me a joke")

NPR

Listen to news from the American National Public Radio network

Reminder

Ask Mycroft to remind you of something ("Remind me to turn off the oven in 15 minutes")

Stock

Look up the stock price for a specified company

Weather

Report on the current weather and weather forecasts

Wiki

Look up an entry in Wikipedia

The beauty of the open source development model is its flexibility and capacity for expansion. Unlike many proprietary digital assistants, Mycroft lets users develop their own skills. The project website includes instructions for creating your own Mycroft skill [7].

Users can submit these custom skills for acceptance and distribution to the Mycroft user community. The website has a long list of community-developed skills that any user can add to their Mycroft configuration. Examples of community-developed skills for Mycroft are shown in Table 2. Some of these skills are currently marked as untested or works in progress, but the examples in Table 2 give an indication of the kinds of tasks Mycroft users are hoping to automate.

Table 2

Community Skill Examples

Skill

Description

bitcon-price

Checks the current price of bitcoin

calculator-skill

Solves mathematical problems

daily-meditation

Plays a daily meditation from the Daily Meditation podcast

facebook

Generates posts for Facebook

Google-calendar

Check and add Google Calendar events

Google-gmail

Get email from your Gmail inbox

home-assistant

Control your home devices using the Home Assistant open source home automation platform

kodi-cadair

Playback and search with Kodi media player

youtube

Control and listen to a YouTube video

This extensive list of core and community skills means you can tailor Mycroft to do what you need it to do. Of course, as you will learn later in this article, some of these skills don't exactly work as advertised at this point in Mycroft's evolution, but if the power of open source development leads to community bug hunting and a vibrant pipeline for newer and better community skill development, the quality and scope of Mycroft's capabilities will progress rapidly.

Installation

The main reason for Mycroft's desktop version is to make it easy for developers to develop for the Mycroft platform [8], but you don't have to be a developer to get it to work. It takes just a few commands to get Mycroft up and running.

git clone https://github.com/MycroftAI/mycroft-core.git
cd mycroft-core
bash dev_setup.sh

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