Newly Diagnosed?

Estimators

A1c Estimator
Autoimmune Explorer
Basal Estimator
Bolus Estimator
Fat & Protein Estimator
Interactive Defining Diabetes
Settings Simulator

Guides

Advice for T1 Parents
Caregiver Burnout
Clinician Share
Episode FAQ
GLP with Type 1 Diabetes
Habit Lab
A Guide for Physicians
ACE/PCE Reflection Guide
Diagnosis Story
Grand Rounds Takeaways
Know the Signs
MEAL BOLT Tutorial
My Belly Hurts
Post-Meal Patterns
Pre Bolusing: The Juicebox Way
Thyroid
Understanding TSA

Series & Collections

Bold Beginnings
Pro Tip
Bolus 4
Small Sips
After Dark
Algorithm Pumping
Ask Scott & Jenny
Bold Beginnings in ASL
Cold Wind (Whistleblowers)
Defining Diabetes
Diabetes Myths
Diabetes Variables
Fat and Protein
GLP Meds
Grand Rounds
How We Eat
Math Behind
Mental Wellness
Omnipod 5
Pregnancy
Type 2

Site Links

The Lists
JuiceboxDocs
Private Facebook Group
Events
Blog
Giveaways
Contact
Disclaimers

Shop

Merch
Sponsors
DIY Automated Insulin Delivery — Device Guide | Juicebox Podcast
Device Guide · DIY Automated Insulin Delivery

DIY Loop & Open-Source AID

Loop, iAPS, Trio, and AndroidAPS — the community-built automated insulin delivery systems that preceded every commercial AID algorithm on the market. What they are, how they compare, and the biggest library of real-world Loop content anywhere.

📻 39 Episodes in the Algorithm Pumping Series · Arden uses iAPS/Trio

Device specifications change frequently — always verify current information directly with the manufacturer before making any decisions. Full disclaimer.

Juicebox Podcast · Community Knowledge · Open-Source AID · Clinical Literature

Curious about DIY Loop? Start here.

⚠️

This is not a commercial product. DIY AID systems are open-source software built and maintained by the diabetes community. They are not FDA-cleared (with some exceptions), not from a company, and not covered by a warranty or support line. You build and maintain it yourself — with community help. This is a choice made by informed adults and caregivers, not a default recommendation.

What Is DIY AID?

The Algorithm the Community Built Before the Companies Did

Commercial AID systems like Omnipod 5, Control-IQ, and the iLet took years to reach FDA approval. While they were waiting, people with T1D built their own. Starting around 2015, the community developed open-source algorithms that connected existing CGMs and pumps to create automated insulin delivery — years before commercial options existed. The results were remarkable enough that Tidepool eventually brought the Loop algorithm through the FDA, and it now powers the commercial twiist pump. The DIY ecosystem that exists today is larger, more customizable, and in some cases more advanced than its commercial descendants.

🎙️

Scott has been covering DIY Loop since Arden started using it. She went through Loop, then iAPS, and now uses Trio — a next-generation fork of iAPS. The Juicebox Algorithm Pumping series has 39 episodes covering Loop, iAPS, Omnipod 5, Medtronic 780G, Control-IQ, and more. juiceboxpodcast.com → Series → Algorithm Pumping

Four Things That Make DIY Different
🆓

Free Software

The algorithms are free and open-source. You pay for the hardware (pump, CGM), but not the algorithm. For people with compatible existing hardware, the cost to start looping can be zero beyond time.

🔧

You Build It

You install the app yourself — either by compiling from code or using community browser-based builders. There's no customer service phone number. The tradeoff for this complexity is unlimited customizability and often better performance for experienced users.

🧑‍🤝‍🧑

Community Supported

Support comes from Loop and Learn (Facebook), Looped (Facebook), LoopDocs documentation, and thousands of community members. The knowledge base is enormous — and it's people who actually live with T1D answering your questions.

📈

More Customizable

