MVP LifeLine is a multilingual, offline-first AI platform empowering youth emotionally, financially, and professionally—anytime, anywhere. Over 1.3 billion youth globally face barriers to career opportunities and mental well-being, especially in underserved and remote regions. MVP LifeLine breaks these barriers by combining AI, offline access, multilingual support, and a holistic tool ecosystem.

Features

  • Dual Mode AI with Career Coach and Emotional Companion powered by Perplexity Sonar API
  • Multilingual Support across 10+ languages including English, French, Arabic, Spanish, Hindi, and regional languages
  • Offline-First Design with SMS/USSD integration for low-connectivity regions
  • Holistic Tool Ecosystem covering career, wellness, finance, and productivity
  • SmartQ Access for context-aware, emotionally intelligent AI responses
  • Digital Hustle Hub with AI gig discovery and freelancing tools
  • Wellness Zone with guided meditations and mental reset prompts
  • Finance Zone with budget tracking and youth-friendly money tips
  • Productivity Zone with AI Kanban board and habit tracking

Prerequisites

  • Flutter SDK and Dart
  • Firebase project setup
  • Twilio account for SMS/USSD integration
  • Perplexity API key (Sonar)
  • OpenAI API key (for augmentation)

Installation

# Clone the repository
git clone https://github.com/JohnUmoh/asgard.git
cd asgard

# Install Flutter dependencies
flutter pub get

# Configure Firebase
flutterfire configure

# Set up environment variables
cp .env.example .env

Configuration

Create .env file:
PERPLEXITY_API_KEY=your_sonar_api_key
OPENAI_API_KEY=your_openai_api_key
FIREBASE_PROJECT_ID=your_firebase_project_id
TWILIO_ACCOUNT_SID=your_twilio_sid
TWILIO_AUTH_TOKEN=your_twilio_token

Usage

  1. Setup Firebase:
    flutterfire configure
    
  2. Run the Application:
    flutter run
    
  3. Access Features:
    • Switch between Career Coach and Emotional Companion modes
    • Use SmartQ for AI-powered assistance in multiple languages
    • Access offline features via SMS/USSD when connectivity is limited
    • Explore career tools, wellness features, and productivity boosters

Code Explanation

  • Frontend: Flutter cross-platform application with responsive design for mobile and web
  • Backend: Firebase for authentication, data storage, and real-time synchronization
  • AI Integration: Perplexity Sonar API for dual-mode AI interactions (Career Coach & Emotional Companion)
  • Offline Support: Twilio integration for SMS/USSD communication in low-connectivity areas
  • Multilingual: Sonar API handling 10+ languages with context-aware responses
  • Data Sync: Offline data capture with automatic re-sync when connectivity returns
  • Personalization: AI adapts to user’s language, literacy level, mood history, and preferences