Skip to content

Healthstack

Preview - dev build

A specialized IDE for lifestyle optimization on Eclipse Theia: biomarker tracking, unit conversion, and a purpose-built DSL for intervention protocols. The DSL's language server runs in your browser.

Try the language in your browser
Theia · Langium · TypeScript · Electron

Protocols as code, biology as data, AI as your cortex. A protocol is a .bio file, so it validates as you type and versions in git like any other source. Lab values are tracked against their reference ranges, a timeline lines up what was planned with what happened, and a team of agents reads all of it. Healthstack is local-first.

The language

Protocols are data, not prose, and the language's type system is written in the language itself: substance, intervention, stack, and protocol are user-extendable type declarations in .bio, not hardcoded in the grammar. The editor below runs the real language server in this tab. Your data never leaves your machine. It opens with a sample that defines its own types, then extends them; the other samples cover a curated supplement library and the live interaction checker.

Live - .bio language server, running in this tabOpen full screen

Timeline

Every protocol, dose, and threshold on one axis: planned against actual, with threshold events armed and crossed, dose dots per phase, and the whole history exportable to your calendar.

Events
6,003
Layers
Planned, actual
Thresholds
Armed, crossed
Doses
Dots per phase
Export
.ics
Unified timeline from July to December 2026: the Metabolic Reset phases Prep, Insulin Sensitivity, Lipid Optimization and Maintenance as dashed planned bars with dose dots above solid actual bars, a red NOW marker, and daily HRV, resting heart rate, sleep and step readings below with amber threshold-armed points.
Dev build - timeline

Protocol builder

Protocols are composed as a graph, not a spreadsheet. Substances are nodes, synergies and conflicts are edges, and tracks reach from protocol to biomarker. The graph lays itself out again as you edit, and because a protocol is text, it versions in git.

Entities
28
Edges
Synergy, conflict
Tracks
Protocol to biomarker
Layout
Automatic
Versioning
Git
Protocol Builder graph of the Metabolic Reset protocol: the protocol node fans out to four phases, ten interventions and four substances, dotted blue track edges run to ten biomarkers, and a red dashed conflict edge links Berberine and Metformin.
Dev build - protocol builder

Biomarker tracker

Each lab value sits against its reference range with a status: optimal, good, or out. Sparklines show the trend, and units convert as you paste, mg/dL to mmol/L and back.

Biomarkers
14
Data points
198
Status
Optimal, good, out
Trends
Sparklines
Units
mg/dL ↔ mmol/L
Biomarker Tracker overview table: LDL cholesterol flagged Out of Range at 104 mg/dL, followed by markers rated Good or Optimal, each with its latest value and unit, a bar showing its position in the range, a sparkline and a percentage trend.
Dev build - biomarker tracker

The curve, not just the number: several markers compared on one chart, range bands drawn over time, event markers where protocols started or ended, values normalized across different labs, and a hand-off to the agents for analysis.

Comparison
Multi-marker
Ranges
Bands over time
Events
Protocol start, end
Scale
Normalized 0-100%
Analysis
Agent hand-off
Two stacked trend charts on a shared April 2025 to October 2026 timeline: ApoB falling to 84 mg/dL and LDL cholesterol to 104 mg/dL toward shaded reference and optimal bands, both marked improving.
Dev build - trends

AI agents

Cortex orchestrates your Healthstack: it takes each request and hands sub-questions to three specialists. The agents work on your biomarker database and your .bio files, and tool calls that change data ask for approval first. Bring your own key for the model provider you use.

@Cortex

The default agent. Routes each request, records data, drafts protocols, and delegates to the specialists.

Orchestrator

@Evidence

Clinical reference grounded in the literature, which it searches through med-research-mcp. Also interprets biomarkers and checks interactions.

Literature · MCP

@BiomarkerAnalyst

Reads the biomarker database and summarizes trends and out-of-range markers.

Lab readings

@ProtocolPlanner

Composes valid .bio protocol files for you to review and approve.

.bio drafts
Ask Cortex chat panel beside the Protocol Builder graph, with suggested prompts addressed to @BiomarkerAnalyst, @Evidence and @ProtocolPlanner and a note that agent tool calls ask for confirmation first.
Dev build - Cortex chat