Agent capabilities · They connect

Read your health data.

How you slept, how far you moved and how hard you have trained, so a session fits the day you are having. Apple Health only, and only the kinds you allow.

Who has thisMatt

What you get

A plan that ignores how you slept is a plan for someone else. Matt reads what your phone already records and fits the session to the day you are actually having: lighter after a short night, firmer when you are fresh.

A session you finish is written back to Apple Health as a workout, so your other apps see it too.

ReadSleep, steps, distance, resting heart rate, heart-rate variability, fitness level, energy burned, exercise minutes, weight and workouts.
WrittenA finished session, as a workout.

Apple Health only, for now.

What they will not do

Read a kind you did not allowApple asks you about each kind of data, and Matt reads only what you switch on.
Pass it aroundYour health detail stays with Matt. One thing crosses: last night’s minutes asleep, which Tender reads when you speak with them and keeps nowhere.
DiagnoseMatt adjusts training. Matt does not tell you what is wrong with you.

How it is built

Your phone already keeps a careful record of your body. The question is how little of it an agent needs. Matt reads a week of daily figures, on the phone, with Apple’s own permission sheet, and sends only those figures: a date, a number and a unit.

Health data is the most protected kind there is in law, so each kind is asked for separately, and the most sensitive kinds are off unless you turn them on.

From your phone to today’s session

  1. When you open Matt, the app asks Apple Health for the last seven days.

    Apple’s HealthKit, on the phone · HealthStore.sync

  2. You are asked once, by Apple, which kinds Matt may read.

    Sleep, steps, distance, resting heart rate, heart-rate variability, fitness level, energy, exercise minutes, weight and workouts

  3. Each kind becomes one figure a day.

    The latest reading, or the day’s total

  4. Only those figures are sent.

    A date, a value and a unit for each · /healthkit

  5. Matt reads the week before replying.

    Last night’s sleep and the week’s average shape what is asked of you today

  6. A session you finish is written back as a workout.

    The one thing Matt writes to Apple Health

The parts
HealthKitApple’s store of health data on the phone, with its own permission for each kind.
Matt’s own appA native iPhone app. The reading happens here, not on a server.
Cloudflare D1The small database Matt’s figures are kept in.
UK GDPR, Article 9The law’s rule for health data: explicit consent, recorded before anything is held.
The words, in plain English
Heart-rate variabilityHow much the gap between heartbeats varies. A common sign of how recovered you are.
Special category dataThe law’s name for the most protected kinds of personal data, health among them.
Explicit consentA clear yes to a specific thing, which you can take back.

What is not finished

Apple Health onlyNo other source is read.
When it syncsOn opening the app, or when you press sync. Not yet in the background.
DuplicatesA figure read twice may be stored twice. It does not change what Matt says.
Matt stands apartMatt runs on an older version of the shared libraries than the other agents.
NextRead what you attach

A photo, a screenshot or a file, read for the reply you asked for.

Read what you attach
All of themAgent capabilities

Every ability, and who has it.

The agents
Your dataWho holds what

What is held, for how long, and how to take it or delete it.

Privacy notice