Training plan generator that creates personalized running workouts and syncs them directly to Garmin Connect. Powered by Gemini 3 Pro.
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
cp .env.example .envEdit .env with your credentials:
GEMINI_API_KEY- Get from Google AI StudioGARMIN_EMAIL- Your Garmin Connect emailGARMIN_PASSWORD- Your Garmin Connect password
source venv/bin/activate
python main.pyThe CLI will prompt for:
- Race distance (5K, 10K, half marathon, marathon, etc.)
- Goal pace
- Race date
- Preferred long run day
- Pulls your running history from Garmin Connect
- Generates periodized training plans using Gemini AI
- Creates structured workouts with pace targets
- Schedules workouts on your Garmin calendar
- Syncs to your watch automatically
- Python 3.10+
- Garmin Connect account
- Google AI API key