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
Trio — DIY AID Device Guide | Juicebox Podcast
Device Guide · DIY Automated Insulin Delivery

Trio

The most advanced open-source AID system for iPhone — built on the oref1 algorithm with Super Micro Boluses, Unannounced Meal detection, and Dynamic settings that adapt to your insulin sensitivity in real time. This is what Arden uses.

🔬 OpenAPS → iAPS → Trio · Community-built · Not FDA-cleared

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

Juicebox Podcast · Open-Source Community · triodocs.org

Curious what Trio is? Start here.

⚠️

Trio is not a commercial product and is not FDA-cleared. It is open-source software built and maintained by the diabetes community. You build it yourself, you maintain it yourself, and you use it at your own risk — with community support. Read the full TrioDocs documentation before starting.

🎙️

This is the system Arden Benner uses. Scott has covered the iAPS/Trio lineage on the Juicebox Podcast — most directly in Episode #1243: DIY Insulin Algorithm — iAPS with Deniz from Germany, who later moved to Trio. The full Algorithm Pumping series is at juiceboxpodcast.com → Series → Algorithm Pumping.

What Is Trio?

Loop's More Powerful Sibling

If Loop is automated insulin delivery for people who want a reliable, well-documented system, Trio is for people who've been looping and want more — more responsiveness, more automation, more adaptability. It runs the oref1 algorithm, which was designed from the start to handle the things Loop deliberately doesn't try to do: meals you didn't announce, sensitivity that shifts throughout the day, and corrections that act through rapid micro-boluses rather than slower basal adjustments.

iOS only Open-source Not on App Store Omnipod Dash / EROS / Old Medtronic Dexcom G6/G7 Nightscout optional Free software
How Trio Differs from Loop

Three Capabilities Loop Doesn't Have

⚡

Super Micro Boluses (SMBs)

When glucose is rising, Trio delivers small automatic correction boluses every 5 minutes — front-loading insulin rather than waiting for basal adjustment to take effect. This produces faster corrections and better post-meal control than pure basal adjustment.

🍽️

Unannounced Meals (UAM)

Trio detects an unexpected glucose rise and treats it as if you ate without announcing the meal — dosing insulin automatically via SMB even when no carbs were entered. Loop requires you to either bolus or enter "fake carbs" for this scenario. Trio handles it.

📊

Dynamic ISF & Dynamic CR

Trio adjusts your insulin sensitivity factor (ISF) and carb ratio (CR) in real time based on your current glucose level and trend. If glucose is running high, it becomes more aggressive. If running low, more conservative. Loop uses fixed values you program.

🔄

Autosens & Autotune

Autosens continuously analyzes 24–48 hours of data and adjusts algorithm behavior if you're more sensitive or resistant than usual. Autotune reviews 7+ days and recommends setting changes. Neither is available in commercial AID systems.

Arden's using iAPS now. She used Loop before that, she's used Omnipod 5 — we've used a lot of different algorithms. But it took me back to managing Arden before you know, an algorithm wasn't a thing when Arden was eight years old.

— Scott Benner · Juicebox Podcast Episode #1243 · juiceboxpodcast.com/episodes/jbp1243
The Lineage

Where Trio Came From

OpenAPS (2014) → FreeAPS → FreeAPS X → iAPS → Trio. Each fork brought the oref1 algorithm to a new platform or added new capabilities. Trio is the current maintained version for iPhone — it forked from iAPS after a version 3.0.0 disagreement in the development community about code practices and openness. The algorithm underneath is the same one Dana Lewis and Scott Leibrand designed a decade ago. The community around it is what keeps it alive and improving.

For Clinicians · Trio in the Clinic

What You Need to Know When a Patient Is Using Trio

Higher Capability Floor

Trio users are typically experienced loopers who moved past standard Loop for more performance. They understand their settings, they read the algorithm decisions, and they often manage their diabetes with impressive sophistication. Take their reports seriously.

Settings Still Matter

Dynamic features adapt around your base settings — they don't replace them. Bad basal rates, wrong ISF, or miscalibrated CR will produce bad results regardless of how sophisticated the algorithm is. Your clinical input on base settings is still essential.

Wait 7 Days Before Dynamic

The official Trio recommendation: wait 7 days after starting (or switching settings) before enabling Dynamic ISF/CR or Autosens. The algorithm needs data to adapt. Clinically, this patience applies to settings changes too — give changes time before chasing more adjustments.

Data via Nightscout

Most Trio users connect to Nightscout for remote monitoring and data. Ask them to share their Nightscout URL. You'll see CGM data, SMB deliveries, autosens ratios, and algorithm decisions — often more detail than any commercial system provides.

