Skip to content

Latest commit

Β 

History

49 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

GGUF Loader

PyPI - Version PyPI - Downloads PyPI - Wheel PyPI - Python Versions GitHub License GitHub Last Commit

A privacy-first, beginner-friendly desktop application for running large language models fully locally on Windows, Linux, and macOS. Load any GGUF model (Mistral, LLaMA, DeepSeek, Qwen, and thousands more from Hugging Face) and chat with it β€” with a built-in agentic mode that can read, create, edit, and organize files in a workspace you choose. No data ever leaves your computer.

πŸ“¦ Also available as a Python package β€” install it in seconds with pip install ggufloader and launch it with ggufloader. View on PyPI


πŸ†• What's New in 2.2.0

  • Collision-proof pip package β€” the entire app now ships inside a single ggufloader package, so pip install ggufloader is safe even in shared or global Python environments where other packages live (no more top-level config/utils/core name clashes, no dependency mismatch: the tested dependency set is pinned).
  • Mature Agentic Mode β€” LangGraph-driven multi-step agent with 7 sandboxed tools, a live transcript panel, Allow/Deny approval cards for shell commands and git writes, and SQLite checkpointing so each workspace's conversation survives restarts and resumes where you left off.
  • Find Paragraph (no-RAG search) β€” ask a question and locate the exact paragraph in a document or a whole folder, with a planner that decides what to read and live per-file progress.
  • Full-folder summaries β€” "summarize this folder" now reads every readable file (Markdown, PDF, DOCX, TXT, code) before answering, with a "Reading remaining files…" status so you always know what's happening.
  • One-click GPU support β€” an Install GPU Support button in the UI that installs the CUDA-enabled build for you and shows a green tick when GPU acceleration is ready.

✨ Features

  • πŸ€– Agentic Mode (LangGraph) β€” an autonomous LangGraph-driven assistant that reads, writes, edits, searches, runs commands, and uses git inside a workspace folder you grant it access to β€” with human approval for anything sensitive, and SQLite checkpointing so conversations resume after restarts.
  • πŸ”Ž Find Paragraph β€” locate a passage in a document or folder with the model itself, no RAG or vector database required.
  • 🧾 Real file reading β€” extracts text from .md, .pdf, .docx, .txt and source files, so the agent can summarize and answer from real content.
  • πŸ”„ Universal model support β€” load ANY GGUF model from anywhere; no conversion or configuration.
  • ⚑ GPU acceleration β€” an Install GPU Support button in the sidebar installs the CUDA build with live status (green tick when ready); the app detects it and uses the GPU cleanly for fast inference.
  • 🌐 Floating chat β€” an always-on-top chat button that follows you across apps, with proper word wrapping and right-to-left support.
  • πŸ”’ Privacy first β€” 100% local inference. Your prompts and files never leave your machine.
  • 🎨 Modern PySide6 UI β€” clean, dark/light themed interface (light by default, Dark Mode toggle in the View menu).
  • πŸ’» Cross-platform β€” Windows 10/11, Linux, and macOS (including Apple Silicon).

🎬 Screenshot

GGUF Loader - main window


πŸš€ Quick Start

Option 1: Install via pip (recommended)

pip install ggufloader
ggufloader

That's it β€” the app opens. Requires Python 3.10–3.13.

The package is published on PyPI β€” update it any time with pip install --upgrade ggufloader.

The wheel installs only the ggufloader name into your environment, so it works perfectly in a global Python install alongside other packages β€” nothing gets overwritten, and the dependency set is pinned to the exact combination that is tested to install and boot together on all three platforms.

Option 2: Run from source

git clone https://github.com/GGUFloader/gguf-loader.git
cd gguf-loader
python -m venv .venv
.venv\Scripts\activate        # Windows (or: source .venv/bin/activate)
pip install -r requirements.txt
python main.py

Windows/Linux users can also run launch.bat / launch.sh from the extracted ZIP (keep launch.sh executable after extraction). The scripts create a virtualenv, check every dependency, and install anything missing β€” on Linux llama-cpp-python is pulled from abetlen's prebuilt CPU wheel index, so no C compiler is required. They need Python 3.10+ (on Debian/Ubuntu also python3-venv or virtualenv); any missing piece is reported with a clear, actionable message.

Option 3: Prebuilt executable

Standalone one-file executables are published on the GitHub Releases page:

Artifact Size Notes
GGUFLoader_v<version>_GPU.exe ~850 MB Windows Β· NVIDIA CUDA, zero setup
GGUFLoader_v<version>_CPU.exe ~70 MB Windows Β· CPU-only, works everywhere
GGUFLoader_v<version>_linux_x86_64_CPU ~105 MB Linux Β· CPU-only

The GPU build bundles the full CUDA runtime; the CPU build drops it entirely, which is why it is ~10Γ— smaller. Pick the GPU build if you have an NVIDIA card, the CPU build otherwise.

First launch

  1. Download a model β€” browse Hugging Face GGUF models.
  2. Click Load Model, pick your .gguf file, wait for it to load.
  3. Click the floating chat button and start chatting β€” or open the chat panel in the main window.

