Mycroft open sourced an artificial intelligence library for internet of things (IoT) devices. It's called Adapt, and it's an "intent parser", whatever that is, engine for embedded devices. "It is intended to parse natural language text into a structured intent that can then be invoked programatically. In this context, an Intent is an action the system should perform." For example, in the context of Pandora, two actions could be "List Stations" and "Select Station" and start playback.