MiAi: my own AI portal, starting with my health

Why I started building MiAi, and how the first area came together, from a health dashboard to an AI coach that reads my own workout data.

#miai#claude#health

I started the idea of MiAi (My AI, get it?) 10 months ago while traveling to Cary, NC for a family visit. I had been using various AI platforms to understand what they were, how they worked and what made them different. Everything I worked on felt fragmented and not tied together. I needed some way to bring it all into one unified interface or control point instead of managing all of these separate projects.

Wouldn't it be cool to have my own AI portal that brings all of the "stuff" I care about into one place? I started playing around with the idea and figured I would start with a meaningful sub-project: my health metrics.

I have been an Apple Health user for over a decade, so I have a plethora of metrics to tap into. I am a Peloton OG; my wife and I own two bikes, a Peloton treadmill and a Peloton rower. A year ago I invested in a Tonal (look it up, I love it) and have been working it into my routine. The Tonal is pretty cool because, unlike Peloton, you can actually "write" to the platform and build your own workouts. Peloton classes are instructor-led, so in technical terms Peloton is read-only.

Enter MiAi.

The MiAi home page: a greeting, Health and Wealth area cards, and a grid of templates for other life areas such as Education, Family, Home, Travel and Work & Career.

The MiAi home page. Health is the first area; the templates are the areas still to come.

I started with a basic dashboard of the metrics I was pulling into the platform. I still need to play around with the layout, but the metrics are all in and looking good. Getting the Apple Health data out of my iPhone was a story of its own, which I wrote up in Getting my Apple Health data out of my iPhone.

The MiAi Health dashboard: a readiness score, tiles for resting heart rate, HRV, sleep, Tonal strength score, active calories and VO2 max, and charts for training minutes and sleep stages.

The Health dashboard, pulling from Apple Health, Tonal and Peloton.

Next, I added an Anthropic AI agent to serve as a "virtual coach" for this section. Setting up a deployed agent, including its billing configuration, was a new experience for me, and I found it fascinating. I also "trained" the model a bit: I had a research agent gather validated health best practices to use as a reference and baseline. To keep my data feeds fresh while building Tonal workouts, I put the data sync at the top of the MiAi chat, as shown in the screenshot below.

The MiAi chat open over the Health page, with sync status for Tonal, Peloton and Apple Health at the top and the coach planning a rest day after a hard strength session.

The coach, with sync status for each data source at the top of the chat.

Now comes the fun part: doing the hard work and generating data with my workouts! I am enjoying testing the virtual coach and having it review my own health metrics. It seems to be insightful. I have it configured to use a lower-tier model for basic Q&A and a higher-tier model for schedule building and more complex tasks. That, combined with the caching I set up, helps keep operating costs down. I put real numbers on that in Cutting my AI assistant's bill by 68%.

Health is just the first area. Wealth is already in progress, and the templates on that home page are next. I'll write about them as they come together.