The Anatomy of a Personal Health Agent

Three specialist agents and an orchestrator answer health questions from wearable data. Experts ranked the full system best in 66.7% of conversations, against 12.6% for a single agent.

You type "How can I improve my sleep?" into a health app. Three designs could answer you. Tap a system button below and watch who gets called, what it costs, and how experts scored the answer. Then we build the specialists and their orchestrator, piece by piece.

You need what a language model is and what a wearable records. We build the rest from zero.

Paper: Heydari, Gu, Srinivas, Yu, Paruchuri and colleagues at Google Research and Google DeepMind. The anatomy of a personal health agent, Nature (2026), doi 10.1038/s41586-026-11161-8.

Ask three systems

Ready

Choose a system and a question.

The cost and quality bars are the paper's own averages over its conversations: calls per round 3.0, 7.0 and 6.5, seconds per round 36.4, 244.4 and 205.3, expert overall quality 54.4%, 64.3% and 72.8% (Methods, Fig. 5c). They do not vary by question. Only the sleep routing (health coach as main agent, data science and domain expert in support) comes from the paper's text. The other three routings are illustrative.

Chapter 0

One question, three jobs

Why a single chatbot cannot answer an everyday health question well, and how the authors found the jobs it must do

You open an app on your phone and type: "How can I improve my sleep?" The answer you want has three parts. First, someone must look at your own last week and say what is wrong. Second, someone must know what sleep science says about it. Third, someone must talk with you until you pick one change you will really make.

Those are three different jobs. The first job needs arithmetic: averages, comparisons, a check that you wore the watch at all. The second job needs facts with sources you can trust. The third job needs conversation: questions, listening, and a plan that fits your life. A single chat model must do all three in one reply. This paper asks if we can do better by giving each job to its own specialist.

Let us define the words first. A language model (LLM) is a program that reads text and writes the most likely next words. An agent is a language model placed in a loop: it can run code, search the web, read a table, look at the result, and decide the next step. A multi-agent system is several agents with different jobs that pass work between them. The paper builds one for health and calls it the personal health agent, or PHA.

The PHA reads data from a wearable, a watch or ring that records steps, heart rate and sleep all day. It also reads blood test results. The authors say plainly that the PHA is a research prototype for wellness. It does not replace a doctor.

Why earlier systems fell short

Earlier systems had one of two gaps. Some covered narrow topics, such as fitness or sleep, without deep number work. Others handled broad number questions but never tested health expertise or coaching. The paper adds a third problem: language models are still unreliable when they reason over numbers that change over time. A chat model that sees a month of heart rate often guesses instead of computing.

The authors report that their experiments confirmed a problem: one big model struggled to balance competing goals. Number questions want exact code. Coaching wants warm, open talk. Fact questions want sources. A prompt that pulls in all three directions pulls each one a little off course.

How they found the jobs

The team did not guess the list of jobs. They measured what people ask. They gathered 1,370 real consumer questions from web search, from Gemini, and from a Fitbit community forum. They read survey answers from 555 users of an early Fitbit chatbot. Then 14 experts from user experience, product, research and engineering sat in a one-hour workshop to sort it all out.

Out came four critical user journeys, or CUJs. Each is a kind of need that people return to again and again.

  1. General health knowledge. "What are the pros and cons of HIIT?"
  2. Personal data insights. "How did my steps impact my resting heart rate in the past month?"
  3. Wellness advice. "At what time should I go to bed?"
  4. Personal medical symptoms. "My throat is itchy and I have trouble swallowing. What might be going on?"

From evidence to specialists

Three sources of evidence feed four journeys, and the journeys call for three agents. Press Next step to add one layer at a time.

The counts 1,370, 555 and 14 are the paper's. The paper's Fig. 1a groups every journey with a main agent and supporting agents; the links drawn here show one plausible main agent per journey and are illustrative, since the full table is in the supplement.

Look at what the journeys need. Journey 2 needs code that computes. Journeys 1 and 4 need grounded facts. Journey 3 needs coaching. But the journeys overlap in real talk. The sleep question above is journeys 2 and 3 in one breath. So the system needs three specialists and something that decides who works on a given message.

That is the design. A data science agent (DS) turns your data into numbers. A domain expert agent (DE) brings in evidence and context, including your blood test. A health coach agent (HC) holds the conversation and sets goals. An orchestrator reads your message, assigns the work, merges the results, and remembers what you said. The authors took the idea from human health teams, where a nurse, a physician and a coach each cover part of your care.

One more point on scale. The paper reports 11 benchmark tasks, more than 7,000 annotations, and 1,350 hours of effort from health experts and end users: 651 hours from end users and 699 from experts. We return to how they judged the work in Chapter 7. First we meet the data, then each specialist, then the orchestrator.

Here is the road, in order. Each chapter builds one part of the picture above.

  1. The data: wearables, blood tests and the study that supplies them.
  2. The analysis plan: how the DS agent turns a vague question into a precise plan.
  3. Code that fixes itself: how the DS agent computes and retries.
  4. The expert: how the DE agent reasons with tools and evidence.
  5. The coach: how the HC agent decides when to ask and when to advise.
  6. The orchestrator: routing, reflection and memory.
  7. How to judge it: raters, autoraters and agreement.
  8. What users and experts said: the integrated results.
  9. What it costs: calls, seconds and the comparisons.
  10. Safety and limits: harm ratings and what the paper did not show.
  11. Field guide: numbers, code, links onward.
Why did the authors build several specialist agents instead of one big prompt?

Chapter 1

The data the agent reads

Three tables from a watch, a blood test, and why a gap in the record is itself an answer

Maya wears a watch day and night. On Tuesday she forgot to charge it. On Wednesday she wore it for a run. By Sunday she asks, "Am I getting fitter?" Before any model can answer, someone must say what "fitter" means in her data, and whether her data even has enough days to say it.

This chapter is about that raw material. A wearable gives a time series: a list of values in time order, such as steps for each day or minutes of deep sleep for each night. A blood test result is a snapshot: one value for each marker on one day. A questionnaire adds facts the sensors cannot see, such as age or a diagnosis. The paper calls the combination multimodal, because each kind of data is a different mode.

The study behind the data

The authors needed real people with all three kinds of data. They used WEAR-ME, a large study of metabolic health with 1,165 participants. Each person linked their Fitbit account, which gave the team their data for the study period and for up to three months before they joined. Each person also filled in questionnaires, gave a blood draw at a Quest centre, and wore a Fitbit or Pixel Watch for at least three days out of every four.

The team then cleaned the data. They removed people with short or unreliable wearing periods and people with too many missing values. In this study, medical records meant blood test results only, because of limits on data access. The authors note that a future version could add full electronic health records.

The three tables the DS agent sees

For number work, the data science agent gets three tables for each person. Think of each as a spreadsheet.

  1. The daily summary table has one row per day. Its columns hold activity and sleep numbers. Its shape is D days × C columns.
  2. The activities table has one row per recorded activity, such as a run, a ride or a swim. Its shape is A activities × C columns.
  3. The population summary table has daily percentiles for the whole study, split by gender and age group. A percentile says where you stand among others.

Two tables often hold the answer together. "Did my running make me sleep better?" needs the activities table to find run days and the daily summary to read sleep. A join lines the two tables up on a shared key, here the date. If you ran on 12 days out of 30, the join gives you 12 rows that have both a run and a night of sleep.

Missing data is a finding

Now go back to Tuesday. The charger was empty, so the daily summary has no row, or a blank, for that day. A careless analysis averages the days it has and reports a number as if nothing were missing. A careful analysis counts the usable days first. If too few remain, it says so and stops.

