Skip to content
@StanfordSpezi

Stanford Spezi

Free and open-source ecosystem of modules enabling digital health systems

Stanford Spezi

Spezi is an open-source framework for rapid development of modern, interoperable digital health applications. It is built on an ecosystem of modules that exchange data using health standards such as HL7® FHIR®. Spezi can be used to build mobile applications (iOS and Android), web services to store health data and interface with electronic health records, and web frontend applications. All use a common set of modules to simplify software development and improve reusability across systems.

SpeziVibe provides a set of skills you can install into your favorite AI coding agent to walk you through the full process of planning and building a digital health app with Spezi.

The following are examples of patient- and user-facing functionalities that can be implemented with Spezi on Apple Platforms to support research studies, electronic health record integration, and AI–enabled systems:

Screenshot displaying the UI of the consent module Screenshot displaying the UI of the consent module Screenshot displaying Spezi Devices and Bluetooth pairing user interface Screenshot displaying Spezi Devices and Bluetooth pairing user interface Screenshot displaying the UI of the questionnaire module Screenshot displaying the UI of the questionnaire module
Spezi Onboarding and Spezi Consent Spezi Bluetooth and Spezi Devices Spezi Questionnaire
Screenshot displaying the account setup view with email and password prompt and Sign In with Apple button Screenshot displaying the account setup view with email and password prompt and Sign In with Apple button Three different text fields showing validation errors with Spezi Validation Three different text fields showing validation errors with Spezi Validation Chat view of a locally executed LLM using the Spezi LLM module Chat view of a locally executed LLM using the Spezi LLM module
Spezi Account Spezi Views , including SpeziValidation Spezi LLM

Tip

Getting Started

SpeziVibe — start here if you're building with AI coding tools (Claude Code, Codex, Gemini CLI). It installs a set of skills that walk your agent through needs-finding, planning, and scaffolding, and helps you pick the right template for your project (React Native or Apple-native).

Spezi Template Application — the Apple-native (SwiftUI) starting point. Clone this directly if you already know you're building an iOS app on the Spezi ecosystem and don't need the AI-assisted planning flow.

We are always looking for open source collaborators. Please take a look at the Code of Conduct and Contributing Guidelines for more information. For more information, check out our website at spezi.stanford.edu.

Spezi Footer Spezi Footer

Pinned Loading

  1. Spezi Spezi Public

    Open-source framework for rapid development of modern, interoperable digital health applications.

    Swift 250 27

  2. SpeziVibe SpeziVibe Public

    AI-enabled toolkit for building cross-platform digital health apps

    Shell 17 4

  3. SpeziTemplateApplication SpeziTemplateApplication Public template

    Stanford Spezi template for building apps on Apple Platforms

    Swift 137 42

  4. SpeziLLM SpeziLLM Public

    Large Language Model (LLM) module for the Spezi Ecosystem

    Swift 290 47

  5. SpeziHealthKit SpeziHealthKit Public

    HealthKit module of the Stanford Spezi framework

    Swift 40 13

  6. SpeziBluetooth SpeziBluetooth Public

    Connect and communicate with Bluetooth devices.

    Swift 20 4

Repositories

Showing 10 of 59 repositories

Top languages

Loading…

Most used topics

Loading…