Pocketmind docs
v2.0.0
Live previewConsole demo Get help
● Start

Architecture.
Three parts, one of them optional.

Everything the user does happens on the phone. The only network traffic is the model download and, if you use one, the settings from your console.

01The picture

Phone (Android / iOS) Flutter app (app/lib) chat · PDFs · photos · voice · history · privacy pocket_llm (dart:ffi + C bridge) llama.cpp (chat) · mtmd (photos) whisper.cpp (voice) · one ggml On the device only model files · chats (SQLite) · documents photos · settings — not backed up Hugging Face (third party) model files (GGUF), downloaded once, checked with sha256 before use Your console (optional) MIKODES Admin Kit · Node 22 GET /v1/config: catalog, features, texts, ads, paywall (no user data) download settings

02The parts

  • The app (app/lib): screens and logic in Dart; state with provider; history in SQLite.
  • The engine (app/packages/pocket_llm): a small C API over llama.cpp, mtmd and whisper.cpp, called through dart:ffi in a background isolate so the screen never freezes.
  • The console (admin/, optional): serves one JSON document, /v1/config (docs/CONTRACT.md).