A secure and private open source alternative to Alexa (2024)

I grew up in rural towns all over Ontario, Canada. We weren't particularly well off, although, as a kid in the middle of nowhere, I wasn't really aware of our socioeconomic status. What I was aware of was this beige box called a computer that sat in my dad's office. Dad worked for the bank, and for his job, it was essential for him to have a computer. So while we never had the latest gaming console, we always had a computer.

It's probably because of this that I developed a pretty intense relationship with all things computers. Today, I am fortunate to work for Red Hat, but that's another story altogether. Growing up in the '80s and having my teenage years in the mid-90s, I have a vivid awarenessof how computers have changed. I remember watching as my dad logged online for the first time on our 9600-baud modem. I remember the first time I was able to download skins for buildings in my favorite game, Sim City 2000.

I mention all this for a reason: I have watched computers evolve my entire life, from mashing arcane commands into DOS (ironically, some say I still perform the same tasks years later in my role at Red Hat), to GUIs of "fat" applications, to web apps, and mobile. The one commonality that has stood out has been the end user's demand for an ever-simplified interface to interact with technology.

From touch to voice

For several years, the cool thing was to be able to poke at your device's screen and have it react. Touch screens were all the rage. Nowadays, the consumer space is trending towards digital assistants. Some stats say that by 2022, 55% of US households will have a voice assistant. Other sources say that Amazon sells approximately 14 million of these devices per quarter, while Google trails behind with around 11 million. If you want a concrete market value, MarketWatch estimates the value of this industry will be $7.8 billion by 2023. This doesn't even take into account the phones that everyone has in their pockets! Whatever metrics you use, one thing is clear: voice assistants are becoming increasingly important.

So are your only options Google, Amazon, or Apple? NOPE! If they were, I wouldn't be writing this article, where I'll introduce you to Mycroft.

Mycroft: An open source voice assistant for developers

For me, Mycroft's big selling feature is that it is open source. This means that I can get in, tinker around, and contribute to the project. It's largely based in Python, which works out just fine for me.

Before I go any further, I want to draw your attention to the subheading:"for developers." These are my words, and while I contribute to the project, I do not speak for it. However, I want to emphasize that the project is not at a state where it's ready to gain mass adoption. Mycroft'sofficial documentation is generally very good, but there are rough edges that are being smoothed out all the time. So, if you are willing to put in some effort, perhaps file some bugs, and take the long view, this project is absolutely worth your time. If you are looking for an off-the-shelf, ready to go project, you may need to come back in a year or so.

Here are some of the majorreasons it makes sense to get involved with the Mycroft project.


As I mentioned, voice assistants are everywhere, and that's only increasing. Although they are often forgotten, they are listening to everything. Apple, Google, and Amazon have all been found listening to the recordings their voice assistants capture. In some cases, these recordings are even being used in courts of law.

What if you work out of your home office (even before the world got turned upside down by COVID-19)? How can you protect the privacy of your users and clients, especially when most people don't even realize that the technology meant to make their lives easier is capturing their private conversations?

Even if you aren't worried about exposing your conversations, are you OK with companies gathering this data for targeted advertising? Mycroft puts privacy at the forefront. Its default speech-to-text (STT) backend is Google's STT service, but you can choose from a wide variety of providers, including Google, IBM's Watson, Mozilla, Kaldi, Microsoft Azure, and more. In addition, Mycroft proxies all STT requests that go through their servers for specific providers (Google being one of them).


Remember how I said Mycroft is for developers? Since you self-host Mycroft, this means its security is as good as you can make it. You can (and should) implement VLANs, routing rules, firewall rules, and whatever other security that is relevant for your environment.

Even if your security is not top-notch, the obfuscation you receive from having such a tiny footprint means that, outside of random chance or a targeted attack, your Mycroft instance is relatively safe from the outside world. If it's on your network, you control what and who has access to your voice assistant. That's a good thing.

Did I mention Python?

More Great Content

I love Python. It's one of the main reasons I was able to get involved so quickly. I use Python extensively in my day-to-day, both for fun and profit.I introduced my wife to Mycroft, and she immediately started adding tasks to my backlog for all the things she wants her voice assistant to be able to do.

While I was hard at work picking through my backlog, I noticed that one of the Mycroft intent parsers (which I will discuss in my next article) did not handle apostrophes properly. So, in true open source fashion, I forked the code, fixed it up, and created a pull request (PR) against the project. After some small back and forth, my PR was brought up to the project standards and voila! Mycroft now handles apostrophes better. How cool is that?