Sources & Juicebox Content

juiceboxpodcast.com — Episode #1243: DIY Insulin Algorithm — iAPS (Deniz) juiceboxpodcast.com — Algorithm Pumping Series (39 episodes) triodocs.org — Official Trio Documentation github.com/nightscout/Trio — Trio Source Code & Development
Getting the Most from It

The Activation Ladder — Starting Simple, Going Deep

Trio's most important feature for new users: you don't have to turn everything on at once. By default, Trio acts like a regular pump with only occasional temp basal suggestions. You activate capabilities progressively, gaining confidence at each step before moving to the next. This is not how it's always explained, but it's how it should be done.

Activation Steps
0
Default State Start Here

Trio is installed and connected to your pump and CGM. It behaves like a standard pump — you bolus manually, basal runs as programmed. Trio may occasionally suggest a temp basal adjustment but takes no automatic action. Use this to verify everything is connected and your settings are loaded correctly.

1
Enable Closed Loop Standard Loop

Trio now adjusts basal delivery automatically every 5 minutes based on CGM data and predicted glucose. It will suspend or reduce basal to prevent lows, and increase basal to prevent highs. Essentially the same behavior as standard Loop at this point. Run here for several days before continuing.

2
Enable SMBs Power Feature

Super Micro Boluses activate. Instead of only adjusting basal, Trio now delivers small correction boluses automatically when glucose is predicted to rise. These are typically 0.2–0.5 units delivered every 5 minutes. Post-meal control improves significantly. Max SMB size is configurable — start with conservative settings.

3
Enable UAM (Unannounced Meals) Power Feature

Trio detects unexpected glucose rises — from meals you forgot to bolus for, inaccurate carb estimates, or high-fat meals — and delivers SMBs in response even without a carb entry. This eliminates the "fake carbs" workaround that Loop users learn. Enable UAM and SMBs together; they're designed to work as a pair.

4
Enable Dynamic ISF & Dynamic CR Expert Layer

Your insulin sensitivity factor and carb ratio now adjust in real time based on current glucose and trend. When glucose is running high, Trio becomes more aggressive. When running low, more conservative. Wait at least 7 days at Step 3 before enabling this. Requires well-calibrated base settings to function safely.

5
Enable Autosens Expert Layer

Autosens analyzes 24–48 hours of data continuously, looking for patterns that suggest you're more or less sensitive to insulin than your settings reflect. It then adjusts basal, ISF, and target glucose to compensate — automatically, within configurable safety limits. Useful for illness, hormonal cycles, high/low activity weeks.

Key Settings to Understand
This setting controls the maximum size of a single SMB, expressed as minutes of your current basal rate. Example: basal rate 1 unit/hour, Max SMB Basal Minutes = 30 → maximum SMB = 0.5 units. Start conservative (20–30 minutes) and increase only as you gain confidence. It's the primary safety guardrail on how aggressively Trio corrects. Max UAM SMB Basal Minutes applies the same limit to unannounced meal SMBs.
When you enter a meal, Trio calculates a recommended bolus and delivers a percentage of it — you confirm before delivery. The default is 100%. Some users reduce this (e.g., 70–80%) to let SMBs cover the remainder, reducing the risk of front-loading too much insulin. Others prefer 100% manual bolus accuracy and let SMBs handle corrections only. Either approach can work — it depends on how well-calibrated your I:C ratio is.
Trio locks DIA at 10 hours — longer than most people use in commercial systems (typically 4–6 hours). This is intentional. The oref1 algorithm is designed to use a longer DIA to model insulin activity more accurately, particularly the "tail" of rapid-acting insulins that can affect glucose 6–8 hours after injection. Using a shorter DIA causes the algorithm to under-account for insulin on board and can lead to stacking. Do not try to change DIA in Trio — it's locked for a reason.
Loop has Overrides — temporary modifications to your target glucose and sensitivity multiplier. Trio's Profiles are more powerful: they can simultaneously adjust basal rate, ISF, CR, target glucose, and optionally disable SMBs — all within a preset you activate. This makes Profiles useful for exercise (raise target, reduce aggressiveness), illness (increase insulin delivery), menstrual cycle adjustments, or any recurring pattern. You can create and name as many Profiles as you need.
When Trio delivers an SMB, it often follows it with a zero temp basal (0% basal) for a period afterward. This is expected and intentional behavior — it's "borrowing" insulin from the future (via the SMB front-load) and then suspending basal to balance the IOB. New users sometimes panic when they see their basal suspended. This is the algorithm working correctly. The SMB + zero temp combination delivers insulin faster than a raised basal alone would, which is the whole point of SMBs.
Autotune analyzes 7+ days of glucose, insulin, and carb data to recommend adjustments to your basal rates, ISF, and CR. It can reveal patterns you might miss — like a basal rate that's consistently too high in the early morning, or an ISF that's off at night. Autotune produces recommendations; it doesn't change settings automatically. You review the suggestions and decide whether to implement them. Running Autotune periodically (monthly, seasonally) is one of the most valuable maintenance practices for experienced Trio users.
For Clinicians · Settings Review