DIY systems offer settings commercial systems don't allow — from super micro boluses (SMBs) to autotune, autosens, and dynamic ISF. Experienced users routinely achieve results that exceed commercial system benchmarks.

The Three Main Systems

Loop · iAPS/Trio · AndroidAPS

Loop
iOS · iPhone

The original. Built for iPhone. Works with Omnipod EROS/Dash or older Medtronic pumps. Connects to Dexcom CGM. The foundation that twiist is built on commercially. Good starting point — cleaner, more straightforward than iAPS.

iAPS / Trio
iOS · Advanced

Builds on Loop's foundation with additional algorithm features from oref1 (originally from OpenAPS). Includes super micro boluses (SMBs), autotune, dynamic ISF. Significantly more powerful — and more complex. This is what Arden uses.

AndroidAPS
Android · Broad Pump Support

The Android equivalent. Works with a wider range of insulin pumps than Loop. More complex setup. Runs the oref1 algorithm (same as OpenAPS and iAPS). Good option for Android users or those with non-Omnipod pumps.

Using the algorithm and watching the data come back from it and seeing how it reacts will absolutely supercharge your understanding of how insulin is working in your body. I'm telling you — watch an app, a computer algorithm decide about insulin. It just elevates your understanding.

— Scott Benner · Juicebox Podcast Episode #313 · Fox in the Loop House Part 2
For Clinicians · What to Know When Your Patient Is Looping

DIY AID in Clinical Practice

More Common Than You Think

A meaningful percentage of your tech-engaged T1D patients are running DIY AID — and many don't tell their clinician. Ask. Looping patients often have excellent glycemic control and can explain their settings in detail.

Standard Settings Still Apply

DIY systems use standard pump settings — basal rates, I:C ratio, ISF, DIA (duration of insulin action). Your clinical input on these settings is as important as with any commercial system. Bad settings → bad results, regardless of algorithm.

Data Access

DIY systems upload to Nightscout (open-source remote monitoring), Tidepool, or both. Many looping patients can share real-time data with caregivers and clinicians. Ask what platform they're using before assuming there's no data.

Your Role

You don't need to understand the DIY software to support a looping patient. Your role is to help optimize their underlying pump settings and ensure their CGM is accurate. The algorithm handles the rest — often better than commercial alternatives.

Juicebox Podcast — Loop Episodes

juiceboxpodcast.com — Algorithm Pumping Series (39 episodes) #227 — Diabetes Concierge: Katie de Simone explains what looping is (start here) #252 — A Loopy Few Months: Scott & Jenny — 14 weeks of Arden's DIY Loop experience #312 — Fox in the Loop House Part 1: Kenny Fox — DIY Loop explained #313 — Fox in the Loop House Part 2: Loop settings walkthrough #420 — Fox in the Loop House Part 3: Advanced Loop #977 — Looping Around: Real-world Loop + Omnipod comparison #1243 — DIY Insulin Algorithm iAPS: Deniz from Germany — iAPS & Trio explained
Getting the Most from It

Hardware, Systems & How to Get Started

DIY AID requires three things: a compatible insulin pump, a compatible CGM, and the software. The software is free. The rest is what makes it complicated — hardware compatibility has changed a lot over the years, and the system you choose determines what hardware you need.

