Back to browse
GitHub Repository

A scalar loss function for biological vitality, built on current medical research across 7 physiological domains. Raw health data goes in, a weighted composite score comes out, and your AI agent handles the translation. The gradient lets you know what you can do for maximum health impact.

0 starsPython

Health optimization as agent-guiding gradient descent

by dingmuti·Mar 4, 2026·1 point·0 comments

AI Analysis

●●SolidBig BrainNiche Gem

Research-as-loss-function lets stale-knowledge agents guide health optimization via gradients.

Strengths
  • Clever inversion: encodes expertise into function design instead of agent knowledge, working around LLM hallucination in medicine.
  • Seven-domain weighting based on longevity literature is thoughtfully structured; admits uncertainty on scoring decisions.
  • Agent-native workflow (YAML → script → gradient table) is genuinely elegant and testable.
Weaknesses
  • No live demo or worked example; unclear whether scoring deviations from clinical guidance are validated or just experimental.
  • Narrow audience: requires health data + agent access + willingness to trust encoded research over medical advice.
Category
Target Audience

Biohackers, health-conscious individuals with health data, AI agent users

Similar To

Oura Ring · Apple Health · Longevity research dashboards (Human Longevity Inc.)

Post Description

How do we write code for humans with agents? Not all agents are current on the latest longevity and mortality research, but they're surprisingly good at two things: translating messy data formats and interpreting simple loss functions. The idea here is to encode recent research into a loss function spanning seven physiological domains. The agent just has to parse your raw test data, run the script, and read a gradient table telling you which inputs have the most personal leverage on reducing the loss. The research lives in the function — the agent doesn't need to know medicine. If you have health data (or feel like mocking up sample test results) and an agent, I'd be curious whether your agent can work with this with no hand-holding. And I'm genuinely uncertain whether the scoring decisions encoded in the function are right — some of them deviate from standard clinical guidance. Would love to hear where people think I got it wrong.

Similar Projects

Data●●●Banger

I rebuilt search using physics instead of statistics. +18.5% NDCG 10

Gravity-based search with interference scoring beats linear fusion by 18.5% NDCG.

Big BrainWizardryZero to One
KendallCBooker
202mo ago