HarnessMinusMinus: A Technical Report on Efficient Agent Harnesses

Jiang, Yuhua, Xu, Chang, Gao, Feifei, Zhao, Li

–arXiv.org Artificial Intelligence 

Agent harnesses often invoke reasoning after each tool result, even when earlier calls have already determined subsequent actions. We introduce HarnessMinusMinus (HarnessMM), a framework centered on Executable Decision Graphs (EDGs). An EDG binds resolved native actions and literal arguments to causal dependencies and public execution guards. This representation preserves decisions across tool transitions and lets later feedback determine their readiness without regenerating their content. Within an EDG, Guarded Decision Reuse (GDR) preserves the graph and activates eligible nodes; Certified Callback Substitution (CCS) executes them through the native tool interface and records omission of the corresponding reasoning callbacks. Recursive self-improvement (RSI) uses training feedback to refine the rules that construct and execute these graphs, with validation selecting the deployment configuration. Actor weights stay fixed, and new semantic decisions return control to the original reasoning model. This technical report consolidates the graph framework, implementations, and studies across coding, tool-based, and visual-agent settings. On HumanEval, HarnessMM preserves Codex success at 90.82% while reducing Tokens/task (k) from 66.72 to 47.02 (29.54% saving). For DeepSeek Harness, success improves from 71.43% to 85.71% while Tokens/task (k) decrease from 96.28 to 11.62 (87.93% saving). An MBPP ablation shows 26.91% lower cost than single-use graphs and 19.52% lower cost than retained callbacks. The report also summarizes the HarnessMM-V visual-agent study and documents optimization overhead and execution time where measured. Code is available at https://github.com/microsoft/HarnessMinusMinus.