The paper calls this a data sufficiency check. It matters a great deal. We will see in Chapter 2 that a base model passed this check in only 5.3% of cases, and the DS agent in 66.5%. Try it yourself below. The device shows two weeks of steps. Take days away, set how many days you need, and watch the verdict flip.

How many days is enough?

Each bar is one day of steps. Hollow bars are days the watch was off. Slide the first control to remove days, the second to set how many you need.

4
10

The step counts are a made-up two-week record, not WEAR-ME data. The rule "stop when usable days fall below a minimum" is the idea the paper scores as the data sufficiency dimension; the threshold is yours to set here.

The averaging rule is simple. Let n be the number of days that have data. Then:

x̄
The average steps per day. It uses only days that have data.
1/n
One divided by the count of days with data. If you divide by all 14 days instead, missing days pull the mean toward zero.
Σ
Add up the values for the listed days.
xi
The steps on day i.

Worked example with toy numbers. Five days read 6,000, 8,000, 7,000, 9,000 and 10,000 steps. The sum is 40,000 and n is 5, so the mean is 8,000. If two blank days were counted as zero, the sum stays 40,000 but the divisor is 7, and the mean falls to about 5,714. That is a false drop of 29%, caused by the charger and not by Maya.

Percentiles, in one picture

The population table lets the agent say "you are at the 70th percentile for your age and gender". The rule is: count how many people have a value at or below yours, divide by the total, and multiply by 100. With 20 people in your group and 14 at or below you, you stand at 70. Without this table, a number like "7,971 steps" has no meaning to a reader.

Here is the core check as code. It is the kind of step the DS agent writes into its plan and its program.

cutoff = datetime.now() - timedelta(days=365)
daily = summary_df[summary_df.index >= cutoff]      # shape (D, C)
usable = int(daily["steps"].notna().sum())          # n in the equation
if usable < MIN_DAYS:
    return {"status": "insufficient_data", "days": usable}
mean_steps = daily["steps"].mean()                  # pandas skips blank days, so this is x-bar

One last piece of the setup. Working with clinicians, the team found the ten most common health profiles among the participants, then drew five people at random for each profile. That gives 50 personas: real people's data, used as the stand-ins that testers pretend to be. Chapters 7 and 8 use them.

Maya's watch has data for 8 of 14 days. What should a careful analysis do first?

Chapter 2

From a vague question to a plan

How the data science agent decides what to compute before it writes a single line of code

Maya types: "Am I getting more fit?" A friend who is a data scientist would not start typing code. She would ask questions first. Fit in what way? Over what period? Compared with what? Do you even have enough days on your watch to say?

That pause is the whole idea of the data science agent, or DS agent. It splits the job into two stages. Stage one writes an analysis plan: a short, exact description of what to compute. Stage two turns the plan into code. The paper says this split separates the semantic work of "what to do" from the syntactic work of "how to do it". It also reduces the factual and logic errors that language models make when they write a whole analysis in one shot.

What goes in, what comes out

The planner does not see your raw data. It sees a data summary: the table schemas, a description of each column with its data type and a semantic tag, and summary statistics. This is like handing a consultant the table of contents of your files, not the files. It keeps the prompt short and lets the planner reason about what exists.

The planner then writes one structured paragraph in plain English. The paper lists what the paragraph must settle.

  1. Conceptual variables. Name the ideas in the question and say how to measure them in the data. "Fitness" becomes average daily steps and resting heart rate.
  2. Data transformations. Filter the rows you need, clean messy values, join tables, and aggregate. For example, join activities to the daily summary on date.
  3. Missing or insufficient data. Notice it, flag it, or handle it, so a thin record does not produce an unreliable claim.
  4. Statistical test. Pick a calculation that fits the intent, such as a comparison of two periods or a correlation.

One design choice is worth a pause. Open questions have many valid answers. The agent is built to give at least one appropriate response per turn, not a list of every possible analysis. You can ask a follow-up to explore another route. That keeps the reply short and the burden on the reader low.

Write the plan

Query: "Am I getting more fit?" Switch on the parts a good plan includes. The bar shows a toy score out of 16 points. The two ticks mark the paper's measured averages.

The point weights (3, 4, 4, 3, and 2 for alignment) are invented for this toy. The paper's rubric has 26 conditional items and removes at most 16 points per evaluation; its exact scoring is in Supplementary Section C.3.1. The ticks at 53.7% (base Gemini) and 75.6% (DS agent) are the paper's overall averages (Fig. 2b).

How the paper judged a plan

A plan is hard to grade by a simple right-or-wrong. So four data science experts wrote a rubric, a checklist, with six dimensions: timeframe, data transforms, data sufficiency, summary statistics, statistical tests, and overall alignment with what the user meant. The final rubric has 26 items in a conditional hierarchy. That means some items count only if an earlier one passes. You do not grade the choice of test if the hypothesis was unsound. Errors cost points, and at most 16 points can be deducted in a single evaluation.

Because experts are costly, the team trained a language model to grade for them, an autorater. Ten expert data scientists spent 47 hours on 354 annotations to check it. We return to that check in Chapter 7. For now, take it as a ruler that agreed well with people (an intraclass correlation of 0.838).

What the planner gained

Overall, the DS agent scored 75.6 ± 1.4% against 53.7 ± 1.8% for the base Gemini model (P < 0.001, Wilcoxon signed-rank test, effect size r = 0.925). Here P is the chance of seeing such a gap by luck alone, and r is the size of the effect. Chapter 7 explains both. The biggest jump was on data availability, the sufficiency check from Chapter 1. The base model passed it 5.3 ± 1.6% of the time. The DS agent passed it 66.5 ± 3.7%. Timeframe, data transforms and alignment also improved. Statistical tests did not change, because the base model was already strong at picking tests.

Read that last sentence again. The agent did not make the model better at statistics. It made the model remember to ask what is in the data, which period matters, and which columns to join. Those are habits of care. They are not new knowledge.

Here is how a plan looks as a structure. The paper's plan is a paragraph of text; we show it as a dictionary so the parts are visible. The numbers (90 days, a 30-day minimum) are our own illustration.

plan = {                                   # illustrative, not from the paper
  "variables": {"fitness": ["mean daily steps", "resting heart rate"]},
  "timeframe": "last 90 days vs the 90 days before",
  "transform": ["filter both windows", "drop days with null steps", "aggregate to mean"],
  "sufficiency": "need >= 30 usable days per window, else report 'not enough data'",
  "test": "Mann-Whitney U on daily steps; report both means and the difference",
}

Where the grading set came from

To train and test the autorater, the team needed plans that experts had graded. They asked several models (Gemini 1.5 to 2.0 and GPT-4o) to write plans for 100 real health queries. That gave 141 distinct query-and-plan pairs. Ten expert data scientists then graded them, each pair by two to four experts. In total they spent 47 hours and made 6,157 rubric item annotations.

Here is how the hierarchy shows up in a real grade. Suppose a plan picks a t-test but compares the wrong two groups. The grader first marks the hypothesis as unsound. The item about "a reasonable test choice" is then skipped, because judging a test makes no sense on a broken question. This keeps one early mistake from being counted again and again.

The DS agent gained most on which plan dimension, and what does that tell us?

Chapter 3

Code that fixes itself

How the data science agent runs its plan, reads its own errors, and tries again

A user asks: "Do I get more deep sleep the days that I stay more active?" The plan from Chapter 2 says: find the median of daily steps, split the days into two groups, compare the average deep sleep of each group, and report the correlation. The plan is exact. Now the agent must turn it into a Python program and run it on Maya's tables.

