
Longev AI runs on explainable clinical rules over the guest's own baseline, collects exposure-to-response pairs on top and openly measures its own forecast error.
Longev AI is a deterministic engine: the same night under the same thresholds produces the same sheet. That is not a limitation the platform is shy about — it is an engineering decision with three reasons.
First, the doctor's signature. The morning sheet is signed, and every line on it must answer "why": "resting pulse 68 against your average of 61 — we propose swapping the demanding procedure". A recommendation that cannot be explained with a number is never printed.
Second, the regulatory frame. A system that silently changes medical prescriptions from an opaque model drifts towards being a medical device and towards the high-risk tier of the European AI regulation (EU AI Act). The platform deliberately stays lifestyle support: it proposes, explains and waits for the doctor (the legal frame).
Third, the cold start. A trainable model without data is worse than rules: there is nothing for it to learn from in a hotel that joined yesterday. Rules work from the first guest — and the data for future models starts accumulating from the first morning, as described below.
Nearly every threshold compares the guest with themselves. The baseline is the average of their own stay: shared arrival days honestly stay out of it, and until at least two days are measured, the baseline flags are held back altogether — a comparison against a single night would be a coin toss printed as a finding. The doctor can raise that guard up to 5 days.
Heart-rate variability (HRV — how uneven the pauses between heartbeats are) has a second source of truth: the guest's own corridor, which the Firstbeat engine inside Garmin learns over about three weeks. When the watch that has known the guest longer than our two-day baseline says "below the corridor", the readiness component cannot come out green — the watch's verdict outranks our arithmetic, and in exactly one direction.
The same numbers make up the day's readiness — one figure from 0 to 100, the counterpart of Oura's Readiness and WHOOP's Recovery, but on Garmin data and under rules the hotel's doctor moves: Body Battery weighs 30 points, HRV and sleep 25 each, resting pulse and yesterday's load 10 each. A component with no data is not padded with a hospital average — it drops out, the weights renormalise, and when less than half the weight has data, no verdict is issued at all.

| Layer | What it does | Where it is covered |
|---|---|---|
| Input | 25 metrics from the Garmin watch and scale, the intake questionnaire, the doctor's prescriptions, the food diary | what the watch measures |
| Own baseline | the guest's stay average per metric; a guard against verdicts from one night | this page |
| Rules | eight single-night flags and six several-day flags; up to 20 of the hotel's own rules; thresholds moved by the doctor | the numbers the day is corrected by |
| Constraints | contraindications, the rhythm of the course, "paid items are the doctor's" | the plan algorithm |
| Output | the morning sheet, readiness, today's plan corrections — each with its reason | the morning round |
A hotel property-management system (PMS) can connect the Garmin Health API and receive pulse and sleep. What it lacks are the two things a training set is made of: the doctor's prescriptions and the food diary. So the platform grows two datasets, and both exist only where biometrics, prescriptions and nutrition live in one loop.
"The platform gets more accurate" is a sentence an audit is entitled to see as a number. For that the admin panel has a forecast check: over the whole accumulated history the platform retro-predicts every morning — resting pulse, HRV, Body Battery and sleep score — and computes the mean absolute error (MAE): by how many units the forecast misses on average.
It is computed walk-forward — "moving only forwards": the forecast for a morning is built strictly from the days before it, and even the load coefficient keeps learning only on pairs that have already happened by that point. Peeking into the future to fit the answer is impossible by construction.
| Model | How it predicts | Why it is in the table |
|---|---|---|
| "As yesterday" | tomorrow will be today's number | the naive bar: a model that does not beat it has no right to be called a model |
| "Own baseline" | the guest's stay average — the same one the morning sheet prints | shows what personalisation alone is worth |
| "Baseline + load" | the own baseline with a correction for yesterday's overload; the coefficient activates after 8 accumulated pairs | the first trainable element — its contribution visible separately |
The table is deliberately able to show the uncomfortable: on a short history the naive "as yesterday" often beats the corrections — and that is a correct result, not a malfunction. The bar for future models is set by this same table: a model ships when it reliably beats the naive one on the hotel's data, not when it sounds impressive.