shawn 4e0ab94ee2 feat: GPU detection for LLM server (NVIDIA/AMD/Intel/Vulkan + CPU fallback)
- Added start-llama-server.bat with cross-brand GPU auto-detection:
  * Detection 1: nvidia-smi for NVIDIA
  * Detection 2: WMIC for AMD, Intel Arc, Intel HD/Iris/UHD
  * Detection 3: vulkaninfo as final fallback probe
  * Falls back to CPU-only build when no GPU found
- Downloaded llama-server b9947 builds:
  * Vulkan build (91 MB) - supports all GPU brands
  * CPU build (45 MB) - fallback in cpu/ subdir
- Downloaded Qwen2.5-Coder-1.5B Q4_K_M model (1.1 GB)
- Fixed run-hermes.bat polling: replaces fixed 5s timeout with
  curl-based readiness polling (up to 30 attempts, 1s apart)
- All .bat files verified: ASCII text, CRLF line terminators
- Added .gitignore for build artifacts and large binaries
2026-07-10 00:58:56 -04:00

Hermes Portable Rescue

An autonomous AI-driven Windows PC diagnostic & repair toolkit that lives on a USB drive. Boot any Windows PC from this USB and Hermes Agent takes over — diagnosing BSODs, testing hardware, updating drivers, and handling backup/restore — all with LLM-powered reasoning.

What it does

Capability How
🔍 BSOD Analysis Parses minidumps, interprets stop codes with LLM, correlates with known fixes
💾 RAM Test Auto-runs MemTest86+/stress tests and interprets results
🔥 CPU/GPU Diagnostics Stress testing, thermal monitoring, benchmark comparison
🖴 Disk Health SMART analysis (smartmontools), bad sector scan, S.M.A.R.T. attribute interpretation
⬆️ Driver Updates Hardware inventory → vendor API lookup → guided download/install
📦 Backup/Restore Disk imaging, file-level backup, guided restore with AI oversight
💬 Natural Language Describes what it found and what it's doing — no manual tool hunting

Why this is different from existing tools

Existing USB rescue tools (Hiren's BootCD PE, Medicat, SystemRescue, 2k10 Live WinPE, S.A.K. Utility) are static tool collections. You boot in, know which tool to run, interpret results yourself.

Hermes Portable Rescue is an agent — it thinks through problems the way a senior tech would:

  1. Boot → launch Hermes agent
  2. Agent detects the problem space (BSOD? Won't boot? Hardware failure?)
  3. Chains diagnostics: RAM first, then disk, then CPU/GPU
  4. Interprets all results together
  5. Suggests or executes fixes
  6. Documents everything

Architecture

USB Drive
├── boot/           — Bootable ISO or Ventoy config
├── hermes/         — Portable Hermes Agent runtime
│   ├── agent/      — Hermes core
│   ├── tools/      — Portable diagnostic executables
│   │   ├── smartmontools/
│   │   ├── memtest86+/
│   │   ├── prime95/ (or equivalent)
│   │   └── ...
│   ├── models/     — LLM model (if local) or API config
│   └── scripts/    — Diagnostic scripts & automation
├── rescue.iso      — Bootable rescue environment
└── autorun.inf     — Auto-launch on supported systems

Project Structure

~/nas-projects/hermes-portable-rescue/
├── README.md              ← This file
├── docs/                  — Architecture docs, design decisions
├── research/              — Research findings from Phase 1
├── src/                   — Build scripts and source
└── build/                 — Build output (ISOs, packages)

Storage

NAS (pve at 192.168.0.144, 3.6TB HDD), mounted via SSHFS at ~/nas-projects/.

Gitea Repo

hermes-portable-rescue at gitea.ourpad.casa

License

AGPL-3.0

S
Description
Portable Hermes Rescue USB — AI-driven Windows PC diagnostic & repair toolkit
Readme 60 MiB
Languages
Python 95%
Shell 3.9%
Batchfile 0.6%
Makefile 0.3%
PowerShell 0.2%