Skip to content

Latest commit

 

History

152 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jambat

Jambat is an AI-powered early childhood learning app designed to reduce overstimulating digital consumption and restore meaningful parent–child interaction.

Young children worldwide are increasingly exposed to fast-paced, attention-grabbing digital media—often during mealtimes or quiet moments when parents are tired or busy. While this calms children temporarily, it introduces several long-term risks:

  • Overstimulated Content – Fast visuals and audio can negatively affect attention span, emotional regulation, and early cognitive development.
  • Passive Learning – Video consumption replaces interactive, guided learning crucial in early childhood.
  • Cultural Disconnect – Most children’s content is Western-centric and poorly reflects local language, culture, or environment.
  • Technoference – Device use unintentionally reduces parent–child interaction and parental awareness of learning progress.

Jambat addresses these issues by combining AI-generated, culturally relevant stories, lightweight interactive activities, and parent-focused feedback, promoting healthier digital habits and learning.

Jambat supports SDG 3.4 by addressing early childhood risk factors associated with poor mental well-being, including excessive passive screen consumption, overstimulation, and reduced parent–child interaction.

Specifically:

  • Prevention over intervention - Jambat reduces reliance on fast-paced, overstimulating video content, which is linked to attention and emotional regulation issues in young children.

  • Healthy digital habits - Short, guided sessions (~30 seconds) encourage intentional screen use rather than prolonged exposure.

  • Parent–child bonding - AI-generated summaries prompt real-world conversations and shared activities, strengthening emotional connection.

  • Mental well-being by design - Content pacing, interaction simplicity, and reduced sensory load are intentional design choices aligned with early childhood mental health principles.

Core Idea & Differentiation

Unlike traditional children’s video apps, Jambat is designed around a learning loop:

Parent input → AI-generated Content → Child Interaction → AI-summarized Insight → Parent Action

Key differentiators:

  • AI personalization across text, images, narration, and activities
  • Developmentally appropriate pacing and reduced sensory overload
  • Parent-readable summaries that encourage real-world interaction
  • AI as a support tool for parents, not a replacement

Tech Stack Overview

Layer Technology Purpose Why This Choice
Frontend (Parent & Child) Flutter Cross-platform mobile app Single codebase for rapid iteration and demo readiness
State Management MVVM (ViewModel pattern) Separates UI from business logic Improves maintainability and reduces UI logic coupling
Authentication Firebase Authentication Parent account login and access control Secure, fast to integrate for MVP
Database Cloud Firestore Stores preferences, session metadata, and results Schema-flexible and suitable for evolving AI-driven data
Storage Firebase Cloud Storage Stores generated images and audio narration Optimized for large media assets
Analytics Firebase Analytics Tracks interaction and engagement events Lightweight event tracking with minimal setup
AI (Text) Gemini 2.5 Flash Story and activity text generation Strong natural language generation and prompt control
AI (Image) Imagen 4 Fast Generates story illustrations Enables contextual visual storytelling
AI (Audio) Gemini 2.5 Flash TTS Text-to-speech narration Provides multimodal learning without manual recording
Orchestration Client-side logic Coordinates AI generation and content delivery Faster MVP development, acknowledged security trade-off

System Architecture

architecture

Jambat follows a client-orchestrated, AI-driven architecture, prioritizing an end-to-end functional learning loop over production hardening.

Implementation Details

Component What It Does Why It Matters
Parent Onboarding (Chat) Collects parent preferences via natural language and converts them into structured attributes Lowers friction for parents while ensuring consistent, machine-readable inputs for AI generation
Preference & Context Store Stores child profile, preferences, and situational context (e.g. location, trip plan) Enables dynamic personalization without repeated onboarding
AI Content Generator Generates stories, vocabulary activities, and visuals based on child context and surroundings Allows hyper-personalized, real-world-relatable learning content
Child Interaction Module Presents stories and active learning activities (e.g. vocabulary interaction) Shifts consumption from passive video watching to active engagement
Interaction Tracing Records child interaction signals (completion, attempts, engagement duration) Converts raw interaction into observable learning behavior
Behavior Analysis Layer Interprets interaction traces into simple indicators (e.g. engagement quality) Transforms raw data into insights parents can act on
Parent Dashboard Displays summaries of child activity and learning patterns Closes the loop by helping parents guide development intentionally

