Preface¶
DeepSeek Harness (DSH) combines conversations, tool calls, and plugins into an extensible runtime. When building health or longevity assistants, a common practice is to write separate scripts to fetch physical exam PDFs and then manually cross-reference literature—data and models, evidence chains, and follow-up reminders are often scattered across different repositories. LongPi, as a DSH plugin, integrates personal health records from Mirobody, over 170 longevity research methods backed by academic papers, health dashboards, plan drafting, and retest reminders into a single workflow.
What is this¶
LongPi (zwbao/dsh-plugin-longpi) is a personal longevity assistant plugin for DeepSeek Harness, maintained by zwbao and categorized as Workflow on SkillHub. It starts from a single person’s Mirobody records, schedules longevity-related skills based on intent, performs measurement unit conversion and validation before skill execution, and allows access to included evidence. Simultaneously, it provides a health dashboard on the DSH Web interface (consistent with the description in package.json and the README).
The health data source is Mirobody. The plugin automatically pairs with Mirobody locally; users do not need to manually enter addresses, accounts, or passwords.
Core Features¶
The following capabilities are derived from the project README. Each result is traceable to the original paper, and methods specify their applicable boundaries.
Pi Coach (longevity-coach)
The longevity-coach skill is installed by default. LongPi converses in the persona of Pi: it remembers what the user hopes to be able to do at age 70 or 80, translates results into small, user-selected commitments (“When [condition], then I will [action]”), gives cumulative count-based affirmation for specific steps, and honestly states when it cannot yet distinguish real changes from normal fluctuations. You can disable Pi during installation with --without-coach to use the plugin’s native tone; it can be restored with --with-coach after an update.
Biological Age & Disease Risk
Uses published models (e.g., Levine PhenoAge, China-PAR, etc.) to provide trends between physical exams; when inputs are missing, it lists items suggested for inclusion in the next exam.
Recording Changes
Lists changes between exams that exceed the individual’s normal fluctuation range, including values, magnitude of change, basis for judgment, and whether medical advice is recommended.
Plan Drafting & Tracking
Drafts plans based on individual results and average effects observed in trials, attaching evidence to each item. Upon confirmation, it tracks compliance using wearables, medication records, and check-ins. It does not involve prescription drugs or provide dosages.
Proactive Follow-up
Supports check-ins, retest reminders, and weekly summaries, pushed via desktop notifications or Feishu, WeCom, DingTalk, Bark, or generic webhooks; disabled by default.
Effect Review & Evidence Retrieval
Uses reference change values to distinguish real changes from noise and compares them against trial average effects; allows retrieval of included papers by drug, supplement, diet, or gene, grouped by human, animal, and cell studies.
Family Profiles
The “Viewing” section at the top of the health page allows switching between the user and family members; “Add Family Member” allows creating independent profiles for parents, etc., under the same Mirobody account (the other person does not need a separate account). Each person has independent physical exams, plans, check-ins, memories, and deep analysis contexts.
Deep Analysis (Optional)
Adding --with-analyst during installation installs the longevity-analyst skill, used for deep analysis of genome-wide, methylation, microbiome, proteomics, and physical exam data. The deep analysis page has a toggle (off by default); the README notes that a single run consumes approximately 0.5–0.6 M tokens and takes about 1.5–3 hours in the test environment.
The current npm package version is 0.8.0, with a Node engine requirement of ^22.19 || >=24.
Installation & Activation¶
Run the official installation script in a macOS or Linux terminal (it will install the missing DSH CLI, download the skill library, create a Python environment with the Mirobody terminology engine in ~/longpi, and install/configure the plugin in DSH; re-running updates it). Requires Node.js 22.19+, Python 3.12+, and git.
curl -fsSL https://raw.githubusercontent.com/zwbao/dsh-plugin-longpi/main/install.sh | bash
If Mirobody is not available locally, you can deploy a local instance via Docker (LongPi will create the account automatically):
curl -fsSL https://raw.githubusercontent.com/zwbao/dsh-plugin-longpi/main/install.sh | bash -s -- --with-mirobody
If the Mirobody image build fails due to network issues in mainland China, you can use --mirobody-native: only Postgres runs in Docker, while Mirobody runs locally in Python. To connect to a Mirobody installer in another location, pass --mcp-url. For more options, see install.sh --help and docs/install.md in the repository.
The installer disables DSH’s session-log upload to prevent health data from being sent out via session logs.
Enable the Web interface:
dsh web
On first launch, you need to fill in the DeepSeek API key; if there is no workspace, LongPi will create a workspace named “Health Conversation” and enter a four-step onboarding (Description & Consent, Profile, Records, First Results).
Typical Usage¶
Homepage after Onboarding
New conversations replace the default title with a greeting and summarize the current status in one or two sentences; if there are changes in records exceeding normal fluctuations, an extra line of prompt appears. Below the input box, only to-dos are displayed: daily check-in, the nearest retest in an ongoing plan, or two clickable suggested questions to fill the input box.
Health Page (Sidebar “Health”)
Four tabs: Overview (daily check-in, PhenoAge, cardiovascular risk, next steps, and notable changes), Metrics (lists historical physical exams and wearable values with trends by group), Plans (plans, compliance, timeline, and conclusions), Profile (profile, self-tests, data connections, and export).
During Conversation
The “Health” tab on the right side of DSH displays the daily check-in, two core results, and changes alongside the chat. After drafting a plan, reading back a plan, or recording a check-in, there will be a summary line in the chat corresponding to the card action (adopt, confirm, revert).
Plans
Say “Help me create an improvement plan” in the chat, or edit the draft item by item in the Health page/chat card and adopt it; you can also save plans given by doctors or longevity coaches, where LongPi reads it back first, and the user confirms to save in DSH.
Tracking & Retesting
Wearable data is automatically counted towards compliance; other items can be checked in via the homepage, health page, or chat. Once new retest data enters Mirobody, the health page provides a verdict (effective, still within noise, direction is wrong, or unable to judge) and reasons.
Settings
The LongPi page in DSH settings allows configuring follow-up reminders, connection status, privacy statements, and the methodology library.
Use Cases & Notes¶
Who it is for
Developers or personal users who are already using or plan to use DeepSeek Harness and want to place personal (and family) physical exams, lab tests, wearable data, paper-backed longevity calculation methods, plan tracking, and evidence queries into a single DSH workflow.
Runtime & Trust Boundary
DSH plugins run with the permissions of the current dsh process and can access its configuration and data within the workspace. Before installation, please read the source code and license of the GitHub repository (the repo contains LICENSE, NOTICE) to ensure the installation script and behaviors like --with-mirobody comply with your environment and regulatory requirements. LongPi processes sensitive health-related data; Mirobody pairing and session-log disabling strategies are subject to the README description.
Ecosystem Note
The DSH community adheres to “everything is a plugin”; the SkillHub directory site is maintained by the community and has no official affiliation with DeepSeek/Hunyuan. This article introduces a community plugin, not an official app store entry.
Conclusion¶
LongPi binds Mirobody personal records, longevity skill scheduling, unit validation, evidence retrieval, and health dashboards onto DSH, making it suitable for longevity personal assistants that require reproducible method chains and trackable plans. Directory page and source code:
- SkillHub: https://www.skillhub.cn/plugins/zwbao/dsh-plugin-longpi
- GitHub: https://github.com/zwbao/dsh-plugin-longpi