Compatible Hardware — 2025/2026
The Omnipod Dash is currently the recommended pump for new Loop users who don't already have compatible hardware. It's current production hardware, still in warranty, widely covered by insurance, available at the pharmacy, and supported by both Loop and iAPS/Trio. Unlike older Medtronic pumps (which were historically used for DIY but are now aging out of reliability), the Dash is new, actively manufactured, and available. The Omnipod EROS (older pods) also works but requires a RileyLink bridge device.
DIY Loop originally ran on specific older Medtronic pumps (MMT-522, 722, 523, 723, 554, 754) that have a vulnerability in their wireless protocol — which is how Loop communicates with them. These pumps are no longer manufactured. As of 2025/2026, many of these pumps are aging out — dying batteries, failing hardware, and increasing difficulty sourcing spares. Some endo offices used to keep them in a drawer; that era is largely over. For most new DIY users, Omnipod Dash is now the better path. Existing Medtronic loopers: have a backup plan.
A RileyLink is a small hardware device that acts as a translator between your iPhone and older Medtronic pumps (or Omnipod EROS pods). It converts iPhone Bluetooth signals to the 433 MHz or 916 MHz radio frequency that these pumps use. If you're using Omnipod Dash, you don't need a RileyLink — Dash communicates directly via Bluetooth. AndroidAPS users may use different hardware bridges. RileyLink is still available but is increasingly a legacy requirement as most new setups use Dash.
  • Loop: Dexcom G5 (legacy), G6, G7. Also supports Libre via Nightscout follower setup in some configurations.
  • iAPS/Trio: Dexcom G5, G6, G7. Also supports some Libre configurations via bridge devices.
  • AndroidAPS: Broadest CGM support — Dexcom, Libre, Eversense, and others via various bridge methods.
