← All entries
Paper2026#470

MemoHarness: Agent Harnesses That Learn from Experience

Summary

Decomposes the harness into six control surfaces (context, tool, generation, orchestration, memory, output) plus a dual-layer experience bank of per-case diagnoses and distilled global patterns. Training-time search (T=10) starts from a minimal harness with GPT-5.3-Codex; test-time adaptation retrieves similar successes/failures with no labels or extra search. On Terminal-Bench 18-task held-out split, 0.806 vs Codex 0.722 (+0.084); LiveCodeBench 0.900→0.967; FinanceAgent 0.600→0.767. Cross-model mean +0.098 (GLM-5 +0.233). Reported cost $6.89 vs Codex $10.28 because 13.32M of 14.18M input tokens were cached. Authors note the 18-task split, no CIs, and incomplete component ablations.

Venue
arXiv / University of Notre Dame
Source
arxiv
Access
free
License
CC BY 4.0
License family
Permissive
Language
en
Purpose
Learn an adaptive agent harness from execution experience and specialize it per test case without test-time labels
Scale
Terminal-Bench 89 tasks 80/20 (18 held-out); LiveCodeBench; FinanceAgent; transfer MMMLU/HumanEvalFix/StrongReject/Reasoning-Gym-Easy/LawBench/SWE-Bench Pro; 7 base models; T=10 search iterations
Used for
Unknown
Time period
2026-07-14 (arXiv 2607.14159 v1)
Author type
human
Added
Aug 14, 2026
Verified
Aug 14, 2026
Research status
done
Found via
#random-papers

From the source

Published
Jul 14, 2026
arXiv categories
cs.AI, cs.CL
Citations
12
References
26

Fetched Oct 3, 2026 from arXiv, Semantic Scholar. These numbers change; the curated fields above do not come from here.

Abstract (from arXiv)

An agent harness is the external control layer that turns a base LLM into an executable agent by managing context, tools, orchestration, memory, decoding, and output handling. While harness design strongly affects agent behavior, most automatic improvement methods optimize narrower artifacts such as prompts, pipelines, or workflows, and deployed agents usually reuse a single global harness for all cases. We introduce MemoHarness, an adaptive harness optimization framework that learns from its own executions. MemoHarness decomposes the harness into six editable control dimensions, stores per-case diagnoses and distilled global patterns in a dual-layer experience bank, and adapts the learned harness to each test case using retrieved experience without test-time labels, feedback, or additional search. In our evaluation across shell-agent, code-generation, and analytical-reasoning benchmarks, MemoHarness improves over the fixed harnesses we compare against and shows selective transfer to unseen suites and base models. Its additional context can also remain cost-competitive when much of the retrieved experience is cacheable. These results provide evidence that execution experience is a practical substrate for building agent harnesses that are more adaptive than a single static configuration, while leaving broader claims about statistical robustness and component attribution to future work.

Tags

memoharnessagent-harnessterminal-benchexperience-banktest-time-adaptationnotre-dame

Topics

LLM agents, harness engineering

Research notes

  • Primary: arxiv abs (CC BY 4.0, cs.AI). Code https://github.com/HowieHwong/MemoHarness (88 stars at check). Notre Dame / LMU Munich / USC; corresponding xzhang33@nd.edu. HF paper page 2 upvotes. Discord posted abs link. Paper not a dataset; no datasets_local row.

Cited by, within this collection 1

Similar entries