shawn 1479e161ab build:usb-image — Final USB image assembly script, Ventoy config, and Hermes agent runtime structure
- build/usb-image.sh: Main USB image assembler with artifact validation,
  ISO building, disk image creation, and USB write support
- build/ventoy.json: Ventoy configuration for multi-boot USB
- src/hermes/config.yaml: Portable Hermes agent configuration
- src/hermes/autorun.sh: Auto-launch script with full diagnostic pipeline
- Makefile: Build system with iso/image/check/clean/write targets

Generates fallback stubs for any diagnostic modules whose upstream
build tasks haven't completed yet, ensuring the image boots even
during active development.
2026-07-04 03:53:30 -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%