How to Support a Trio Patient at a Follow-Up Visit

What Step Are They On?

Ask which features they have enabled. A patient on Closed Loop only is in very different territory than one running SMBs + UAM + Dynamic ISF. Calibrate your conversation to their actual configuration.

Review Nightscout Data

Nightscout shows SMB deliveries, autosens ratios, and IOB alongside CGM values. High SMB frequency with glucose still running high = I:C ratio probably off, or absorption much faster than expected. Frequent zero temps during day = SMBs are firing correctly.

Check Autotune Suggestions

Ask if they've run Autotune recently and what it suggested. Autotune frequently catches systematic setting errors that aren't obvious from clinic data alone. If Autotune consistently recommends a lower basal overnight, that's clinically actionable information.

DIA Is 10 Hours

Don't try to change this. The 10-hour DIA is load-bearing in the oref1 algorithm's IOB calculations. Attempts to shorten it to 4–6 hours (as in commercial systems) will break the algorithm's safety model. This is not a typo in their settings.

📖
TrioDocs — Official Trio Documentation Setup guide · settings reference · FAQ · triodocs.org

Sources

triodocs.org — New User Setup Guide triodocs.org — Trio FAQ triodocs.org — Coming from Other AID Systems (Loop, Commercial) juiceboxpodcast.com — Episode #1243: DIY Insulin Algorithm — iAPS (Deniz) iaps-app.org — iAPS/Trio Startup Guide (settings & activation sequence) Children with Diabetes — DIY AID Systems: iAPS explained (Marissa Town, RN)
Deep Dive

oref1, SMB Architecture & the Full Algorithm Picture

Trio is one of the most sophisticated closed-loop algorithms available to people with diabetes — and it's free. Understanding how oref1 actually works helps you configure it intelligently, interpret what it's doing, and trust it when the numbers look counterintuitive.

oref1 — The Algorithm Inside

How Trio Thinks, Every 5 Minutes

The Decision Loop

What Trio Evaluates Every 5 Minutes

📡 Current CGM Value & Trend

The most recent glucose reading and the direction and speed of change — used to estimate where glucose will be in 30–60 minutes.

💊 Insulin on Board (IOB)

How much active insulin is currently in the body from all previous deliveries — basal, bolus, and SMBs. The algorithm must never give insulin that, combined with existing IOB, would produce a low. DIA = 10 hours for accurate tail modeling.

🍽️ Carbs on Board (COB)

Estimated unabsorbed carbohydrates from announced meals. If COB is positive, the algorithm knows glucose may continue rising and can deliver SMBs more aggressively.

📈 Autosens Ratio

The current sensitivity adjustment factor — 1.0 = you're responding normally. Above 1.0 = more sensitive than usual. Below 1.0 = more resistant. This ratio scales basal, ISF, and target glucose proportionally.

🔮 Multiple Glucose Predictions

oref1 runs five different prediction models simultaneously (standard, insulin only, carbs, unannounced meal, zero temp) and averages them to produce a final prediction — more robust than a single model.

🛡️ Safety Limits

Max Basal, Max IOB, Max SMB Basal Minutes, and Autosens Min/Max all serve as hard stops. The algorithm cannot violate these no matter what its prediction says. They're the safety rails around the algorithm's autonomy.

Source: OpenAPS documentation · TrioDocs · oref1 algorithm specification

