Skip to content
Mycroft Core, the Mycroft Artificial Intelligence platform.
Python Shell QML
Branch: dev
Clone or download
forslund Merge pull request #2258 from MycroftAI/fix/number-setting-values
Fix TypeError for number values in settings
Latest commit dd36678 Aug 17, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Move github files to .github folder Jun 6, 2018
bin Speak sayto bash pipes (#2111) May 13, 2019
doc Explain the config system used here. (#2201) Jul 11, 2019
mycroft Fix TypeError for number values in settings Aug 16, 2019
scripts fix: permission group tests against user May 23, 2019
test Minor cleanup of api tests Aug 11, 2019
.coveralls.yml Add coverage with nose2 and coveralls May 18, 2017
.gitignore Ignore the 'skills' symlink Mar 4, 2019
.gitmessage Add suggestion and examples of imperative text Aug 2, 2017
.pep8speaks.yml Set pep8-speaks line lenght limit to 79 (#1953) Jan 15, 2019
.travis.yml Limit travis branch builds to dev and master Jun 14, 2019 Added aknowledgement for sound effect Jul 21, 2016 Create Dec 22, 2017 Change to Apache 2.0 license from GPLv3.0 Oct 4, 2017 Clean up setup scripts Jul 14, 2018 ReadTheDocs link made directly to Master API May 2, 2019 Merge pull request #2209 from fermulator/fix_os_mint_and_no_match_prompt Aug 2, 2019
requirements.txt Update msm to v0.7.9 Jul 18, 2019 start processess using python -m Aug 16, 2018 Fix the sdkdoc generation parameter Apr 14, 2019 Tweaks to start/stop scripts Jan 15, 2019
test-requirements.txt Switch pep8 for pycodestyle May 15, 2019 Use builtin cd for Jan 4, 2019

License CLA Team Status

Build Status Coverage Status PRs Welcome Join chat


Mycroft is a hackable open source voice assistant.

Table of Contents

Getting Started

First, get the code on your system! The simplest method is via git (git installation instructions):

  • cd ~/
  • git clone
  • cd mycroft-core
  • bash

This script sets up dependencies and a virtualenv. If running in an environment besides Ubuntu/Debian, Arch or Fedora you may need to manually install packages as instructed by

NOTE: The default branch for this repository is 'dev', which should be considered a work-in-progress. If you want to clone a more stable version, switch over to the 'master' branch.

Running Mycroft

Mycroft provides to perform common tasks. This script uses a virtualenv created by Assuming you installed mycroft-core in your home directory run:

  • cd ~/mycroft-core
  • ./ debug

The "debug" command will start the background services (microphone listener, skill, messagebus, and audio subsystems) as well as bringing up a text-based Command Line Interface (CLI) you can use to interact with Mycroft and see the contents of the various logs. Alternatively you can run ./ all to begin the services without the command line interface. Later you can bring up the CLI using ./ cli.

The background services can be stopped as a group with:

  • ./

Using Mycroft

Home Device and Account Manager

Mycroft AI, Inc. maintains a device and account management system known as Mycroft Home. Developers may sign up at:

By default, mycroft-core is configured to use Home. By saying "Hey Mycroft, pair my device" (or any other request verbal request) you will be informed that your device needs to be paired. Mycroft will speak a 6-digit code which you can entered into the pairing page within the Mycroft Home site.

Once paired, your unit will use Mycroft API keys for services such as Speech-to-Text (STT), weather and various other skills.


Mycroft is nothing without skills. There are a handful of default skills that are downloaded automatically to your /opt/mycroft/skills directory, but most need to be installed explicitly. See the Skill Repo to discover skills made by others. And please share your own interesting work!

Behind the scenes

Pairing Information

Pairing information generated by registering with Home is stored in: ~/.mycroft/identity/identity2.json <-- DO NOT SHARE THIS WITH OTHERS!


Mycroft configuration consists of 4 possible locations:

  • mycroft-core/mycroft/configuration/mycroft.conf(Defaults)
  • Mycroft Home (Remote)
  • /etc/mycroft/mycroft.conf(Machine)
  • $HOME/.mycroft/mycroft.conf(User)

When the configuration loader starts, it looks in these locations in this order, and loads ALL configurations. Keys that exist in multiple configuration files will be overridden by the last file to contain the value. This process results in a minimal amount being written for a specific device and user, without modifying default distribution files.

Using Mycroft Without Home

If you do not wish to use the Mycroft Home service, you may insert your own API keys into the configuration files listed below in configuration.

The place to insert the API key looks like the following:

[WeatherSkill] api_key = ""

Put a relevant key inside the quotes and mycroft-core should begin to use the key immediately.

API Key Services

These are the keys currently used in Mycroft Core:

Using Mycroft behind a proxy

Many schools, universities and workplaces run a proxy on their network. If you need to type in a username and password to access the external internet, then you are likely behind a proxy.

If you plan to use Mycroft behind a proxy, then you will need to do an additional configuration step.

NOTE: In order to complete this step, you will need to know the hostname and port for the proxy server. Your network administrator will be able to provide these details. Your network administrator may want information on what type of traffic Mycroft will be using. We use https traffic on port 443, primarily for accessing ReST-based APIs.

Using Mycroft behind a proxy without authentication

If you are using Mycroft behind a proxy without authentication, add the following environment variables, changing the and proxy_port for the values for your network. These commands are executed from the Linux command line interface (CLI).

$ export http_proxy=
$ export https_port=
$ export no_proxy="localhost,,localaddress,,,::1"

Using Mycroft behind an authenticated proxy

If you are behind a proxy which requires authentication, add the following environment variables, changing the and proxy_port for the values for your network. These commands are executed from the Linux command line interface (CLI).

$ export http_proxy=
$ export https_port=
$ export no_proxy="localhost,,localaddress,,,::1"

Getting Involved

This is an open source project and we would love your help. We have prepared a contributing guide to help you get started.

If this is your first PR or you're not sure where to get started, say hi in Mycroft Chat and a team member would be happy to mentor you. Join the Mycroft Forum for questions and answers.


You can’t perform that action at this time.