Dexcom G6 and G7 are the most straightforward — they connect directly to the iPhone, and the Loop app reads the data natively.
Building Loop used to require a Mac computer and knowledge of Xcode (Apple's developer software). Community members created browser-based builders (like "Build with Browser" or "LoopWorkspace") that allow building Loop in a web browser without a Mac — making it significantly more accessible. The basic process: create a free Apple Developer account → use a browser builder to create a signed Loop app → install it on your iPhone via TestFlight. The LoopDocs website (loopkit.github.io/loopdocs) has complete step-by-step instructions. The Loop and Learn Facebook group is where you go when you get stuck.
Start with Loop if you're new to DIY. It's simpler, better documented, and the community support infrastructure is more beginner-friendly. iAPS/Trio is for people who have been looping and want more performance — specifically super micro boluses (SMBs), which allow the algorithm to deliver small correction boluses automatically as needed rather than only adjusting basal. Trio is the current recommended fork of iAPS — iAPS development was winding down as many contributors moved to Trio. If you're starting fresh in 2026, Loop → Trio is the general community path. Don't start on Trio.

The Juicebox Loop Library

Key episodes · Algorithm Pumping Series · juiceboxpodcast.com/algorithm-pumping
#227
Diabetes Concierge Katie de Simone explains DIY Loop from the ground up — the place Scott always points people who don't know what looping is. Listen →
#252
A Loopy Few Months Scott and Jenny Smith — 14-week debrief on Arden's DIY Loop experience. "The first thing I noticed is that most people with T1D who aren't listening to this podcast... looping is going to be an amazing thing for them." Listen →
#312–313–420
Fox in the Loop House (Parts 1, 2 & 3) Kenny Fox and Scott walk through every setting in Loop — what it does, why it matters, and how to think about it. The most thorough Loop settings breakdown in the Juicebox catalog. Pt 1 · Pt 2 · Pt 3
#304
Loop de Loop Melody — Scott's early journey figuring out looping. Honest about what's confusing. Useful for people in the "I kind of understand this but not really" phase. Listen →
#977
Looping Around Tina's son on Loop — real-world experience, comparing Loop to Omnipod 5, and the sleep that finally came. The night her son first closed the loop. Listen →
#1243
DIY Insulin Algorithm — iAPS Deniz from Germany — 25 years of MDI directly into iAPS. Deep explanation of how iAPS/Trio works differently from Loop. Note: Deniz later moved to Trio. Listen →

Key Resources

juiceboxpodcast.com — Algorithm Pumping Series (39 episodes) loopkit.github.io/loopdocs — LoopDocs: Official Loop Documentation facebook.com — Loop and Learn (private Facebook group) androidaps.readthedocs.io — AndroidAPS Documentation
Deep Dive

How the Algorithms Work & What the Evidence Shows

The DIY AID systems aren't just experiments — they have published clinical evidence, rigorous community study, and in some cases match or exceed commercial system outcomes. Here's the full picture, including how Loop evolved into what powers the commercial twiist pump.

Algorithm Architecture

Loop, oref1, and Where They Differ

🔄

Loop — Predictive Suspend + Basal Adjust

Loop's core algorithm predicts future glucose using insulin on board and CGM trend. It adjusts basal delivery every 5 minutes — increasing to prevent highs, decreasing or suspending to prevent lows. No automatic boluses beyond basal adjustment. Clean, effective, and the origin of Tidepool Loop (now in twiist).

⚡

oref1 — Super Micro Boluses

iAPS/Trio and AndroidAPS add the oref1 algorithm layer, which introduces Super Micro Boluses (SMBs) — small automatic correction boluses delivered every 5 minutes when glucose is trending up. This is more aggressive than pure basal adjustment and tends to produce better post-meal outcomes for users who have good settings dialed in.

🎛️

Autotune

Available in iAPS/Trio and AndroidAPS — an automated analysis that reviews 7 days of data and recommends adjustments to your basal rates, I:C ratio, and ISF. Removes the guesswork from settings optimization. Not available in commercial AID systems.

📊

Autosens & Dynamic ISF

Autosens detects insulin sensitivity changes over time and adjusts algorithm aggressiveness accordingly — useful for illness, exercise recovery, hormonal cycles, and growth spurts. Dynamic ISF extends this further. Commercial systems have their own sensitivity adaptations but typically less transparency and customizability than open-source versions.

Watching the Loop take away basal, give it back — it was like a self-driving car. It was seeing the road curve a little down or a little up and just going with it. And it felt like it had a crystal ball. Blood sugar goes from 85 to 89 and all of a sudden her basal goes up a little. And you think — it's not even a rise yet.

— Scott Benner · Juicebox Podcast Episode #420 · Fox in the Loop House Part 3
The Loop Observational Study (JAEB Center for Health Research / Stanford / Tidepool, NCT03838900) enrolled 175 participants ages 6 and up using Loop with Tidepool guardrails. Results showed clinically meaningful improvements in TIR and reductions in hypoglycemia. A psychosocial companion study (Wong et al., Journal of Diabetes Science and Technology, 2023) found significant reductions in diabetes distress, fear of hypoglycemia, and improvements in quality of life. A real-world study published in Diabetes Technology and Therapeutics (Lum et al., 2021) showed TIR improvements with open-source Loop use in clinical practice. These studies formed part of the basis for Tidepool Loop's FDA clearance.
Tidepool — a nonprofit diabetes data company — worked with the FDA to navigate approval of a commercial version of the Loop algorithm. Tidepool Loop received FDA clearance as an iAGC (interoperable automated glycemic controller) in 2023. Sequel Med Tech then licensed Tidepool Loop and built the twiist pump around it — making twiist the first commercial pump powered by the community-developed Loop algorithm. The open-source Loop app remains available and separate from Tidepool Loop / twiist. Users of the open-source system are not using the same software that went through FDA clearance.
Nightscout is an open-source remote monitoring platform created in 2014 by a parent who wanted to see his son's glucose data during a school field trip — before any commercial remote monitoring existed. It displays real-time CGM data on any browser or smartwatch, can trigger alerts, and provides rich historical analysis. Most DIY loopers use Nightscout as their primary data platform alongside Loop. Nightscout pioneered the remote monitoring concept that commercial systems like Dexcom Follow and Bionic Circle later adopted for mainstream use.
iAPS was developed as a port of OpenAPS (the original open-source AID project) to the iPhone. Over time, contributors disagreed on development direction and a significant number of the original iAPS contributors forked the project to create Trio. As of 2025–2026, Trio is the actively maintained version with the most community support and development. The Trio team is also working toward potential FDA clearance. For new users considering the advanced algorithm tier, Trio is the current community recommendation over iAPS proper. The underlying algorithm (oref1 + SMBs) is effectively the same — the difference is active maintenance and the development community behind it.
OpenAPS (Open Artificial Pancreas System) was the first DIY AID project, created in 2014 by Dana Lewis and Scott Leibrand — both T1D — who hacked together the first closed-loop system using an older Medtronic pump, a Dexcom CGM, a Raspberry Pi, and custom code. The algorithm they developed (oref0, later oref1 with SMBs) became the foundation for iAPS, AndroidAPS, and ultimately influenced the entire commercial AID field. The story of OpenAPS is told in Dana Lewis's book "Automated Insulin Delivery" (free PDF at openaps.org). It's the origin story of the entire modern AID landscape.
For Clinicians · The DIY Ecosystem in 2026

What You Need to Know to Support a DIY Patient

They Know Their Stuff

DIY looping patients who have been using these systems for years typically have deep knowledge of insulin pharmacokinetics, pump settings, and algorithm behavior. They are often your most technically sophisticated T1D patients. Listen to them.

Data Is Available

Ask for Nightscout access or Tidepool data. DIY systems often produce richer data than commercial systems — including detailed logs of every algorithm decision. Some patients will show you displays most commercial software doesn't offer.

Settings Still Need You

Autotune helps, but your input on basal rates, I:C ratio, and ISF remains clinically important. Bad settings + powerful algorithm = worse outcomes. Good settings + powerful algorithm = excellent outcomes. This is still a partnership.

Regulatory Position

Standard open-source Loop/iAPS/AndroidAPS are not FDA-cleared (Tidepool Loop is). Prescribing or recommending these systems puts clinicians in legally ambiguous territory. Many clinicians choose to support — not prescribe — DIY patients. ADCES has published guidance on supporting DIY AID users.

🎙️
Juicebox Podcast — Algorithm Pumping Series (39 Episodes) Loop · iAPS · Omnipod 5 · 780G · Control-IQ · real-world user experiences · juiceboxpodcast.com
📖
LoopDocs — Official Loop Documentation Complete setup guide · hardware requirements · settings reference · loopkit.github.io/loopdocs
🔬
OpenAPS — The Origin of Modern AID Dana Lewis & Scott Leibrand · free book "Automated Insulin Delivery" · openaps.org

Juicebox Podcast — Loop Episodes

juiceboxpodcast.com — Algorithm Pumping Series (39 episodes) #227 — Diabetes Concierge: What is looping (Katie de Simone) #252 — A Loopy Few Months: 14-week Arden Loop debrief (Scott & Jenny) #304 — Loop de Loop (Melody) #312 — Fox in the Loop House Part 1 (Kenny Fox) #313 — Fox in the Loop House Part 2 (Kenny Fox) #420 — Fox in the Loop House Part 3 (Kenny Fox) #977 — Looping Around (Tina) #1243 — DIY Insulin Algorithm iAPS (Deniz)

Clinical Literature & Community Resources

Lum et al., Diabetes Technology & Therapeutics 2021 — Loop real-world safety & effectiveness study Wong et al., J Diabetes Sci Technol 2023 — Psychosocial effects of open-source Loop loopkit.github.io/loopdocs — LoopDocs: Official Loop Documentation openaps.org — OpenAPS: Origin of Modern AID, Dana Lewis & Scott Leibrand androidaps.readthedocs.io — AndroidAPS Documentation facebook.com — Loop and Learn (primary community support group)
⚠️ Important: DIY AID systems (Loop, iAPS, Trio, AndroidAPS) are not FDA-cleared commercial products. They are open-source software used off-label with compatible hardware. This content is for educational and informational purposes only — not medical advice and not an endorsement or recommendation to use these systems. The decision to use any DIY AID system should be made with your healthcare provider. Always consult a physician before making changes to your diabetes management. Full disclaimer.

Juicebox Podcast · juiceboxpodcast.com · Community knowledge compiled from personal experience, published clinical literature, and the Juicebox Algorithm Pumping series.

0