Sagar Gupta

Android engineer with over 10 years of experience. Currently focused on building open-source infrastructure for running Local AI and LLMs directly on edge devices.

About & résumé GitHub

Selected Projects

litertlm-kmp

A Kotlin Multiplatform engine for running Gemma LLMs fully on-device.

litertlm-kmp

NativeLM

A private local-AI chat app built on top of litertlm-kmp to prove the whole stack.

NativeLM

Latest Writing

What's new in NativeLM v0.10.0: answering from the right document

June 9, 2026

v0.10 is a retrieval release — an optional EmbeddingGemma embedder tiered to your device, hybrid dense + lexical search, a flagship reranker, and a set of grounding fixes that stop the model answering from the wrong file. Still fully local, no account, no upload, no telemetry.

Your data, your key: local encrypted backup without a server

June 4, 2026

NativeLM keeps everything on your phone — which means losing the phone means losing the data. v0.7 fixes that with a passphrase-encrypted .nlmbak file you fully control: Argon2id → AES-256-GCM, no server, no account, no key we hold.

View all writing →