Inspiration

It's 10:30 PM at home, and someone you love is halfway across the world where their morning is just starting. Parents quietly wonder if their kid living abroad ate a real meal today. Kids living far away wonder if their father remembered his evening medicine. Nobody wants to interrupt the other with an awkward late-night call—and nobody wants their private thoughts, voice notes, and daily health routines uploaded entirely to the cloud.

Most AI apps are built for one person in isolation. Real life doesn't work like that.

Vega ("For You. For Yours.") was built to solve both sides of daily life in one calm iOS app: private, zero-latency on-device AI when it's just for you, and multimodal Cloud Gemini + real-time Firestore only when it brings your family closer.

"Private intelligence for your personal focus. Shared intelligence for the people you care about most."


The Dual-Lens Value Proposition

Dimension For You (On-Device AI) For Yours (Cloud AI & Real-Time Sync)
Core Engine Apple Foundation Models via Firebase AI Logic Cloud Gemini & Gemini Vision via Firebase AI Logic
Primary Purpose Private chats, voice dictation, schedule extraction Live meal nutrition scans, group concierge, family translation
Key Advantage Private, offline-capable, zero inference cost Multimodal vision, cross-timezone Firestore sync, live safety alerts
Privacy Boundary Stays strictly inside your personal session Shared only in explicit Family Group or 1-on-1 rooms
  • Why Hybrid AI Matters Here: Putting everything in the cloud feels invasive for personal health and journaling; putting everything on-device makes cross-timezone family care and multimodal meal vision impossible. Firebase AI Logic lets Vega combine both seamlessly—with transparent engine badges and live Firebase Remote Config routing control.

What it does

Vega brings personal productivity and cross-timezone family care together in a calm Pearl White, Sky Blue, and Pistachio Green native SwiftUI experience across three tabs:

1. Hybrid Personal Chat (Chat Tab)

  • Live Hybrid Mode Switcher: Toggle between Auto, On-Device, and Cloud routing directly from the header, with transparent engine badges showing exactly where each reply ran.
  • Natural Chat-to-Care Sync: Tell Vega in plain language—"Remind me to take Vitamin D at 9 PM"—and it extracts the medication name and time, scheduling an alarm straight into your Care tab with an instant confirmation toast.
  • Hands-Free On-Device Voice Input: Dictate thoughts and reminders naturally using Apple's Speech framework.

2. Unmissable Care Alarms & 3-Strike Escalation (Care Tab)

  • Daily Adherence Ring: Track completed versus remaining daily doses at a glance.
  • Global Full-Screen Looping Alarm: Standard phone notifications get swiped away and forgotten. Vega triggers a full-screen overlay over any active tab with a synthesized looping PCM audio alert (AVFoundation) so critical doses don't slip through the cracks.
  • 3-Strike Family Safety Net: If a dose alarm is dismissed 3 times in a row (ALARM 3 OF 3), Vega dispatches an urgent event to urgent_alarms in Cloud Firestore—ringing a live check-in overlay on a trusted family member's iPhone with one-tap Call and SMS buttons.

3. Multi-Timezone Family Hub (Family Tab)

  • Directional Relationship Labels & Strict Room Isolation: Connect with real family via email or phone invites and label who each person is to you (Mother, Father, Sister, Partner, Friend) without forcing a single global role. Family Group Chats, Private 1-on-1 rooms, and personal AI sessions never mix.
  • Live Abroad Timezone Strip: See each loved one's real-time local clock, day/night indicator, and daily meal progress ring before you text or call.
  • Strict Live-Camera Meal Check-Ins: An optional camera-only verification mode disables gallery uploads so families can genuinely check in on healthy meals abroad—analyzed by Cloud Gemini Vision into structured calories, protein, carbs, healthy fats, key vitamins, and tailored nutrition tips.
  • One-Tap Language Bridge: Translate family messages instantly across English, Gujarati (ગુજરાતી), and Hindi (हिंदी) so parents and grandparents never feel left out of fast-moving group chats.
  • Reached Safely, Weekly Digests & Birthday Specials: Send one-tap "Reached Safely" reassurance pulses, read AI-synthesized Weekly Family Digests covering shared meal balance and highlights, and generate automatic Birthday Special photo collages with Gemini-crafted celebration ideas.

How we built it

Vega is built natively in Swift 5 & SwiftUI and integrates five Firebase products with Apple Foundation Models:

