





Fitness Assistant is an Android app designed to help users understand their fitness metrics.
The app displays graphs from the user's last week of fitness data from Health Connect.
This data is also inspected for any outliers, these will be highlighted in order to grab the user's attention.
An AI assistant is used to answer user questions in natural language.
Models from Google Generative AI Studio and OpenRouter are used.
Users need to provide their own API keys to use the AI assistant. For the Google Generative AI Studio API, they need to manually enable the Generative AI API in their Google Cloud Console and enter the API key in the app. However, for OpenRouter, a PKCE OAuth flow is used, making it easier for users to use the AI assistant as the API key will automatically be generated and stored.
A number of tools that get data from Health Connect are first parsed by the AI assistant to determine the required data and then used to answer the user's question.
Links: