← All projects

AI · Sport

Aesculapius.

An experimental Telegram assistant for asking questions about my Garmin training and sleep data.

æGarmin data in Telegram.

The project

PythonRAGGarmin ConnectTelegramSelf-hosted

I built Aesculapius to ask questions about my Garmin data through Telegram. It combines training, sleep and recovery records in a conversation. As of October 2026, it works and I use it occasionally, but I’m still testing what makes it useful day to day.

It follows FoxRun, my earlier Strava dashboard. Changes to Strava’s API access conditions stopped that project. I moved to Garmin Connect for a fuller view of my days, using cyberjunky’s open-source python-garminconnect library to access the records.

I use Python and retrieval to bring relevant records into the conversation. Self-hosting lets me choose how to store and process those records. Running and cycling are also ways I unwind, so I want the assistant to fit around them without becoming another task to manage.

The difficult part is the interaction: keeping the data up to date and making the answers useful. I’d like to add books and technical sources on training, but that remains a direction to explore.

Cycling

I enjoy cycling and want to keep improving. I’m interested in the data because it lets me compare rides and explore how effort and recovery relate across days.

Out on the bike.
Out on the bike.

Running

Running helps me relax. I want the assistant to account for sleep, recovery and how I feel, while leaving room to enjoy the activity.

Outside, in Rome.
Outside, in Rome.

How it works

01 / 05

After FoxRun

I stopped my Strava dashboard when API access conditions changed and looked for another way to use my records.

02 / 05

Collect Garmin records

Training, sleep and recovery records provide the assistant’s starting point.

03 / 05

Retrieve relevant context

Retrieval selects records to include in the model’s context when I ask a question.

04 / 05

Ask through Telegram

Telegram is the main interface. I’m still testing which questions and answers are useful in daily use.

05 / 05

Manage the storage

Self-hosting lets me choose how the project stores and processes my personal records.

Useful links

Documentation and code

Documentation, guides and source code for the tools I used in this project.

Get in touch

Email me with a question about the project or to discuss similar work.

Ask me a question
Next projectGarmin Watch Face ↗︎