Unfortunately, Android Wear is not open source. Most people get confused between Android & Android Wear; Android is designed for smartphones whereas Android Wear is for smartwatches and other wearables.