Skip to main content
The framework

Stanford Spezi · Free & open source

The building blocks
for better health apps.

Stanford Spezi brings together tools for building digital health apps. Start with SpeziVibe to plan and build with AI, then choose a React Native template, the Apple-native Spezi framework, or your own stack.

Your foundation

Choose the platform that fits.

SpeziVibe guides the planning and implementation across all three paths. The templates give you an app foundation; your needs determine which one to use.

iOS & Android

React Native

Build for both platforms with React Native and Expo. The SpeziVibe template generates an app with your choice of backend and optional features.

React Native template

Apple platforms

Apple-native

Build with Swift and SwiftUI. Start with the Spezi template and combine reusable modules for health data, consent, connected devices, and more.

Apple-native template

Web, mobile & existing apps

Your framework

Use Flutter, Kotlin, a web framework, or a project you already have. SpeziVibe’s skills help you plan and guide your coding agent in your chosen stack.

Build with your own stack

For help choosing a starter, compare React Native and Apple-native. The React Native template includes its own implementation skills. Bridges to native Spezi modules are on its roadmap; the Swift modules below are for Apple-native apps.

Apple-native

Build with Spezi’s Swift modules.

For Swift and SwiftUI apps, the Spezi framework provides reusable packages for accounts, consent, questionnaires, connected devices, and more. Each module handles a part of your app, and Spezi helps them work together.

Apple-native module examples from the Spezi GitHub repositories. Select a screen to explore its module.

Manage accounts

Add sign-up, sign-in, password reset, and account details with a configurable account service.

Ask and collect

Display questionnaires in the FHIR health data format and collect structured responses.

Bring AI into your app

Add language-model interactions using local models on supported devices or a remote service.

Follow the Apple-native template guide to run and adapt an app in Xcode on a Mac, or add Spezi to an existing Swift project.

Explore the full ecosystem on GitHub
In practice

See Spezi in real projects.

From cardiac research to accessible spatial computing: apps and study integrations from Stanford Biodesign Digital Health and its collaborators.

ENGAGE-HF home screen with study reminders, a symptom questionnaire, and recent vital signs.

Heart failure

ENGAGE-HF

Home monitoring for a heart failure study, combining Bluetooth weight and blood pressure readings, symptom surveys, and medication recommendations.

Explore ENGAGE-HF
The QDG project team presenting finger-tapping devices and a monitoring dashboard.

Parkinson’s research

Quantitative DigitoGraphy

Connect a Bluetooth finger-tapping device, a Spezi mobile app, and a clinician dashboard for remote monitoring of Parkinson’s disease.

Explore QDG
Cardinal LifeSpace project screenshot showing a map of daily movement around Stanford.

Mobility & environment

LifeSpace

Study the relationship between daily movement, environmental conditions, and health with location tracking, activity data, and daily surveys.

Explore LifeSpace
Paw symbol from the Pediatric Apple Watch Study app icon.

Cardiac research

Pediatric Apple Watch Study

Collect Apple Watch ECG recordings for pediatric research, with Spezi handling health data access, accounts, and scheduled reminders.

Explore PAWS
My Heart Counts example dashboard showing a heart health score and its contributing health metrics.

Cardiovascular research

My Heart Counts

A Spezi-based cardiovascular study app with HealthKit and SensorKit data collection, active tasks, a heart health dashboard, and personalized physical activity coaching.

Explore My Heart Counts
NeuroNest example showing an EEG recording in progress with four channels of waveforms.

EEG & screening

NeuroNest

Record EEG signals from supported Bluetooth devices and collect screening questionnaire responses. Explore the app in the NAMS repository.

Explore NeuroNest
HealthGPT example conversation asking about sleep and summarizing recent sleep data.

Experimental app

HealthGPT

Explore Apple Health data through conversation, using Spezi HealthKit, Chat, and LLM modules.

Explore HealthGPT
LLMonFHIR research app showing the instructions for the first task in a user study.

Research app

LLMonFHIR

Study how conversational AI can help people understand health records in FHIR format.

Explore LLMonFHIR
Spatial Continuity on Vision Pro showing a live iPhone camera view and an enlarged image of a book cover.

Accessibility prototype

Spatial Continuity

Explore low-vision accessibility with an iPhone camera stream on Vision Pro and spoken image descriptions powered by Spezi LLM.

Explore Spatial Continuity

Digital interventions

one sec study integration

Bring Spezi into an existing app. This package implements the integration for the one sec app’s Digital Interventions Outcome study.

Explore the integration

Clinical trial access

OwnYourData

Use health records to find relevant NCI-supported cancer trials, with the aim of broadening representation in clinical research.

Explore OwnYourData

Project images are from their repositories and Stanford Biodesign Digital Health.

Explore more Stanford Biodesign Digital Health projects
Built together

Open source. Open to you.

Spezi is housed at Stanford Biodesign and released under the MIT license. Explore the code, ask a question, or contribute a module of your own.