A) I was able to fork the code, fix it, and run the fix locallyand

B) havethese changes accepted by the project to benefit everyone

It's mind-blowing.

Not only that, but other projects includingKDE Plasma on TV have integrated Mycroft to make their projects more widely appealing. I'd love to hear about more projects that have taken advantage of Mycroft, so please reach out on Twitter or leave a comment below if you know of any.

Science non-fiction

As a kid, I always loved science fiction; I still do, in fact. I wanted to be able to be like Jean-Luc Picard and say, "Computer, Earl Grey. Hot," and have things magically happen. While food replicators are still a long way off, with Mycroft and a little bit of know-how, I can say things like, "Hey, Mycroft, start the tea kettle" or "Hey, Mycroft, add bread to my shopping list," and Mycroft will make it so.

I'm relatively new to the Mycroft developer community, but we are a small group of tightly knit folks who want to live in a world where there is an open source competitor to the Alexas, Siris, and Googles of the world. Stop by and chat with us on Mattermost.


These comments are closed.

A secure and private open source alternative to Alexa (1)This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License.

About Me

I have a deep and firsthand understanding of the evolution of technology, particularly in the realm of computers and voice assistants. Growing up in the '80s and '90s, I witnessed the transformation of computers from the era of arcane commands in DOS to the rise of GUIs, web apps, and mobile technology. My professional journey has led me to work for Red Hat, where I have actively engaged with open-source technologies, particularly Python. My involvement with the Mycroft project has allowed me to contribute to its development and witness its impact on the tech landscape.

Evolution of Computers

The evolution of computers has been a significant part of my life, from the early days of using a 9600-baud modem to the current trend of voice assistants. The consumer space has shifted from touch screens to voice assistants, with an estimated 55% of US households expected to have a voice assistant by 2022. Amazon and Google are leading in this space, with MarketWatch estimating the industry's value to reach $7.8 billion by 2023 [[1]].

Mycroft: An Open Source Voice Assistant

Mycroft is an open-source voice assistant that stands out due to its focus on privacy and security. It allows users to tinker with and contribute to the project, particularly appealing to developers. While it may not be ready for mass adoption, its emphasis on privacy and security makes it a compelling option for those willing to invest time and effort into its development [[2]].

Privacy and Security

Mycroft prioritizes privacy by offering a choice of speech-to-text (STT) providers, including Google, IBM's Watson, Mozilla, Kaldi, and Microsoft Azure. Additionally, it proxies all STT requests through its servers for specific providers, enhancing privacy. As a self-hosted solution, Mycroft's security can be tailored to the user's environment, providing control over access to the voice assistant [[2]].

Python and Open Source Contribution

Python plays a significant role in Mycroft's development, making it accessible and appealing to developers. My personal experience with Python has allowed me to contribute to the project, such as fixing an issue with the intent parsers and integrating Mycroft into other projects like KDE Plasma on TV. This open-source collaboration has been a rewarding experience, showcasing the power of community-driven development [[2]].

Science Non-Fiction

As a fan of science fiction, I have always been drawn to the idea of interacting with technology like the characters in my favorite sci-fi shows. With Mycroft, I have been able to bring some of these futuristic interactions to life, such as controlling household devices with voice commands. My involvement in the Mycroft developer community has been driven by a shared vision of creating an open-source alternative to mainstream voice assistants [[2]].

In summary, my personal and professional journey has given me a unique perspective on the evolution of technology, particularly in the realm of computers and voice assistants. My involvement with the Mycroft project has allowed me to contribute to its development and witness its impact on the tech landscape.

A secure and private open source alternative to Alexa (2024)
Top Articles
Latest Posts
Article information

Author: Lidia Grady

Last Updated:

Views: 5969

Rating: 4.4 / 5 (45 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Lidia Grady

Birthday: 1992-01-22

Address: Suite 493 356 Dale Fall, New Wanda, RI 52485

Phone: +29914464387516

Job: Customer Engineer

Hobby: Cryptography, Writing, Dowsing, Stand-up comedy, Calligraphy, Web surfing, Ghost hunting

Introduction: My name is Lidia Grady, I am a thankful, fine, glamorous, lucky, lively, pleasant, shiny person who loves writing and wants to share my knowledge and understanding with you.