# Easiest way to use Mycroft completely offline

**URL:** https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741
**Category:** This category is being retired - Support
**Created:** [May 12, 2018, 9:05pm UTC](https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741 "2018-05-12T21:05:56Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![skeltob](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/s/96bed5/32.png) [@skeltob](https://community.openconversational.ai/u/skeltob)
#### Post date: [May 12, 2018, 9:05pm UTC](https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741/1 "2018-05-12T21:05:56Z")

</div>

I have backed on the new Mycroft and want to use it ideally completely offline.  
I have a central home automation server, that fetches all important data from sensors or apis that should be controled by mycroft.

But I want to avoid that my speech is sent to a server outside my controlled home-subnet.  
So the question is, what is the easiest way to make mycroft work offline (without an extra server or with a self-hosted one.)

---

<div class="post-metadata">

### Author: ![KathyReid](https://community.openconversational.ai/user_avatar/community.openconversational.ai/kathyreid/32/1949_2.png) [@KathyReid](https://community.openconversational.ai/u/KathyReid)
#### Post date: [May 13, 2018, 8:31am UTC](https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741/2 "2018-05-13T08:31:59Z")

</div>

Hi there @skeltob, this is one of our most requested features - completely offline use. Unfortunately we don’t have good documentation on how to do this at the moment. I **do** know that some of our Community members have done this in the past, including @Jarbas_Ai and may have some guidance.

---

<div class="post-metadata">

### Author: ![mtwannabe](https://community.openconversational.ai/user_avatar/community.openconversational.ai/mtwannabe/32/1244_2.png) [@mtwannabe](https://community.openconversational.ai/u/mtwannabe)
#### Post date: [May 21, 2018, 4:14am UTC](https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741/3 "2018-05-21T04:14:42Z")

</div>

> [@skeltob](#):
>
> I have backed on the new Mycroft and want to use it ideally completely offline.  
> I have a central home automation server, that fetches all important data from sensors or apis that should be controled by mycroft.
> 
> But I want to avoid that my speech is sent to a server outside my controlled home-subnet.  
> So the question is, what is the easiest way to make mycroft work offline (without an extra server or with a self-hosted one.)

I’ve been waiting for a year on this and it still has not happened which is a complete shame considering the post about Google/Alexa and Siri recently:  
[Alexa\_Siri\_Google Hidden command attacks](https://www.nytimes.com/2018/05/10/technology/alexa-siri-hidden-command-audio-attacks.html)

---

<div class="post-metadata">

### Author: ![gregory.opera](https://community.openconversational.ai/user_avatar/community.openconversational.ai/gregory.opera/32/1085_2.png) [@gregory.opera](https://community.openconversational.ai/u/gregory.opera)
#### Post date: [June 11, 2018, 9:29pm UTC](https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741/4 "2018-06-11T21:29:40Z")

</div>

> [@KathyReid](#):
>
> Hi there @skeltob, this is one of our most requested features - completely offline use. Unfortunately we don’t have good documentation on how to do this at the moment.

Are there plans to implement such functionality in the future (even if it was an optional setting), @KathyReid?

---

<div class="post-metadata">

### Author: ![KathyReid](https://community.openconversational.ai/user_avatar/community.openconversational.ai/kathyreid/32/1949_2.png) [@KathyReid](https://community.openconversational.ai/u/KathyReid)
#### Post date: [June 12, 2018, 9:24am UTC](https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741/5 "2018-06-12T09:24:41Z")

</div>

It’s definitely something we want to do @gregory.opera, however it requires a bit of work on our side. Our existing home.mycroft.ai platform is scaled to support tens of thousands of users, and runs across several virtual hosts - probably not all that usable as a local / personal backend. So we need to work on scaling that down.

The other layers to this problem are;

- Speech to text - really this is the biggest blocker at the moment. Until we can get DeepSpeech to a point where it can run (or at least a vocabulary subset can run) on an embedded device, then we’re going to be stuck with cloud-based STT, irrespective of _which_ cloud that runs on. There have been some [substantive efforts](https://github.com/mozilla/DeepSpeech/issues/1346) by the DeepSpeech community toward this objective.

- Skill support - most Skills need some form of internet connectivity as they’re connecting to third party APIs.

- Configuration settings - at the moment, configuration of Devices is done via Skill Settings at home.mycroft.ai so we would need to find a way to do configuration locally.

---

<div class="post-metadata">

### Author: ![mcrft](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/m/6f9a4e/32.png) [@mcrft](https://community.openconversational.ai/u/mcrft)
#### Post date: [June 12, 2018, 2:09pm UTC](https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741/6 "2018-06-12T14:09:07Z")

</div>

> I’ve been waiting for a year on this and it still has not happened which is a complete shame considering the post about Google/Alexa and Siri recently:  
> Alexa\_Siri\_Google Hidden command attacks 18

If I understand it correctly, that attack could still work on a completely offline solution.

---

<div class="post-metadata">

### Author: ![Jarbas\_Ai](https://community.openconversational.ai/user_avatar/community.openconversational.ai/jarbas_ai/32/801_2.png) [@Jarbas\_Ai](https://community.openconversational.ai/u/Jarbas_Ai)
#### Post date: [June 12, 2018, 2:16pm UTC](https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741/7 "2018-06-12T14:16:47Z")

</div>

it is possible to run it offline, but there is no out of the box solution…

if you want to get your hands dirty

- remove all metrics
- disable pairing
- disable remote config
- find an offline STT (pocketsphinx is not good…)
- many skills need internet and won’t work

compare changes from my fork (slightly outdated, no py3)

> **[MycroftAI/mycroft-core](https://github.com/MycroftAI/mycroft-core/compare/dev...JarbasAl:private)**
>
> mycroft-core - Mycroft Core, the Mycroft Artificial Intelligence platform.

---

<div class="post-metadata">

### Author: ![jqh1234](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/j/f6c823/32.png) [@jqh1234](https://community.openconversational.ai/u/jqh1234)
#### Post date: [June 12, 2018, 2:57pm UTC](https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741/8 "2018-06-12T14:57:31Z")

</div>

I have been running deepspeech locally with the ‘pretrained’ model on a separate computer in my house recently.

It was fairly easy to set up and to point Mycroft at it. The server does not have a GPU, so it’s not as fast as it could be, but I think the gain in local network speed makes it not that different from the cloud service, which is kind of slow too, in my opinion. I will probably get a GPU based server at some point, but don’t expect a huge improvement in speed, because non-GPU is already usable for the short commands I use.

The big hit I’m taking is with accuracy. I have to speak slowly, right in front of the mycroft, and leave gaps of silence between words.

I’m currently starting to research ways to better train the local service. I have not gotten very far

My pipe dream would be for the mycroft community to be able to share and asimmilate incremental training gains without sharing any audio. That’s way over my head at this point, though

---

<div class="post-metadata">

### Author: ![KathyReid](https://community.openconversational.ai/user_avatar/community.openconversational.ai/kathyreid/32/1949_2.png) [@KathyReid](https://community.openconversational.ai/u/KathyReid)
#### Post date: [June 12, 2018, 2:59pm UTC](https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741/9 "2018-06-12T14:59:50Z")

</div>

You know about the DeepSpeech trainer, to improve accuracy:  
[https://home.mycroft.ai/#/deepspeech](https://home.mycroft.ai/#/deepspeech)

---

<div class="post-metadata">

### Author: ![jqh1234](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/j/f6c823/32.png) [@jqh1234](https://community.openconversational.ai/u/jqh1234)
#### Post date: [June 12, 2018, 3:02pm UTC](https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741/10 "2018-06-12T15:02:42Z")

</div>

I do now haha - thanks

Will that training somehow be accessible for local deepspeech services to get? Or would I be able to install the trainer software itself local?

I’ll definitely take some time and listen/train whether or not it’s doable locally - great project

---

<div class="post-metadata">

### Author: ![kyha](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/k/a88e57/32.png) [@kyha](https://community.openconversational.ai/u/kyha)
#### Post date: [June 12, 2018, 3:20pm UTC](https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741/11 "2018-06-12T15:20:34Z")

</div>

If you manage to release something on Windows any time soon, I’m fairly certain that it’d be really easy to do something with C# or [VB.NET](http://VB.NET) that uses the System.Speech.Recognition namespace in the Common Language Runtime. Its accuracy isn’t the best, but it is definitely a functional baseline. And it doesn’t seem to need pauses between each word like DeepSpeech apparently does.

---

<div class="post-metadata">

### Author: ![jqh1234](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/j/f6c823/32.png) [@jqh1234](https://community.openconversational.ai/u/jqh1234)
#### Post date: [June 12, 2018, 3:56pm UTC](https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741/12 "2018-06-12T15:56:02Z")

</div>

I think well trained deepspeech doesn’t require spaces between words. Just the combination of my voice and the ‘pretrained’ model that Mozilla distributes seems to result in that

---

<div class="post-metadata">

### Author: ![mcrft](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/m/6f9a4e/32.png) [@mcrft](https://community.openconversational.ai/u/mcrft)
#### Post date: [June 12, 2018, 4:04pm UTC](https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741/13 "2018-06-12T16:04:19Z")

</div>

You can also contribute to project common voice. This is the data that Deepspeech is using in the end. In this way it will get at least used to your accent and tone of voice.

---

<div class="post-metadata">

### Author: ![jjohnston7](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/j/67e7ee/32.png) [@jjohnston7](https://community.openconversational.ai/u/jjohnston7)
#### Post date: [September 4, 2018, 1:51pm UTC](https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741/14 "2018-09-04T13:51:18Z")

</div>

yeah, an offline version would be great. My thought is, even if its a “server” program that runs on a GPU server in my house, then I link my imbeded devices to that server, and skills that need to reach out to the internet would, but most of the stuff would happen within my network would be great!

it running on the device itself would be cool, but at least for me, running a central server that those devices connect to within my house instead of the cloud would be awesome!

---

<div class="post-metadata">

### Author: ![KathyReid](https://community.openconversational.ai/user_avatar/community.openconversational.ai/kathyreid/32/1949_2.png) [@KathyReid](https://community.openconversational.ai/u/KathyReid)
#### Post date: [September 6, 2018, 12:41pm UTC](https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741/15 "2018-09-06T12:41:09Z")

</div>

An offline version is on our [Roadmap](https://mycroft.ai/roadmap) 😉

---

<div class="post-metadata">

### Author: ![malevolent](https://community.openconversational.ai/user_avatar/community.openconversational.ai/malevolent/32/135_2.png) [@malevolent](https://community.openconversational.ai/u/malevolent)
#### Post date: [October 17, 2018, 6:36pm UTC](https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741/16 "2018-10-17T18:36:31Z")

</div>

Just curious, [https://home.mycroft.ai/#/deepspeech](https://home.mycroft.ai/#/deepspeech) is just english, isn’t it? Because I’ve found some sentences in spanish and in german… and they were recognized not only correctly, but written in a perfect spanish (e.g: cómo estás, even with the proper accents!)

---

<div class="post-metadata">

### Author: ![KathyReid](https://community.openconversational.ai/user_avatar/community.openconversational.ai/kathyreid/32/1949_2.png) [@KathyReid](https://community.openconversational.ai/u/KathyReid)
#### Post date: [October 18, 2018, 2:17am UTC](https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741/17 "2018-10-18T02:17:51Z")

</div>

Buenos dias @malevolent! Great question. DeepSpeech is _starting_ to provide translations for both German and Spanish. If you’re confident that the transcription is correct then you’re welcome to tag it 🙂

---

<div class="post-metadata">

### Author: ![malevolent](https://community.openconversational.ai/user_avatar/community.openconversational.ai/malevolent/32/135_2.png) [@malevolent](https://community.openconversational.ai/u/malevolent)
#### Post date: [October 18, 2018, 7:17am UTC](https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741/18 "2018-10-18T07:17:05Z")

</div>

Wow, that’s an **awesome** new! 🙋‍♂️

It would be interesting to tag or filter somehow those new languages, so people who can understand them can flag them out as correct and don’t create false positives… I mean, english people who doesn’t speak any other language, most probably will flag any other language as “No” because they will think is not english. Even me, who speaks spanish, doubted if mark it out or not, because I didn’t see any language filter on the site. It would be a shame to have so many few sentences on those new languages marked as non-valid when the are really good, don’t you think?

---

<div class="post-metadata">

### Author: ![Adam\_Monsen](https://community.openconversational.ai/user_avatar/community.openconversational.ai/adam_monsen/32/1876_2.png) [@Adam\_Monsen](https://community.openconversational.ai/u/Adam_Monsen)
#### Post date: [October 2, 2019, 3:07am UTC](https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741/19 "2019-10-02T03:07:07Z")

</div>

Any updates on offline/private/firewalled use?

---

<div class="post-metadata">

### Author: ![Dominik](https://community.openconversational.ai/user_avatar/community.openconversational.ai/dominik/32/1936_2.png) [@Dominik](https://community.openconversational.ai/u/Dominik)
#### Post date: [October 2, 2019, 5:18am UTC](https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741/20 "2019-10-02T05:18:51Z")

</div>

As written in the other topic - you might want to have a look into this: [https://github.com/MycroftAI/personal-backend](https://github.com/MycroftAI/personal-backend)

[Next page](https://community.openconversational.ai/t/easiest-way-to-use-mycroft-completely-offline/3741.md?page=2)
