Show HN: GlycemicGPT – Open-source AI-powered diabetes management

Hacker News Top Tools

Summary

GlycemicGPT is an open-source diabetes management platform with AI-powered analysis to help patients manage their condition.

I&#x27;m a Type 1 diabetic and software engineer. Last year I went months between endocrinologists with no clinician reviewing my data. I&#x27;m an engineer, so I built the tool I needed — and now I&#x27;m open sourcing it. GlycemicGPT is a self-hosted platform that connects continuous glucose monitors, insulin pumps, and existing Nightscout instances to an AI analysis layer running on your own infrastructure. Data sources:<p>Dexcom G7 (cloud API) Tandem t:slim X2 and Mobi pumps (direct BLE) Nightscout (point it at your existing instance and you&#x27;re running in minutes)<p>What the AI layer does:<p>Daily briefs summarizing overnight and 24-hour patterns Meal response analysis Conversational chat with RAG-backed clinical knowledge Predictive alerting with configurable thresholds and caregiver escalation<p>Important: this is monitoring and analysis only. GlycemicGPT does not deliver insulin, does not control your pump, and is not a closed-loop system. It reads your data and gives you insight on top of it. Your clinical decisions stay between you and your care team. Architecture:<p>Self-hosted via Docker or K8S — the GlycemicGPT stack runs entirely on your hardware BYOAI — bring your own AI provider. Use Ollama for fully local operation (no data leaves your hardware), or point it at Claude, OpenAI, or any OpenAI-compatible endpoint if you prefer a hosted model. Data flows directly from your instance to the provider you choose; nothing is routed through any centralized service operated by the project. GPL-3.0, no subscriptions, no vendor lock-in<p>Stack:<p>Backend API: FastAPI, Python 3.12, PostgreSQL 16, Redis 7 Web Dashboard: Next.js 15, React 19, Tailwind CSS, shadcn&#x2F;ui AI Sidecar: TypeScript, Express, multi-provider proxy Android App: Kotlin, Jetpack Compose, BLE Wear OS: Kotlin, Wear Compose, Watch Face Push API Plugin SDK: Kotlin interfaces, capability-based, sandboxed<p>Looking for contributors — especially folks with BLE&#x2F;Android experience or anyone in the diabetes tech space. Plugin SDK is documented if you want to add support for new devices. GitHub: <a href="https:&#x2F;&#x2F;github.com&#x2F;GlycemicGPT&#x2F;GlycemicGPT" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;GlycemicGPT&#x2F;GlycemicGPT</a>
Original Article
View Cached Full Text

Cached at: 05/15/26, 09:30 AM

GlycemicGPT/GlycemicGPT

Source: https://github.com/GlycemicGPT/GlycemicGPT

GlycemicGPT Logo

GlycemicGPT

Open source diabetes platform with AI-powered analysis at its core.
Because no one should manage diabetes alone.

CI Container Build Android Build Security Suite

Dev Build Stable Release License

Join GlycemicGPT Discord server Issues Pull Requests Renovate CodeRabbit Reviews

OverviewQuick StartArchitectureRoadmapDevelopmentContributingSupportDisclaimer


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.


Overview

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:

DeviceTypeConnectionStatus
Dexcom G7CGMCloud APIVerified
Tandem t:slim X2Insulin PumpBLE (direct) + Cloud APIVerified
Tandem MobiInsulin PumpBLE (direct) + Cloud APIProtocol-compatible (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.

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 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 (Claude, OpenAI, Ollama, or any OpenAI-compatible endpoint)
  • Self-hosted – your data stays on your infrastructure (Docker or Kubernetes)
  • Safety-first – pre-validation layer, emergency escalation, medical disclaimers

Quick Start

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 -d

Services 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:

Architecture

ComponentTechnology
FrontendNext.js 15, React 19, Tailwind CSS, shadcn/ui
BackendFastAPI, Python 3.12
MobileKotlin, Jetpack Compose, BLE
Wear OSKotlin, Wear Compose, Watch Face
Plugin SystemCommunity device data drivers via plugin architecture
AI SidecarTypeScript, Express, multi-provider proxy
DatabasePostgreSQL 16, SQLAlchemy 2.0
CacheRedis 7

Development

# 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:3000

See CONTRIBUTING.md for full development setup, branching strategy, and code style guidelines.

Contributing

We welcome contributions! Please read our Contributing Guide before submitting a pull request.

Support the Project

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.

Contribute to GlycemicGPT on Open Collective    Star GlycemicGPT on GitHub

License

This project is licensed under the GNU General Public License v3.0 (GPL-3.0). See the LICENSE file for details.


Disclaimer

See MEDICAL-DISCLAIMER.md for the complete medical and regulatory disclaimer.

USE AT YOUR OWN RISK

This Software is Not Medical Advice

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 Limitations

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

Critical Warnings

  1. Do not replace professional medical care. Always consult with your endocrinologist, diabetes educator, or healthcare provider before making any changes to your diabetes management.

  2. Verify all suggestions. Any insulin dosing, carb ratio, or correction factor suggestions from AI must be verified with your healthcare team before use.

  3. This is not a medical device. GlycemicGPT does not control any medical devices and provides suggestions only.

  4. Use extreme caution. Incorrect diabetes management can result in severe hypoglycemia, diabetic ketoacidosis (DKA), or other life-threatening conditions.

Limitation of Liability

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. 💙

Similar Articles

Medical research with GPT-5

OpenAI Blog

OpenAI announces the application of GPT-5 to medical research, highlighting the model's capabilities in healthcare and scientific discovery domains.

OpenAI for Healthcare

OpenAI Blog

OpenAI launches OpenAI for Healthcare, a suite of enterprise products including ChatGPT for Healthcare and API solutions designed to support HIPAA-compliant AI adoption across healthcare organizations. The offering features healthcare-optimized GPT-5 models, evidence-based retrieval with citations, policy integration, and workflow automation tools already deployed at major institutions like Stanford Medicine and UCSF.

How Amgen uses GPT-5

OpenAI Blog

Amgen, a major pharmaceutical company, shares how it leverages GPT-5 in its operations. The case study highlights enterprise adoption of advanced AI models in the biotech/pharma sector.

Introducing ChatGPT Health

OpenAI Blog

OpenAI introduces ChatGPT Health, a dedicated experience with enhanced privacy and security features that allows users to securely connect medical records and wellness apps to receive more personalized health guidance. The feature addresses the common use case of health queries on ChatGPT (230+ million weekly users) while maintaining strict data isolation and declining to use health conversations for model training.

Most of reddit badmouths AI, but my experience in medicine:

Reddit r/singularity

A medical professional shares their positive experience using ChatGPT to assist in diagnostic pathology, demonstrating the AI's ability to provide accurate and detailed analysis comparable to a dermatopathologist.