As for the mobile update, Android 17 Beta 2 is adding a few building blocks for developers. The new tools are privacy-focused, just like the photo picker that limits access to only selected photos.
Following the Gemini automation announcement today, Google is detailing how all this works under the hood on Android.