How gat45/harnais-1080 works
Harnais-1080 is a local llama.cpp PC harness: a user prompt enters the Python conversation flow, which can retrieve local BM25 context, query the server, and dispatch tool requests. Separate capabilities include guarded dual-agent code repair, hardware monitoring, and a Windows launcher. The main calls are visible in the excerpts; broader launcher options and product capabilities are also documented in the README. The monitor’s internal UI wiring and some integrations are only partially sampled, so uncertain connections are omitted.
Main entry points: harness.py Chat harness · tools.py Tool parsing and dispatch · LamaHarnessLauncher.cs Windows launcher · bm25_reindex.py Index rebuild
Components 16
Launch and chat
- Windows launcher
LamaHarnessLauncher.cs - Chat harness
harness.py - llama.cpp server
Local RAG
- Index rebuild
bm25_reindex.py - BM25 search and indexing
bm25.py - BM25 document index
Workspace tools
- Tool parsing and dispatch
tools.py - Search and memory reads
tools.py - Confirmed file writes
tools.py - Git status and diff
tools.py - Investigation tools
tools.py
Code repair
- Dual-agent fixer
fix_code.py
Hardware monitor
- Hardware monitor and TUI
omni_monitor.py
Other components
- User
- Local workspace
- External skill scripts
Connections 22
- User → Chat harness: asks
README.md - Windows launcher → llama.cpp server: starts or checks
LamaHarnessLauncher.cs - Windows launcher → Chat harness: launches
LamaHarnessLauncher.cs - Windows launcher → Hardware monitor and TUI: launches
LamaHarnessLauncher.cs - Windows launcher → Index rebuild: runs
LamaHarnessLauncher.cs - Chat harness → llama.cpp server: requests completion
harness.py - Chat harness → BM25 search and indexing: searches context
harness.py - Chat harness → BM25 document index: reads
harness.py - Index rebuild → BM25 search and indexing: builds index with
bm25_reindex.py - Index rebuild → BM25 document index: writes
bm25_reindex.py - Chat harness → Tool parsing and dispatch: parses and dispatches
harness.py - Tool parsing and dispatch → Search and memory reads: dispatches
tools.py - Tool parsing and dispatch → Confirmed file writes: dispatches
tools.py - Tool parsing and dispatch → Git status and diff: dispatches
tools.py - Tool parsing and dispatch → Investigation tools: dispatches
tools.py - Search and memory reads → Local workspace: reads
tools.py - Confirmed file writes → Local workspace: writes
tools.py - Git status and diff → Local workspace: runs git in
tools.py - Investigation tools → External skill scripts: invokes
tools.py - Dual-agent fixer → Chat harness: requests model responses
fix_code.py - User → Dual-agent fixer: requests code repair
README.md - User → Hardware monitor and TUI: opens supervision
README.md