When glucose is rising, raising the basal rate delivers insulin that takes 60–90 minutes to reach peak effect. If glucose is already at 140 mg/dL and rising fast, that basal increase comes far too late. An SMB delivers a bolus dose that begins acting immediately, with peak effect in 60–75 minutes. Front-loading insulin via SMB while simultaneously reducing future basal (zero temp) produces the same total insulin over time but front-loads the delivery curve — meeting the glucose rise where it is rather than chasing it. This is the core insight Dana Lewis and Scott Leibrand encoded into oref1.
Most people with T1D notice they need more insulin per unit of carbohydrate at higher glucose levels — a phenomenon sometimes called "glucose toxicity" or insulin resistance at hyperglycemia. Commercial systems use fixed ISF values that can't account for this. Trio's Dynamic ISF adjusts ISF based on current glucose using the formula: adjusted ISF = base ISF / (glucose / target). When glucose is 200 mg/dL and target is 100, ISF is halved — the algorithm acts as if each unit of insulin only drops glucose half as much as usual, so it gives more. This produces significantly better correction of persistent highs than a fixed ISF.
The dawn phenomenon — early morning glucose rise driven by counter-regulatory hormones — is one of the most difficult patterns in T1D management. Trio handles it through a combination of autosens (detecting recurring overnight insulin resistance) and SMBs (correcting the rise when it begins rather than waiting for it to become significant). Experienced Trio users often report excellent overnight TIR, comparable to or exceeding the 90% overnight TIR reported for Tandem's Sleep Activity mode — without needing to activate a special mode, because Trio adapts automatically.
Trio is hosted on the Nightscout GitHub organization. Development is led by a volunteer community of programmers, many of whom live with T1D or have family members who do. The codebase is being actively rewritten from JavaScript to Swift for performance and maintainability. Trio is translated into multiple languages via Crowdin. Support is provided through a Facebook group and Discord server — both highly active. The community ethos is peer support: when you've solved a problem, you help the next person solve it. This is not a company — there's no roadmap deck, no PR team, and no one's getting paid. It exists because people need it.
The Trio team has discussed the path toward FDA clearance as a goal. No clearance has been obtained or submitted as of early 2026. The FDA pathway for open-source AID is complex — Tidepool Loop took years and required substantial organizational infrastructure to navigate. The Trio community is monitoring developments closely. For clinical context: Loop without Tidepool's FDA process is also not cleared, yet the observational evidence is substantial and the safety record is strong. Many clinicians choose to support (not prescribe) DIY AID users. ADCES guidance on this distinction is available at adces.org.
For Clinicians · The Full Resource Stack

Where to Learn More and Point Patients

TrioDocs (triodocs.org)

The official documentation. New user setup guide, settings reference, FAQ, and transition guides from Loop and commercial systems. The first place to send any new Trio user.

Trio Facebook Group

Primary community support. Thousands of active members — many are highly experienced and answer questions with clinical depth. Search before posting; most questions have been answered. Private group requiring approval.

Juicebox Podcast

Episode #1243 (iAPS with Deniz) is the most relevant Juicebox content. The Algorithm Pumping series (39 episodes) covers the broader DIY AID landscape and real-world user experience better than any other podcast resource.

OpenAPS.org

Dana Lewis's site — origin of the oref0/oref1 algorithm that Trio implements. Free book "Automated Insulin Delivery" is the clearest explanation of why these algorithms work the way they do. Essential background reading.

📖
TrioDocs — Official Documentation Setup · settings · FAQ · triodocs.org
🎙️
Juicebox Podcast Episode #1243 — DIY Insulin Algorithm: iAPS Deniz explains the iAPS/Trio algorithm lineage in detail · juiceboxpodcast.com
🎧
Juicebox Podcast — Algorithm Pumping Series (39 episodes) Loop · iAPS · Omnipod 5 · Control-IQ · real users · juiceboxpodcast.com
🔬
OpenAPS — The Algorithm Origin Dana Lewis & Scott Leibrand · free book: "Automated Insulin Delivery" · openaps.org

Sources

triodocs.org — Official Trio Documentation triodocs.org — Trio FAQ triodocs.org — New User Setup Guide & Activation Steps github.com/nightscout/Trio — Source Code & Development juiceboxpodcast.com — Episode #1243: DIY Insulin Algorithm — iAPS (Deniz) juiceboxpodcast.com — Algorithm Pumping Series (39 episodes) openaps.org — OpenAPS: Origin of oref1 · "Automated Insulin Delivery" (free book) DiabeTech — What Is Trio? The Open-Source AID System Explained Children with Diabetes — DIY AID Systems: iAPS explained (Marissa Town, RN, CDCES) iaps-app.org — iAPS/Trio Startup Guide
⚠️ Important: Trio is not FDA-cleared and is not a commercial medical device. It is open-source software built and maintained by volunteers. You build and run Trio at your own risk. This content is for educational purposes only and is not medical advice or an endorsement to use Trio. Always consult your healthcare provider before changing your diabetes management. Full disclaimer.

Juicebox Podcast · juiceboxpodcast.com · Community knowledge compiled from TrioDocs, OpenAPS documentation, clinical literature, and the Juicebox Algorithm Pumping series.

0