Skip to Content
Getting StartedOverview

Getting Started

Loop Health is a monorepo-based platform for health optimization. It includes consumer apps, clinical APIs, AI assistants, wearable integrations, and CMS tooling — all sharing a common set of TypeScript packages.

Platform Overview

The Loop Health platform consists of:

AppPurposeTech
my-loop-healthConsumer health app — protocols, labs, wearables, commerceNext.js 16
lunaAI health advisor chat interfaceNext.js 16 + AI SDK
patient-graphClinical data API — profiles, labs, protocols, eventsHono
adminContent management systemPayload CMS + Next.js 15
loop-healthMarketing and enrollment siteNext.js 16
loop-health-mobileProtocol adherence trackerExpo, React Native
call-bookingVideo call scheduling serviceHono, Stream.io
triggerBackground job runnerTrigger.dev
embeddings-apiVector embedding generation and searchHono
docsThis documentation siteNextra

Shared Packages

All packages live under packages/ and use the @loop/* namespace:

PackagePurpose
@loop/coreResult monad, errors, logger, locks, circuit breaker, caching
@loop/sharedZod schemas, Drizzle ORM, RBAC, SSO, constants, config
@loop/databaseSupabase client and repositories
@loop/cmsPayload CMS collections, access rules, hooks
@loop/authClerk authentication for Next.js apps
@loop/honoHono middleware, response helpers
@loop/eventsTrigger.dev event definitions
@loop/aiAI provider abstraction (OpenAI, Anthropic)
@loop/health-dataBiomarker ranges, peptides, panels, contraindications
@loop/biomarker-parserLab PDF parsing and biomarker extraction
@loop/health-engineQualification, contraindications, health scoring
@loop/health-score0–100 health score from wearables, check-ins, labs
@loop/contraindicationsPeptide safety validation
@loop/guardrailsLuna AI compliance, business, and safety guardrails
@loop/protocol-enginePeptide dosing, reconstitution, cycle management
@loop/patient-graphPatient graph data access and repositories
@loop/patient-graph-clientHTTP client for Patient Graph API
@loop/rimoRimo Health SSO and webhook integration
@loop/streamGetStream activity feeds and chat
@loop/followsFollow/unfollow relationships
@loop/correlationsAI-driven health correlation analysis

Next Steps