Open source diabetes platform with AI-powered analysis at its core.
Because no one should manage diabetes alone.
Overview β’ Quick Start β’ Architecture β’ Roadmap β’ Development β’ Contributing β’ Support β’ Disclaimer
IMPORTANT SAFETY WARNING
This software is NOT designed to replace your endocrinologist or healthcare provider. GlycemicGPT provides AI-generated suggestions only and should be used as a supplementary tool alongside professional medical care.
ALPHA SOFTWARE -- This project is under active development. It is functional and in daily use by the developer, but has not been broadly tested. Use at your own risk and always consult your healthcare provider.
DATA HANDLING -- READ BEFORE CONFIGURING AN AI PROVIDER
GlycemicGPT is BYOAI. You choose the AI provider, and that choice determines where your health data is processed:
- Local AI providers (running on your own infrastructure -- Ollama, vLLM, llama.cpp, or any other model on hardware you control) -- your glucose, insulin, and pump data never leave your network.
- Cloud AI providers (any AI service that processes requests on third-party servers, including hosted APIs, subscription products, and AI router/gateway services that forward traffic to upstream cloud models) -- your glucose, insulin, pump, and therapy data are transmitted to that provider for inference, subject to their data-handling policy.
The GlycemicGPT platform itself does not route AI traffic through GlycemicGPT-operated servers; requests go directly from your deployment to your configured provider. The decision about whether health data leaves your network is entirely the user's, made when configuring a provider. See
docs/concepts/privacy.mdfor the full breakdown.
GlycemicGPT is an open source diabetes platform built around AI-powered analysis. It connects directly to your CGM and insulin pump for a full standalone experience β real-time monitoring, daily AI briefs, pattern detection, conversational AI chat, and caregiver alerting. Already running Nightscout? GlycemicGPT can also pull data from your existing instance and add AI analysis on top, no changes required to your current setup. See the Relationship to other tools page for the honest comparison.
Currently supported devices:
| Device | Type | Connection | Status |
|---|---|---|---|
| Dexcom G7 | CGM | Cloud API | Verified |
| Tandem t:slim X2 | Insulin Pump | BLE (direct) + Cloud API | Verified |
| Tandem Mobi | Insulin Pump | BLE (direct) + Cloud API | Protocol-compatible (see note) |
| Medtronic MiniMed 680G / 770G / 780G | Insulin Pump + CGM | BLE (direct) + Cloud (CareLink) | Unverified (see note) |
Tandem Mobi note: The Mobi uses the same BLE protocol, authentication, and data formats as the t:slim X2. Our Tandem plugin reads data from both models, but Mobi support has not been verified against physical hardware. Protocol compatibility does not guarantee correct operation on untested devices. Use with Mobi hardware is entirely at your own risk β see MEDICAL-DISCLAIMER.md for full liability terms. If you have a Mobi and can help validate data reading, please open an issue.
Medtronic note: MiniMed 700-series support is read-only and reaches your data two independent ways β pairing the pump directly to the phone over Bluetooth (mobile app, no account) and CareLink cloud sync (web). Both are built and shipping, but the data mapping β especially insulin-on-board and per-model sensor glucose β has not been verified against physical hardware, and SmartGuard auto-basal micro-bolus attribution is a known rough edge. Use at your own risk; see MEDICAL-DISCLAIMER.md. If you have a 680G / 770G / 780G, we'd genuinely value your feedback β please report how it went on issue #708.
Support for reading data from additional pumps and CGMs is planned. The mobile app uses a capability-based plugin architecture for community device data drivers β see CONTRIBUTING.md if you'd like to help add data reading support for your device. If your device isn't supported today, the recommended path is the upcoming Nightscout integration β once that lands, anything that flows into Nightscout flows into GlycemicGPT.
What it does:
- AI-powered daily briefs, meal analysis, and pattern recognition (BYOAI β bring your own AI key)
- Conversational AI chat backed by clinical diabetes knowledge base
- Configurable alerts with caregiver escalation and multi-channel delivery (Telegram, push, in-app)
- Real-time glucose monitoring with trend charts and Time in Range tracking
- BLE connectivity to Tandem and Medtronic 700-series pumps (basal, bolus, IoB, reservoir, battery)
- Nightscout API integration for existing ecosystem users (coming soon)
- Android phone app + Wear OS companion with watch face complications
- Self-hosted Docker stack with web dashboard and REST API
- Up to 10 years of personal diabetes data storage
- Printable reports for endocrinologist appointments
Key Principles:
- Suggestions only -- does not control medical devices
- BYOAI architecture -- bring your own AI provider; cloud-hosted providers receive your health data, local providers keep it on your network (see
docs/concepts/privacy.md) - Self-hosted platform -- the GlycemicGPT services run on your infrastructure (Docker or Kubernetes); whether your data leaves your network for AI inference depends on the AI provider you configure
- Safety-first -- pre-validation layer, emergency escalation, medical disclaimers
Looking for the friendly walkthrough? Read docs/get-started.md -- it covers the platform, the Android companion app, the optional watch face, AI provider configuration, and three deployment paths (laptop / home server with Cloudflare Tunnel / cloud VPS) end-to-end. The one-liner below is for developers who already know the stack.
git clone https://github.com/GlycemicGPT/GlycemicGPT.git
cd GlycemicGPT
cp .env.example .env
docker compose up --build -dServices will be available at:
- Web UI: http://localhost:3000
- API: http://localhost:8000
- API Docs: http://localhost:8000/docs
For deployments beyond local development, see:
- Install with Docker -- the full Docker reference + decision table for picking a compose example
- Install with Kubernetes -- Kustomize-based K8s walkthrough with prebuilt images
deploy/examples/public-cloud/-- VPS with Caddy + automatic HTTPSdeploy/examples/cloudflare-tunnel/-- home server with Cloudflare-managed access (no port forwarding required)
| Component | Technology |
|---|---|
| Frontend | Next.js 15, React 19, Tailwind CSS, shadcn/ui |
| Backend | FastAPI, Python 3.12 |
| Mobile | Kotlin, Jetpack Compose, BLE |
| Wear OS | Kotlin, Wear Compose, Watch Face |
| Plugin System | Community device data drivers via plugin architecture |
| AI Sidecar | TypeScript, Express, multi-provider proxy |
| Database | PostgreSQL 16, SQLAlchemy 2.0 |
| Cache | Redis 7 |
# Start the full stack
docker compose up --build -d
# Verify services
curl localhost:8000/health # API
curl localhost:3456/health # AI sidecar
# Web UI at http://localhost:3000See CONTRIBUTING.md for full development setup, branching strategy, and code style guidelines.
We welcome contributions! Please read our Contributing Guide before submitting a pull request.
- Bug Reports
- Feature Requests
- Mobile App Issues
- Discussions (questions, ideas, show & tell)
- Community Discord (real-time chat, questions, dev coordination)
GlycemicGPT is free and open source. Funding flows through Open Collective, with full public transaction history. For a breakdown of how project funds are used, see the What the fund covers section in GOVERNANCE.md. Stars on GitHub help other people discover the project.
Both are in-kind program participation, not financial sponsorship. See SPONSORS.md for the full record of our support relationships.
This project is licensed under the GNU General Public License v3.0 (GPL-3.0). See the LICENSE file for details.
See MEDICAL-DISCLAIMER.md for the complete medical and regulatory disclaimer.
USE AT YOUR OWN RISK
GlycemicGPT is experimental open-source software intended for educational and informational purposes only. It is NOT approved by the FDA or any regulatory body for medical use.
AI can and will make mistakes. Large language models (LLMs) are known to:
- Hallucinate - generate plausible-sounding but incorrect information
- Misinterpret data - draw incorrect conclusions from your glucose readings
- Provide outdated information - not reflect the latest medical guidelines
- Lack context - not understand your complete medical history
-
Do not replace professional medical care. Always consult with your endocrinologist, diabetes educator, or healthcare provider before making any changes to your diabetes management.
-
Verify all suggestions. Any insulin dosing, carb ratio, or correction factor suggestions from AI must be verified with your healthcare team before use.
-
This is not a medical device. GlycemicGPT does not control any medical devices and provides suggestions only.
-
Use extreme caution. Incorrect diabetes management can result in severe hypoglycemia, diabetic ketoacidosis (DKA), or other life-threatening conditions.
THE AUTHORS AND CONTRIBUTORS OF THIS SOFTWARE ARE NOT LIABLE FOR ANY DAMAGES, INJURIES, OR ADVERSE HEALTH OUTCOMES RESULTING FROM THE USE OF THIS SOFTWARE. BY USING GLYCEMICGPT, YOU ACKNOWLEDGE THAT:
- You are using this software at your own risk
- You will not rely solely on AI-generated suggestions for medical decisions
- You understand that AI can make errors and hallucinate
- You will maintain regular care with qualified healthcare professionals
- You accept full responsibility for any decisions made based on this software's output
If you experience a diabetes emergency, contact your healthcare provider or emergency services immediately. Do not rely on this software for emergency medical guidance.
Built with care for the diabetes community. Stay safe. π