+-------------------------------------------------------------------------+
|                          VEGA iOS APP (SwiftUI)                         |
+-----------------------------------+-------------------------------------+
|        FOR YOU (On-Device)        |         FOR YOURS (Cloud)           |
|  - Apple Foundation Models        |  - Firebase AI Logic (Gemini)       |
|  - Local Chat-to-Care NLP Parser  |  - Cloud Gemini Vision (Meal Scan)  |
|  - On-Device Speech Recognition   |  - Firebase Remote Config Routing   |
|  - PCM Looping Alarm Synthesizer  |  - Cloud Firestore Real-Time Sync   |
|  - Isolated Personal Sessions     |  - Firebase Auth & App Check        |
+-----------------------------------+-------------------------------------+
  • Firebase AI Logic (FirebaseAI) + Apple Foundation Models: Routes personal queries locally via Apple's FoundationModels framework (SystemLanguageModel) when available, and seamlessly falls back to Cloud Gemini for unsupported devices or multimodal cloud requests.
  • Firebase Remote Config: Fetches a live vega_routing_policy parameter (auto, prefer_on_device, prefer_in_cloud) at runtime, allowing hybrid inference routing to adapt remotely without waiting on App Store releases.
  • Cloud Gemini Multimodal & Group Intelligence: Handles structured JSON meal nutrition analysis, isolated @Vega family room assistance, multilingual translation, Weekly Family Digests, and Birthday Special curation.
  • Cloud Firestore, Firebase Authentication & Firebase App Check: Firestore synchronizes family rooms, meal check-in logs, and 3rd-miss urgent alarm escalations in real time; Firebase Auth powers Google and Phone sign-in; and Firebase App Check protects runtime AI calls (with debug tokens configured for local testing).

Challenges we ran into

  • Designing Transparent Hybrid Routing for Non-Technical Families: Exposing live On-Device vs. Cloud routing and Firebase Remote Config overrides clearly for judges while keeping the experience warm and effortless for parents and elders.
  • Making Care Alarms Truly Unmissable in SwiftUI: Coordinating a global overlay with synthesized looping PCM audio across tabs and ensuring the 3rd-miss Firestore escalation triggers reliably without duplicate alerts.
  • Enforcing Hard Privacy Boundaries: Architecting Firestore collections and local state so personal on-device AI conversations remain completely sealed off from Family Group Chats and Private 1-on-1 rooms.

Accomplishments that we're proud of

  • Shipping a complete, end-to-end native iOS app—not just a tech demo—backed by a clean, public Apache 2.0 codebase.
  • Turning five Firebase services plus Apple Foundation Models into deeply human daily rituals that families actually use across timezones.
  • Making AI accessible across generations with one-tap English, Gujarati, and Hindi translation, camera-verified meal check-ins, and real-time medication escalation.

What we learned

  • Hybrid AI is a trust architecture, not just a latency trick: Separating private on-device thought from shared cloud family moments gives users an intuitive privacy mental model they immediately trust.
  • Remote Config makes hybrid AI production-ready: Dynamically tuning auto, prefer_on_device, and prefer_in_cloud policies lets mobile teams adapt to device availability and network conditions instantly.

What's next for Vega

Families are messy, multi-generational, and span every device and timezone. Here is our roadmap to make Vega a real daily companion for every member of the household:

  1. True Cross-Platform Family Circles (Android + Web + Apple Watch):
    • Real families rarely all use the same phone. We will bring Vega to Android (Gemini Nano via Firebase AI Logic) and Web (Chrome Built-in AI) so parents on Android, kids on iPhone, and grandparents on a tablet share one unified Family Hub.
    • Add Apple Watch & iOS Live Activities for subtle wrist-tap medication reminders, Lock Screen adherence rings, and one-tap Reached Safely pulses right from the wrist.
  2. Elder-First "Speak Like Home" Voice Mode:
    • Grandparents shouldn't have to squint at small keyboards or type in English. Using conversational voice AI + on-device speech, elders will be able to hold one large button, speak naturally in Gujarati, Hindi, Marathi, Tamil, or Punjabi, and hear family updates or medication reminders read aloud in their own language.
  3. Prescription & Lab Report Explainer (Private Hybrid Health Vault):
    • Snap a photo of a handwritten prescription, medicine strip, or blood test report. Cloud Gemini Vision extracts dosage schedules, flags potential timing conflicts, explains complex medical terms in plain native language, and creates Care Alarms in one tap—while personal medical records remain encrypted and strictly private.
  4. "Mom's Kitchen" Abroad Cooking Coach:
    • For students and young professionals living far from home, parents can save real family recipes with voice notes. Point the camera at what's actually in an abroad apartment fridge, and Cloud Gemini Vision adapts Mom's recipe using local grocery substitutes and step-by-step timers.
  5. Non-Intrusive Safe Arrival & "Best Time to Call" Smart Windows:
    • Replace stressful 24/7 live-GPS tracking with automatic, respectful Safe Arrival check-in cards when someone lands at an airport or reaches home late at night.
    • Pair the Live Timezone Strip with smart "Best Time to Call" overlap suggestions that detect when family members across IST, PST, and EST are all awake and free.
  6. Everyday Household Sync (Groceries, Festivals & Shared Errands):
    • Add a calm shared family board for grocery lists (auto-translated across languages), upcoming festivals, anniversaries, and doctor appointments—so nobody has to dig through 200 buried chat messages to remember what Mom asked to pick up on the way home.
  7. Offline Emergency Care Card (ICE) & Gentle Wellness Check-Ins:
    • Store a zero-internet, on-device In Case of Emergency card (blood group, allergies, active medications, emergency contacts) alongside opt-in gentle daily wellness nudges for elders living alone that alert trusted family if a morning routine goes completely silent.
  8. Private Family Memory Vault & Year-in-Review Stories:
    • Automatically organize shared meal check-ins, birthday snapshots, and voice notes into a quiet, ad-free family archive—compiling warm monthly and annual family keepsake stories instead of letting memories get lost in everyday chat noise.

Built With

Share this project:

Updates

Submission history