技能潮 SkillTide 提交收录
官方说明开源项目7 天前
dmmdea/offload-harness

dmmdea/offload-harness

Delegate summarize/classify/extract/triage to a FREE local Gemma-4 cascade via llama.cpp. Go CLI + MCP server; never calls a cloud model. Includes a turnkey setup skill for Claude Code.
在 GitHub 查看 ↗直链 · 无中转页
★ 数取值
4 ★ · dmmdea/offload-harness · 取自该仓库的 GitHub 页面 · (2026-10-16 20:00:20 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-10-10 · 最近见到 2026-10-10 · 共见到 2 次 · 被 1 个来源列出
评分构成
综合分 103 · 4 ★ · 1 个来源 · repo
安装
go install github.com/dmmdea/offload-harness@latest
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是 go install github.com/dmmdea/offload-harness@latest。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 dmmdea/offload-harness;我们收录于 2026-10-10;最近见到 2026-10-10。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

offload-harness

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

**Delegate the grunt work to a free local model — keep your cloud tokens for judgment.**
A local-first harness that offloads short-context, low-judgment work — **summarize · classify · extract · triage** (plus vision, OCR, transcription, and image/SVG generation) — to a free **Gemma-family cascade** served by llama.cpp. It runs as a Go CLI and as an **MCP server** for AI coding agents. It **never calls a cloud model**: when it can't do a task confidently, it returns a structured **defer** so your agent handles it.
---
What & why
When an agent (or you) needs to summarize a log, label a ticket, pull fields out of a document, or answer a yes/no question about some text, that work is **mechanical and low-judgment** — but it still costs context window and cloud tokens. offload-harness runs those tasks on a **free local model** so the bulk, low-value tokens never enter your expensive context. A built-in **ledger** reports exactly how many tokens you saved.
The design rule is simple: **the local model does grunt work; your agent keeps all judgment.** Every task either returns a verified, schema-valid result or **defers** — a structured {"deferred": true, ...} that tells the caller "do this one yourself." There is no cloud fallback inside the harness, and it holds no cloud credentials.
It's for anyone running an AI coding agent or pipeline who wants to **cut token spend on bulk text work** while keeping data on the box.
Features
- **Free & fully local** — all inference runs on your GPU via llama.cpp; no API keys, no metering, nothing leaves the machine.
- **Never calls cloud, always defers** — low confidence returns a structured defer instead of guessing. The core offload path has no cloud credentials by design (the opt-in nim remote tool below is the one explicit, deliberate exception).
- **Self-learning cascade** — fast tasks enter at a small tier and escalate to a larger model only when genuinely uncertain (logprob decision margin + self-reported confidence).
- **Reliable structured output** — enforces a generated **GBNF grammar** + Go schema validation, working around the model's JSON-schema crashes.
- **Single static binary** — one Go executable; CLI and MCP server in the same build.
- **MCP-native** — exposes 26 tools over stdio for any MCP client (Claude Code and friends), including a read-only local agent (agent_run). That is the count every box registers; a box with the delegator role enabled adds agent_delegate, and a box listing an accelerator adds its own — 11 for hailo-8l, 4 for coral-edgetpu, 3 for rknpu, shared names registered once (ADR 0037), and a box listing a device it lacks in fleet_accelerators adds that device's tools as forwarders to the fleet node that has it, image bytes travelling with the call (ADR 0038, 0.115.0) — read tools/list, never a written figure.
- **Beyond text** — local **vision** (VQA / OCR / image-field-extract / render-QA), **speech-to-text** (whisper.cpp), **image/audio/video generation** (HiDream-O1 / SDXL / Qwen-Image · Wan 2.2 · Chatterbox TTS · ACE-Step via ComfyUI), **three image-edit routes** (deterministic PIL ops · masked inpainting · maskless instruction edits), and a dependency-free **SVG data-viz kit**.
- **Optional remote escalation** — an explicit, opt-in nim tool reaches any OpenAI-compatible **NVIDIA NIM** endpoint (NVIDIA's hosted build.nvidia.com free-model catalog, or a self-hosted NIM) for the rare task that needs a frontier model the local GPU can't run. Key from env only; never ledgered; the local cascade is untouched.
- **Token ledger** — append-only JSONL accounting of every offloaded call and the cloud tokens it saved.
Quickstart
First output in under five commands. If the local model is unreachable or unsure, you'll get {"deferred": true, "reason": "..."} — that's expected, not a failure.
Set up with your AI agent
The fastest path on Windows is to let your coding agent install the whole stack for you. Point
**Claude Code** (or any capable agent) at this repo and say:
> *Follow setup/SETUP-AGENT.md and install the stack.*
That runbook is written **for an agent**: it runs three idempotent PowerShell scripts —
setup/detect.ps1 (pick the backend: CUDA / Vulkan / CPU) → setup/install.ps1 (pinned llama.cpp +
llama-swap binaries, the Gemma-4 models, the Go build) → setup/selftest.ps1 (a machine-readable
receipt with a deep-context canary) — and branches on the JSON each one emits. It never substitutes a
pinned asset and never installs CUDA/ROCm (the release binaries carry their own runtime; Vulkan uses
来源
github · https://github.com/dmmdea/offload-harness
按领域浏览
开源项目
Traction
4 ★
收录于
7 天前

更多开源项目

查看开源项目全部 731 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引