Writing the program is stage two. The agent gets the plan, the question and the data summary, and writes a function. Because the plan leaves little room for choice, the model can lean on what it does well: writing code from a clear spec. The paper reports that the agent runs the code in a sandbox, a locked room where the program can read the tables but cannot touch anything else.

The answer the agent gave

The paper shows the real output for this question. The median daily step count was 7,971 steps. On days above the median, average deep sleep was about 90.0 minutes with a standard deviation of about 22.4. On days at or below the median, it was about 89.0 minutes with a standard deviation of about 19.2. The correlation between steps and deep sleep was about 0.14. A correlation runs from -1 to 1. Zero means no straight-line link, and 1 means a perfect one.

Now read the numbers as a person would. The gap between groups is 1.0 minute. The spread inside each group is about 20 minutes. So the gap is tiny next to the spread. We can say it with one number. Divide the gap by a typical spread: 1.0 ÷ 20.9 ≈ 0.05, where 20.9 is the root of the average of the two squared standard deviations. Cohen's d is the name for this ratio, and 0.05 is far below 0.2, the usual line for "small". The correlation agrees. Squaring 0.14 gives 0.0196, so steps explain about 2% of the day-to-day change in deep sleep. The honest answer is "barely".

r²
The share of the changes in one measure that a straight-line link to the other measure accounts for.
0.14²
The correlation from the agent's output, squared.
0.02
About 2%. The other 98% comes from things the step count does not capture.

The retry loop

Programs fail. A column name is misspelled. A blank value breaks an average. A join drops half the rows. The agent handles this with an iterative self-correction loop. If the run fails with a syntax error or a runtime exception, the agent calls the code stage again. This time the prompt holds the original query, the plan, and the error message. The loop ends when the code runs and returns a number.

Run, read the error, retry

Press Run attempt. The agent runs its code, and each failure becomes input for the next attempt. The bars on the right are the paper's pass rates.

The three attempts and their errors are an invented trace of the kind of failure the paper describes. The bars are the paper's unit-test pass rates: base Gemini 58.4%, DS agent 75.5% on the first attempt, 79.0% after up to five trials (Fig. 2b and text).

def solve(query, plan, schema, max_trials=5):
    code = llm(code_prompt(query, plan, schema))             # stage two: plan to program
    for trial in range(max_trials):
        ok, out, err = run_in_sandbox(code)                  # numpy, pandas, scipy only
        if ok:
            return out                                       # a dict of numbers
        code = llm(code_prompt(query, plan, schema, error=err))  # error text is the feedback
    return None                                              # ask the user, do not guess

How the paper scored the code

Seven data scientists took 25 well-rated plans. For each, they wrote a function header, a docstring that says what to return, a reference solution, and unit tests. That gave 173 unit tests, small checks of the form "given this input, the output must be that". It took 75 hours. The pass rate is the share of tests the agent's code passes.

On the first attempt the DS agent passed 75.5 ± 3.3% of tests. The base Gemini model passed 58.4 ± 3.7%. After up to five self-correction trials the DS agent reached 79.0%. The largest gain was on data-handling errors, the kind that make a whole pipeline unusable. They fell from 25.4 ± 3.3% to 11.0 ± 2.4%.

Is the gain real? McNemar's test

The same 173 tests were given to both systems, so each test has a pair of outcomes: base passes or fails, agent passes or fails. This is paired data. The paper uses McNemar's test. It ignores tests where both agree and looks only at the tests where they disagree. Let b be the tests that the base passes and the agent fails. Let c be the tests that the agent passes and the base fails.

χ²
A score for how surprising the imbalance is. Bigger means less likely to be luck.
b − c
Wins for the base minus wins for the agent, among the disagreements.
b + c
The number of disagreements. If the two systems were equal, b and c would be near each other.

Toy example. Suppose b = 10 and c = 45. Then χ² = (35)² ÷ 55 ≈ 22.3. The paper reports χ² = 26.3 and P < 0.001 for the first-attempt gap, so its imbalance is at least this lopsided. A value above 10.8 means P < 0.001 with one degree of freedom.

The authors also ran the plan and code stages with other leading language models. The gains held, which they take as a sign that the architecture does not depend on one base model (Supplementary C.5.3).

What a unit test looks like here

Each of the 25 coding problems came with a function header and a docstring that says what the function must return. A docstring is the text inside a function that describes its job. Because the output shape is fixed, a test can check the exact keys and numbers. A test might feed in a small table where the right answer is easy to work out by hand, then compare. The experts also wrote tests for edge cases, such as limited data and complex data transformations.

This is why the retry loop alone is not enough. Retries catch crashes. Unit tests catch code that runs and quietly gives the wrong number. The retry loop added 3.5 points (75.5% to 79.0%), and each extra trial adds less than the one before, since easy bugs are fixed first.

What does the agent feed back into the next attempt after a failed run?

Chapter 4

The expert who shows sources

How the domain expert agent reasons, picks tools, and ties your numbers to evidence

A user with type 1 diabetes asks about the glucose level after a meal. A plain chat model might answer from memory, in a confident voice, with no way for you to check it. The domain expert agent, or DE agent, answers differently. In the paper's example it says: "I see that you have type 1 diabetes." Then it cites the American Diabetes Association for a target of under 180 mg/dl two hours after the start of a meal. It adds that the wearable data suggest the user does not meet the American Heart Association activity guidelines, and it lists both sources.

The paper calls the DE agent a specialized cognitive layer. Its job is not only to retrieve facts. It must synthesize them, meaning combine facts and personal data into one view. It must contextualize them, meaning adjust to your age, conditions and goals. And it must validate them, meaning check against an authoritative source. The authors name four skills: accurate health information, diagnostic reasoning, personalization, and reasoning over several kinds of data.

The reason, investigate, examine loop

The DE agent follows a pattern called ReAct, short for reasoning and acting. The model alternates between thinking and doing. Each pass has three steps, and the paper names them.

  1. Reason. Break the question into steps that can be checked. For example, find a clinical baseline for a vital sign, find literature that links two symptoms, or plan a trend analysis of personal data.
  2. Investigate. Pick the best tool and use it. The tools are web search, the NCBI interface to medical studies, the DataCommons interface to population statistics, and a Python sandbox.
  3. Examine. Read what came back. Decide what is now known and what is still missing. Then go to step 1 again, or stop when the evidence is enough.

Each pass leaves a note, so the finished answer comes with a trace you can audit. The paper stresses this: the answer is "a grounded, evidence-based conclusion", not a black box.

def de_agent(query, wearable_summary, labs, max_passes=8):   # our sketch of the paper's cycle
    notes = []
    for _ in range(max_passes):
        thought = llm(reason_prompt(query, wearable_summary, labs, notes))  # reason
        if thought.done:
            return write_answer(query, notes)                 # every claim keeps its source link
        tool, args = thought.next_action                      # web_search | ncbi | datacommons | python
        result = TOOLS[tool](**args)                          # investigate
        notes.append(examine(thought, result))                # examine: what did this teach us?
    return write_answer(query, notes)

The cap of eight passes is our own safeguard in the sketch. The paper says the loop runs until the agent has enough evidence.

Four tests, four kinds of gain

The authors tested each skill on its own. The results do not all look alike, and that is useful to see. Pick a test in the device to compare the base model with the DE agent.

Four evaluations, side by side

Choose a test. Each pair of bars shows the base Gemini (or the previous best system) against the DE agent. Watch how the size of the gap changes.

All values are the paper's, except the diagnosis baseline of 41.4%, which we derive as 46.1% minus the reported gain of 4.7 points. Exam facts: more than 2,000 multiple-choice questions. Diagnosis: top-one accuracy over 2,000 real consumer cases against a Gemini 2.0 Pro differential-diagnosis agent. Trust: 17 end users on 50 questions. Summaries: 5 clinicians on 30 participants.

