2026 / ai + tools
Ollama Models Manager
Safe, verifiable backup and restore for local models

01 / Overview
Project overview
The project treats model archives as untrusted input. It validates manifest and blob size plus SHA-256, writes through a .partial file before atomic commit, deduplicates shared blobs, and uses staging plus rollback aliases before replacing a model through the local Ollama API.
02 / System highlights
03 / Architecture
Client
Command-line interface
Tkinter desktop interface
JSON automation output
Server
Loopback-only Ollama API
Read-only model-store discovery
Offline restore mode
Real-time
Background GUI jobs
Streaming progress
eval_count / eval_duration measurements
Infrastructure
Python standard-library runtime
Cross-platform package
unittest suite
Ruff checks
04 / Toolchain
05 / Source notes
README documents SHA-256 validation, .partial writes, atomic rename, staging, rollback, and fail-closed archive parsing.
pyproject.toml exposes both ollama-manager and ollama-manager-gui entry points with no runtime dependencies.
Tests cover bundles, restore paths, hardware recommendations, LM Studio import, GUI behavior, and benchmarking.