AI News
All projects
Library

HarnessMM tunes agent harnesses to cut token use on target tasks

HarnessMM is a Python and Node.js framework that uses recursive self-improvement to tune the harness around a language model, aiming to use fewer tokens while keeping task success.

HarnessMM by YuhuaJiang2002 · 212 GitHub stars when we found it · added

HarnessMM, which the README also calls HarnessMinusMinus, works on the harness around a model rather than the model itself. The README says the model weights stay fixed. The framework represents execution as an Executable Decision Graph. Its nodes are steps such as reasoning and tool calls, and stored tool actions carry exact arguments and a guard. Guarded Decision Reuse dispatches a stored action when the tool receipt meets its guard, and Certified Callback Substitution runs it without a new model call. Task outcomes and token counts from training runs then edit the graph and the prompts that govern it.

The README reports results on coding benchmarks using Qwen3.5-4B. On HumanEval, execution tokens fell 29.54% for Codex at the same 90.82% success. For DeepSeek Harness, execution tokens fell 87.93% on HumanEval, where success rose from 71.43% to 85.71%. The README says the HumanEval comparisons need external evaluation and metering evidence. The MBPP-sanitized DeepSeek figure, by contrast, can be recomputed from released aggregates. The DeepSeek run used a self-hosted actor, and a separate extension installs into the DeepSeek Harness desktop profile.

Setup needs Python 3.10 to 3.14 and Node.js 22 or later. The core Python package has no third-party runtime dependencies. The project code is Apache-2.0, but the README says upstream harnesses, benchmarks, datasets and model weights keep their own licenses and access requirements. Some internal names, such as CHISEL and SAR, are kept from the paper.

In the author's words

HarnessMinusMinus (HarnessMM) uses recursive self-improvement (RSI) to tune an agent harness for a target task or task family.

From the README or the author's post. We checked that the sentence is there, not that it is true.

When to reach for it

A developer whose agent repeats the same tool calls could store those actions behind a receipt check and fall back to the model when the check fails. The README describes this fallback as the way the original model still handles new decisions.

Works with

CodexDeepSeek Harness

See it

AI wrote this entry from the project's own README or its author's post. What the project does, and that AI built it where the entry says so, are the author's statements, quoted here. Nobody at IKANGAI ran or tested it. How this list is made