Skip to content

Training14 min read

My coach is called Claude. How I plan my training with AI

After six years with a triathlon coach, I am planning my gravel season with AI. I show how it works step by step, why it is enough for me, and who still needs a coach.

In the various groups I’m part of, I see discussions, and one thread always comes up: artificial intelligence. AI is everywhere now, even in the kettle or the fridge. AI is even where there isn’t any. So it has to be in the cycling, gravel and sports world too.

Some people plan their training with AI, others don’t. Others still work with coaches, some read books and have yet other approaches. And more and more people are asking how to plan with AI at all and how to approach it. I decided to show how I do it.

What my coach taught me

For six years of triathlon I had the pleasure of working with a very good coach. He taught me not only how to approach and plan training, but also many things you need to pay attention to beyond the metrics. In fact, he taught me not to look at some metrics too much, because you can easily get lost in them and overdo it.

The key is listening to your own body, to different signals, and interpreting them properly. That matters more than the metrics and nudging your sleep score from 86 to 88 points, which may mean absolutely nothing.

That was my foundation when I started planning my gravel season with AI.

A socket and a plug

The whole thing is basically simple. Maybe it is for me, because I come partly from the tech world and understand certain patterns and logic. But really: if you want structured training, to connect the data you have on a platform like Garmin, and to use AI for it, it isn’t complicated.

In any AI agent, without going into whether it’s Gemini or Claude, you can use a so-called API that pulls data from Garmin. Garmin recently opened its API to private users. In a word, Garmin has provided a socket you plug into, and through that plug the data from your profile flows to the AI agent.

If you don’t have a Garmin, you can use the Strava connector, which Claude definitely has. You can easily pull your training history from Strava. It’s literally a few clicks.

Once the agent has your history, you can ask it what it thinks of you as an athlete: what your profile is, your strengths and weaknesses. It has the knowledge it was trained on and the material from which it will calculate (I don’t want to say conclude) and, with some probability, return a description of your athlete profile. The data will say something.

Claude as a coach

I use Claude, because that’s the environment I work in. And I treated my conversation with it exactly like a conversation with a coach.

At the start I wrote that I’m preparing for challenges in a new sport, gravel racing, and that I want to achieve something there. Then, as with a coach:

  • Goals. What I see for next year, a few distances, maybe target times, whether some events are just about finishing within the time limit (I gave the limits). I even included links to the events so it could pull information from their descriptions.
  • History. What I’d taken part in, what I’d finished, in what time and when. How much I’d trained, which sessions I liked, when to do them, when I felt good and when bad.
  • Health. I didn’t upload test results directly, but I described a bit about my ailments.
  • Gym. My approach to strength training.
  • Availability. When I can train, when I can’t and how many hours I can devote to it.
  • Data. I connected the Garmin API and said it could pull and analyse the metrics I have there.

Finally, I asked it to take on the role of a cycling coach and build an artifact. That’s important, because AI agents like working with artifacts, meaning files (e.g. Markdown) that then serve as a point of reference. They can reuse them and carry out the next steps based on them.

I asked for a season plan: a race calendar overlaid with training phases, cycles, microcycles and macrocycles, when and over what period. I got an artifact that lays out when the races I’ll probably do take place, what distances and how important they are to me (A, B, C priority). Between them it spread out the preparation phases: intensities, what phase I should be in at the gym, at what intensity and so on. A general plan of action for the whole year.

Why such a plan

The agent then has a global point of reference: where in the year you are with your training, what month it is, what the goal is of this month or the phase you’re in now.

And that matters, because your fitness may go according to plan or not. You may miss a session, you may not want to move anything, or something may happen that forces you to back off. That’s what a good coach is for: they know what to do then, how to shift, how to modify, which metrics show that something is wrong. The agent needs a point of reference like that too.

The weekly loop

