Back to Projects
CalmScribe: On-Device AI Journaling Application
Coding
2 min read
FlutterGemma 3LiteRT-LMiOSOn-Device AI

CalmScribe: On-Device AI Journaling Application

Project Overview

CalmScribe: On-Device AI Journaling Application

CalmScribe is a privacy-first mobile note-taking and journaling application that processes natural language entirely offline. By leveraging edge computing and local Large Language Model (LLM) inference, the application provides users with immediate, intelligent emotional analysis of their journal entries without ever sending personal data over a network.

Technical Architecture

  • Core Stack: Flutter, Dart, Swift Package Manager (SPM)
  • AI Engine: Google Gemma 3 (1B-IT) quantized via LiteRT-LM
  • Inference Layer: Native C++ bindings via `flutter_gemma` multimodal chat architecture
  • Platform Targets: macOS desktop and iOS mobile environments
  • Key Engineering Milestones

    1. Local LLM Deployment

    Successfully navigated complex licensing and network gating to host a 1.5-billion-parameter neural network directly within the mobile application sandbox.

    2. Zero-Network Processing

    Implemented an ephemeral chat session architecture that allocates device RAM on demand, providing deep emotional insights and thematic summaries with zero API costs and absolute data privacy.

    3. Native Build Resolution

    Engineered robust deployment pipelines to resolve advanced Swift Package Manager (SPM) caching conflicts and Xcode minimum-target deployment mismatches, ensuring seamless compilation across both Apple Silicon and iOS Simulators.

    System Philosophy

    At its core, this project bridges the gap between psychological wellness and bleeding-edge mobile engineering. The architecture was built with a focus on resilient, offline-first design—resulting in a robust application capable of interactive self-correction and safe workflow execution entirely at the edge.

    Specifications

    Tech Stack

    FlutterGemma 3LiteRT-LMiOSOn-Device AI
    DomainCoding
    StatusActive Production
    Date Released2026
    Hardware BaseCUDA GPU Nodes

    Need help in research integration?

    Get in touch to discuss specialized development and consulting opportunities.