AI Orchestration Flow

graph TD
    Start(( )) --> P1_Start

    subgraph "1. Registration"
        P1_Start[Parent enters child age] --> P1_Store[Store age in **Firestore**]
    end

    P1_Store --> P2_Start

    subgraph "2. Preference Extraction"
        P2_Start[AI chatbot interacts with parent] --> P2_Extract[AI extracts preferences]
        P2_Extract --> P2_Store[Store preferences in **Firestore**]
    end

    P2_Store --> P3_Start

    subgraph "3. Outline Generation"
        P3_Start[AI fetches preferences] --> P3_Gen[AI generates content outline]
    end

    P3_Gen --> P4_Start

    subgraph "4. Story Generation"
        P4_Start[AI fetches child age] --> P4_Combine[AI combines outline + age]
        P4_Combine --> P4_Gen[AI generates content story]
    end

    P4_Gen --> Fork_Start

    subgraph "5. Parallel Processing"
        Fork_Start{ } --> GenAudio[Generate audio]
        Fork_Start --> GenImage[Generate image]
        Fork_Start --> ExtVocab[Extract vocabulary from story]
        
        GenAudio --> Join_End
        GenImage --> Join_End
        ExtVocab --> Join_End
        Join_End{ }
    end

    Join_End --> P6_Start

    subgraph "6. Storage"
        P6_Start[Store text and vocab in **Firestore**] --> P6_Cloud[Store audio and image in **Cloud Storage**]
    end

    P6_Cloud --> P7_Start

    subgraph "7. Retrieval"
        P7_Start[User requests content] --> P7_Ret[Retrieve data from Firestore and Storage]
    end

    P7_Ret --> Stop(( ))

    style P1_Start fill:none
    style Stop fill:none
Loading

Challenges Faced

  1. Culturally Relatable Content Generation - AI-generated stories initially felt generic and Western-centric. This required iterative prompt engineering and constraint tuning (tone, pacing, local context cues) to ensure content remained culturally familiar while avoiding overstimulation—directly aligned with SDG 3.4’s mental well-being focus.

  2. UI Simplicity vs Engagement - Complex interactions (e.g. drag-and-drop) caused frustration and inconsistent behavior in young users. We intentionally simplified activities to short, low-friction “Trace + Confirm” sessions (~30 seconds) to support focus, reduce cognitive load, and encourage positive engagement rather than stimulation.

  3. Client-Side AI Security Trade-off - To meet hackathon time constraints, AI generation and storage orchestration were implemented client-side. This reduced development overhead but introduced security risks (exposed logic, foreground-only execution), which are acknowledged and addressed in the roadmap.

  4. Foreground-Only AI Execution - Because AI logic runs on-device, content generation can only occur while the app is active. This limits background pre-generation and scalability but ensured functional reliability for MVP validation.

Future Roadmap & Scalability

  1. Server-Side AI Processing - Migrate AI orchestration from client to backend services (e.g. Cloud Functions / server APIs) to enable background content generation, improved security, and higher throughput as user volume increases.

  2. Scalable Content Generation Pipeline - Introduce pre-generation and caching of AI content based on common preference clusters, reducing latency and API load while maintaining personalization.

  3. Localization & Cultural Scaling - Leverage AI prompt parameterization and remote configuration to dynamically adapt language, cultural references, and content tone across regions without redeploying the app.

  4. Advanced Analytics & Insight Aggregatio - Aggregate interaction metrics to generate higher-level parenting insights (e.g. engagement trends, learning patterns) while preserving coarse-grained indicators to avoid over-diagnosis.

  5. Cross-Platform Expansion - Utilize Flutter’s multi-platform capability to expand to iOS and web with minimal architectural changes, supporting broader reach without duplicating logic.

About

An attempt for KitaHack 2026

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages