GluCoPilot
Tagline
Your diabetes data, turned into real-time insights and simple next steps, without giving up your privacy.
What it does
- Pulls in diabetes-relevant data (CGM, insulin, meals, activity) via HealthKit + Dexcom.
- Sends data to a lightweight stateless API with a single job: hit
/ai-insightsand return recommendations.
Challenges
- Aligning noisy, incomplete data from multiple sources.
- Integrating existing functions into a new app (HealthKit and Dexcom)
- Designing for HIPAA, ensuring no data is collected about users
What we learned
- Data privacy is absolutely harder to do than I thought
- Scaling this prototype might prove difficult
- Having no Database means your backend is basically a large calculator
What’s next
- More data streams, easier logging
- More accurate insights using ML rather than offloading everything to a wrapper
- Maybe fix some UI bugs
One Month Timeline
- Week 1: Create a working backend with Health models and a local SQLite DB
- Week 2: Implement a React Native frontend that allowed Dexcom -> /ai-insights endpoint
- Week 3: Drop the entirety of the backend db and host a simple GPT wrapper on Heroku, drop Android to focus on iOS Swift development
- Week 4: Finishing touches with HealthKit integration and iOS 26 support.
How I built it
- Backend: Python FastAPI service, fully stateless. The only endpoint is
/ai-insights. - Auth: Apple Sign-In for secure, lightweight login to the API for rate-limited usage.
- Data: Ingested via Apple Health or with manual logging; normalized on-device in a single payload.
- UX: iOS client in Swift; proof-of-concept screens for insights, alerts, and exports.
Other Info
- I needed an excuse to build out an iOS app like this; so, with the enticement of having a free OpenAI GPT API to use, I jumped on the opportunity to build something that would be useful for myself.
- I don't trust the engine completely, so I will not be releasing this to the App Store and caution you if you attempt to build the app yourself (If you are reading this more than about one month from submission then the public API on Heroku will probably be taken down).
Built With
- apple
- apple-health
- cgm
- dexcom
- fastapi
- healthkit
- heroku
- ios
- ml
- myfitnesspal
- pydexcom
- python
- swift

Log in or sign up for Devpost to join the conversation.