πŸ€– Agentic Mode

Agentic Mode turns the local model into a working assistant for a folder you choose (your project, a documentation set, any workspace). It plans multi-step tasks, calls tools, and streams every step live.

Tools

Tool What it does
list_directory Explore folders in the workspace
read_file Read any file (MD/PDF/DOCX/TXT/code β€” text extracted automatically)
write_file Create new files
edit_file Make targeted edits to existing files
search_files Find files and grep for content
run_command Run a shell command inside the workspace (sandboxed)
git Git operations (status, diff, add, commit)

Every tool is sandboxed to the workspace root β€” the agent cannot touch anything outside the folder you granted.

Human approval

Shell commands and git writes are sensitive, so they pause for your approval: an Allow / Deny card appears in the agent panel and the run waits for your choice. Everything else (reading, searching, writing files) runs automatically.

Live transcript

The agent panel shows the run as it happens β€” step chips, each tool call with its result, status lines like "πŸ“– Reading remaining files…", and approval cards. Runs are checkpointed (SQLite), so state survives restarts, and a step budget keeps runaway loops in check.

Example tasks

  • "Summarize the Day 4 folder" β†’ reads all 5 files (MD + PDF + DOCX) and gives a real summary
  • "Create a new feature module with proper structure"
  • "Refactor this codebase and organize files"
  • "Find where MAX_TOKENS is defined and explain it"

πŸ”Ž Find Paragraph (search without RAG)

From Tools β†’ Find Paragraph… you can locate a specific passage in a document or across a folder:

  • Single file β€” type a question ("what does it say about control flow?") and the model finds and ranks the matching paragraphs.
  • Folder search β€” a planner decides which files to look at and in what order (using only read-only tools), with a live per-file scan counter.
  • Smart defaults β€” your last query, source, folder, pattern, and exhaustive-search setting are remembered between sessions.

No vector database, no embeddings β€” just the model reading the text and finding the answer.


⚑ GPU Acceleration

The pip-installed app runs on CPU by default. To speed up inference with an NVIDIA GPU:

  1. Click ⬇ Install GPU Support in the sidebar.
  2. The app installs the CUDA-enabled llama-cpp-python build into your current Python environment (you'll see progress, then "βœ… GPU support installed β€” restart to apply").
  3. Restart the app. The button now shows a green tick ("GPU support is installed") and inference uses the GPU β€” no CPU+GPU mixing, just the GPU.

On macOS, GPU (Metal) support is enabled by building llama-cpp-python with Metal, e.g. CMAKE_ARGS="-DGGML_METAL=on" pip install --force-reinstall llama-cpp-python.

For manual control you can also run the bundled scripts: scripts/install_gpu_llama.bat (Windows) / scripts/install_gpu_llama.sh (Linux/macOS), and verify with python scripts/verify_gpu_support.py.


πŸ“₯ Recommended Models

Model Size Notes
Mistral-7B Instruct ~4.2 GB ⭐ Best balance β€” excellent reasoning, great for agentic mode
LLaMA 3 8B Instruct ~4.7 GB Strong reasoning and code understanding
GPT-OSS 20B ~7.3 GB More powerful for complex refactoring

Find thousands more on Hugging Face.


πŸ› οΈ System Requirements

  • Python: 3.10–3.13 (pip install)
  • OS: Windows 10/11, Linux, macOS (Intel & Apple Silicon)
  • RAM: 4 GB minimum (8 GB recommended)
  • Storage: 2 GB free
  • GPU: Optional β€” NVIDIA CUDA on Windows/Linux, Metal on macOS

πŸ“¦ Dependencies

The wheel declares its dependencies pinned to the exact set verified to work together, so pip install ggufloader resolves the same tested combination every time β€” no dependency mismatch, and every package has prebuilt wheels for all three platforms:

PySide6 Β· llama-cpp-python (CPU by default) Β· langgraph Β· langgraph-checkpoint-sqlite Β· langchain-core Β· pydantic


🧱 Building from source

  • Wheel / sdist: pip install build && python -m build β†’ artifacts in dist/
  • Windows executable: scripts/build_exe.bat (or python -m PyInstaller build_exe.spec). The script detects whether the installed llama-cpp-python is CUDA-enabled and names the output GGUFLoader_v<version>_GPU.exe or GGUFLoader_v<version>_CPU.exe automatically.
  • Linux executable: scripts/build_linux.sh β€” must run on Linux (or WSL); produces GGUFLoader_v<version>_linux_x86_64_CPU. One-file binaries are not cross-platform.
  • Tests: pip install pytest && python -m pytest

πŸ“š Documentation


🀝 Contributing

Contributions are welcome! See CONTRIBUTING.md.

πŸ“„ License

MIT β€” see LICENSE.

πŸ”’ Security

Report vulnerabilities to hussainnazary475@gmail.com or see SECURITY.md.

πŸ“ž Support


Built with ❀️ by the GGUF Loader community

About

GGUF Loader with its Agentic Mode, and floating button, ai Models | Open Source & Offline. Mistral, Deepseek, llama, gemma, qwen

Topics

Resources

Contributing

Security policy

Stars

60 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages