AI, fully local on your computer.
TypeScript aiai-toolskiwixllama-cpplocal-ailocal-llmofflineoffline-aioffline-firstprivacy-firstragwikipediazim
Model manifests
Each YAML file here describes one model. Manifests are committed to git; model weights are not
(weights live under models/ on the drive). The app reads these manifests to discover, verify
(SHA-256), recommend, and select models without code changes.
chat/— chat/instruct models (Qwen3 4B / 8B / 14B Q4 + 30B-A3B MoE, Qwen3-4B-2507, the Qwen3.5 wave, the Qwen3.6 27B pair, the Qwen3.8 27B family (three withdrawn static K-quants and theirUD-*successors), Granite 4.1 8B, Ministral 8B, Gemma 4 12B + the Gemma 4 QAT wave E2B / E4B / 26B-A4B / 31B, and two user-added local-test stubs,gemma-4-26b-q4andgemma4-coding-q8)embeddings/— embedding models (Multilingual E5 Small, F16; the manifestid/local_pathkeep a-q8suffix for historical stability — it tags stored vectors and is referenced across tests/docs, not a quant claim. Q8 is not the shipping quant — its q8_0 conversion crashes the pinned runtime; see../docs/model-policy.md.)reranker/— reranker models (BGE Reranker v2 m3)transcriber/— speech-to-text models (Whisper Small multilingual;whisper_cpp/ggml)translation/— document-translation models (TranslateGemma 12B Instruct Q4_K_M; drives the Translate screen's sidecar)vision/— vision models (Qwen2.5-VL 3B Instruct Q4; GGUF + mmproj projector)runtime-sources.yaml— the sidecar/asset download manifest (Phase 12): thellama-server(llama_cpp),whisper_cpp, and optionalkiwix_toolssidecar families, plus the OCR language-file block. Not a model manifest (it is excluded from model discovery); validated byshared/runtime-sources.ts.
Manifests are YAML, discovered recursively and validated at startup (invalid files are skipped
and logged, not fatal). See ../docs/model-policy.md for the field
reference, the model-state model, and the license-review gate.
Key points when authoring a manifest:
local_pathis relative to the drive root (e.g.models/chat/qwen3-4b-instruct-q4.gguf).sha256is lower-case hex; leave theREPLACE_WITH_REAL_HASHplaceholder during development and set the real GGUF hash before bundling on a commercial drive (a placeholder hash is only usable in developer mode).recommended_profiles(optional) lists the hardware profiles the model is recommended for (TINY/LITE/BALANCED/PRO/UNKNOWN) and drives the recommendation badge on the Models screen.idmust be unique across all manifests.download(optional, Phase 12) —{ url, sha256, size_bytes?, license_url?, withdrawn? }. When present, thefetch-modelsscripts download + SHA-256-verify the weight. A realdownload.sha256must equal a real top-levelsha256.withdrawn(#196) is a dated note that the publisher deleted the file (no" #"in it): the fetch scripts and the app skip the download, an installed copy keeps verifying, and the manifest carriesrecommendation_rank: 0. See../docs/model-policy.md"Withdrawn upstream sources".files(optional, #310) — the ADDITIONAL required files of this model's weight beyondlocal_path/sha256(which stay the primary — shard 1). A list of{ local_path, sha256, download? }, same shapes/rules as above. Must come afterlocal_path/sha256/download/mmproj(other keys may follow it) —verify-models/fetch-modelsread the top-level keys by file order. See "Manifest fields (required)" in../docs/model-policy.mdfor the full validator rules (download all-or-nothing, the shard-completeness rule).