
Loop
DIY automated insulin delivery app for iPhone
Replaces —
Who it's for
A person using an Omnipod DASH or supported Medtronic pump with a Dexcom CGM who wants automated overnight basal adjustments without the cost of a commercial AID system. They build Loop via the browser path, validate settings in Open Loop mode, then enable Closed Loop.
User is on an Android phone or uses a pump not supported by Loop.
A caregiver who wants remote visibility into their child's glucose and Loop status via Nightscout. Loop's remote CGM support and Nightscout integration mean the parent can monitor from work or school without the child needing a separate device.
Child does not have a compatible iPhone or the family is not willing to manage app rebuilds and Apple Developer membership renewal.
Someone who wants to understand how a closed-loop algorithm works before committing to a commercial system. Running Loop in Open Loop mode lets them observe recommendations against their own manual decisions with zero automation risk.
User prefers a fully supported, regulated medical device with manufacturer support.
The problem
People with insulin-dependent diabetes who use compatible pumps and CGMs have no affordable, commercial option for automated insulin delivery that they fully control and can audit. Approved closed-loop systems are expensive, locked to specific hardware combinations, and opaque about their algorithms. Loop gives technically motivated patients and caregivers a fully transparent, self-hosted alternative they can inspect, modify, and operate on hardware they already own.
How it works
Loop's algorithm reads CGM glucose data continuously, models where blood glucose is heading, and commands compatible pumps to adjust basal delivery and deliver corrections automatically — keeping glucose within the correction range you configure.
Before trusting the algorithm with automatic delivery, users can run in Open Loop mode: the app displays its recommendations while the person retains full manual control. This lets new users validate their settings and build confidence before enabling automation.
Loop 3 introduced a GitHub Actions workflow that builds the app in the cloud and delivers it to an iPhone via Apple TestFlight. Any computer or tablet with a browser can start the build, removing the Mac and Xcode requirement for most users.
Loop supports Omnipod DASH (direct Bluetooth), Omnipod Eros and Medtronic pumps (via RileyLink), and SOOIL Dana i/RS pumps, alongside Dexcom CGMs. Nightscout and Dexcom Share can act as remote CGM data sources.
Users enter their own basal rate schedule, carbohydrate ratio, and insulin sensitivity factor. Loop uses these to personalise every dosing decision, and the settings can be adjusted at any time as therapy needs change.
Loop can upload data to a personal Nightscout instance, enabling caregivers and clinicians to monitor glucose trends and Loop status remotely from any browser — useful for parents of children using the app.
Features
- Predictive closed-loop dosing
- Open-loop learning mode
- Browser-based build (no Mac required)
- Broad pump and CGM compatibility
- Configurable therapy settings
- Nightscout integration
How to install
# Browser build (no Mac required) # 1. Fork https://github.com/LoopKit/LoopWorkspace on GitHub # 2. Add your Apple Developer credentials as repository secrets # 3. Run the "Build Loop" GitHub Actions workflow # 4. Install on iPhone via TestFlight invite
Recommended for this setup
Strengths
- Fully transparent algorithm: The entire dosing algorithm is open source and auditable on GitHub under the LoopKit organisation. Users and researchers can inspect exactly how every insulin delivery decision is made, which no commercial closed-loop system offers.
- No Mac required for most builders: The browser-based build path introduced in Loop 3 means most people can build and update the app using only a browser and a free GitHub account, dramatically lowering the technical barrier compared to earlier versions.
- Active volunteer community: Loop is backed by a large, experienced peer-support community that provides real-time help via forums. The LoopDocs documentation site is maintained in step with every app release, and contributors routinely improve it based on user confusion reports.
- Hardware the user already owns: Loop works with compatible pumps and CGMs that many insulin-dependent users already have, avoiding the cost of buying a new approved closed-loop system. The only additional hardware that some configurations need is a RileyLink device.
Trade-offs
- Not approved by any regulator: Loop is explicitly not approved for therapy by the FDA, CE, or any other government organisation. Users take full responsibility for building and operating the system. It is not a medical device under any regulatory framework.
- Requires an Apple Developer account: The browser-based build path requires a paid Apple Developer membership (currently $99/year). Building on Mac without paying is possible but the free certificate expires weekly and must be renewed, which is impractical for daily use.
- iPhone and Apple ecosystem only: Loop runs exclusively on iPhone and requires staying current with iOS and Apple's signing infrastructure. Android users cannot run Loop; they would need to look at AndroidAPS or similar projects instead.
- Hardware compatibility is not universal: Only specific pump models and CGMs are supported. Many common insulin pumps — including most modern Tandem and newer Medtronic models — are not compatible. Prospective users must verify their exact hardware before committing to a build.
Tech stack
FAQ
No. Loop 3 introduced a browser-based build method. You fork the Loop repository on GitHub, add your Apple Developer credentials as repository secrets, and run a GitHub Actions workflow. The app is then distributed to your iPhone through Apple TestFlight. A Mac with Xcode remains an option if you prefer it.
No. Loop is an open source project and is not approved for therapy by any government organisation. You build and operate it at your own risk. The LoopDocs site recommends consulting a healthcare professional regarding your diabetes management.
Loop supports Omnipod DASH (direct Bluetooth, no extra hardware), Omnipod Eros and certain Medtronic pumps (both require a RileyLink Bluetooth-to-radio bridge), and SOOIL Dana i and Dana RS pumps. Tandem pumps and most newer Medtronic models are not supported.
Loop works with Dexcom CGMs directly on iPhone. It also supports Nightscout and Dexcom Share as remote CGM data sources, which is useful for caregivers monitoring a child's glucose.
With a paid Apple Developer account (required for the browser build path), the app certificate is valid for one year and the TestFlight build lasts 90 days before needing a rebuild. With a free Mac build, the certificate expires weekly. Most users with a paid account rebuild a few times a year, usually prompted by a new Loop release or iOS update.