I also set it up so that at the end of each week it pulls the data from my completed sessions (I have them in Garmin, and also in Strava) and compares what I did with the detailed plan for the week. Whether I did the sessions at the right time and at the right intensity. I have a power meter and a heart rate strap, so there’s plenty to assess it with. It also takes into account how much I slept, my HRV and other metrics a good coach looks at.

Based on that, the agent assesses whether I’m heading in the right direction and, using the season plan, lays out the coming week relative to the micro- and macrocycle: how far away the races are, what phase I’m in, what I should be doing.

I get a very detailed breakdown. This week, for example, three rides, each with precise tasks: zones, watts, heart rate, depending on what equipment I have. It can even give the difference in session length between the trainer and riding outdoors.

An example from the first week of November: on Thursday I had a cadence session. Four minutes at a cadence of about 95 and one-minute sections at 110. That’s a much higher cadence than I rode even in races, which is about 85. It’s riding at 200 W, which shouldn’t be a big challenge, but you still feel the session. I didn’t know what it was for, so I simply asked. You can talk like that with an AI coach too.

When things fall apart

Flexibility is very important to me. If something comes up in the coming week and I know I won’t do a session on the planned day, or I’ll have less time, I write to my AI coach. I tell it what challenges I have, when I’ll have time, when I may be more tired and which day I’m not available at all. Based on that it approaches things very flexibly and proposes how to shift the plan itself.

That’s what happened at the beginning of November. On Tuesday I was travelling to a trade fair in Warsaw, so the session moved to Tuesday morning, Wednesday stayed free, and Thursday got an option to shorten it in case, after a short night or with a higher heart rate, I didn’t have the energy for the whole thing.

That’s important, because in moments like these we usually don’t know what to do. We wear ourselves out or do things too intensely for what we’re capable of. And then there are consequences: incomplete recovery and an unfinished next week, which may be more important than the current one. A human coach can of course handle this too, if you tell them what’s going on. But my AI coach can do it just as well.

From a note on my bottle to Garmin

At the pool, when I was training for triathlon, I’d write my session on a piece of paper, stick it to my bottle and do the whole swim session from it. You can also write sessions on your hand.

But since we all have so much gear these days (as they say: more than talent), I prefer to send sessions straight to my Garmin. I start the session and don’t have to think about what to do. Times, tasks, intensity and volume change automatically.

There’s one catch. The Garmin API only works one way. You can draw power from the socket, meaning your training history and data, but you can’t send power back into it.

The solution is a platform in between, intervals.icu. You create an account there, the plan from the AI agent goes into the intervals calendar, and the platform sends the sessions planned for the coming week to Garmin every day. Then you open Garmin Connect and see in the calendar that today you have a session with a given name, with individual tasks: power, cadence and so on. Everything worked out in the plan. That’s a nice way to get communication working both ways. I hope it keeps working for a long time.

Is AI boring?

Some people say AI will generate identical sessions, without variety, generic ones. And I keep asking myself: is endurance sport about variety? Should we be looking for fireworks?

Maybe the point is exactly to standardise and do sessions that each have their purpose. Contrary to appearances, there aren’t that many of them. If you do them regularly, don’t do too many overly intense sessions, stick to the plan, look after recovery and nutrition and approach it calmly, isn’t that precisely the source of better and better fitness? Instead of constant tinkering, reading that it can be done differently, modifying and overcomplicating.

In my experience, simple, basic principles work best. There are no miracles. You have to do the work wisely and with quality. When it’s supposed to be hard, go hard, and when it’s supposed to be easy, go easy. And most often our problem is that when it’s supposed to be hard, we go hard, and when it’s supposed to be easy, we also go hard. The second problem is consistency and keeping up the frequency. And that’s the key to the whole thing.

It’s not poker

When I trained for triathlon, I had a very high completion rate and didn’t move sessions. When a session had to be done, I arranged my day so that I’d do it. It was drilled into my head that this session matters, that it’s the backbone of my day and has to fit in somewhere.

