Web TippsUse custom web fonts in Google Sheets charts(08.09.2026 um 17:05 Uhr)
Web TippsIntroducing the new 1Password App for Google Chat(08.09.2026 um 18:02 Uhr)
Web TippsUse custom web fonts in Google Sheets charts(08.09.2026 um 17:05 Uhr)
Web TippsIntroducing the new 1Password App for Google Chat(08.09.2026 um 18:02 Uhr)

🔧 Programmierung 🕛 vor 1 Monat 6 Min Lesezeit
0

Running a 1.5B-Parameter LLM Entirely On-Device for Mental Health — The NilaMind Architecture

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

How I built a mental health companion that never connects to the internet, and why the most important safety decisions have nothing to do with the AI.









The Problem



Mental health conversations are the most private conversations you can have. If you're telling something to an AI about suicidal thoughts, trauma, or shame, you need to know — really know — that those words don't go anywhere.



But every AI companion app I could find sends your words to a cloud server. Your most vulnerable moments, stored on someone else's machine, processed by someone else's model, governed by someone else's privacy policy. That felt wrong.



So I built NilaMind — an open-source Android app that runs a 1.5B-parameter language model entirely on your phone. No cloud. No account. No analytics. Not even your voice leaves the device.



Here's how every piece of the architecture works, and why the safety design matters more than the model.









The Stack at a Glance












































Layer Technology
UI React 19, Tailwind 4, Vite 6
Mobile Shell Capacitor 8 (Android)
LLM Runtime llama.cpp (C++, JNI bridge)
Default Model Qwen2.5-1.5B-Instruct Q4_K_M GGUF
Voice Input Vosk WASM (on-device STT)
Crisis Classifier MiniLM via ONNX Runtime Web
Storage Dexie (IndexedDB) + AES-256-GCM
Identity BIP39 (no-account recovery phrase)








Running llama.cpp on Android



The inference engine is


  • APK:



  • Important: NilaMind is not a medical device, not therapy, and not a crisis service. It's an experimental self-help tool. If you are in crisis, contact emergency services or a crisis line.







    • It's shared openly so others can learn from it and build on it. If you're struggling, you're not alone.*

    Vollständiger Original-Bericht
    Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
    ↗ Original-Artikel auf dev.to lesen
    Wie bewertest du diesen Beitrag?
    1 Klick Feedback
    Teilen mit Netzwerk & Team:

    Community-Analysen & Experten-Meinungen 0

    Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
    Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
    Community Pulse: Relevanz-Einschätzung
    1 Klick Experten-Votum
    🔴 Akute Relevanz 0%
    🟡 In Evaluierung 0%
    🟢 Keine Auswirkung 0%
    Spannende Innovation 0%
    Verwandte Story-Cluster & Quellen (Vektor-KI)
    Port 8095 Engine
    3 Quellen
    Use custom web fonts in Google Sheets charts
    2 Quellen
    Introducing the new 1Password App for Google Chat
    1 Quelle
    Context-aware access controls are available for Gemini Enterprise in the Admin console
    Ähnliche Beiträge
    🔍 Verwandte News

    Auch interessante Nachrichten Running a 1.5B-Parameter LLM Entirely On-Device for Mental Health — The NilaMind Architecture

    Thematisch verwandte Begriffe: Running, 15BParameter, Entirely, OnDevice · 6 Treffer

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...