Changelog
What changed, release by release.
Notes from every published release, newest first. The same notes appear on GitHub, where the APKs live.
Faster, more focused replies
- No more tools on "hello": each message is checked first. Greetings and small talk get a direct answer with no tools, no document search, no memory lookup and no thinking. Other messages are offered only the tools they ask for.
- Right answers for sums, timers and alarms: these requests always go through their tool instead of the model guessing.
- Thinking that ends: reasoning models (like Qwen3) think only for harder questions, within a 512-token budget, and are made to answer if they run over. A reply can no longer end inside its thoughts.
- The chat follows the reply: it auto-scrolls while you are near the bottom, stays put when you scroll up to read, and the down-arrow button is gone.
- Lighter on the CPU: the background shark freezes during conversations, and streaming redraws about 15 times a second instead of 50, leaving more power for the model.
What was and was not verified
- Verified on an Android emulator with Qwen3 0.6B: "hello" answers directly; "explain step by step why 91 is not prime" thinks and then answers; "what is 1234 * 56" calls the calculator and answers 69,104 (the same model guessed 67,080 before this release). 635 Flutter tests pass.
- Not tested on a physical phone. Signed with the production key and the same rotation proof as v1.0.60, so it installs over v1.0.58–v1.0.60.
Production certificate SHA-256:
C8:E8:E1:21:98:BC:B2:A4:6D:DF:EA:C5:33:5F:C6:E3:34:22:D0:C0:E8:C4:1F:80:DE:1D:49:E3:F0:8F:80:64. Verify downloads withSHA256SUMS.txt.Please read: new signing key
v1.0.60 is the first release signed with the PocketLLM Lite production key. Earlier releases used a debug certificate.
- Android 9 or newer: install over your current version as usual. The APK carries a signed key-rotation proof from the old certificate, so Android treats it as an update and keeps your data.
- Android 7 or 8: these versions still verify the old certificate, so the update also installs in place.
Production certificate SHA-256 (also in SECURITY.md):
C8:E8:E1:21:98:BC:B2:A4:6D:DF:EA:C5:33:5F:C6:E3:34:22:D0:C0:E8:C4:1F:80:DE:1D:49:E3:F0:8F:80:64Check your download against
SHA256SUMS.txtbelow and withapksigner verify --print-certs.What's new since v1.0.58
Web search that works without a key (from v1.0.59)
- Turn on web search from the + button and choose the search the model uses. DuckDuckGo, Wikipedia and arXiv need no key; Jina Reader reads pages without one.
- Bring your own: Tavily, Brave Search, Exa, Firecrawl, Jina, TinyFish, Serper, SerpApi, Perplexity, You.com, Parallel, Bright Data, Browserbase, your own SearXNG or Crawl4AI server, or an MCP search server.
- If a provider rejects the key, hits its limit or is down, the next one answers automatically.
- New tools: read a web page, Wikipedia search and arXiv search.
Connectors
- Tools & Permissions is now Connectors, with Tools and App permissions tabs, provider logos, a Test button for each provider and a test search that shows every fallback step.
Terms of Service & privacy
- Settings › Terms of Service explains that the app is free, open source and provided as is, and who is responsible for models, providers and AI output.
- The privacy policy (in the app and on the website) lists every web search provider and page reader.
Website
- pocketllm-lite.vercel.app now has download, features, privacy, terms, security, FAQ, docs, benchmarks, changelog, articles and comparison pages.
What was and was not verified
- Verified: upgrading the published v1.0.58 APK to this v1.0.60 x86_64 APK on an Android 14 emulator installs as an update and keeps app data. Live keyless web search (DuckDuckGo) worked on an emulator. 600+ Flutter tests and the website's unit and Playwright tests pass.
- Not verified: these APKs were not installed on a physical phone; the Android 7/8 upgrade path was not run; providers that need a key (Tavily, Brave, Exa and the rest), Crawl4AI and MCP servers were only tested with simulated responses.
- There is still no Google Play listing.
PocketLLM Lite v1.0.58 replaces the legacy onboarding flow with a 1,280-point 3D
ASCII & Bayer-halftone Bitmap morphing experience and brings an autonomous,
touch-reactive underwater ASCII shark and a 4-path Liquid Glass
"Set up a model"sheet directly into Chat.
What changed
- Cinematic 5-Act 3D Morphing Onboarding: Both existing users upgrading to
v1.0.58 and new installs experience the 5-act flow once (with completion saved
to local settings via
cinematic_onboarding_v1_completed, and replayable anytime from Sidebar -> More ->
Replay Onboardingor Settings):1. *AI that lives on your phone.* — Rotating 3D Globe Core with pulsing silicon
nucleus and orbiting satellite.
2. *Private by architecture.* — Offline Padlock Vault with hollow keyhole and
rotating sealed scanner ring.
3. *Acts on your apps, with your say.* — Live-hand Alarm Clock, pulsing
Calendar sheet, and Checkmark ring linked by animated data bridges.
4. *Speak naturally. Shape personas.* — 19-column + 3-ribbon Voice Wave driven
by a 3D Perlin rainbow spectrum (tap silently shifts the spectrum).
5. *Your pocket engine is ready.* — Swimming ASCII Shark with inline
Light | Darkfrosted glass theme toggle and progressive expanding pill CTA.- Seamless Hydrodynamic 3D Shark Dive -> Interactive Chat Shark: Tapping
Get StartedorSkipplunges the 3D shark along an S-arc with wake dropletsand a 32-column pixel spread, handing off live swimming position, heading,
velocity, and tail phase directly into Chat with zero pause. Tap open water
for expanding ASCII ripples + shark attraction, or tap the shark directly for
a burst-dart and bubble spray. Smoothly dims to
13%opacity once messagesstart.
- 4-Option Liquid Glass
"Set up a model"Sheet & Live Download Strip: Tap
the top-bar model pill for 1-tap verified
llama.cppstarter GGUF downloads(with a frosted live progress strip over the shark), Local Ollama endpoint
setup, OpenAI-Compatible
/v1server linking, or local.gguffile import.- Non-Blocking
"What's New"Notification: v1.0.58 announces release
highlights once via a sleek dismissible frosted notification banner beneath
the top bar instead of a full-screen blocking guided tour.
- Startup, Android Install & Localization Polish: Fixed
+4000Android
versionCode offset (
4058for v1.0.58) to prevent downgrade install failures,cached
AppThemeand splash geometry for smoother startup, and completedmissing localization strings across Spanish, Hindi, Japanese, Korean, and
Chinese.
Verification
- App version:
1.0.58+58(AndroidversionCode:4058) flutter analyze: passed with no issuesflutter test: passed across onboarding, chat, release tour, release truth,
and accessibility suites
- Per-ABI Android release APKs: built (
arm64-v8a,armeabi-v7a,x86_64) - SHA-256 checksums: included in
SHA256SUMS.txt
Signing notice
These APKs are signed with the Android debug certificate, consistent with the
v1.0.52 - v1.0.57 engineering builds, because no production signing key is
available in this checkout. They install as upgrades over those releases (same
certificate). They are not Play Store production artifacts.
Choose the APK matching your device architecture - most modern Android phones
use
arm64-v8a. Checksums are provided inSHA256SUMS.txt.See
RELEASE_NOTES.md,CHANGELOG.md, anddocs/RELEASE_SIGNING.mdfor thecomplete record.
PocketLLM Lite v1.0.57 fixes the crash that could hit when the docked workspace
sidebar opened:
No Material widget foundfollowed byA RenderFlex overflowed by 99813 pixels on the right.The sidebar panel is drawn beside the chat
Scaffold, not inside it, so it hadno
Materialancestor. Bare ink widgets in the panel (theRecent Chatslink,header search/close buttons, and footer settings button) therefore failed to
build and were replaced by the debug
ErrorWidget, which then overflowed thepanel. The panel now renders its content inside a transparent
Material.What changed
- The docked Liquid Glass sidebar wraps its header, scrollable body, and footer
in
Material(type: MaterialType.transparency), so everyInkWell,IconButton, andFilledButtoninside it has the ancestor Material Designrequires.
- Frosted gradient, blurred scrim, parallax, drag-to-close physics, ink
splashes, tooltips, chat history search, and the
All/Pinnedfilters areunchanged.
- Added a widget regression test that opens the sidebar with a bare
InkWell
and
IconButton, asserts a Material ancestor, taps through, and requires zeroexceptions.
- CI and release workflows are pinned to Flutter
3.41.9, the SDK this project
is developed and verified against, so newer stable SDKs no longer turn
flutter analyzered over the upstreammaterial_uideprecation.Verification
- App version:
1.0.57+57 flutter analyze: passed with no issuesflutter test: 582 tests passed- Per-ABI Android release APKs: built
- SHA-256 checksums: included in
SHA256SUMS.txt
Signing notice
These APKs are signed with the Android debug certificate, consistent with the
v1.0.52 - v1.0.56 engineering builds, because no production signing key is
available in this checkout. They install as upgrades over those releases (same
certificate). They are not Play Store production artifacts.
Choose the APK matching your device architecture - most modern Android phones
use
arm64-v8a. Checksums are provided inSHA256SUMS.txt.See
RELEASE_NOTES.md,CHANGELOG.md, anddocs/RELEASE_SIGNING.mdfor thecomplete record.
## Highlights
- Tools Ready Out of the Box: Native on-device tools (Calculator, Calendar, Contacts, Notes, Reminders, Device Telemetry, Local RAG, SMS & Email drafts) are now enabled automatically on startup and in every new chat while keeping Web Search opt-in and honoring all Strict Offline & confirmation rules.
- Smoother Local Model Tool Calling & Argument Normalization:
- Extended
ToolCallingService.parseToolCallsto support Llama 3.2parameters, OpenAIfunctionwrappers, JSON-stringifiedarguments, and zero-argument tool calls with omittedarguments.- Added safe pre-validation argument normalization (numeric string/whole-double integer coercion,
minutes->secondson timers,start_iso/date->starton calendar events) and alignedPocketCalendarPickerCardto writestart.- Added a concise tool-use instruction for native-schema
llama.cppmodels so local GGUF models actively invoke available tools instead of claiming they lack device access.- Unique Per-Version
"What's New"Tours: Every release version now has its own distinct spotlight tour (with an automated test guaranteeing future updates never repeat the previous release's tour).
Downloads
Choose the APK matching your device architecture (most modern Android phones use
arm64-v8a). Checksums are provided inSHA256SUMS.txt.## Highlights
- Reliable On-Device & Hugging Face GGUF Discovery + Loading:
- Fixes a scan crash where a single
mmproj-only or incomplete folder abortedscanLocalModels()and hid all installed models from the Chat top bar (+ Set up a model/No model ready).- Excludes
mmproj*.ggufvision projectors and secondary split shards from selectable Hugging Face download lists, enables recursive HF tree discovery, improves quantization detection (Q4_K_M,Q4_K_S,IQ4_XS,BF16,F16), and prefers mobile-friendlyQ4_K_Mfirst.- Surfaces installed Hugging Face and locally imported GGUF models in
Model Store -> Installed, adds direct"Use in Chat"on installed HF variants, and refreshesmodelManagerProvider+unifiedModelsProviderimmediately after download.- Adds case-insensitive model ID resolution, automatic
2048-context retry on low-memory GGUF loads, and broader prompt-tool fallback when a GGUF template rejects structured tools.- Chat, Token Speed & Sidebar Polish:
- Moved token speed (
tok/s) out of the Chat AppBar and onto completed assistant messages alongside Copy, Speaker, Share, Report, and Save.- Removed the redundant
Enhancepill from the main composer bar (Prompt Improve remains in the+menu with full prism glow +Accept/Rejectreview).- Updated the docked sidebar with the real PocketLLM app logo (
assets/logo.png), replacedPersonaswithCheck for Updates, madeRecent Chatsopen full Chat History, and simplified the footer to show only your username and Settings.- Unified Pocket Design System (
lib/core/design_system/):
- Rolled out
PocketDesignTokens(Light & Dark), frosted pillPocketGlassSegmentedControl,PocketPrecisionBarSlider,PocketOdometerScrubber,PocketDotStepSelector,PocketGlassPickerSheet, and color-jacketed in-chat tool confirmation cards (PocketToolJacketCard,PocketClockScrubberCard,PocketCalendarPickerCard) across Appearance, Tools & Permissions, Prompt Lab, Chat Settings, Model Settings, Knowledge Base, and Tool Timelines.Downloads
Choose the APK matching your device architecture (most modern Android phones use
arm64-v8a). Checksums are provided inSHA256SUMS.txt.# PocketLLM Lite v1.0.54 — Polished Liquid Glass Composer, Docked Sidebar & Animated Spotlight Tour
Highlights
- Crisp Liquid Glass Chat Composer: Eliminates idle white edge haze with a 1px specular lip, coupled spring focus lift, auto-sleeping ticker, frosted local
Enhancepill, and 3-layer prismatic optics that illuminate strictly while refining a prompt locally (Accept/Reject). Existing Send/Stop and Voice Conversation controls remain untouched. - Anchored Tap-to-Focus User Bubble Actions: Tap any sent message to blur the backdrop, inspect
Sent · <time> · Edited, and tapStar,Copy, or inlineEdit(Cancel/Save). - Docked Left Frosted Workspace Drawer: Smooth chat parallax scaling, swipe-left drag-to-close physics, collapsible header search, pinned/recent chats, real workspace routes, and live model/Strict Offline status.
- Animated
"What's New"Spotlight Tour: Smooth spotlight transitions with tip callouts on first launch after updating (replayable anytime via Sidebar -> More).
- Crisp Liquid Glass Chat Composer: Eliminates idle white edge haze with a 1px specular lip, coupled spring focus lift, auto-sleeping ticker, frosted local
# PocketLLM Lite v1.0.53 — Reliable In-App APK Installer & Auto-Resume Permissions
Highlights
- Fixes In-App Android APK Installation: Replaces
ota_update(which failed post-download due to aFileProviderauthority mismatch and missing install launcher) with an audited streaming downloader (NetworkGateway.getStream+ SHA-256 verification) and native AndroidApkInstallerHandlerlaunching the system Package Installer (ACTION_VIEW+${applicationId}.fileProvider). - Automatic
"Install unknown apps"Permission Resume: Deep-links straight to PocketLLM Lite's"Allow from this source"settings screen (Settings.ACTION_MANAGE_UNKNOWN_APP_SOURCES) and automatically resumes downloading or installing when you return to the app. - Fast Retry & Inline Cancel: Live MB progress and cancel (
X) inside the download button, plus verified APK caching if permission is missing or Android's Package Installer is canceled (Install Updateretries without re-downloading).
- Fixes In-App Android APK Installation: Replaces
# PocketLLM Lite v1.0.52 — Liquid Glass Experience, Inline Downloads & Reliable Updates
Highlights
- Liquid Glass Toggle Engine: Zero-dependency 4-oscillator coupled physics switches with auto-sleeping tickers, diffused dome glow, convex track refraction, and Light/Dark theme integration replacing every standard switch across the app.
- Inline Download Progress Buttons: Model Store, Model Catalog, and the OTA Update dialog now animate progress (
%) and cancel controls directly inside the Download button. - Floating Liquid Glass Chat UI & Local Prompt Enhancer: Translucent composer shell with zero idle rim glare, 100% local Sparkles prompt refinement (
Keep/Revert, Strict Offline safe), anchoredUserMessageFocusOverlay(Edit,Star,Copy, withEditedbadge), and docked left glass workspace sidebar (PocketGlassSidebar). - GitHub Auto-Update Notifications & Split-ABI Matching: Fixed dialog routing via
rootNavigatorKey, automatic device-ABI APK selection, OS update notifications, and throttled lifecycle resume checks. - Interactive "What's New" Tour: Versioned first-launch spotlight tour (
ReleaseTourRegistry), established inAGENTS.mdSection 3.6.
Fixes first-turn local GGUF context overflow (Qwen3-1.7B, etc.), llamadart tool-schema Unsupported errors, duplicate tool prompt injection, and enables live streaming during tool-enabled chats.
Highlights
- Swipeable Tools & Permissions centre. Switch between Tools and App Permissions with a tap or a swipe. Scope tools per persona, set execution policies (
Auto-run,Ask first,Disabled), and see active tools alongside Strict Offline status at a glance. - Real on-device app connectors. PocketLLM detects your phone's actual Calendar, Messages, Clock, Contacts, Email, Maps, and Phone apps with their real icons and labels. Supports Calendar read/create, top-5 Contacts lookup, safe zero-permission SMS drafts, opt-in direct SMS (with a guided Android 13–16 Restricted Settings unlock flow), and foreground clipboard reads.
- Always-on date, time & live device telemetry. Local models now know the current date, time, timezone, RAM, storage, battery, thermal status, and network mode via an ephemeral
[RUNTIME_CONTEXT]turn header that preserves KV prefix caching, plus an on-demanddevice_telemetrytool. - Integrated Tool Calls Timeline. Thinking and tool calls live together in a collapsible summary header with overlapping app icons, a clean vertical timeline with real app logos, inline Confirm / Edit / Cancel cards, expandable parameter/result drawers, and persistent history across chats.
Downloads & Checksums
Verify APK integrity with
SHA256SUMS.txt(sha256sum -c SHA256SUMS.txt):PocketLLM-Lite-v1.0.50-arm64-v8a.apk— 64-bit ARM (most modern Android phones)PocketLLM-Lite-v1.0.50-armeabi-v7a.apk— 32-bit ARMPocketLLM-Lite-v1.0.50-x86_64.apk— 64-bit x86 emulators / tablets
- Swipeable Tools & Permissions centre. Switch between Tools and App Permissions with a tap or a swipe. Scope tools per persona, set execution policies (
Highlights
- Answers from reasoning models arrive. Qwen3 and other thinking models used to run out of room while still thinking and never write an answer. Replies can now use 1,536 tokens and the on-device context is 4,096 tokens. If a reply still ends mid-thought, a note under it says why.
- Thinking you can follow. While a model reasons, a short headline names the current step and the newest thoughts stream beside a slim rail. When the answer starts it folds into Show thinking ›, which opens a Steps sheet.
- Detailed activity view. Every thought and tool call as a row on a rail, with what was asked and what came back. Choose Automatic, Simple or Detailed in Settings › Thinking & tools display.
- Agent orbs. Eight states and 15 looks of an animated dotted sphere: waiting, reasoning, searching, working, loading and more.
- Liquid glass. Every bottom sheet and menu shares one frosted-glass look. The model picker is a floating glass card with company logos.
- Everything behind the plus. Photos, files, templates, web search and the persona picker live in one sheet. "Voice conversation" left the 3-dot menu because the composer's voice button already opens it.
- Dictation Dune. While you dictate, a mound of glyphs rises with your voice and carries each word into place.
- Since v1.0.43: a botanical splash, an open chat layout with a blurred bloom on the empty chat, an illustrated avatar maker, a two-column Model Store with brand logos, and a redesigned voice conversation screen. "All Recordings" is a preview marked *Coming soon*.
<img src="https://raw.githubusercontent.com/PocketLLM/pocketllm-lite/main/docs/screenshots/android/v1-0-48-live-thinking.png" width="240" alt="Live thinking"> <img src="https://raw.githubusercontent.com/PocketLLM/pocketllm-lite/main/docs/screenshots/android/v1-0-48-steps-sheet.png" width="240" alt="Steps sheet"> <img src="https://raw.githubusercontent.com/PocketLLM/pocketllm-lite/main/docs/screenshots/android/v1-0-48-model-sheet-glass.png" width="240" alt="Glass model picker">
Every screenshot and demo video, with explanations: docs/WHATS_NEW_1_0_48.md.
Which file to download
| File | For |
| --- | --- |
|
PocketLLM-Lite-v1.0.48-arm64-v8a.apk| Most phones from 2017 onward. Contains the llama.cpp (GGUF) and Cactus on-device runtimes. ||
PocketLLM-Lite-v1.0.48-x86_64.apk| Emulators and x86 devices. Contains llama.cpp, not Cactus. ||
PocketLLM-Lite-v1.0.48-armeabi-v7a.apk| Older 32-bit phones. No on-device model runtime: remote servers (Ollama, OpenAI-compatible), OCR and documents only. |Compare the file against
SHA256SUMS.txt. Android 7.0 (API 24) or newer.Please read
- These APKs are debug-signed, with the same signer as v1.0.13 to v1.0.40 (certificate SHA-256
f11e9769…), so they install over those versions. They are engineering builds, not production-signed releases. A debug certificate gives no publisher identity. Seedocs/SIGNING_INCIDENT.md. - What was verified on a phone: a Pixel 10 (Android 17) ran this version's code, as a debug build, through full chats with Qwen3 1.7B including its reasoning phase, and the screens in the linked screenshots. Five models were benchmarked on it (
docs/DEVICE_COMPATIBILITY.md). - What was not: these exact release APKs have not been launched on a device yet. Only that one phone has been measured. Llama 3.2 3B, Qwen3 4B, Phi-4 mini and Gemma 3 4B have not been run. Dictation was tried in English on one phone. Reports with device and model details are welcome.
- The larger 4,096-token context uses more memory; it has not been measured on phones with less than 8 GB of RAM.
Full details:
CHANGELOG.mdanddocs/KNOWN_LIMITATIONS.md.Highlights
- Model download and load errors fixed. Catalog models and the Whisper bundle were rejected after download because only GGUF layouts were accepted. On-device Cactus bundles are now recognised everywhere. GGUF files are explained instead of failing, with a copyable
ollama runcommand for server use. - Share to PocketLLM. Send text, links, PDF, TXT, MD or CSV from any app, then Summarize, Ask a question, or Save to the knowledge base. Shared files stay in a private inbox, are size-capped, are never fetched automatically, and are deleted when you leave the screen.
- First-model onboarding step, model chip and picker, Notes screen, language picker, opt-in compatibility report, hardened embedded API server, per-hop redirect policy, and a web edition that never fakes a reply.
Which file to download
| File | For |
| --- | --- |
|
PocketLLM-Lite-v1.0.40-arm64-v8a.apk| Most phones from 2017 onward. Only this build contains the on-device model runtime. ||
PocketLLM-Lite-v1.0.40-armeabi-v7a.apk| Older 32-bit phones. Server-based models, OCR and documents only. ||
PocketLLM-Lite-v1.0.40-x86_64.apk| Emulators and x86 devices. Server-based models, OCR and documents only. |Compare the file against
SHA256SUMS.txt. Android 7.0 (API 24) or newer.Please read
- This APK is debug-signed, with the same signer as v1.0.13 to v1.0.38 (certificate SHA-256
f11e9769…), so it installs over those versions. It is an engineering build and not a production-signed release. A debug certificate gives no publisher identity. Seedocs/SIGNING_INCIDENT.md. - On-device token generation has not been verified on a physical phone. Download, install and model load were verified on an emulator. Reports with device and model details are welcome.
- Share's Summarize and Ask were not exercised with a real model before this release.
Full details:
CHANGELOG.mdanddocs/PHASE_3_EXECUTION_REPORT.md.- Model download and load errors fixed. Catalog models and the Whisper bundle were rejected after download because only GGUF layouts were accepted. On-device Cactus bundles are now recognised everywhere. GGUF files are explained instead of failing, with a copyable
Highlights
The Web Edition no longer depends on any hosted AI service (Z AI removed).
- Chat, titles, follow-ups, prompt enhancement and memory extraction run on the Ollama / OpenAI-compatible model you connect.
- Web search runs in the browser (Wikipedia, or Tavily with your own key) and respects Strict Offline.
- On-device speech-to-text with Whisper; a ~40 MB model downloads once, then works offline.
- Existing web data migrates automatically (IndexedDB v2).
- Fixed: the model selected in the picker / Lab is now actually used by Ollama and OpenAI-compatible runtimes; images are sent to OpenAI-compatible endpoints.
The Android app is unchanged in this release; no APK is attached. Full details in CHANGELOG.md.
PocketLLM Lite v1.0.38 removes the missing-model dead end from Knowledge Base
and audio workflows. When a required local model is absent, the app now explains
which model is needed, where it comes from, its approximate size and known
license, then offers Download now, Choose another, or Not now.
What changed
- Successful prerequisite downloads automatically continue the document import
or audio transcription the user originally requested.
- Model Store search now includes IDs, source, license, and capabilities.
- On-device and speech catalogs fail independently, so one unavailable source
no longer hides the other.
- Resumed downloads safely restart if a server ignores the HTTP Range request.
- Managed archives reject unsafe paths and links, validate GGUF headers,
quarantine conflicting broken folders, and publish only complete installs.
- Model readiness checks ignore staging/quarantine folders and invalid GGUF
files.
- The guided dialog has compact-screen and large-text regression coverage.
- The project is explicitly MIT licensed and now includes contribution guidance,
issue forms, a pull-request checklist, a code of conduct, and CI.
Verification
- App version:
1.0.38+38 flutter analyze: passed with no issuesflutter test: 144 tests passed- Universal and per-ABI Android APK builds: passed
- APK Signature Scheme v2: verified for all four APKs
- SHA-256 checksums: included in
SHA256SUMS.txt
Important signing notice
These APKs are signed with the Android debug certificate because no production
signing key was available in the release checkout. This GitHub release is an
engineering prerelease. It may not install over an APK signed with a different
key unless that build is uninstalled first.
Choose the universal Android APK if you are unsure which ABI your phone uses.
Most modern Android phones can use the smaller
arm64-v8aAPK.See
RELEASE_NOTES.md,docs/V1_0_38_VERIFICATION.md, anddocs/KNOWN_LIMITATIONS.mdfor the complete capability, evidence, andlimitation record.
PocketLLM Lite v1.0.37 turns local AI setup and document work into durable, inspectable workflows while preserving the app's privacy-first network controls.
Highlights
- New Model Store with live, policy-gated Cactus catalog discovery, Hugging Face browsing, runtime filters, local installation detection, and explicit license disclosure.
- Resumable model downloads with partial-file retention, range and validator checks, safe archive staging, integrity validation, cancellation, and durable task records.
- Rebuilt Knowledge Base with Keyword, Semantic, and Hybrid retrieval modes, real BM25/cosine/MMR scoring, citations, staged indexing, model readiness, and clear failure guidance.
- Real microphone recording and audio-file transcription workflow with pause/resume, playback, rename, language selection, persisted jobs, and Cactus Whisper model readiness.
- Per-chat system prompts now persist by stable identity across switching, restart, import, and export.
- Ollama screens now distinguish unreachable endpoints from valid empty model lists and show the configured destination with a retry path.
- Settings and privacy navigation were reorganized for clearer Model Store, provider, knowledge, audio, network, and system boundaries.
- Responsive small-screen and large-text improvements, including the 360dp regression path.
Reliability and release work
- App version:
1.0.37+37 flutter analyze: passed with no issues.flutter test: 141 tests passed.- Universal and per-ABI Android APK builds completed successfully.
- SHA-256 checksums are included in
SHA256SUMS.txt.
Important signing notice
These APKs are signed with the Android debug certificate because no production signing key was available in the release checkout. This GitHub release is therefore marked as an engineering pre-release. It is not a production-key upgrade artifact and may not install over a differently signed build without uninstalling that build first.
Choose the universal APK if you are unsure which ABI your device uses. The smaller
arm64-v8aAPK is appropriate for most modern Android phones.See
RELEASE_NOTES.mdanddocs/KNOWN_LIMITATIONS.mdin the source tree for the complete capability and limitation record.Highlights: Typed Tool Calling, Skill Permissions, Audio Workspace & OpenAI Local API
This release delivers Phase 4 of our product roadmap, introducing structured tool calling, skill permission manifests, an offline audio transcription workspace, prompt lab parameter engineering, a local OpenAI-compatible API server, and encrypted local backup migration:
1. Typed Tool-Calling Engine & JSON Schema Validation: Structured tool execution parser (
TypedToolCallingService) validating JSON payloads{"tool": "...", "arguments": {...}}with JSON Schema enforcement, execution timeouts, parameter rejection, and execution history tracking.2. Skill Permission Manifest & Inspector: Granular permission declaration system (
SkillPermissionManifest) parsing SKILL.md YAML frontmatter permissions (network,filesystem,device,risk) with pre-installation risk warnings.3. Agentic Mobile Action Engine: Native device action scheduler (
MobileActionService) supportingscheduleReminder,createNote,draftEmail, andcopyToClipboardwith user confirmation prompts.4. Offline Audio Transcription Workspace (
/settings/audio-transcription): Dedicated audio workspace (AudioTranscriptionScreen&AudioTranscriptionService) providing timestamped transcriptions, meeting summaries, task extractions, and.txt/.md/.srtexport capabilities.5. Prompt Lab Workspace (
/settings/prompt-lab): Engineering environment (PromptLabScreen) for system prompt editing, dynamic variable replacements{{variable}}, sampling parameter sliders (Temperature, Top P, Top K, Repeat Penalty), and side-by-side prompt benchmarks.6. Embedded OpenAI-Compatible Local Server: Local HTTP server (
OpenAiServerService) exposing/v1/chat/completions,/v1/models, and/v1/embeddingsbound tolocalhostwith bearer token security and live request audit logs.7. Encrypted Local Backup & Data Migration: Archive export and restore service (
BackupMigrationService) generating password-protected.pllmJSON archives containing chats, settings, personas, skills, and memories with SHA-256 integrity verification.---
Feature List
🔍 Tavily Web Search (New!)
- Real-time Web Search (
web_searchtool): Native integration with the Tavily Search API directly inside ourToolCallingServiceto query live web data. - Web Search Toggle: Conveniently toggle live search on and off directly from the chat input toolbar (
Icons.language_rounded). - API Key Verification: Built-in verification dialog guiding the user to enter their Tavily API key in settings if they attempt to search without it.
- Premium Shimmer Bubble: Shows a beautiful, dynamic
🔍 Searching the web...shimmering bubble while fetching internet resources, keeping the UI alive and responsive. - Inline Source Citations: Conditions local LLMs to cite sources via standard, clickable inline markdown links
[Source Name](URL)that launch automatically in external browsers. - Secure API Configuration: Dedicated settings field under "Web Search (Tavily)" to easily and safely enter, preview, and persist Tavily API credentials.
🧩 Agent Skills System (New!)
- SKILL.md Standard Format: Follows the standard YAML frontmatter and Markdown body architecture for clean, organized, and powerful domain-specific skills.
- GitHub Skill Installer: Easily download, preview, and install custom skills from any standard or raw GitHub repository URL, with automatic blob link conversion.
- Full CRUD & Status Toggles: Create, read, update, and delete agent skills manually with sleek modal sheets. Easily toggle individual skills on or off using M3 switches.
- Smart Autocomplete Suggester: As you type
/in the chat input, a horizontal M3 selection panel dynamically populates matching active skills. - In-Input Rich Highlights & Tap-Redirects: Skill triggers inside the input field are highlighted in bold primary blue. Tapping on a highlighted skill word instantly redirects you to the detailed skill instructions page.
- Inter-Bubble Clickable Badges: preprocessed message content converts skill triggers into interactive markdown links in both user and assistant conversation bubbles. Tapping a badge takes you directly to the skill's instructions.
- Dynamic LLM Skill Conditioning: Complete automatic scanning of active skill triggers inside user queries. When a skill is detected, its markdown body is dynamically injected into the system instructions for that turn.
🤖 AI Chat & Interaction
- Dynamic AI Personas: Design custom AI experts with specific emoji avatars, custom system prompts, temperature overrides, and associated default local models.
- Horizontal Persona Picker HUD: Choose your helper instantly when starting a chat using a gorgeous horizontally scrollable card deck with native haptic selections.
- Native Agentic Tools: Toggle "Native Agentic Tools" in Chat Settings to let local models execute native code tools:
* Calculator: Solves complex and basic mathematical equations.
* System Info: Queries native platform parameter details, local dates, and local times.
* Knowledge Search: Simulates general knowledge Wikipedia-style summaries offline.
- Adaptive Tool UI Cards: Beautiful custom cards rendered in the chat timeline to highlight tool calls, parameter arguments, and returning response data dynamically.
- DeepSeek R1 Thinking: Streaming support for
<think>tags, rendered in a beautifully animated Material 3 collapsible accordion. - Knowledge Base RAG: Toggle Retrieval-Augmented Generation (RAG) directly in the Chat Settings dialog to automatically query offline vector databases and augment prompts with local context.
- Ollama Integration: Seamlessly connect to local Ollama instances.
- Model Management: View, pull, and delete local LLM models directly from the app.
- Real-time Streaming: Enjoy fast, token-by-token response streaming.
- Multimodal Support: Attach images to your chats (Vision model compatible).
- File Attachments: Upload text files for the AI to analyze and discuss.
- Chat History: Auto-saves all your conversations locally.
- Markdown Support: Full rendering of code blocks, tables, and formatted text.
- Prompt Enhancer: Automatically optimize simple prompts into detailed instructions.
🎙️ Audio & Voice Capabilities
- Offline Speech-to-Text (STT): Voice-type your prompts offline by holding the microphone toolbar button, sending speech directly to the text field with native pulsing animations.
- Offline Text-to-Speech (TTS): Read any AI message aloud with a single tap of the "Speak" action chip in the focused long-press menu.
📊 Performance Benchmarking
- Speed Profiler: Run standard scenarios (Quick Test, Complex Reasoning, Custom) to measure Time to First Token (TTFT) latency and Generation Speed (tokens/sec).
- Historical Logs: Tracks past runs and shows percentage speed gains/losses compared to your device's average benchmarks.
🎨 Customization & Appearance
- Live Preview: See your changes instantly with a new interactive preview card.
- Theme Presets: One-tap application of curated themes (Ocean Breeze, Midnight Glow, Obsidian, etc.).
- Granular Control:
* Colors: Pick custom colors for User and AI bubbles using a new advanced color picker.
* Typography: Adjust font size with precise stepper controls.
* Layout: Fine-tune chat padding and bubble corner radius (Sharp, Rounded, Pill).
- Advanced Options: Toggle sender avatars and set custom background colors.
- Haptic Feedback: Meaningful vibrations for interactions (can be toggled).
🧠 System Prompt Library
- Dedicated Management Page: A screen to organize all your system prompts.
- CRUD Operations: Create, Read, Update, and Delete system prompts with ease.
- Usage: Select saved prompts quickly when starting new chats to define AI behavior (e.g., "Python Expert", "Creative Writer").
📚 Knowledge & Organization
- Document Manager: Manage ingested text, PDF, and markdown files in the local vector DB for RAG.
- Chat Archives: Clean up your main list by archiving old conversations.
- Starred Messages: Bookmark important messages for quick access later.
- Media Gallery: Browse all images sent/received across all chats in one place.
- Tags: Organize chats with custom tags for easy filtering.
- Full Text Search: Search through your chat history to find specific information.
⚙️ Core Features
- Privacy First & Ad-Free: All monetization, Google Mobile Ads dependencies, banner widgets, and token limits are permanently removed.
- Offline Capable: Works completely offline.
- Dark/Light Mode: Full support for system, light, and dark themes.
- Export/Import: Backup your entire chat history and settings to a JSON file.
- Onboarding: Smooth introduction flow for new users.
---
Technical Improvements
- Agentic Pipelines: Built-in regex stream splitter and recursive follow-up loop that invokes native code handlers and re-injects tool response parameters.
- Performance: Optimized stream parsing of custom tags and faster Hive read/write operations.
- Code Quality: Fixed build_runner generated types, removed redundant imports, and fixed BuildContext async usage.
- Zero-Ad Cleanse: Cleaned up the app settings and layout file footprints.
---
Release Build Command
To build the signed, optimized release APK:
flutter build apk --split-per-abi --release- Real-time Web Search (
Highlights: Local Long-Term Memory, Hybrid RAG & Offline OCR
This release delivers Phase 3 of our product roadmap, equipping PocketLLM Lite with persistent local memory, transparent memory inspection, an enterprise-grade document workspace, hybrid search with page citations, and offline OCR:
1. Local Long-Term Memory & Sensitivity Shield: Automatically extracts durable facts across 7 categories (*Personal Facts, Preferences, Projects, People, Goals, Writing Style, Reusable Instructions*) while suppressing sensitive credentials.
2. Local Memory Inspector (
/settings/memory-inspector): Interactive panel allowing users to view, search, edit, delete, pin, toggle, or manually create long-term memories.3. Hybrid Retrieval Engine & MMR: Dense vector + BM25 hybrid search engine (
HybridRetrievalService) with Maximum Marginal Relevance (MMR) deduplication preventing repetitive context injection.4. Multi-Document Workspace & Semantic Chunker: RAG workspace (
DocumentWorkspaceService) preserving page numbers, heading hierarchies, code blocks, and formatting inline page citations[DocName.pdf, Page X].5. Offline Local OCR & Document Vision: On-device text extraction service (
LocalOcrService) for scanned PDFs, screenshots, whiteboards, forms, and receipts without external APIs.---
Feature List
🔍 Tavily Web Search (New!)
- Real-time Web Search (
web_searchtool): Native integration with the Tavily Search API directly inside ourToolCallingServiceto query live web data. - Web Search Toggle: Conveniently toggle live search on and off directly from the chat input toolbar (
Icons.language_rounded). - API Key Verification: Built-in verification dialog guiding the user to enter their Tavily API key in settings if they attempt to search without it.
- Premium Shimmer Bubble: Shows a beautiful, dynamic
🔍 Searching the web...shimmering bubble while fetching internet resources, keeping the UI alive and responsive. - Inline Source Citations: Conditions local LLMs to cite sources via standard, clickable inline markdown links
[Source Name](URL)that launch automatically in external browsers. - Secure API Configuration: Dedicated settings field under "Web Search (Tavily)" to easily and safely enter, preview, and persist Tavily API credentials.
🧩 Agent Skills System (New!)
- SKILL.md Standard Format: Follows the standard YAML frontmatter and Markdown body architecture for clean, organized, and powerful domain-specific skills.
- GitHub Skill Installer: Easily download, preview, and install custom skills from any standard or raw GitHub repository URL, with automatic blob link conversion.
- Full CRUD & Status Toggles: Create, read, update, and delete agent skills manually with sleek modal sheets. Easily toggle individual skills on or off using M3 switches.
- Smart Autocomplete Suggester: As you type
/in the chat input, a horizontal M3 selection panel dynamically populates matching active skills. - In-Input Rich Highlights & Tap-Redirects: Skill triggers inside the input field are highlighted in bold primary blue. Tapping on a highlighted skill word instantly redirects you to the detailed skill instructions page.
- Inter-Bubble Clickable Badges: preprocessed message content converts skill triggers into interactive markdown links in both user and assistant conversation bubbles. Tapping a badge takes you directly to the skill's instructions.
- Dynamic LLM Skill Conditioning: Complete automatic scanning of active skill triggers inside user queries. When a skill is detected, its markdown body is dynamically injected into the system instructions for that turn.
🤖 AI Chat & Interaction
- Dynamic AI Personas: Design custom AI experts with specific emoji avatars, custom system prompts, temperature overrides, and associated default local models.
- Horizontal Persona Picker HUD: Choose your helper instantly when starting a chat using a gorgeous horizontally scrollable card deck with native haptic selections.
- Native Agentic Tools: Toggle "Native Agentic Tools" in Chat Settings to let local models execute native code tools:
* Calculator: Solves complex and basic mathematical equations.
* System Info: Queries native platform parameter details, local dates, and local times.
* Knowledge Search: Simulates general knowledge Wikipedia-style summaries offline.
- Adaptive Tool UI Cards: Beautiful custom cards rendered in the chat timeline to highlight tool calls, parameter arguments, and returning response data dynamically.
- DeepSeek R1 Thinking: Streaming support for
<think>tags, rendered in a beautifully animated Material 3 collapsible accordion. - Knowledge Base RAG: Toggle Retrieval-Augmented Generation (RAG) directly in the Chat Settings dialog to automatically query offline vector databases and augment prompts with local context.
- Ollama Integration: Seamlessly connect to local Ollama instances.
- Model Management: View, pull, and delete local LLM models directly from the app.
- Real-time Streaming: Enjoy fast, token-by-token response streaming.
- Multimodal Support: Attach images to your chats (Vision model compatible).
- File Attachments: Upload text files for the AI to analyze and discuss.
- Chat History: Auto-saves all your conversations locally.
- Markdown Support: Full rendering of code blocks, tables, and formatted text.
- Prompt Enhancer: Automatically optimize simple prompts into detailed instructions.
🎙️ Audio & Voice Capabilities
- Offline Speech-to-Text (STT): Voice-type your prompts offline by holding the microphone toolbar button, sending speech directly to the text field with native pulsing animations.
- Offline Text-to-Speech (TTS): Read any AI message aloud with a single tap of the "Speak" action chip in the focused long-press menu.
📊 Performance Benchmarking
- Speed Profiler: Run standard scenarios (Quick Test, Complex Reasoning, Custom) to measure Time to First Token (TTFT) latency and Generation Speed (tokens/sec).
- Historical Logs: Tracks past runs and shows percentage speed gains/losses compared to your device's average benchmarks.
🎨 Customization & Appearance
- Live Preview: See your changes instantly with a new interactive preview card.
- Theme Presets: One-tap application of curated themes (Ocean Breeze, Midnight Glow, Obsidian, etc.).
- Granular Control:
* Colors: Pick custom colors for User and AI bubbles using a new advanced color picker.
* Typography: Adjust font size with precise stepper controls.
* Layout: Fine-tune chat padding and bubble corner radius (Sharp, Rounded, Pill).
- Advanced Options: Toggle sender avatars and set custom background colors.
- Haptic Feedback: Meaningful vibrations for interactions (can be toggled).
🧠 System Prompt Library
- Dedicated Management Page: A screen to organize all your system prompts.
- CRUD Operations: Create, Read, Update, and Delete system prompts with ease.
- Usage: Select saved prompts quickly when starting new chats to define AI behavior (e.g., "Python Expert", "Creative Writer").
📚 Knowledge & Organization
- Document Manager: Manage ingested text, PDF, and markdown files in the local vector DB for RAG.
- Chat Archives: Clean up your main list by archiving old conversations.
- Starred Messages: Bookmark important messages for quick access later.
- Media Gallery: Browse all images sent/received across all chats in one place.
- Tags: Organize chats with custom tags for easy filtering.
- Full Text Search: Search through your chat history to find specific information.
⚙️ Core Features
- Privacy First & Ad-Free: All monetization, Google Mobile Ads dependencies, banner widgets, and token limits are permanently removed.
- Offline Capable: Works completely offline.
- Dark/Light Mode: Full support for system, light, and dark themes.
- Export/Import: Backup your entire chat history and settings to a JSON file.
- Onboarding: Smooth introduction flow for new users.
---
Technical Improvements
- Agentic Pipelines: Built-in regex stream splitter and recursive follow-up loop that invokes native code handlers and re-injects tool response parameters.
- Performance: Optimized stream parsing of custom tags and faster Hive read/write operations.
- Code Quality: Fixed build_runner generated types, removed redundant imports, and fixed BuildContext async usage.
- Zero-Ad Cleanse: Cleaned up the app settings and layout file footprints.
---
Release Build Command
To build the signed, optimized release APK:
flutter build apk --split-per-abi --release- Real-time Web Search (
Highlights: Device-Aware AI, Task Routing & Context Budgeting
This release delivers Phase 2 of our product roadmap, bringing hardware-aware model recommendations, intelligent task routing, model profile sampling defaults, context budgeting, conversation branching, and side-by-side A/B model comparison:
1. Device-Aware Recommendation Engine: Automatically profiles hardware RAM, CPU cores, GPU/NPU availability, and storage to score model fit using a multi-factor compatibility formula (
Recommended,Can run,Risk of crash,Too large for this device).2. Task-Based Model Router: High-level task selector (
Fast Chat,Best Reasoning,Coding,Document Analysis,Creative Writing,Vision,Low Battery,Long Context) that automatically routes queries to the optimal local model. Includes manual override controls.3. Model Sampling Profile Registry: Architectural registry maintaining tuned sampling parameters (temperature, topP, topK, repeatPenalty), chat templates, BOS/EOS tokens, thinking tags (
<think>), and stop sequences per model family.4. Context-Budget Manager: Enforces dynamic token allocations (System: 10%, Recent chat: 40%, Memory: 15%, Document RAG: 25%, Response reservation: 10%) with automatic local conversation summarization on context boundaries.
5. Side-by-Side A/B Model Comparison: Interactive benchmark screen (
ModelComparisonScreen) running side-by-side prompt execution to measure Time to First Token (TTFT), generation speed (tokens/sec), peak RAM, and winner voting.6. Chat Tree Branching & Swiping: Branching engine (
ChatBranchService) enabling message editing, conversation branching, and multi-version response swiping (Response 1 of 2).---
Feature List
🔍 Tavily Web Search (New!)
- Real-time Web Search (
web_searchtool): Native integration with the Tavily Search API directly inside ourToolCallingServiceto query live web data. - Web Search Toggle: Conveniently toggle live search on and off directly from the chat input toolbar (
Icons.language_rounded). - API Key Verification: Built-in verification dialog guiding the user to enter their Tavily API key in settings if they attempt to search without it.
- Premium Shimmer Bubble: Shows a beautiful, dynamic
🔍 Searching the web...shimmering bubble while fetching internet resources, keeping the UI alive and responsive. - Inline Source Citations: Conditions local LLMs to cite sources via standard, clickable inline markdown links
[Source Name](URL)that launch automatically in external browsers. - Secure API Configuration: Dedicated settings field under "Web Search (Tavily)" to easily and safely enter, preview, and persist Tavily API credentials.
🧩 Agent Skills System (New!)
- SKILL.md Standard Format: Follows the standard YAML frontmatter and Markdown body architecture for clean, organized, and powerful domain-specific skills.
- GitHub Skill Installer: Easily download, preview, and install custom skills from any standard or raw GitHub repository URL, with automatic blob link conversion.
- Full CRUD & Status Toggles: Create, read, update, and delete agent skills manually with sleek modal sheets. Easily toggle individual skills on or off using M3 switches.
- Smart Autocomplete Suggester: As you type
/in the chat input, a horizontal M3 selection panel dynamically populates matching active skills. - In-Input Rich Highlights & Tap-Redirects: Skill triggers inside the input field are highlighted in bold primary blue. Tapping on a highlighted skill word instantly redirects you to the detailed skill instructions page.
- Inter-Bubble Clickable Badges: preprocessed message content converts skill triggers into interactive markdown links in both user and assistant conversation bubbles. Tapping a badge takes you directly to the skill's instructions.
- Dynamic LLM Skill Conditioning: Complete automatic scanning of active skill triggers inside user queries. When a skill is detected, its markdown body is dynamically injected into the system instructions for that turn.
🤖 AI Chat & Interaction
- Dynamic AI Personas: Design custom AI experts with specific emoji avatars, custom system prompts, temperature overrides, and associated default local models.
- Horizontal Persona Picker HUD: Choose your helper instantly when starting a chat using a gorgeous horizontally scrollable card deck with native haptic selections.
- Native Agentic Tools: Toggle "Native Agentic Tools" in Chat Settings to let local models execute native code tools:
* Calculator: Solves complex and basic mathematical equations.
* System Info: Queries native platform parameter details, local dates, and local times.
* Knowledge Search: Simulates general knowledge Wikipedia-style summaries offline.
- Adaptive Tool UI Cards: Beautiful custom cards rendered in the chat timeline to highlight tool calls, parameter arguments, and returning response data dynamically.
- DeepSeek R1 Thinking: Streaming support for
<think>tags, rendered in a beautifully animated Material 3 collapsible accordion. - Knowledge Base RAG: Toggle Retrieval-Augmented Generation (RAG) directly in the Chat Settings dialog to automatically query offline vector databases and augment prompts with local context.
- Ollama Integration: Seamlessly connect to local Ollama instances.
- Model Management: View, pull, and delete local LLM models directly from the app.
- Real-time Streaming: Enjoy fast, token-by-token response streaming.
- Multimodal Support: Attach images to your chats (Vision model compatible).
- File Attachments: Upload text files for the AI to analyze and discuss.
- Chat History: Auto-saves all your conversations locally.
- Markdown Support: Full rendering of code blocks, tables, and formatted text.
- Prompt Enhancer: Automatically optimize simple prompts into detailed instructions.
🎙️ Audio & Voice Capabilities
- Offline Speech-to-Text (STT): Voice-type your prompts offline by holding the microphone toolbar button, sending speech directly to the text field with native pulsing animations.
- Offline Text-to-Speech (TTS): Read any AI message aloud with a single tap of the "Speak" action chip in the focused long-press menu.
📊 Performance Benchmarking
- Speed Profiler: Run standard scenarios (Quick Test, Complex Reasoning, Custom) to measure Time to First Token (TTFT) latency and Generation Speed (tokens/sec).
- Historical Logs: Tracks past runs and shows percentage speed gains/losses compared to your device's average benchmarks.
🎨 Customization & Appearance
- Live Preview: See your changes instantly with a new interactive preview card.
- Theme Presets: One-tap application of curated themes (Ocean Breeze, Midnight Glow, Obsidian, etc.).
- Granular Control:
* Colors: Pick custom colors for User and AI bubbles using a new advanced color picker.
* Typography: Adjust font size with precise stepper controls.
* Layout: Fine-tune chat padding and bubble corner radius (Sharp, Rounded, Pill).
- Advanced Options: Toggle sender avatars and set custom background colors.
- Haptic Feedback: Meaningful vibrations for interactions (can be toggled).
🧠 System Prompt Library
- Dedicated Management Page: A screen to organize all your system prompts.
- CRUD Operations: Create, Read, Update, and Delete system prompts with ease.
- Usage: Select saved prompts quickly when starting new chats to define AI behavior (e.g., "Python Expert", "Creative Writer").
📚 Knowledge & Organization
- Document Manager: Manage ingested text, PDF, and markdown files in the local vector DB for RAG.
- Chat Archives: Clean up your main list by archiving old conversations.
- Starred Messages: Bookmark important messages for quick access later.
- Media Gallery: Browse all images sent/received across all chats in one place.
- Tags: Organize chats with custom tags for easy filtering.
- Full Text Search: Search through your chat history to find specific information.
⚙️ Core Features
- Privacy First & Ad-Free: All monetization, Google Mobile Ads dependencies, banner widgets, and token limits are permanently removed.
- Offline Capable: Works completely offline.
- Dark/Light Mode: Full support for system, light, and dark themes.
- Export/Import: Backup your entire chat history and settings to a JSON file.
- Onboarding: Smooth introduction flow for new users.
---
Technical Improvements
- Agentic Pipelines: Built-in regex stream splitter and recursive follow-up loop that invokes native code handlers and re-injects tool response parameters.
- Performance: Optimized stream parsing of custom tags and faster Hive read/write operations.
- Code Quality: Fixed build_runner generated types, removed redundant imports, and fixed BuildContext async usage.
- Zero-Ad Cleanse: Cleaned up the app settings and layout file footprints.
---
Release Build Command
To build the signed, optimized release APK:
flutter build apk --split-per-abi --release- Real-time Web Search (
**Highlights: Local LLama.cpp and gguf Model support*
<img width="1672" height="941" alt="image" src="https://github.com/user-attachments/assets/329a6de7-48e6-413a-9f60-067b197bf8fb" />
Here is a comprehensive architectural guide detailing the offline local model installation system, directory structure, and GGUF loader pipeline in PocketLLM Lite.
PocketLLM Lite: Local Model Installation & GGUF Loader Architecture
PocketLLM Lite features a privacy-first, 100% offline local inference engine that permits downloading, importing, caching, and loading GGUF (GGML) models on Android and iOS devices.
## 1. Local Storage Sandbox (Unified Directory)
To prevent fragmentations across downloads and file Pickers, PocketLLM Lite unifies all local .gguf storage into a single directory sandbox:
• Location: getApplicationDocumentsDirectory() + /models/ (via model_storage_service.dart).
• Catalog Downloads: Downloaded models (e.g., Gemma 3 270M) are saved directly here as <model_id>.gguf .
• Custom Imports: Selected .gguf files imported via the System File Picker are either registered directly if already located inside this directory, or copied into it, ensuring they are accessible to the inference engine.
2. GGUF Download Pipelines
PocketLLM Lite supports two paths for downloading models:
1. Catalog Models (Cactus Edge API):
• Queries model lists dynamically from Cactus metadata.
• Downloads are orchestrated via CactusLM().downloadModel(...) .
• Built-in watchdog timer (45-second silence threshold) monitors progress stream callbacks; it automatically cleans up download state flags in case of connection drops or timeouts.
2. Custom Hugging Face Models (Dio Stream):
• Managed via model_download_service.dart.
• Utilizes Dio streams to download any custom GGUF model via URL.
• Computes live download metrics, including progress percentages, download speed (MB/s), and Estimated Time of Arrival (ETA).
## 3. GGUF Memory Loading (RAM Loader)
Model initialization is managed by local_inference_service.dart:
• On-Demand Auto-Loading: When a user selects a local downloaded model and sends a message, the chatStream method intercepts the request and automatically calls
loadModel(modelId) .
• FFI Integration: Uses the Cactus SDK ( CactusLM ), which wraps a high-performance C++ llama.cpp kernel compiled for mobile platforms (using libcactus_lm.so on
Android).
• Memory Mapping: The GGUF file is mapped directly into the application's RAM heap space.
• RAM State Tracking: The active model ID is tracked via the activeLoadedId property on ModelManagerNotifier . If the user switches to a different local model, the system automatically calls unload() on the previously active model to free up device RAM.
## 4. Chat UI Integration
• Loading Feedback: While the .gguf file is being read and mapped to memory, the isModelLoading state flag is set to true . The message area displays an italicized loading bubble stating:
│ Loading model, please wait...
• Token Delivery: Once the FFI bridge finishes loading weights and generates the first token, isModelLoading flips to false and the output begins streaming smoothly.
---
Feature List
🔍 Tavily Web Search (New!)
- Real-time Web Search (
web_searchtool): Native integration with the Tavily Search API directly inside ourToolCallingServiceto query live web data. - Web Search Toggle: Conveniently toggle live search on and off directly from the chat input toolbar (
Icons.language_rounded). - API Key Verification: Built-in verification dialog guiding the user to enter their Tavily API key in settings if they attempt to search without it.
- Premium Shimmer Bubble: Shows a beautiful, dynamic
🔍 Searching the web...shimmering bubble while fetching internet resources, keeping the UI alive and responsive. - Inline Source Citations: Conditions local LLMs to cite sources via standard, clickable inline markdown links
[Source Name](URL)that launch automatically in external browsers. - Secure API Configuration: Dedicated settings field under "Web Search (Tavily)" to easily and safely enter, preview, and persist Tavily API credentials.
🧩 Agent Skills System (New!)
- SKILL.md Standard Format: Follows the standard YAML frontmatter and Markdown body architecture for clean, organized, and powerful domain-specific skills.
- GitHub Skill Installer: Easily download, preview, and install custom skills from any standard or raw GitHub repository URL, with automatic blob link conversion.
- Full CRUD & Status Toggles: Create, read, update, and delete agent skills manually with sleek modal sheets. Easily toggle individual skills on or off using M3 switches.
- Smart Autocomplete Suggester: As you type
/in the chat input, a horizontal M3 selection panel dynamically populates matching active skills. - In-Input Rich Highlights & Tap-Redirects: Skill triggers inside the input field are highlighted in bold primary blue. Tapping on a highlighted skill word instantly redirects you to the detailed skill instructions page.
- Inter-Bubble Clickable Badges: preprocessed message content converts skill triggers into interactive markdown links in both user and assistant conversation bubbles. Tapping a badge takes you directly to the skill's instructions.
- Dynamic LLM Skill Conditioning: Complete automatic scanning of active skill triggers inside user queries. When a skill is detected, its markdown body is dynamically injected into the system instructions for that turn.
🤖 AI Chat & Interaction
- Dynamic AI Personas: Design custom AI experts with specific emoji avatars, custom system prompts, temperature overrides, and associated default local models.
- Horizontal Persona Picker HUD: Choose your helper instantly when starting a chat using a gorgeous horizontally scrollable card deck with native haptic selections.
- Native Agentic Tools: Toggle "Native Agentic Tools" in Chat Settings to let local models execute native code tools:
* Calculator: Solves complex and basic mathematical equations.
* System Info: Queries native platform parameter details, local dates, and local times.
* Knowledge Search: Simulates general knowledge Wikipedia-style summaries offline.
- Adaptive Tool UI Cards: Beautiful custom cards rendered in the chat timeline to highlight tool calls, parameter arguments, and returning response data dynamically.
- DeepSeek R1 Thinking: Streaming support for
<think>tags, rendered in a beautifully animated Material 3 collapsible accordion. - Knowledge Base RAG: Toggle Retrieval-Augmented Generation (RAG) directly in the Chat Settings dialog to automatically query offline vector databases and augment prompts with local context.
- Ollama Integration: Seamlessly connect to local Ollama instances.
- Model Management: View, pull, and delete local LLM models directly from the app.
- Real-time Streaming: Enjoy fast, token-by-token response streaming.
- Multimodal Support: Attach images to your chats (Vision model compatible).
- File Attachments: Upload text files for the AI to analyze and discuss.
- Chat History: Auto-saves all your conversations locally.
- Markdown Support: Full rendering of code blocks, tables, and formatted text.
- Prompt Enhancer: Automatically optimize simple prompts into detailed instructions.
🎙️ Audio & Voice Capabilities
- Offline Speech-to-Text (STT): Voice-type your prompts offline by holding the microphone toolbar button, sending speech directly to the text field with native pulsing animations.
- Offline Text-to-Speech (TTS): Read any AI message aloud with a single tap of the "Speak" action chip in the focused long-press menu.
📊 Performance Benchmarking
- Speed Profiler: Run standard scenarios (Quick Test, Complex Reasoning, Custom) to measure Time to First Token (TTFT) latency and Generation Speed (tokens/sec).
- Historical Logs: Tracks past runs and shows percentage speed gains/losses compared to your device's average benchmarks.
🎨 Customization & Appearance
- Live Preview: See your changes instantly with a new interactive preview card.
- Theme Presets: One-tap application of curated themes (Ocean Breeze, Midnight Glow, Obsidian, etc.).
- Granular Control:
* Colors: Pick custom colors for User and AI bubbles using a new advanced color picker.
* Typography: Adjust font size with precise stepper controls.
* Layout: Fine-tune chat padding and bubble corner radius (Sharp, Rounded, Pill).
- Advanced Options: Toggle sender avatars and set custom background colors.
- Haptic Feedback: Meaningful vibrations for interactions (can be toggled).
🧠 System Prompt Library
- Dedicated Management Page: A screen to organize all your system prompts.
- CRUD Operations: Create, Read, Update, and Delete system prompts with ease.
- Usage: Select saved prompts quickly when starting new chats to define AI behavior (e.g., "Python Expert", "Creative Writer").
📚 Knowledge & Organization
- Document Manager: Manage ingested text, PDF, and markdown files in the local vector DB for RAG.
- Chat Archives: Clean up your main list by archiving old conversations.
- Starred Messages: Bookmark important messages for quick access later.
- Media Gallery: Browse all images sent/received across all chats in one place.
- Tags: Organize chats with custom tags for easy filtering.
- Full Text Search: Search through your chat history to find specific information.
⚙️ Core Features
- Privacy First & Ad-Free: All monetization, Google Mobile Ads dependencies, banner widgets, and token limits are permanently removed.
- Offline Capable: Works completely offline.
- Dark/Light Mode: Full support for system, light, and dark themes.
- Export/Import: Backup your entire chat history and settings to a JSON file.
- Onboarding: Smooth introduction flow for new users.
---
Technical Improvements
- Agentic Pipelines: Built-in regex stream splitter and recursive follow-up loop that invokes native code handlers and re-injects tool response parameters.
- Performance: Optimized stream parsing of custom tags and faster Hive read/write operations.
- Code Quality: Fixed build_runner generated types, removed redundant imports, and fixed BuildContext async usage.
- Zero-Ad Cleanse: Cleaned up the app settings and layout file footprints.
---
Release Build Command
To build the signed, optimized release APK:
flutter build apk --split-per-abi --release- Real-time Web Search (
<img width="1672" height="941" alt="image" src="https://github.com/user-attachments/assets/fb86e70b-2d3b-4feb-a48c-a75ac5658402" />
Highlights: Real-Time Web Search, Shimmer Loading, Markdown Citations, and Centered README Redesign
This patch release introduces the highly anticipated Tavily Web Search integration! Users can now toggle real-time internet search capabilities directly from the chat toolbar. During web search queries, the UI displays a premium shimmering
🔍 Searching the web...animation, which smoothly transitions back into our standard pulsing three-dots once the local model begins streaming its reply. The system automatically conditions local models to cite source references using clickable inline Markdown links that launch in external browsers.Additionally, we added a secure Tavily API Key field in the Settings panel and fully polished our developer documentation, centering all header graphics, title tags, badges, and introductory descriptions at the top of the README.
---
Detailed Release Notes
#### 🔍 Tavily Web Search Tool Integration
- Dynamic Web Search Tool (
web_search): Configured the nativeToolCallingServiceto register a Tavily API search handler, executing HTTP queries to retrieve live internet references, titles, and snippets. - Prompt Injection & Inline Citations: Automated system prompt conditioning to expose the
web_searchcapabilities when enabled. The instructions successfully force the LLMs to construct clickable inline references under[Source Name](URL)format.
#### 🎨 Premium UX & Shimmering Loaders
- Searching Shimmer Bubble: Imported the native
shimmerpackage insideChatBubbleto render a beautiful shimmering progress indicator during live Tavily searches. - Interactive Input Toggle: Placed a Web Search Toggle icon button (
Icons.language_rounded) in the bottomChatInputtoolbar next to the microphone icon. - API Key Validation Dialog: Built-in verification triggers a modern Material 3
AlertDialogprompting the user to set up a Tavily API key first if they attempt to enable search with an empty key.
#### ⚙️ Secure Key Configurations
- Settings Field: Implemented a secure password-obscured Tavily API key TextField inside a dedicated Web Search (Tavily) card section in the main Settings panel, detailing instructions on how to fetch a free key from
tavily.com.
- Dynamic Web Search Tool (
PocketLLM Lite version 1.0.20 introduces a powerful, open-standard Agent Skills (SKILL.md) System! You can now easily expand your offline AI assistant's domain knowledge, customize templates, and build complex turn-based workflows completely on-device.
🧩 Premium Agent Skills System
- One-Tap GitHub Installer: Install expert agent skills directly by providing standard or raw GitHub repository URLs.
- YAML Frontmatter & Markdown Parser: Native runtime that fetches, parses frontmatter metadata (
---to---), previews, and installs custom skills instantly. - Local Skill CRUD: Seamlessly create, read, edit, and delete custom agent skills manually using Material 3 sheets and switches.
- Smart Autocomplete Suggester: As you type
/in the chat input, a horizontal chip menu slides up recommending matching active skills. - In-Input Highlights & Taps: Matches skill triggers and highlights them in bold primary blue inside the text field. Tapping a highlighted token opens the skill's instructions.
- Interactive Bubble Links: Preprocesses chat bubbles to display active skills as clickable blue badges for quick navigation to detail screens.
- Dynamic LLM Conditioning: Automatically scans messages for skill commands, reads their instructions, and appends them into system prompts to condition local models before they respond.
🛠️ Core Engineering Improvements
- NoSQL Storage Upgrades: Registered the new binary
SkillAdapteron local Hive databases with zero latency. - Static Type Analysis: Solved all compilation warnings and deprecated parameters, bringing code rules to zero warnings/errors.
- Code Sanitization: Formatted 41 files using
dart formatfor a clean code footprint.
This major update introduces premium user personalization, major visual feedback upgrades during offline generation, a cleaner app-bar layout, and crucial performance enhancements to guarantee robust, uninterrupted local LLM execution.
---
🌟 Highlights & Key Enhancements
#### 1. Gemini-Style Personalized Empty Chat State
- Dynamic Welcome Heading: welcomes you with a personalized *"Hi [Name], what's on your mind?"* header that reads dynamically from your Profile settings name, or falls back elegantly to *"Hi, what's on your mind?"* if unset.
- Premium Suggestion Cards: Swapped out old wrap-style recommendation chips for sleek vertical suggestion card containers featuring custom high-contrast dark surface backgrounds and modern sparkle search action icons (
Icons.auto_awesome_rounded). - Haptic Autofill Focus: Tapping a suggestion card triggers satisfying light haptic feedback, immediately prefills the text field, focuses the cursor, and positions it at the end for an exceptionally smooth user experience.
#### 2. Instant Bouncing-Dots Typing Animation
- Immediate Generation Visual Feedback: The pulsing three-dot bouncing typing indicator bubble (
...) is now displayed instantly when you hit send. This keeps you informed that the local model is starting up and processing context, rather than waiting for the first token stream to arrive.
#### 3. Clean Model-Only AppBar Selector
- Minimalist Dropdown Layout: Purged the redundant robot smart-toy icons from the top app bar's active model indicator and dropdown menus. The app bar now displays a clean, elegant, text-only selector showing only the name of your active local LLM (e.g.,
gemma2).
#### 4. Local LLM Connection & Load Stability
- Increased Connection & Generation Timeouts: Raised
apiConnectionTimeoutto 120 seconds andapiGenerationTimeoutto 180 seconds insideAppConstants. This prevents the client-side HTTP socket from terminating early while heavy local LLMs (like Gemma or Llama) spin up, allocate memory layers, and offload weights to CUDA/CPU. - CI/CD Compatibility Alignments: Refactored the
intlandanimationspackage dependencies inpubspec.yamlto ensure 100% stable compatibility with older and newer Flutter Dart SDKs (3.6.0through3.9.0), resolving all compiler blockages in your GitHub Actions runner pipeline.
We’re excited to release a major update to PocketLLM Lite, featuring a fully redesigned Material 3 Expressive UI, a new AI Persona system, and enhanced on-device reasoning capabilities.
✨ What’s New
🎨 Premium UI & Design
- Capsule Chat Input A sleek floating chat bar with rounded styling and high-contrast actions.
- Material 3 Expressive Full Material 3 implementation across the entire app experience.
- Dynamic Personas HUD Quickly switch between AI personas using the new horizontal persona picker.
🤖 Advanced AI Features
- Persona System Create custom AI assistants with unique avatars, system prompts, and temperature settings.
- Native Tool Calling Local models can now recursively use built-in tools such as Calculator, System Info, and Knowledge Search.
- DeepSeek R1 Support Beautiful rendering for collapsible reasoning/thought blocks using
<think>tags. - Offline RAG Retrieval-augmented generation powered by local document ingestion.
🎙️ Audio & Accessibility
- Neural TTS High-quality offline text-to-speech for AI responses.
- Voice STT Dictate prompts directly into the chat interface.
🔒 Privacy & Performance
- Ad-Free Experience Removed all legacy ad SDKs for a cleaner, fully private offline experience.
- Local Performance Benchmarker Measure and visualize inference speed directly on your device (tokens/sec).
---
📦 Installation
1. Download the attached
pocketllm-lite-v1.0.13.apk2. If prompted, enable Install from Unknown Sources in Android settings
3. Open the APK to install or update the app
Full Changelog:
[v1.0.10 → v1.0.13 Comparison](https://github.com/PocketLLM/pocketllm-lite/compare/v1.0.10...v1.0.13)
Highlights: Material 3 Expressive Redesign & System Prompt Library
This release brings a major visual overhaul to the application, adopting Material 3 Expressive design principles. We've introduced a stunning new Chat Appearance page with live previews, theme presets, and granular control over your chat interface. Additionally, we've launched a dedicated System Prompt Library for better management of your AI personas.
---
Feature List
🤖 AI Chat & Interaction
- Ollama Integration: Seamlessly connect to local Ollama instances.
- Model Management: View, pull, and delete local LLM models directly from the app.
- Real-time Streaming: Enjoy fast, token-by-token response streaming.
- Multimodal Support: Attach images to your chats (Vision model compatible).
- File Attachments: Upload text files for the AI to analyze and discuss.
- Chat History: Auto-saves all your conversations locally.
- Markdown Support: Full rendering of code blocks, tables, and formatted text.
- Prompt Enhancer: Automatically optimize simple prompts into detailed instructions.
🎨 Customization & Appearance (New!)
- Live Preview: See your changes instantly with a new interactive preview card.
- Theme Presets: One-tap application of curated themes (Ocean Breeze, Midnight Glow, Obsidian, etc.).
- Granular Control:
* Colors: Pick custom colors for User and AI bubbles using a new advanced color picker.
* Typography: Adjust font size with precise stepper controls.
* Layout: Fine-tune chat padding and bubble corner radius (Sharp, Rounded, Pill).
- Advanced Options: Toggle sender avatars and set custom background colors.
- Haptic Feedback: Meaningful vibrations for interactions (can be toggled).
🧠 System Prompt Library (New!)
- Dedicated Management Page: A new screen to organize all your system prompts.
- CRUD Operations: Create, Read, Update, and Delete system prompts with ease.
- Usage: Select saved prompts quickly when starting new chats to define AI behavior (e.g., "Python Expert", "Creative Writer").
📚 Knowledge & Organization
- Chat Archives: clean up your main list by archiving old conversations.
- Starred Messages: Bookmark important messages for quick access later.
- Media Gallery: Browse all images sent/received across all chats in one place.
- Tags: Organize chats with custom tags for easy filtering.
- Full Text Search: Search through your chat history to find specific information.
📊 Activity & Insights
- Usage Statistics: Visual charts showing daily message counts and token usage.
- Activity Log: detailed history of app actions (model pulls, deletions, settings changes).
- Profile: Manage your user profile details.
⚙️ Core Features
- Privacy First: All data is stored locally on your device using Hive.
- Offline Capable: Works completely offline (requires local Ollama instance).
- Dark/Light Mode: Full support for system, light, and dark themes.
- Export/Import: Backup your entire chat history and settings to a JSON file.
- Onboarding: Smooth introduction flow for new users.
---
Technical Improvements
- Performance: Optimized list rendering for long chat histories.
- UI Polish: Fixed negative constraint layout issues in customization screen.
- Dependencies: Updated core packages for better stability.
Looking for a download? Open the download page.