← Back to Architecture

Business Architecture

High-level business capabilities, strategic context, and value streams of the Wellness Digital Twin

Business Capabilities Map

Core business capabilities organized by functional domain, showing the complete scope of wellness services

graph TB
    subgraph "Wellness Digital Twin - Business Capabilities"
        subgraph "User Engagement Capabilities"
            UE1[Conversational AI<br/>Chat Interface]
            UE2[Personalized<br/>Recommendations]
            UE3[Progress<br/>Tracking]
            UE4[Goal<br/>Management]
            UE5[Habit<br/>Formation]
        end

        subgraph "Wellness Domain Capabilities"
            WD1[Nutrition<br/>Management]
            WD2[Exercise<br/>Planning]
            WD3[Sleep<br/>Optimization]
            WD4[Stress<br/>Management]
            WD5[Hydration<br/>Tracking]
            WD6[Mental<br/>Wellness]
        end

        subgraph "Intelligence Capabilities"
            IC1[Energy<br/>Prediction]
            IC2[Pattern<br/>Recognition]
            IC3[Behavioral<br/>Insights]
            IC4[Meal Timing<br/>Optimization]
            IC5[Proactive<br/>Recommendations]
        end

        subgraph "Integration Capabilities"
            INT1[Wearable Device<br/>Integration]
            INT2[Calendar<br/>Synchronization]
            INT3[Health Data<br/>Aggregation]
            INT4[Third-Party<br/>APIs]
        end

        subgraph "Data & Memory Capabilities"
            DM1[Conversation<br/>Memory]
            DM2[User<br/>Preferences]
            DM3[Knowledge<br/>Graph]
            DM4[Historical<br/>Analytics]
        end

        subgraph "Platform Capabilities"
            PC1[Authentication &<br/>Security]
            PC2[Multi-Channel<br/>Access]
            PC3[Real-Time<br/>Streaming]
            PC4[Scalable<br/>Infrastructure]
        end
    end

    style UE1 fill:#e3f2fd
    style UE2 fill:#e3f2fd
    style UE3 fill:#e3f2fd
    style UE4 fill:#e3f2fd
    style UE5 fill:#e3f2fd

    style WD1 fill:#f3e5f5
    style WD2 fill:#f3e5f5
    style WD3 fill:#f3e5f5
    style WD4 fill:#f3e5f5
    style WD5 fill:#f3e5f5
    style WD6 fill:#f3e5f5

    style IC1 fill:#e8f5e9
    style IC2 fill:#e8f5e9
    style IC3 fill:#e8f5e9
    style IC4 fill:#e8f5e9
    style IC5 fill:#e8f5e9

    style INT1 fill:#fff3e0
    style INT2 fill:#fff3e0
    style INT3 fill:#fff3e0
    style INT4 fill:#fff3e0

    style DM1 fill:#fce4ec
    style DM2 fill:#fce4ec
    style DM3 fill:#fce4ec
    style DM4 fill:#fce4ec

    style PC1 fill:#e0f2f1
    style PC2 fill:#e0f2f1
    style PC3 fill:#e0f2f1
    style PC4 fill:#e0f2f1

Capabilities Heat Map

Maturity and investment level across business capabilities

CapabilityMaturityStrategic ValueInvestment Level
Conversational AI Chat
Multi-Agent Orchestration
3-Tier Memory System
Biometric Integration (Oura)
Glucose Monitoring (Dexcom)
Energy Prediction
Pattern Recognition
Meal Planning & Nutrition
Exercise Tracking & Planning
Sleep Optimization
Mental Health & Anxiety
High/Mature
Medium/Developing
Low/Emerging
Critical/Maximum

Business Context Diagram

External actors, systems, and their interactions with the Wellness Digital Twin

graph TB
    subgraph "External Actors"
        User[👤 End User<br/>Wellness Seeker]
        Admin[👔 System Admin<br/>Platform Manager]
        Clinician[⚕️ Healthcare Provider<br/>Optional Integration]
    end

    subgraph "Wellness Digital Twin System"
        WDT[🌸 S.A.K.U.R.A.<br/>Wellness Digital Twin]
    end

    subgraph "External Systems & Services"
        Oura[⌚ Oura Ring API<br/>Biometric Data]
        Dexcom[💉 Dexcom API<br/>Glucose Monitoring]
        GCal[📅 Google Calendar<br/>Schedule Management]
        Weather[🌤️ Weather API<br/>Environmental Data]
        Gemini[🧠 Google Gemini<br/>AI/LLM Service]
        GCP[☁️ Google Cloud<br/>Infrastructure]
    end

    User -->|Chat, Track Data,<br/>Set Goals| WDT
    WDT -->|Recommendations,<br/>Insights, Guidance| User

    Admin -->|Configure, Monitor,<br/>Manage| WDT
    WDT -->|System Status,<br/>Analytics| Admin

    Clinician -.->|Review Data<br/>Optional| WDT
    WDT -.->|Health Reports<br/>Optional| Clinician

    WDT <-->|Sync Biometric<br/>Data| Oura
    WDT <-->|Sync Glucose<br/>Data| Dexcom
    WDT <-->|Event Sync,<br/>Optimization| GCal
    WDT -->|Fetch Weather<br/>Conditions| Weather
    WDT <-->|AI Inference,<br/>Responses| Gemini
    WDT <-->|Hosting,<br/>Storage| GCP

    style User fill:#e3f2fd
    style Admin fill:#fff3e0
    style Clinician fill:#f3e5f5
    style WDT fill:#ffebee
    style Oura fill:#e8f5e9
    style Dexcom fill:#e8f5e9
    style GCal fill:#e8f5e9
    style Weather fill:#e8f5e9
    style Gemini fill:#e1f5fe
    style GCP fill:#e1f5fe

Key Value Streams

End-to-end value delivery across major user journeys

🎯 Goal Achievement Stream

  1. 1.User sets wellness goal (weight loss, fitness, sleep quality)
  2. 2.System learns preferences and creates personalized plan
  3. 3.AI agents provide daily guidance and recommendations
  4. 4.Progress tracked via biometric devices and user input
  5. 5.Intelligence system identifies patterns and optimizes approach
  6. 6.User achieves goal with continuous AI support

💬 Conversational Wellness Stream

  1. 1.User asks wellness question via chat
  2. 2.Domain detector classifies query domain(s)
  3. 3.Intelligent router selects appropriate agent(s)
  4. 4.Agents retrieve context from memory and biometric data
  5. 5.Gemini AI generates personalized response
  6. 6.Interaction stored in memory for continuous learning

📊 Data-Driven Insights Stream

  1. 1.Wearable devices continuously sync biometric data
  2. 2.Data normalized and stored in Turso database
  3. 3.Pattern engine analyzes trends and correlations
  4. 4.Intelligence predictors generate forecasts
  5. 5.Proactive insights delivered to user
  6. 6.User acts on insights, creating feedback loop

🔌 Integration Onboarding Stream

  1. 1.User initiates device integration (Oura, Dexcom)
  2. 2.OAuth flow authenticates with external service
  3. 3.Plugin system loads and configures integration
  4. 4.Initial data sync pulls historical metrics
  5. 5.Agents gain access to real-time biometric data
  6. 6.Enhanced personalization based on device data