{"slug": "show-hn-pocketllm-lite-open-source-android-app-that-runs-gguf-models-offline", "title": "Show HN: PocketLLM Lite – open-source Android app that runs GGUF models offline", "summary": "PocketLLM released PocketLLM Lite v1.0.58, an open-source Android app that runs GGUF models on-device through llama.cpp (via the llamadart package) with no account and no hosted inference. The app adds a single network policy gateway with a Strict Offline Mode that blocks all non-loopback traffic, per-tool Auto-run/Ask first/Disabled permissions for Android app connectors, and local RAG over PDF, TXT, Markdown and CSV files with password-derived AES-256-GCM .pllm encrypted backups. PocketLLM also ships regression suites in test/regressions that fail the build if ad, telemetry or unapproved network paths appear.", "body_md": "**A local-first AI chat workspace for Android. Your models, your documents, your apps, your device.**\n\n[Download APK (v1.0.58)](https://github.com/PocketLLM/pocketllm-lite/releases/tag/v1.0.58) ·\n[Website](https://pocketllm-lite.vercel.app/) ·\n[Quick start](#try-it-in-five-minutes) ·\n[Benchmarks](https://pocketllm-lite.vercel.app/benchmarks) ·\n[Privacy Policy](https://pocketllm-lite.vercel.app/privacy) ·\n[Known limitations](https://github.com/PocketLLM/pocketllm-lite/blob/main/docs/KNOWN_LIMITATIONS.md) ·\n[Authors](https://github.com/PocketLLM/pocketllm-lite/blob/main/AUTHORS.md) ·\n[Contribute](https://github.com/PocketLLM/pocketllm-lite/blob/main/CONTRIBUTING.md)\n\n- **Runs GGUF models directly on your phone.** On-device inference runs through[llama.cpp](https://github.com/ggml-org/llama.cpp) (via[llamadart](https://pub.dev/packages/llamadart) ). Download curated starter\nweights with pinned sizes, SHA-256 digests, and licenses in one tap, browse\nand pull GGUF quantizations from Hugging Face Hub, or import any`.gguf` file\nfrom device storage. Legacy Cactus bundles still load for older installs. No\naccount and no hosted inference.\n- **Bring your own server whenever you want.** Connect a local or LAN[Ollama](https://ollama.com) host, LM Studio, vLLM, or any OpenAI-compatible`/v1` endpoint from the same model switcher. PocketLLM makes it clear when\nrequests stay on-device versus when they use a server you configured.\n- **Acts on your apps, with your say.** Built-in local tools and Android app\nconnectors let models calculate, read live device context, search your\ndocuments and notes, look up contacts, draft SMS or email, and prepare\ncalendar events, alarms, or timers using interactive confirmation cards. Every\ntool can be set to*Auto-run* ,*Ask first* , or*Disabled* globally or per\npersona.\n- **You decide when the network is used.** Every app-managed connection goes\nthrough a single policy gateway ([`assets/network_policy.json`](https://github.com/PocketLLM/pocketllm-lite/blob/main/assets/network_policy.json) )\nwith a live session audit log.*Strict Offline Mode* blocks all non-loopback\ntraffic from the app with one switch.\n- **Your documents and memories stay in your sandbox.** Import PDF, TXT,\nMarkdown, or CSV files for keyword, semantic, or hybrid RAG with source\npassage chips, inspect or edit extracted local memories, and export\npassword-derived AES-256-GCM`.pllm` encrypted backups.\n- **No ads, no analytics, no tracking SDKs.** Regression suites in[`test/regressions`](https://github.com/PocketLLM/pocketllm-lite/blob/main/test/regressions) fail the build if ad, telemetry, or\nunapproved network paths appear.\n\nReal captures from the **v1.0.58** Android build (see\n[`docs/videos/v1-0-58-onboarding-shark-dive.mp4`](https://github.com/PocketLLM/pocketllm-lite/blob/main/docs/videos/v1-0-58-onboarding-shark-dive.mp4)\nfor the live 5-act 3D morphing onboarding and shark dive transition).\n\n| 5-Act 3D Onboarding (Bitmap Light) | Slide 5 Ready & Theme Switcher (Ocean Dark) | Empty Chat & Interactive ASCII Shark | \n|---|---|---|\n\n| 4-Path `\"Set up a model\"` Sheet | Docked Liquid Glass Sidebar | Tools & App Permissions | \n|---|---|---|\n\n| Area | What you get | \n|---|---|\n| **Onboarding & Motion** | 5-act 1,280-point 3D ASCII & 4×4 Bayer-halftone morphing onboarding (Globe Core, Offline Vault, Connected Apps, Rainbow Voice Wave, Swimming Shark) across **Bitmap Light** and**Ocean Dark** , handing off seamlessly via a 3D shark dive into an autonomous, touch-reactive underwater chat shark (dims to`13%` once messages begin; replayable anytime) | \n| **Chat & Liquid Glass UI** | Streaming local & remote chat, floating zero-haze Liquid Glass composer with local prompt refinement ( `+ -> Improve` with`Accept` /`Reject` review), docked parallax sidebar with search &`All` /`Pinned` filters, tap-to-focus bubble actions (`Star` ,`Copy` , inline`Edit` ), conversation branching, live`<think>` reasoning trace sheets, and post-reply`tok/s` speed badges | \n| **Personas & Skills** | Custom personas with deterministic `8×8` living pixel-mosaic avatars (`PixelOrbAvatar` ), system prompts, temperature overrides, and per-persona tool scoping; Markdown`SKILL.md` skills with`/` input autocomplete and GitHub raw URL import | \n| **Models & Downloads** | 4-option `\"Set up a model\"` sheet, device-RAM-ranked verified GGUF starter catalog (`llama.cpp` ), 2-column Model Store with live Hugging Face GGUF search, gated-repo token support, resumable size & SHA-256 verified downloads with live progress strips, local`.gguf` import, automatic 2048-token context fallback on tight RAM, and system memory-pressure auto-unload | \n| **Tools & App Connectors** | Multi-format local tool calling (JSON, Llama, Qwen, Hermes) enabled out of the box with `Auto-run` /`Ask first` /`Disabled` controls: safe calculator, live device/time context, local notes, reminders, clipboard, local RAG lookup, Android Contacts/Calendar/Clock/SMS/Email connectors with interactive confirmation cards, collapsible`\"Used N tools\"` timelines, and policy-gated Tavily web search | \n| **Documents (RAG)** | PDF, TXT, Markdown, and CSV ingestion; keyword, semantic, or hybrid (BM25 + vector + MMR) retrieval with tappable source-passage chips | \n| **Vision & OCR** | Android on-device text recognition (ML Kit Latin); image attachments enabled when the selected model or provider confirms vision support | \n| **Voice** | Hands-free Voice Mode screen with reactive audio HUD, guided SHA-256-verified Whisper bundle install for on-device transcription, dictation, and text-to-speech | \n| **Memory & Privacy** | Local memories linked to source turns with a dedicated Memory Inspector, rolling conversation summaries, Strict Offline Mode, live outbound network audit log, secure-storage API keys, and AES-256-GCM `.pllm` encrypted backups with rollback | \n| **Updates & What's New** | Opt-in GitHub release updater matching device ABI with SHA-256 verification and Android Package Installer permission resume, plus non-blocking `\"What's New\"` release banners | \n| **Developer & Lab** | Authenticated local OpenAI-compatible HTTP server ( `/v1/models` ,`/v1/chat/completions` with SSE,`/v1/embeddings` bound to loopback by default), Prompt Lab, side-by-side A/B model comparison, and on-device`tok/s` / TTFT benchmarker | \n| **Localization** | In-app language picker wired for System default, English, Spanish, Hindi, Japanese, Korean, and Chinese across core chat, history, model setup, and onboarding ( `212` keys per locale; remaining settings screens stay in English and non-English strings are marked unreviewed) | \n\nAnything not listed here is not claimed. See\n[`docs/KNOWN_LIMITATIONS.md`](https://github.com/PocketLLM/pocketllm-lite/blob/main/docs/KNOWN_LIMITATIONS.md) for current platform\nand verification boundaries, and\n[`docs/DEVICE_COMPATIBILITY.md`](https://github.com/PocketLLM/pocketllm-lite/blob/main/docs/DEVICE_COMPATIBILITY.md) for measured\nphysical-phone speeds.\n\n1. **Install.** Download the APK matching your device from the[v1.0.58 release](https://github.com/PocketLLM/pocketllm-lite/releases/tag/v1.0.58) and verify it against`SHA256SUMS.txt` :\n  - **`arm64-v8a`***(recommended — most Android phones from 2017 onward)* :\nincludes the full on-device`llama.cpp` GGUF runtime (and legacy Cactus\nruntime).\n  - **`x86_64`** : includes` llama.cpp` for desktop Android emulators.\n  - **`armeabi-v7a`** : 32-bit build without native on-device inference; works\nwith Ollama or OpenAI-compatible servers, OCR, and documents.\n  - Requires Android 7.0 (API 24) or newer. Release APKs in this repository are\ncurrently debug-signed engineering builds (see\n[Release signing](https://github.com/PocketLLM/pocketllm-lite/blob/main/docs/RELEASE_SIGNING.md) and[Known limitations](https://github.com/PocketLLM/pocketllm-lite/blob/main/docs/KNOWN_LIMITATIONS.md) ).\n2. **Complete the 5-act onboarding.** Swipe or tap through the 3D overview,\npick**Light** or**Dark** on the final slide, and tap**Get Started** to\ndive into Chat.\n3. **Set up a model.** Tap**Set up a model** in the top bar and pick one of\nfour paths:\n  - *Download On-Device Model* : grab a device-matched verified GGUF starter\nmodel (such as Qwen3 0.6B, Gemma 3 1B, Llama 3.2 1B, or Qwen3 1.7B — a\n0.6B–1.7B Q4 model is roughly 0.4 to 1.2 GB over Wi-Fi).\n  - *Connect Local Ollama* : point to`http://127.0.0.1:11434` or your LAN\ndesktop host.\n  - *OpenAI-Compatible Server* : link LM Studio, vLLM, or any`/v1` endpoint.\n  - *Import Local `.gguf` File* : load weights directly from phone storage.\n4. **Chat, attach docs, or run tools.** Every reply comes from your selected\nmodel — if a model or prerequisite is missing, the app tells you directly\ninstead of faking output.\n\nRAM is the primary constraint: the quantized GGUF file plus its KV context cache\nmust fit in free memory alongside Android. PocketLLM profiles device RAM, CPU\ncores, ABI, and free storage to rank starter models conservatively and displays\n`unknown` whenever Android does not expose a metric. Measured speeds on a\nphysical Pixel 10 (Tensor G5, 12 GB) across five GGUF models are recorded in\n[`docs/DEVICE_COMPATIBILITY.md`](https://github.com/PocketLLM/pocketllm-lite/blob/main/docs/DEVICE_COMPATIBILITY.md). Community\nreports from additional devices and quantizations are welcome (see\n[Contributing](#contributing)).\n\nChats, documents, vector indexes, notes, and memories live inside the app\nsandbox. On-device `llama.cpp` inference never transmits prompts or completions.\nOutbound network traffic occurs only for explicit, user-visible features (model\ncatalog search/downloads from Hugging Face, opt-in GitHub update checks, opt-in\nTavily web search, or remote Ollama/OpenAI servers you configure). Turning on\n*Strict Offline Mode* blocks all non-loopback app traffic at the transport\ngateway. It is an application-level boundary rather than an OS firewall:\nhanding data to an external Android app via an intent (such as opening your mail\nor SMS app with a confirmed draft) leaves PocketLLM's sandbox. Full policy:\n[`SECURITY.md`](https://github.com/PocketLLM/pocketllm-lite/blob/main/SECURITY.md) and\n[`assets/network_policy.json`](https://github.com/PocketLLM/pocketllm-lite/blob/main/assets/network_policy.json).\n\n```\ngit clone https://github.com/PocketLLM/pocketllm-lite.git\ncd pocketllm-lite\nflutter pub get\nflutter analyze\nflutter test\nflutter run                      # requires an Android device or emulator\nflutter build apk --split-per-abi --release\n```\n\nPinned and CI-verified against **Flutter 3.41.9** (Dart 3.11) and Java 17 with\nthe Android SDK. See [`CONTRIBUTING.md`](https://github.com/PocketLLM/pocketllm-lite/blob/main/CONTRIBUTING.md) for coding guidelines\nand verification checks.\n\n```\nlib/\n├─ core/\n│  ├─ avatar/          deterministic 8×8 PixelOrbAvatar engine\n│  ├─ design_system/   Pocket Design System tokens, glass controls & tool jackets\n│  ├─ onboarding/      versioned What's New notification & spotlight tour engine\n│  ├─ theme/           cached Material 3 theme & appearance providers\n│  └─ widgets/         3D ASCII/Bitmap & shark engine, Liquid Glass composer/sidebar/toggles\n├─ design_system/      shared surfaces, primitives, typography & component gallery\n├─ features/           chat, onboarding, model_browser, rag, voice, settings, profile, sharing, ...\n├─ l10n/               ARB localization catalogs (en, es, hi, ja, ko, zh)\n├─ models/             Hive persistence models, tool call records & manifests\n└─ services/           llama.cpp & remote inference, tool calling, Android connectors,\n                       network policy gateway, resumable downloads, hybrid RAG & encrypted backup\nwebapp/                Next.js Web Edition and marketing site (auto-synced with GitHub releases)\ndocs/                  device benchmarks, architecture/design docs, screenshots, demo videos & audits\nrelease/               per-version GitHub release notes\nscripts/release/       APK signature verification & SHA-256 checksum scripts\ntest/                  unit, widget, accessibility & privacy/truth regression suites\n```\n\n[`webapp/`](https://github.com/PocketLLM/pocketllm-lite/blob/main/webapp) contains the Next.js browser workspace and project website.\nIt connects to Ollama or OpenAI-compatible endpoints you control and stores\nconversations locally in IndexedDB. It does not bundle the Android `llama.cpp`\nnative runtime.\n\nPocketLLM Lite is MIT licensed. Bug reports, physical-device compatibility\nmeasurements, translation reviews, accessibility testing, documentation, and\nfocused pull requests are welcome. Start with\n[`CONTRIBUTING.md`](https://github.com/PocketLLM/pocketllm-lite/blob/main/CONTRIBUTING.md), follow the\n[Code of Conduct](https://github.com/PocketLLM/pocketllm-lite/blob/main/CODE_OF_CONDUCT.md), and check open\n[`good first issue`](https://github.com/PocketLLM/pocketllm-lite/labels/good%20first%20issue)\nitems. Report security issues privately via [`SECURITY.md`](https://github.com/PocketLLM/pocketllm-lite/blob/main/SECURITY.md).\n\n[Website](https://pocketllm-lite.vercel.app/) ·\n[Privacy Policy](https://pocketllm-lite.vercel.app/privacy) ·\n[Terms of Service](https://pocketllm-lite.vercel.app/terms) ·\n[Obtainium config](https://github.com/PocketLLM/pocketllm-lite/blob/main/obtainium.json) ·\n[Authors](https://github.com/PocketLLM/pocketllm-lite/blob/main/AUTHORS.md) ·\n[Changelog](https://github.com/PocketLLM/pocketllm-lite/blob/main/CHANGELOG.md) ·\n[Release notes](https://github.com/PocketLLM/pocketllm-lite/blob/main/RELEASE_NOTES.md) ·\n[Device compatibility](https://github.com/PocketLLM/pocketllm-lite/blob/main/docs/DEVICE_COMPATIBILITY.md) ·\n[Known limitations](https://github.com/PocketLLM/pocketllm-lite/blob/main/docs/KNOWN_LIMITATIONS.md) ·\n[Design system](https://github.com/PocketLLM/pocketllm-lite/blob/main/docs/DESIGN_SYSTEM.md) ·\n[Release signing](https://github.com/PocketLLM/pocketllm-lite/blob/main/docs/RELEASE_SIGNING.md)", "url": "https://wpnews.pro/news/show-hn-pocketllm-lite-open-source-android-app-that-runs-gguf-models-offline", "canonical_source": "https://github.com/PocketLLM/pocketllm-lite", "published_at": "2026-11-30 23:21:37+00:00", "updated_at": "2026-11-30 23:46:07.907728+00:00", "lang": "en", "topics": ["artificial-intelligence", "large-language-models", "ai-products", "ai-tools", "ai-agents"], "entities": ["PocketLLM", "PocketLLM Lite", "llama.cpp", "llamadart", "Hugging Face Hub", "Ollama", "LM Studio", "vLLM"], "also_reported_by": [], "takeaway": "PocketLLM Lite v1.0.58 runs GGUF models fully on-device via llama.cpp and llamadart, and routes every app-managed connection through one network_policy.json gateway whose Strict Offline Mode blocks all non-loopback traffic.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/show-hn-pocketllm-lite-open-source-android-app-that-runs-gguf-models-offline", "markdown": "https://wpnews.pro/news/show-hn-pocketllm-lite-open-source-android-app-that-runs-gguf-models-offline.md", "text": "https://wpnews.pro/news/show-hn-pocketllm-lite-open-source-android-app-that-runs-gguf-models-offline.txt", "jsonld": "https://wpnews.pro/news/show-hn-pocketllm-lite-open-source-android-app-that-runs-gguf-models-offline.jsonld"}}