What is open-source AID?
Open-source Automated Insulin Delivery (AID) means using an insulin pump, a CGM, and a smartphone running community-built software to create a closed loop — exactly like Medtronic 780G or Omnipod 5 — but with code anyone can read, modify, and improve. The algorithm runs on YOUR phone, not on a manufacturer’s server.
The big warning, upfront
Open-source AID is NOT approved by the CDSCO, FDA, MHRA, or any regulator. The community is friendly and the systems are mature, but you are personally responsible for setup, calibration, safety limits, and ongoing maintenance. A bug or misconfigured ratio can cause severe hypoglycemia. This article is informational — never start without a supportive endocrinologist and the proper community onboarding.
Why does this community exist?
The first OpenAPS system was built in 2014 by a Type 1 diabetic frustrated that commercial closed-loop pumps were "5 years away" (they were — for the next decade). The movement’s motto: #WeAreNotWaiting.
Customisation commercial systems don’t allow
Tune every parameter
- Target glucose can be set anywhere (commercial systems lock you to 100–120)
- SMB (super micro-bolus) — aggressive corrections every 5 minutes
- UAM (unannounced meals) — algorithm detects food without you announcing carbs
- Custom temporary targets for sport, sleep, sickness, menstruation
- Plugin ecosystem — anything the community can dream up
Access where commercial isn’t available
Critical in India
- Many Indian patients can’t access Medtronic 780G or Omnipod 5
- Loop / AAPS work with older / locally-available pumps
- The CGM half can be FreeStyle Libre 2 (widely available)
- Total system cost is roughly half of commercial AID
Community ownership
Your data, your system, your code
- All code is public on GitHub — auditable, modifiable
- Bug fixes happen in days, not years
- Discord / Facebook groups full of users helping each other
- No subscription, no shutdown risk if the company pivots
Genuinely better outcomes
Real-world data, real users
- Time-in-range typically 75–85% (vs commercial 70–75%)
- Some studies show better overnight glucose than commercial systems
- Especially strong for children and people with brittle T1
Loop vs AndroidAPS vs OpenAPS
| System | Phone OS | Best for | Hardware needed |
|---|---|---|---|
| Loop | iPhone | iPhone users who want the polished experience | iPhone + supported pump + Dexcom CGM (or RileyLink bridge for older pumps) |
| AndroidAPS (AAPS) | Android | Most Indian users — Android is mainstream | Android phone + supported pump + Libre 2 / Dexcom |
| OpenAPS | Raspberry Pi (no phone) | Tinkerers, the original power users | Raspberry Pi rig + CGM + supported pump — most hardware-intensive |
| iAPS | iPhone | Newer fork of Loop with OpenAPS algorithm | Same as Loop |
What most Indian users actually run
AndroidAPS is the de facto standard for Indian DIY loopers. It works with the most accessible pumps (older Accu-Chek Combo, DanaR, Dana-i, Medtronic Veo / 715), runs on Android (the majority Indian phone), and integrates cleanly with FreeStyle Libre 2 (the most-available CGM here). Loop is excellent but the iPhone + Dexcom + RileyLink stack is rare in India.
The hardware stack for an Indian DIY loop
Three things have to talk to each other — pump, CGM, and phone. Compatibility is the hardest part of setting up.
Supported pumps (AAPS-compatible)
India-realistic options
- Accu-Chek Combo / Spirit — widely available, well-supported
- DanaR / Dana-i — Korean pump, growing Indian community
- Medtronic Veo, 715, 722, 754 — older models, second-hand market exists
- Omnipod DASH — works with Loop / AAPS via bridge
- Newer Medtronic 780G is not compatible — they locked it down
CGM (for closed-loop input)
Most Indians use Libre
- FreeStyle Libre 2 / 2 Plus — most common, works via xDrip+
- Libre 1 — needs a Bluetooth bridge (MiaoMiao, Bubble)
- Dexcom G6 / G7 — first-class support but import-only
- Glimp app data can pipe into xDrip+ → AAPS
Phone requirements
Not just any Android works
- Android 10+ (Android 13+ recommended)
- NFC required (for Libre scanning)
- Reliable Bluetooth — many cheap phones drop pump connection
- A dedicated phone (not your daily driver) is recommended by veterans
Bridges & accessories
The glue layer
- MiaoMiao 3 / Bubble Mini — Bluetooth transmitter for Libre 1
- RileyLink / Orange Link — for older Medtronic pumps + Loop
- EmaLink — Indian-community-favoured bridge
- USB OTG cables for pump configuration
We can import this for you
Sourcing pumps, bridges or sensors for your AID setup?
Building an AndroidAPS or Loop rig in India is hard — pumps, RileyLink, MiaoMiao, EmaLink bridges all come from different places. Tell us what you need and we will help you source it. We are part of the Indian DIY-AID community and ship pan-India.
Risks and the legal grey zone
You are the medical-device manufacturer
Legally, when you assemble a DIY closed-loop, you become the system’s manufacturer in the eyes of regulators. There’s no recall, no liability protection, no support line. If something goes wrong, the responsibility is yours. Many endocrinologists won’t formally prescribe DIY AID — though most are happy to support patients who run it.
🔴 Real risks to know
- Misconfigured insulin sensitivity factor → severe hypo
- Phone dies / Bluetooth drops at night → unlooped, runs on basal only
- Software updates can break the loop — read release notes first
- Sensor compression lows can trigger unwanted insulin reductions
- Insurance may not cover hospitalisations attributed to DIY systems
🟢 What the community does to mitigate
- Conservative starting settings (high target, low max-IOB)
- 2-week "open loop" observation before enabling closed loop
- Strict objectives ladder — features unlock only after successful days
- Daily review and tuning, especially in the first month
- Required reading: Setting up AAPS docs (3-6 hours)
The path to your first loop
Read everything before buying anything
Read the AndroidAPS documentation (androidaps.readthedocs.io) end-to-end. Join the AAPS Facebook group + the "CGM in the Cloud India" group. Ask questions before spending money on hardware.
Acquire the hardware
Most Indian loopers buy second-hand pumps (Accu-Chek Combo, DanaR) through the community classifieds. Libre 2 Plus is from your regular CGM source. Bridge if needed.
Build the APK and configure
AAPS is built by you (Android Studio) — never trust an APK from a stranger. The build process is documented; takes 2-4 hours the first time. Configure pump pairing, CGM source, initial profile.
Open loop for 2-3 weeks
AAPS shows you what it WOULD do but doesn’t actually deliver. You compare its recommendations to your decisions. Tune ratios. Pass the "Objective 1" tests built into the app.
Close the loop (carefully)
Enable low-glucose-suspend first. Then closed loop with conservative settings. Expect 4-6 weeks of tuning before time-in-range stabilises. Then enable SMB, UAM, dynamic ISF and the advanced features one at a time.
The Indian DIY-AID community
Where to find people
Active, helpful spaces
- CGM in the Cloud India (Facebook) — the central Indian community
- AndroidAPS Facebook group — global, very active
- r/diabetes_t1 on Reddit — DIY threads weekly
- Discord servers — real-time troubleshooting
- Local meetups in Mumbai, Bangalore, Delhi — search FB events
Endocrinologists who support DIY
A growing list
- Many Indian endos won’t prescribe DIY but will help patients running it
- Specialist Type 1 clinics are most likely to engage
- Ask in community groups for recommendations in your city
- Always disclose what you’re running — your endo can’t help without knowing
The CGM half of the loop
FreeStyle Libre 2 Plus is the most-used CGM in Indian DIY-AID setups — it pipes into xDrip+ and through to AndroidAPS cleanly. We ship genuine, sealed sensors pan-India with GST invoices.
The bottom line
Open-source AID is genuinely transformative for the right person — a technically comfortable T1 diabetic with a supportive endocrinologist, willing to invest 20-40 hours of setup time, and committed to ongoing maintenance. It’s not for everyone, and it’s not without risks. But for those who run it well, it delivers outcomes that match or beat commercial AID at a fraction of the cost — in a country where commercial AID is largely inaccessible.
Keep reading
See all guides →Guide
The complete guide to travelling with diabetes
Packing checklists, glucose targets, airport security tips and country-by-country emergency phrases for diabetics travelling from India.
Guide
Managing diabetes at the office
A working professional's playbook: desk-kit, meeting strategy, canteen choices, movement breaks and what to tell colleagues.
Guide
Sports & exercise with diabetes
Pre-game prep, glucose signatures of 6 different sports, fuelling strategy, hypo recovery and tips for parents of diabetic kids.