That’s up to you. Whether you’ll do the session after a friend’s birthday party, or whether you’ll eat things there that mean you can’t manage it when you get home. Whether on a business trip you’ll go to the hotel spin bike or gym, or choose an evening get-together and there’ll be no session. Those are your choices. Everyone is the blacksmith of their own fitness.

In endurance sports there are no miracles. If you don’t put in enough hours, don’t do enough strength sessions and aren’t consistent, there won’t be results. It’s not poker, where you sit down at the table and as a beginner you might get lucky. When you line up at the start with others, it shows who didn’t put in the work. At kilometre 50, 100 or 150, sooner or later. Of course there are things beyond our control, but there are no miracles.

And that’s why this sport is so beautiful. The race is the cherry on top. What’s key is the whole process that leads to you standing on the start line.

My experiment

I’m curious myself how it will turn out. For now I’m focusing on understanding the purpose of each session well, and I’ve trusted the process the AI lays out.

I won’t hide that, at my level and for what I want to do, I consider it one hundred percent sufficient. I’m not going to race for the top spots against very strong athletes, and I don’t need sessions designed at an Olympic level. We’re probably not going to the Olympics, and I certainly won’t. No need to overdo it. Focus on consistency and regularity and leave the miracles to others.

I’m also not going to read fifty books on cycling training right now. I use the tools I know and which, I hope, will be enough. We’ll see what comes of it.

This isn’t a post against coaches

I don’t want to say coaches are bad or unnecessary.

I do think, though, that coaches whose role is limited to writing up sessions for the coming week towards some goal (a marathon, a half marathon, a first 10K, a first hundred on the bike) for a modest result, with a 40-minute weekly consultation and nothing more, unfortunately don’t have a future. I may be wrong, maybe they’re doing fine. I don’t intend to use services like that.

But coaches who build a community around themselves are a different story. A group that supports each other, shared events and sessions, talks, sharing experiences. Conversations about psychology and about the fact that numbers and devices aren’t everything. Good practices, tips on what to watch out for. A coach you can share your doubts and feelings with. I don’t want to say a coach is a psychologist, but that’s also an important part of their role. Coaches like that have a reason to exist, and I think they’ll do well.

There are also people who need a coach. Some are motivated by having someone from the outside watching, and they’d be ashamed not to finish a session. Others feel that since someone writes the plan and they pay for it, they have to do it. And harder moments will come, when it’s more difficult to get motivated.

I’m writing from my own perspective. I have so much motivation that I have no problem getting up to train. I know why I do it and how important it is to me. I’ve also worked on my head myself: books, different approaches, visualisation, meditation. In those areas a coach wouldn’t have helped me.

Fortunately, I myself worked with a coach who didn’t work like that. We talked a lot about how to approach different things, what and how to visualise, how to prepare. We wrote a lot about my thoughts before and after races: how my body reacts, how I and my head react. I saw incredible value in that.

And precisely because I value Krzysiek, I didn’t want to burden him with the technical job of writing up cycling sessions. I decided to give his time to people who will benefit from it much more. Triathlon is three disciplines and many more variables when arranging a week. Cycling training, I don’t want to say it’s simple, but it’s more repetitive and formulaic: one discipline plus the gym. I think my AI agent will handle it at the level I expect.

Krzysiek, warm regards. If anyone is looking for a coach for triathlon and more, I recommend him with complete sincerity. He’ll teach you a lot, and throughout the whole preparation your health will come first. In six years under his guidance I didn’t have a single injury. It was an incredible part of my life: races, personal bests, fantastic fun and memories that will stay. If you’d like his contact, write to me.

How to set it up

If you want to try it yourself, here are the places worth starting with:

And if you get stuck or something’s unclear, message me on Instagram: @unpaved500. As far as I can, I’ll answer questions and help you set up an environment like this.

Originally written in Polish and translated into English. Wersja polska