Start with the exam facts. The test had more than 2,000 questions from board and coaching exams in endocrinology, cardiology, fitness and sleep medicine. The DE agent scored 83.6% and the base model 81.8% (P = 0.002, McNemar's test). That is a small step, and it makes sense. The base model already knew most of these facts. Tools help least where the answer is stored in the weights.

Diagnosis shows a larger gap. The team gave each system the self-reported symptoms of 2,000 real consumers and asked for the ten most likely diagnoses. The DE agent reached 46.1% top-one accuracy, 4.7 points above the earlier best agent. The gap held at top five and top ten too. The authors stress that the cases were common, self-reported symptoms, not rare textbook puzzles.

Trust shows the biggest swing. Seventeen end users compared answers to 50 personal questions without knowing which system wrote which. On the yes-or-no rubric, trustworthiness was 96.9 ± 0.8% for the DE agent against 38.7 ± 3.3%. Relevance to the query and grounding in the user's data were about the same for both. So the agent did not become more on-topic. It became more checkable. In side-by-side votes, users also preferred it on personalization (71.9%) and on credibility of citations (76.9%).

The summaries test used 30 WEAR-ME participants. Each summary mixed text, wearable data and a PDF of lab results. Five clinicians graded them blind. The DE agent beat the base model on clinical significance (96.4% against 73.8%), cross-modal association (79.4% against 50.0%), comprehensiveness (96.4% against 64.2%) and citation credibility (77.6% against 42.7%). Overall, 65% of its summaries were rated useful or very useful, against 30%.

Reading the gains with care

Two details keep the results honest. First, the diagnosis gain has a small effect size (r = 0.156, Wilcoxon signed-rank test), even though P is below 0.001. The authors tested common, self-reported symptoms, and a 4.7 point rise is real but modest. Second, a language model that searches the open web can meet conflicting or weak sources. The authors say later versions should limit retrieval to curated sources, such as WHO, PubMed, NICE and CDC, and show the source next to each claim.

Note also what the agent was given. Its input was the query, the wearable data and the medical records, which in this study meant blood test results only. It is a design for people who already have data to share. It does not guess data you never provided.

The DE agent gained only 1.8 points on exam questions but 58.2 points on trustworthiness. What is the best reading?

Chapter 5

The coach who knows when to ask

How the health coach agent balances questions and advice, and what two groups of raters thought

Maya types: "I want to sleep better." One kind of chatbot answers at once with ten tips: no screens, cool room, no caffeine after noon. Another kind asks question after question and never gets to a suggestion. Neither sounds like a good human coach. A good coach asks what you want, learns what stands in your way, offers one small step, and asks what you think of it.

The paper's health coach agent, or HC agent, tries to do what that coach does. The team did not invent the rules. They interviewed 11 health experts in sleep, fitness and life coaching, each with an advanced degree and at least five years of work. Six themes came out of those hour-long talks. We label them HC1 to HC6.

  1. HC1 Goal and purpose. Find the goal and the reason behind it. Bring the user back when they drift.
  2. HC2 Active listening. Sum up and restate what you heard.
  3. HC3 Context. Learn the user's limits, preferences and what they tried before.
  4. HC4 Empowerment. Build trust, let the user choose, praise real progress.
  5. HC5 Concrete advice. Give a recommendation that is SMART: specific, measurable, attainable, relevant and time-bound.
  6. HC6 Feedback. Offer early advice but leave room for the user to change it.

The method underneath: motivational interviewing

Motivational interviewing is a way of talking that puts the client at the centre. The coach does not lecture. The coach explores the client's own mixed feelings about change, such as "I want to sleep better, but I love my late-night shows", and helps the client resolve them. The HC agent's main module follows this style. Its fixed order of play is: find the goal (HC1), explore context and limits (HC3), ask for feedback (HC6), and only then give a recommendation (HC5).

Why one prompt was not enough

You could write all six themes into a single long prompt. The authors tried that in pilot tests. It failed in two opposite ways. The agent either gave advice too early, before it had enough context, or it got stuck asking questions and never moved on. A long prompt has no memory of where the talk stands, so it cannot tell "not enough yet" from "enough".

The fix was to add two small modules that watch the state of the conversation. The recommendation module decides when it is time to advise. It keeps the talk on track and asks the user to confirm that enough context was gathered. The conclusion module notices a natural end and closes with a summary of the key points. A structured memory of goals, constraints, preferences, feedback and a summary of earlier talk sits underneath all three.

Ask or advise?

Choose a design, then switch on what the agent already knows. The box shows its next move. Red marks the failure the paper describes.

This is a toy of the control logic the paper describes in words (Methods, HC agent); the real modules are prompts, not hard-coded rules. The two failure designs model the pilot findings: advice before enough context, and questions without end.

def next_move(state):                       # our sketch of the module logic, not the paper's prompts
    if not state.goal:   return ask("What would you like to change, and why?")        # HC1
    if not state.ctx:    return ask("What gets in the way? What have you tried?")     # HC3
    if not state.enough: return ask("Is that enough for me to suggest a first step?") # HC6
    return recommend(smart_step(state), invite_feedback=True)                           # HC5, HC6

What 31 users and 3 experts found

Thirty-one end users chatted with the HC agent and with a baseline built on the same Gemini model, in blind, counterbalanced sessions. The order of the two was swapped across people so that order could not explain the result. The users filled in four questionnaires on usability, working alliance, motivational interviewing quality and goal quality.

The HC agent did significantly better on conversation flow, motivational interviewing and handling of feedback (all P ≤ 0.05). Users preferred it on five of the six themes, with win rates of 61 to 71%. Its conversations also ended more naturally: 83.9% against 74.2%. One result went the other way. On progress measurement, the baseline scored higher. The authors say they fixed this in the full PHA, where the orchestrator takes over progress tracking.

Three health coaches then re-read the same transcripts, blind to which system wrote which. They saw a larger gap: gains of 7 to 16%, all with P < 0.001 except clarity. Their win rates for the HC agent were 64.5 to 72.0% on all six themes. On average the experts' relative advantage was 10.2 ± 1.2% against 3.5 ± 2.5% for end users.

A coaching chat, turn by turn

Here is how the logic plays out for "I want to sleep better". We invent the lines to show the shape; the paper's real examples are in its Extended Data figures.

  1. Coach asks: "What would better sleep give you?" The user says: "I want to feel awake at work." The goal is now known (HC1).
  2. Coach restates the goal in its own words, then asks: "What gets in the way of an earlier bedtime?" The user names late shows and a noisy street (HC2, HC3).
  3. Coach asks: "Is that enough for me to suggest a first step?" The user says yes (HC6).
  4. Coach proposes: "On weekdays, switch the screen off by 10:30 pm for two weeks, and check your sleep score on Fridays."

Read the last line against SMART. It is specific (screen off), measurable (Friday sleep score), attainable (weekdays only), relevant (it targets the late shows the user named), and time-bound (two weeks). Each earlier question made one of those words possible to fill in.

What extra pieces fixed the single-prompt coach that gave advice too early or asked forever?

Chapter 6

The orchestrator

How one coordinator assigns work, checks the draft, and remembers what you said

Maya asks: "What is my biggest problem in sleep? How can I improve?" This one message is two journeys at once. She wants her own numbers, and she wants advice. Three specialists could help. But who goes first? Who talks to Maya? What stops the coach from asking "How many hours did you sleep last week?" when the watch already knows?

The orchestrator answers those questions. It is a language model, also from the Gemini family, that sits above the three specialists. It does not do their jobs. It decides who works, in what order, and what Maya finally sees. The paper builds it around four design principles, each tied to a failure the team wanted to avoid.

  1. Cover comprehensive needs. One agent, even a rich one, may not cover every journey.
  2. Give adaptive support. Questions need different mixes of agents, so the team should not be fixed. This rules out static schemes such as voting or debate.
  3. Keep user burden low. Do not ask what the data already says. That wastes time and costs trust. It also means a chain of agents that build on each other, not a parallel set that cannot see each other's work.
  4. Stay simple. When abilities are similar, a simpler design is faster, cheaper and easier to maintain. Heavy hierarchies add delay.

The four steps

For each message the orchestrator runs a sequential, iterative workflow with four steps.

Step 1: understand the need. It reads the message and infers the main goal, matching it to the four journeys from Chapter 0. The paper describes it as a classification. It does not say how the step is built, so our sketch uses one model call.

Step 2: assign the work. It chooses a main agent to own the reply and zero or more supporting agents to feed it. It splits the message into sub-queries, one per assigned agent. To help, the prompt holds worked examples of agent assignments for 26 query sub-types (Supplementary Table 1). For "How can I improve my sleep based on last week's data?", the paper's own example picks the HC agent as main and the DS agent in support.

Step 3: reflect. The outputs of the specialists do not go straight to Maya. The main agent first runs a self-query reflection. It checks the merged draft for coherence, completeness and accuracy, and checks that all the user's health data were used. This is how the system stops itself from asking for information it already has.

Step 4: update memory. After the reply, the orchestrator writes to a persistent memory: insights from each agent, goals the user stated, barriers they named, and their preferences. The next turn starts from that record.

Follow one sleep question

Press Next phase to move the question through the four steps. The panel below the boxes shows what each step produces.

The question, the figures 12.7% deep sleep (recommended 20 to 25%) and readiness 48.9 (ideal 70 to 100) come from the example conversation in the paper's Fig. 1b. The draft question "How many hours did you sleep?" is the paper's own example of what reflection prevents. The internal wording of each phase is our paraphrase.

The loop as code

Here is the data flow. The orchestrator holds the memory. A Plan names one main agent, a list of supporters, and one sub-query per agent. Each specialist returns text plus any numbers or links it found.

def pha_turn(message, data, memory):                       # our sketch of the four steps
    need = llm(understand_prompt(message, memory))         # step 1: which journeys? (CUJ1 to CUJ4)
    plan = llm(assign_prompt(need, examples=ASSIGNMENT_TABLE))  # step 2: main, supporters, sub-queries
    outs = {a: AGENTS[a](plan.subquery[a], data, memory)   # DS, DE and HC run on their own sub-query,
            for a in plan.supporters}                      # supporters first, so the main agent sees them
    draft = AGENTS[plan.main](plan.subquery[plan.main], data, memory, support=outs)
    final = llm(reflect_prompt(draft, data, memory))       # step 3: coherent? complete? asks for data we have?
    memory.update(insights=outs, goals=need.goals, barriers=need.barriers)  # step 4
    return final

Why does the order matter? Look at the code. The coach (main) runs after the data scientist, so it has the sleep numbers in hand when it speaks. In a parallel design every specialist runs at once and cannot see the others' results. The coach then has to ask, or guess. That is exactly the burden the third principle names.

Two baselines to beat

To test the design, the authors built two rivals on the same Gemini model. The first is PHIA, a single agent that follows the earlier published design: one ReAct loop with code, retrieval and web search. It is simple and cheap, but one prompt must carry all the skills. The second is a parallel multi-agent system. All three specialists answer every message at once, and an orchestrator merges the replies, like a vote. It is quick to build but static, and its specialists never see each other. Chapters 8 and 9 compare all three.

What flows between the parts

Take the sleep question and follow the data. The orchestrator gives the DS agent a sub-query such as "average sleep duration, deep sleep share and readiness over last week". The DS agent runs its plan and returns a small set of numbers. In the paper's Fig. 1b example, deep sleep was about 12.7% and readiness averaged 48.9. The orchestrator gives the DE agent a sub-query such as "what deep sleep share is recommended". The DE agent returns text with a source. In the example, the recommendation was 20 to 25% and the ideal readiness range was 70 to 100.

The HC agent now writes the reply as the main agent, with both findings in hand. It says what the numbers mean, cites the source, and asks about bedtime habits, a thing the data cannot tell. Notice what is absent. It does not ask how long Maya slept, because the DS agent already has that number.

Why does the PHA run its supporting agents before the main agent writes?

Chapter 7

How do you grade a health agent?

Eleven tasks, two kinds of judge, and the checks that tell us whether the judges agree

A unit test can say if code is right. It cannot say if a coach was kind, if a summary was safe, or if an answer helped. Grading a health agent needs people. People are slow and costly, and they disagree. This chapter shows how the paper built a fair grading system, and how much it cost.

The team grouped their work into 11 benchmark tasks. Each task tests one part of the system with the judge that fits. Some judges are programs: unit tests for code, answer keys for exam questions, and an autorater for plans and diagnoses. Others are people: end users who chat with the agent, and health experts who read the transcripts.

Where 1,350 hours went

Each bar is one task from the paper's Fig. 1c. Switch between human hours and the number of results scored. Bar length uses a square root so small tasks stay visible; the labels are exact.

Values are from Fig. 1c. Tasks DE.1 and DE.2 are scored without human raters, so they have no hours. Fig. 1c lists 1,511 symptom cases for DE.2, while the text reports 2,000 retrospective cases; we show the figure's count here. The PHA live and scaled studies are P.1 to P.3.

Look at the chart. The largest single cost is P.3, the scaled study with synthesized conversations: 770 hours. Why so much? Fifty personas talked to three systems, and 20 generalists plus 5 experts rated each conversation, which gives 3,750 annotations. By judge, end users gave 651 hours and experts gave 699.

Blind and counterbalanced

Raters never knew which system wrote which reply. The order of systems was shuffled across raters. These two steps stop a rater from favouring the system they met first, or the one they expect to be fancy. Users also played a persona: they chose one of the 50 WEAR-ME personas that matched their own profile and talked as that person. This protects real people's privacy and gives every system the same data. The cost is a gap between acting and being, which the authors list as a limit.

Do the judges agree?

The ten data scientists who graded 141 query-and-plan pairs agreed on 80.2% of rubric items. But two raters who flip coins on yes-or-no items would agree half the time. So the paper reports Bennett's S, an agreement score that removes chance. With k answer options and observed agreement Po:

S
Agreement above chance. Zero means no better than guessing. One means perfect.
Po
The share of items on which raters gave the same answer.
1/k
The chance of agreeing by luck if each of k options were equally likely.
1 − 1/k
The room above chance. It rescales the top to one.

Worked example. On yes-or-no items, k = 2 and Po = 0.802. Then S = (0.802 − 0.5) ÷ 0.5 = 0.604. The paper reports 0.622, computed its own way, so our shortcut lands close but not on the same number. The authors call this moderate reliability. It tells us that rubric grading is hard even for experts.

Can a model grade the plans?

Humans cannot read thousands of plans. So the team trained an LLM autorater and tested it on 96 held-out expert evaluations across 25 queries. They measured agreement with ICC(3,1), the intraclass correlation. It compares how much scores differ between items with how much they wobble for the same item. With MSR the between-item mean square, MSE the error mean square, and k raters:

ICC
Share of the score spread that comes from real differences between items, not rater noise.
MSR
How much the item averages differ from each other.
MSE
How much raters disagree on the same item.
k − 1
One less than the number of raters.

Toy example with two raters, MSR = 10 and MSE = 1: ICC = 9 ÷ 11 = 0.82. The autorater scored 0.838. Under the same two-rater setup, that means the real spread between plans was about 11 times the rater noise, since (1 + 0.838) ÷ (1 − 0.838) ≈ 11.3. A high ICC lets the team use the autorater at scale. They still cross-check it with humans, because autoraters can be sensitive to order, formatting, length and source.

The tests that compare systems

The paper uses several tests, each fitted to a data shape. You do not need the formulas. You need to know the question each one asks.

  1. Wilcoxon signed-rank: across pairs, is one system's score usually higher? It uses ranks, so it does not assume a bell curve.
  2. McNemar: on yes-or-no outcomes for the same items, do the disagreements lean one way? (Chapter 3.)
  3. Mixed models (GLMM): do the systems differ after we allow each rater and each item to have its own baseline?
  4. Friedman with Holm-Bonferroni: when three systems are ranked by the same judges, is there a winner? Holm-Bonferroni corrects for running several comparisons: with three tests, you compare the smallest P value with 0.05 ÷ 3 ≈ 0.017, the next with 0.05 ÷ 2 = 0.025, and the last with 0.05.

The coaching instruments, in plain words

For the coach, the paper used several published questionnaires. Their names are short, so here is what each measures. The chatbot usability questionnaire (CUQ) asks how easy and pleasant the chat was. The Working Alliance inventory (WAI) asks whether user and coach agree on goals and feel they work together. The client evaluation of motivational interviewing (CEMI) asks if the coach used the method well. A SMART goal-setting instrument asks if the goal that came out was specific, measurable, attainable, relevant and time-bound. Experts added an artificial intelligence coaching metrics instrument.

One good habit shows here. Each question has a purpose and an owner. End users judge how the talk felt. Experts judge whether the technique was sound. Neither replaces the other, which is why the paper keeps both, and why Chapter 8 reports them side by side.

Why does the paper report Bennett's S and not only the 80.2% raw agreement?

Chapter 8

What users and experts said

The integrated results: 45 users, 3 coaches, and why the two groups saw different gaps

Imagine you are one of the 45 testers. The team gives you a persona: a real WEAR-ME participant whose profile matches yours as closely as possible. You read the persona's data and goals. Then you chat, in your own words, with three assistants. You do not know which is which. Each chat ends when you feel the persona's needs were met. Finally you rank the three.

The three systems are the PHIA single agent, the parallel multi-agent system, and the PHA. All use the same Gemini base model and the same persona data. The team also kept response time out of the comparison: the study inserted random response delays into the systems, and told participants to exclude latency from their ratings. That keeps speed out of the quality score, and Chapter 9 looks at speed on its own.

What end users chose

Users ranked the PHA first on overall preference 46.7% of the time and on response quality 44.4% of the time. The parallel system won 28.9% and 31.1%. The single agent won 24.4% and 24.4%. Check the arithmetic with 45 users: 21 + 13 + 11 = 45 on overall preference, and 20 + 14 + 11 = 45 on quality.

Is 21 of 45 impressive? With three systems, pure luck would give each about 15. We can test it with a z-score, which counts how many standard deviations a result sits above what luck predicts.

z
Distance from the luck-only expectation, in standard deviations.
x
How many users ranked the PHA first. Here, 21.
n·p
What luck predicts: 45 users times 1/3 chance, which is 15.
n·p·(1 − p)
The variance of a count of luck wins. Here 45 × 1/3 × 2/3 = 10, so the spread is about 3.16.

So z = (21 − 15) ÷ 3.16 ≈ 1.9. That is suggestive, not decisive: it sits just short of the usual two-sided line of 1.96. This is our own back-of-envelope, not the paper's test. The paper does not lean on this count. It tests the rubric scores, where the PHA was numerically ahead on every item. The gap reached significance on personalized coaching (P < 0.001 against the single agent), natural conversation (P = 0.002), user empowerment (P = 0.032) and overall quality (P = 0.044), and against the parallel system on data science analysis (P = 0.016).

Who won, by judge

Pick a measure. Bars show the three systems for that measure. Compare how wide the PHA's lead is for end users and for experts.

Values from Fig. 5 and the text. The first four measures are the share of conversations or users that ranked each system first. "Experts: rating" is the mean overall quality rating on the experts' rubric (72.8 ± 1.4, 64.3 ± 1.3 and 54.4 ± 1.4). Users: 45 live conversations. Experts: 3 coaches, blind to system.

What experts saw

Three health coaches, blind to the system, reviewed the same live conversations. Their gap was wider. They gave the PHA the highest overall quality rating, 72.8 ± 1.4%, against 64.3 ± 1.3% for the parallel system and 54.4 ± 1.4% for the single agent (all pairwise P < 0.001). They ranked the PHA best in 66.7% of conversations on overall quality and 62.2% on effectiveness. That is more than twice the parallel system (20.7% and 25.2%) and roughly five times the single agent (12.6% on both).

The paper sums up the difference with two averages. Relative to the baselines, the PHA led by 1.6 to 15.4 points, 4.6 on average, in end users' ratings. In experts' ratings it led by 5.7 to 39.0 points, 17.1 on average. Why would experts see more? The authors say coaches found quality differences that users do not notice but that matter for safe and lasting guidance. A user cannot always tell if a motivational technique was used well, or if a number was computed correctly. An expert can.

One participant said the PHA "did a really stellar job giving me personalized advice based off of what I was asking and off of my health scores and info." Another said it was "personable and knowledgeable and knew your history." The authors link this to the design: the HC and DE agents can reflect on what the DS agent found, so the reply feels like one mind.

The scaled study

Live chats are rich but slow, so the team added a bigger test. For each of the 50 personas, a language model played the user, following the persona's data and goals, and talked to all three systems. That made 150 conversations. A new group of 20 generalist raters and 5 health experts scored them with the same rubrics. The patterns matched the live results.

Two kinds of "better"

The paper reports two different things, and it helps to keep them apart. A ranking asks, "Which of the three did you like most?" It uses one vote per person. A rubric rating asks, "How good was this reply on each of many criteria?" It uses many small scores. Rankings are easy to understand but carry little information per person. Rubrics carry more, so the paper builds its tests on them. For three systems ranked by the same judges, it uses a Friedman test and then pairwise Wilcoxon tests with the Holm-Bonferroni correction from Chapter 7.

The expert rubric had 17 items. The PHA led on nearly all of them, which shows that its advantage was broad and did not rest on a single criterion.

Why did experts see a bigger PHA advantage than end users?

Chapter 9

What it costs, and what each comparison removes

Calls, seconds, and which piece of the design each baseline leaves out

A very good answer that arrives after three and a half minutes feels different from a good answer after thirty seconds. In the paper's scaled study, the PHA took 205.3 ± 15.0 seconds per response round. The single agent took 36.4 ± 1.6 seconds. The PHA made 6.5 language model calls per round against 3.0 for the single agent. This is the price of orchestration, and the authors list it as a limit.

But look at the third system. The parallel multi-agent baseline made 7.0 calls and took 244.4 ± 11.4 seconds, more than the PHA on both. The PHA is both better in quality and cheaper than the other multi-agent design. Why?

Why picking beats asking everyone

The parallel system asks all three specialists on every message, even when one is enough. The PHA only calls the agents the question needs. Here is a small model of that idea. It is our own illustration, built from the paper's two measured totals, and it uses assumptions that we state.

Assume the parallel system makes one call to merge the replies, and that each specialist uses a calls on average. Then 7.0 = 3a + 1, so a = 2.0. Assume the PHA spends o calls on the orchestrator (assigning, reflecting). With n̄ specialists used on average:

calls
Language model calls per response round.
o
Orchestrator overhead: calls to assign work and to reflect. We set it to 2.
a
Calls per specialist. We derived 2.0 from the parallel totals.
n̄
Average number of specialists the orchestrator calls. Drag it in the device.

With o = 2, the measured 6.5 calls matches n̄ = 2.25. If the orchestrator always called all three, it would use 2 + 6 = 8 calls, more than the parallel system's 7. So the saving comes from skipping specialists a message does not need. The paper states this conclusion in words: dynamic assignment gives a better experience with greater computational efficiency than a static parallel approach.

Cost of a whole conversation

Set how many rounds the conversation lasts. Then change how many specialists the PHA calls on average, to see where its advantage comes from.

10
2.25

Per-round averages (calls 3.0, 7.0, 6.5; seconds 36.4, 244.4, 205.3) are the paper's, from the 150 scaled conversations. The what-if slider uses our model: PHA calls = 2 + 2.0 × specialists, and seconds scale at 31.6 s per call (205.3 ÷ 6.5). At 2.25 specialists it reproduces the paper's 6.5 calls. The model is illustrative, not from the paper.

Now look at seconds per call: 12.1 for the single agent (36.4 ÷ 3.0), 31.6 for the PHA (205.3 ÷ 6.5), and 34.9 for the parallel system (244.4 ÷ 7.0). The PHA's calls are heavier, plausibly because they run code and tools with long prompts. The paper does not break this down, so treat it as a question and not a finding.

What each comparison removes

A good experiment takes away one thing at a time. The paper's comparisons do this at three levels. Here they are in one table.

ComparisonWhat it removesResult
Each specialist against the base GeminiThe agent design: plan stage, tools, coaching modulesDS plan 75.6% vs 53.7%; DE trust 96.9% vs 38.7%; HC wins on 5 of 6 themes
DS agent, first try against up to five trialsThe self-correction loop75.5% rises to 79.0%
PHA against PHIA (single agent)Specialization: one prompt holds all skillsExpert quality 72.8% vs 54.4%; calls 6.5 vs 3.0
PHA against the parallel systemRouting, sequencing, and cross-agent reflectionExpert quality 72.8% vs 64.3%; calls 6.5 vs 7.0

Note what is not in the table. The paper does not switch off the orchestrator's reflection step alone, or its memory alone, and report each result. So we cannot say how much of the PHA's lead comes from reflection and how much from routing. The authors claim a design grounded in user needs. They say outright that they do not claim their configuration is the best possible one. They also checked the DS and DE designs on GPT and Claude models, and the gains held (Supplementary Sections C.5.3 and D.3.3).

One more result shows design by evidence. In the HC agent's study, the baseline beat it on progress measurement. The team then added progress tracking to the HC agent inside the PHA. A weakness found in one test shaped the next design.

To reduce cost, the authors suggest optimized orchestration, parallel execution, caching and lighter routing models. These are ideas, not results.

How sure are the timing numbers?

The timings come with a plus-or-minus. Suppose those values are standard errors, as the paper states for its figures. The PHA is 205.3 ± 15.0 s and the parallel system is 244.4 ± 11.4 s. The gap is 39.1 s. The standard error of a difference is the square root of the sum of squares: √(15.0² + 11.4²) = √354.96 ≈ 18.8 s. Then 39.1 ÷ 18.8 ≈ 2.1, about two standard errors. So the PHA's speed edge over the parallel system is modest, not huge. The same ratio for the single agent is huge: its 36.4 s sits far below both.

The paper gives no spread for the call counts, so we cannot test 6.5 against 7.0 the same way. Treat that gap as a hint that matches the design story, not as a proven difference.

Put the pieces together for a user. A ten-round chat costs about 34 minutes of waiting with the PHA and about 6 minutes with a single agent. Whether the extra care is worth the wait depends on the stakes. A coach talk can wait. A quick fact lookup probably should not.

Why did the PHA use fewer LLM calls than the parallel system, even with an extra reflection step?

Chapter 10

Safety, and what the paper did not show

Harm ratings, the safeguards in place, and the list of limits the authors name themselves

Suppose a health summary is wrong in a small way. It tells you your resting heart rate trend is fine when it is not. You read it and act on it. How often does that happen, and how bad can it be? A health agent that reads your body must answer these questions, not only report average scores.

The paper gives one direct measure. Clinicians reviewed the multimodal summaries from the DE agent for safety. They found that 83% had no or minimal potential harm, 15% had mild potential harm, and 2% had moderate-to-severe potential harm. The authors flag this in their discussion. A rate of 2% looks small. It does not stay small when many people use a system.

Why 2% matters at scale

Suppose each summary has a 2% chance of carrying moderate-to-severe potential harm. Treat the summaries as independent. This is our simplification, not the paper's claim. The expected count among N summaries is N times the rate. The chance that at least one is harmful is one minus the chance that none is.

P(≥1)
The chance that at least one summary in the batch carries moderate-to-severe potential harm.
p
The harm rate per summary. Here 0.02.
N
How many summaries are produced.

Worked example. For N = 10, the chance of no harmful summary is 0.98 to the power 10, which is 0.817, so P(≥1) = 18.3%. For N = 100, 0.98 to the power 100 is 0.133, so P(≥1) = 86.7%. For N = 1,000 it is almost certain. Drag the slider to see this.

Scale up the 2%

Move the slider to change how many summaries are produced. The bars split them by the paper's three harm levels.

100

The rates 83%, 15% and 2% are from the paper's clinician safety review of DE agent summaries (30 participants, Supplementary Figs. 5 and 6). Applying them to larger batches, and treating summaries as independent, is our illustration. The slider is logarithmic from 10 to 10,000.

The safeguards in place, and what is missing

The paper is clear about scope. The PHA is a research prototype for consumer wellness. It is not a diagnostic or triage system, and it should not replace professional care. The prototype uses two initial safeguards: disclaimers inside the prompts, and conservative policies for symptom questions. Symptom assessment, journey 4, is the weakest area. The PHA beat general-purpose models on basic symptom information, but it was not built to give a diagnosis.

The authors list what a future version should add.

  1. Persistent notices across turns, not only at the start.
  2. High-risk detection, with a refusal or an explicit handoff to a clinician. These must be tested for false reassurance and for needless escalation.
  3. Curated sources. Open web search can return low-quality or conflicting evidence. They suggest limiting health retrieval to sources such as WHO, PubMed, NICE and CDC, and showing the source next to each recommendation.
  4. Layered explanations that show which data and evidence shaped each reply.
  5. Code validation and privacy controls. The research code runs in a sandbox. Real use needs systematic validation and privacy rules such as HIPAA and GDPR.

They also write something thoughtful about symptoms. Simply sending every symptom question to a clinician may not help, because delay is often why people turn to AI in the first place. A future agent could help users record symptoms, spot patterns, prepare questions and navigate care, without claiming a diagnosis. That role would need prospective validation and safeguards against early or wrong suggestions.

Limits the authors name

  1. Short-term evidence only. The study shows conversation quality and short-term task success. It does not show lasting behaviour change or better health outcomes. That needs multi-session studies over time.
  2. Autorater risks. LLM judges can be sensitive to order, format, length and source. Their verdicts must be checked against blind human ratings.
  3. One device family. WEAR-ME is Fitbit-centric, so results may not carry to other devices.
  4. Acting, not being. Testers role-played personas. Matching helps, but it cannot remove perspective-taking bias. Studies with people responding as themselves are needed.
  5. Fairness. The team has not yet measured results across languages, literacy levels, older adults, people with disabilities and other groups.
  6. Compute. 6.5 calls and 205.3 s per round may be too heavy for low-resource settings.

Two ways a safeguard can fail

The authors ask that future safeguards be tested for two opposite errors. False reassurance means the system says "this is fine" when it is not, so a person delays care. Unnecessary escalation means it says "see a doctor now" when the matter is minor, so people learn to ignore it. A filter tuned to remove one error raises the other. The right balance needs clinicians to review the high-risk failures, which is why the paper calls for prospective validation and not only more benchmark scores.

Finally, compare with the care people have today. The paper cites a view that AI should be measured against the care people actually get, not against an ideal. A long wait for an appointment is also a risk. That does not excuse errors. It means the real question is whether a safeguarded agent beats the alternative for each kind of need.

Which statement best matches the paper's own claim about the PHA's evidence?

Chapter 11

Field guide

The numbers, the terms, the whole system as code, and where to read next

Here is the paper in one paragraph. People ask health questions that mix three jobs: compute from their own data, bring in evidence, and talk through a plan. The authors found four recurring needs from 1,370 questions, 555 surveys and a 14-expert workshop. They built three specialists, a data science agent, a domain expert agent and a health coach agent, and an orchestrator that assigns work, reflects on the draft and keeps memory. Each specialist beat a base Gemini model on its own tests. In live and scaled conversations, the full PHA beat a single agent and a parallel system, most clearly in expert eyes (72.8% overall quality, ranked best in 66.7% of conversations). It costs more time than a single agent. It remains a research prototype with a named list of limits.

Name the owner

Each line is a job from the chapters. Tap the part of the system that does it.

The jobs and their owners follow the paper's Methods: sufficiency checks and the retry loop (DS), sources and evidence (DE), asking about goals and confirming context (HC), reflection and memory (orchestrator).

The numbers

MeasurementValueWhere
Questions, surveys, workshop experts behind the four journeys1,370, 555, 14Results
Evaluation scale11 tasks, 7,000+ annotations, 1,350 h (651 end-user, 699 expert)Fig. 1c
Study cohortWEAR-ME, n = 1,165; 50 personas from 10 profilesMethods
DS plan quality, DS agent vs base75.6% vs 53.7%; data availability 66.5% vs 5.3%Fig. 2b
DS code pass rate, first try; after up to 5 trials; base75.5%; 79.0%; 58.4%Text
DE exam accuracy; diagnosis top-one83.6% vs 81.8%; 46.1% (+4.7)Text
DE trustworthiness; clinician "useful"96.9% vs 38.7%; 65% vs 30%Fig. 3
DE summary harm: none or minimal; mild; moderate to severe83%; 15%; 2%Text
HC end-user win rates; natural endings61 to 71% on 5 of 6 themes; 83.9% vs 74.2%Fig. 4
PHA ranked first by end users, overall46.7% (parallel 28.9%, PHIA 24.4%)Fig. 5b
PHA expert quality; ranked best72.8% (64.3%, 54.4%); 66.7% (20.7%, 12.6%)Fig. 5c
Calls and seconds per round: PHIA, parallel, PHA3.0 and 36.4; 7.0 and 244.4; 6.5 and 205.3Methods

Terms

TermPlain meaning
CUJCritical user journey: one of four recurring kinds of health need.
DS, DE, HC agentThe data science, domain expert and health coach specialists.
OrchestratorThe coordinator that assigns, reflects and remembers.
Main and supporting agentThe owner of a reply, and the agents that feed it.
Sufficiency checkA test that enough usable data exist before any claim.
AutoraterA language model trained to grade, checked against human experts.
WEAR-METhe study that supplied wearable, blood and questionnaire data.
PersonaA real participant's profile that a tester role-plays.

The whole system as code

This is our compact sketch of every piece in this lesson, in the order of the chapters. The paper's real prompts are in its supplement; this shows the data flow only.

def ds_agent(query, tables, max_trials=5):                 # Chapters 2 and 3
    plan = llm(plan_prompt(query, summarize(tables)))      # variables, transforms, sufficiency, test
    code = llm(code_prompt(query, plan))
    for _ in range(max_trials):
        ok, out, err = run_in_sandbox(code, tables)
        if ok: return out
        code = llm(code_prompt(query, plan, error=err))    # the error text is the feedback

def de_agent(query, data, labs):                           # Chapter 4: reason, investigate, examine
    notes = []
    while not enough_evidence(notes):
        step = llm(reason_prompt(query, data, labs, notes))
        notes.append(examine(step, TOOLS[step.tool](**step.args)))   # web, NCBI, DataCommons, python
    return write_cited_answer(query, notes)

def hc_agent(query, memory):                               # Chapter 5: state-aware coaching
    if not memory.goal:   return ask_goal()
    if not memory.ctx:    return ask_context()
    if not memory.enough: return confirm_enough()
    return recommend_smart_step(memory)

def pha_turn(message, data, memory):                       # Chapter 6: four steps
    need = understand(message, memory)
    plan = assign(need)                                    # main agent, supporters, sub-queries
    support = {a: AGENTS[a](plan.sub[a], data) for a in plan.supporters}
    draft = AGENTS[plan.main](plan.sub[plan.main], data, support)
    final = reflect(draft, data, memory)                   # no questions the data answers
    memory.update(support, need)
    return final

Where it sits, and where to go next

This paper joins work on agents that reason over sensors and work on hand-built multi-agent teams. Pick the thread you want to pull.

Source and credit

This lesson teaches The anatomy of a personal health agent by A. Ali Heydari, Ken Gu, Vidya Srinivas, Hong Yu and Akshay Paruchuri (equal first authors), with Zhihan Zhang, Yuwei Zhang, Qian He, Hamid Palangi, Nova Hammerquist, Ahmed A. Metwally, Brent Winslow, Yubin Kim, Kumar Ayush, Yuzhe Yang, Girish Narayanswamy, Maxwell A. Xu, Jake Garrison, Samuel Schmidgall, Amy Armento Lee, Jenny Vafeiadou, Ben Graef, Isaac R. Galatzer-Levy, Erik Schenck, Andrew Barakat, Javier Perez, Jacqueline Shreibati, John Hernandez, Anthony Z. Faranesh, Naghmeh Rezaei, Javier L. Prieto, Conor Heneghan, Jiening Zhan, Mark Malhotra, Shwetak Patel, Yun Liu, Tim Althoff, and, as joint supervisors, Xin Liu, Daniel McDuff and Xuhai Orson Xu. The work comes from Google Research and Google DeepMind, with Vituity and Columbia University. It appeared in Nature (2026), open access under a CC BY 4.0 licence: doi 10.1038/s41586-026-11161-8. The authors released an open-source implementation and benchmark at github.com/Google-Health/consumerhealth-research. All numbers in this lesson come from that paper unless a device says it is illustrative.

Split the job, then let a coordinator decide who works. The paper's lesson is not a new model. It is a structure: each specialist is tested on its own, and an orchestrator calls only the ones a question needs, checks the draft against the data, and remembers. Experts saw that structure in 66.7% of conversations. The same paper says plainly that it is a prototype, short-term, and not a diagnostic tool.
Which result best supports the claim that structure, not a bigger model, drove the gains?
Go back to the hero. Pick the sleep question and switch between the three systems. Now you can say who is called, why the PHA uses fewer calls than the parallel system, and why experts rated it highest. Open Teach to explain it back on a whiteboard in your own words.
The Anatomy of a Personal Health Agent
Read the paper · Back to Veanors