{
  "id": 470,
  "kind": "paper",
  "title": "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.",
  "body": "",
  "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.",
  "url": "https://arxiv.org/abs/2607.14159",
  "links": [],
  "authors": [
    "Yue Huang",
    "Wenjie Wang",
    "Han Bao",
    "Yuchen Ma",
    "Xiaonan Luo",
    "Yi Nian",
    "Haomin Zhuang",
    "Zheyuan Liu",
    "Yue Zhao",
    "Xiangliang Zhang"
  ],
  "tags": [
    "memoharness",
    "agent-harness",
    "terminal-bench",
    "experience-bank",
    "test-time-adaptation",
    "notre-dame"
  ],
  "topics": "LLM agents, harness engineering",
  "venue": "arXiv / University of Notre Dame",
  "publisher": "",
  "source": "arxiv",
  "language": "en",
  "access": "free",
  "license": "CC BY 4.0",
  "published_year": 2026,
  "added_at": "2026-08-14T16:44:00.000Z",
  "verified_at": "2026-08-14T16:44:00.000Z",
  "attrs": {
    "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",
    "purpose": "Learn an adaptive agent harness from execution experience and specialize it per test case without test-time labels",
    "used_for": "Unknown",
    "author_type": "human",
    "time_period": "2026-07-14 (arXiv 2607.14159 v1)"
  },
  "enrichment": {
    "s2": {
      "venue": "arXiv.org",
      "paper_id": "b1e7c6c4c8d9dcfb7c8c8961c9428db036c61d9e",
      "published": "2026-07-14",
      "fetched_at": "2026-10-03T14:46:57.611Z",
      "citation_count": 12,
      "reference_count": 26,
      "influential_citation_count": 0
    },
    "arxiv": {
      "id": "2607.14159",
      "title": "MemoHarness: Agent Harnesses That Learn from Experience",
      "authors": [
        "Yue Huang",
        "Wenjie Wang",
        "Han Bao",
        "Yuchen Ma",
        "Xiaonan Luo",
        "Yi Nian",
        "Haomin Zhuang",
        "Zheyuan Liu",
        "Yue Zhao",
        "Xiangliang Zhang"
      ],
      "updated": "2026-07-14",
      "abstract": "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.",
      "published": "2026-07-14",
      "categories": [
        "cs.AI",
        "cs.CL"
      ],
      "fetched_at": "2026-10-03T14:46:57.611Z"
    }
  },
  "enriched_at": "2026-10-03T14:46:57.657Z",
  "license_class": "permissive",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "489",
    "needs_deep_eval": "no",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T12:29:06.561Z",
  "page": "https://papers.projxon.ai/entries/470",
  "markdown": "https://papers.projxon.ai/entries/470.md",
  "api": "https://papers.projxon.ai/api/entries/470",
  "relations": [
    {
      "relation": "cites",
      "direction": "in",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 821,
        "kind": "paper",
        "title": "LongHarness Bench: Stress-Testing Language Model Harnesses for Long-Context Reasoning",
        "summary": "A benchmark evaluating both the effectiveness and efficiency of long-context LM harnesses (RLMs, ReAct, mini-swe-agent-style coding agents). Existing long-context evaluations are saturated across harnesses, so the four hard tasks require strategic/efficient reasoning (multiple valid strategies with very different costs), hard retrieval (both GREP and semantic), and extensive multi-step reasoning. Example: Constraint Solving asks for every person satisfying 5 conditions scattered across documents; checking the most selective condition first narrows candidates far more cheaply than checking every condition. 5 frontier LMs x 4 agentic harnesses: best setup reaches only 68% macro-average accuracy and no single harness leads across all tasks. Clear accuracy gaps, plus >10x efficiency differences even with the same LM and similar accuracy: more compute does not always mean better accuracy. mini-swe-agent is especially strong, reaching the best performance at a cost close to direct inference. Establishes efficiency as an axis for long-context evaluation and provides a testbed for harnesses that process context strategically rather than exhaustively.",
        "url": "https://arxiv.org/abs/2609.38137",
        "authors": [
          "Quang Hieu Pham",
          "Thuy Duong Nguyen",
          "Jocelyn Qiaochu Chen",
          "Xi Ye"
        ],
        "tags": [
          "long-context",
          "harnesses",
          "agents",
          "benchmarks",
          "efficiency",
          "retrieval"
        ],
        "venue": "arXiv (2026-09-29), cs.CL; CC BY 4.0",
        "source": "paper",
        "license": "",
        "published_year": 2026,
        "added_at": "2026-09-30T00:00:00.000Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [
          "en"
        ],
        "modalities": [],
        "size_class": null,
        "citation_count": 0,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/821",
        "markdown": "https://papers.projxon.ai/entries/821.md",
        "api": "https://papers.projxon.ai/api/entries/821"
      }
    }
  ],
  "duplicates": [],
  "similar": [
    {
      "id": 1026,
      "kind": "paper",
      "title": "RRSI: Regularized Recursive Self-Improvement of Agent Harnesses",
      "summary": "RRSI regularizes BOTH proposal (annealed L0-style edit budget, evidence-aware credit, structured exploration on stall) AND selection (leakage critic, noise-adjusted floor, Ridge-style cost-aware acceptance, L1-style structural pruning) while keeping the harness fully editable. Evaluated on 8 benchmarks across 3 domains. Key numbers: up to +14.1 evolve (Gemini 3.5 Flash on Terminal-Bench 64.6→78.7); up to +4.7 OOD; ~30% fewer policy tokens than unregularized evolution. Claude Opus 4.8 frozen policy main; SWE-bench Verified 82.0→83.8 OOD; Harvey LAB evolve 90.5, OOD avg JobBench/GDPval/APEX 43.6 vs H0 39.7; ablation removing regularizers raises evolve but hurts OOD. Baselines: Meta-Harness, AHE, TTHE, HarnessX. Code MIT-style at google-research/rrsi.",
      "url": "https://arxiv.org/abs/2609.24972",
      "authors": [
        "Peng Xia (Google Cloud AI Research",
        "Student Researcher)",
        "Rujun Han",
        "Zifeng Wang",
        "Yanfei Chen",
        "Yufan Zhang",
        "Yoonho Lee (Stanford)",
        "Chengsong Huang (WUSTL)",
        "Han Yu",
        "Zhongying CuiZhu",
        "Yifei Ming",
        "Huaxiu Yao (UNC-Chapel Hill)",
        "Burak Gokturk",
        "Tomas Pfister",
        "Chen-Yu Lee (Google Cloud AI Research). Work done while Xia was Student Researcher at Google Cloud AI Research."
      ],
      "tags": [
        "rrsi",
        "recursive-self-improvement",
        "agent-harness",
        "regularization",
        "ood-transfer",
        "google-cloud-ai",
        "terminal-bench",
        "swe-bench",
        "harvey-lab",
        "meta-harness",
        "harnessx"
      ],
      "venue": "Google Cloud AI Research / arXiv / AlphaXiv",
      "source": "arxiv",
      "license": "Code MIT-style (google-research/rrsi); paper arXiv preprint",
      "published_year": 2026,
      "added_at": "2026-09-24T01:58:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 2,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1026",
      "markdown": "https://papers.projxon.ai/entries/1026.md",
      "api": "https://papers.projxon.ai/api/entries/1026"
    },
    {
      "id": 851,
      "kind": "paper",
      "title": "Harness Learning Enables Generalizable Test-Time Adaptation",
      "summary": "Introduces harness learning: instead of updating model weights at test time, train a proposer model to revise the solver's executable harness — the program organizing model calls, tool use, and information flow — using execution feedback. Framed as meta-learning over executable programs, with harness revisions playing the role of weight updates; the proposer is trained with RL using revised harnesses' task performance as reward, and candidate harnesses run under a frozen solver. On 21 unseen Reasoning Gym families, SFT followed by RL raises mean single-revision score from 0.32 (base proposer) to 0.62, and the trained 4B proposer beats its 35B teacher on average. A QA proposer trained with RL only on HotpotQA transfers to MuSiQue and 2WikiMultihopQA, with ten revision rounds nearly doubling exact match. Policies trained on single revisions keep improving harnesses over multiple rounds, suggesting harness design can become a reusable adaptation skill.",
      "url": "https://arxiv.org/abs/2609.35738",
      "authors": [
        "Alvin Zhang",
        "Xuecheng Liu",
        "Zixuan Wang",
        "Fahim Tajwar",
        "Daman Arora",
        "Ruslan Salakhutdinov",
        "Daniel Khashabi",
        "Yuda Song",
        "Andrea Zanette"
      ],
      "tags": [
        "harness-learning",
        "harness-optimization",
        "test-time-adaptation",
        "meta-learning",
        "proposer-model",
        "execution-feedback",
        "reasoning-gym",
        "hotpotqa",
        "musique",
        "continual-learning-agents"
      ],
      "venue": "arXiv:2609.35738 (cs.CL), submitted 28 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/851",
      "markdown": "https://papers.projxon.ai/entries/851.md",
      "api": "https://papers.projxon.ai/api/entries/851"
    },
    {
      "id": 1243,
      "kind": "post",
      "title": "The Anatomy of an Agent Harness",
      "summary": "Synthesis of how Anthropic, OpenAI, LangChain, and Perplexity actually structure production agents - identifying 12 production-grade harness components (cited as the canonical reference by projects like Mnemosyne, which audits itself row-by-row against it). Framed the field's three-phase trajectory: competing on model weights, then context engineering, then harness engineering - each stage widening what the practitioner is responsible for shaping. LangChain's Vivek Trivedy formalized the companion distinction: 'If you're not the model, you're the harness.' The harness is the runtime shipped as a product (loop engine, tool registry with schemas/permissions/errors, state/memory persistence, control loop, verification layer, recovery policy, budget manager); you configure it, you don't construct it.",
      "url": "https://x.com/i/article/2041146899319971922",
      "authors": [
        "Akshay Pachaar"
      ],
      "tags": [
        "agent-harness",
        "harness-engineering",
        "production-agents",
        "claude-code",
        "codex",
        "langchain",
        "tool-registry"
      ],
      "venue": "dailydoseofds.com + X Article, Apr 2026",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1243",
      "markdown": "https://papers.projxon.ai/entries/1243.md",
      "api": "https://papers.projxon.ai/api/entries/1243"
    },
    {
      "id": 1249,
      "kind": "paper",
      "title": "Raven: The Harness of Harnesses for Composable Agentic Intelligence",
      "summary": "Open-source multi-agent ecosystem that automatically constructs and evolves modular agent harnesses for specific models and domains, treating each executable model-harness pair as a composable unit of intelligence. Harness components are diagnosed, mutated, and recombined from failures; a candidate replaces the current harness only after passing a statistical check. A Host Agent decomposes goals into a task graph and routes parts to specialized model-harness pairs (research, code, design, on-call); a host archive and EverOS preserve experience across tasks and Skill Forge makes it available as reusable procedures. Theory gives sufficient conditions for composition to expand reliable task coverage beyond the individual agents under a shared resource budget. With DeepSeek-V4-Flash, the research harness scores 69.3% on BrowseComp and 60.0% on Humanity's Last Exam (vs at most 62.4%/43.3% for two other harnesses on the same model); a curated skill library raises SkillsBench Pass@1 from 9.2% to 22.6%.",
      "url": "https://arxiv.org/abs/2609.33439",
      "authors": [
        "EverMind AI"
      ],
      "tags": [
        "multi-agent",
        "agent-harness",
        "harness-evolution",
        "task-decomposition",
        "browsecomp",
        "evermind-ai",
        "composable-agents"
      ],
      "venue": "arXiv 2609.33439 [cs.AI/cs.MA], submitted 27 Sep 2026, preprint",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1249",
      "markdown": "https://papers.projxon.ai/entries/1249.md",
      "api": "https://papers.projxon.ai/api/entries/1249"
    },
    {
      "id": 1193,
      "kind": "paper",
      "title": "Mixture of Self-Improving Branches For Agent Harness Optimization",
      "summary": "Harness optimization is a practical setting for recursive self-improvement: agent-generated modifications inform subsequent changes through execution feedback. Meta-Harness implements this via iterative code generation and evaluation, but a fixed development set and fixed proposal policy channel evolution along a single trajectory, risking local optima — and a harness that solves cases the leaders miss yet ranks lower overall gets little chance for further development. Mixture of Self-Improving Branches organizes the improvement process itself into parallel branches, each with evolving development subsets and proposal policies. Every branch starts identical (same seed harnesses, full problem set, same guidance); no one assigns specialties. After each iteration, branches are compared problem by problem: a branch keeps development cases solved by more of its leading harnesses than by other branches' leaders, drops cases solved by every leading harness across all branches, and revises its own proposal policy (the proposer rewrites its own guidance) using its own search history. The whole loop runs on each branch's own data. The branches grow into different experts, and at test time a router sends each new problem to one branch's best harness before execution. Relative improvements over Meta-Harness: +34.8% on Olympiad-level math (46.0% -> 62.0%), +11.6% on Terminal-Bench 2.0 (44.8% -> 50.0%), +3.8% on SWE-bench Lite (63.6% -> 66.0%), with harness selection and router configuration based solely on development data.",
      "url": "https://arxiv.org/abs/2609.37834",
      "authors": [
        "Haoyu Dong",
        "Yuhang Zhou",
        "Zihao Lin",
        "Yifan Wu",
        "Bo Peng",
        "Mingyi Wang",
        "Xiangjun Fan",
        "Lizhu Zhang",
        "Zhuokai Zhao"
      ],
      "tags": [
        "self-improving-agents",
        "harness-optimization",
        "meta-harness",
        "recursive-self-improvement",
        "routing",
        "specialization",
        "olympiad-math",
        "terminal-bench"
      ],
      "venue": "arXiv:2609.37834 (cs.AI), submitted 29 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-03T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1193",
      "markdown": "https://papers.projxon.ai/entries/1193.md",
      "api": "https://papers.projxon.ai/api/entries/1193"
    },
    {
      "id": 1262,
      "kind": "paper",
      "title": "SelfSearch: Reward-Free Search for Self-Improving Agents",
      "summary": "Reward-free search procedure in which a coding agent rewrites its own harness (instructions, tools, execution procedures) using records of previous self-improvement episodes, which capture the reasoning, tool actions, and outcomes of earlier modification attempts; the modified agent then becomes the next improver. Avoids the cost and task-tied search of repeated downstream evaluation required by existing self-improvement approaches. Without downstream reward signals during search, population-mean success improves over the initial agent in all six model-benchmark settings, with individual agents gaining up to 11.2 percentage points on Terminal-Bench 2.1. On SWE-bench Multilingual, one evolved agent gains 5.0 percentage points while reducing execution cost by 38.5% on tasks solved by both versions. Achieves competitive success with evaluation-guided search baselines at lower search cost: with only $4.03 in search cost it produces a harness solving 82.0% of Terminal-Bench 2.1 tasks with DeepSeek V4 Flash under a public nine-harness comparison's settings, matching the top-scoring harness Codex.",
      "url": "https://arxiv.org/abs/2609.37968",
      "authors": [
        "Jungwoo Yang",
        "Injin Kong",
        "Yohan Jo"
      ],
      "tags": [
        "selfsearch",
        "self-improving-agents",
        "harness-engineering",
        "reward-free-search",
        "terminal-bench",
        "seoul-national-university"
      ],
      "venue": "arXiv 2609.37968 [cs.AI], submitted 29 Sep 2026, v2 30 Sep 2026, preprint",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-05T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1262",
      "markdown": "https://papers.projxon.ai/entries/1262.md",
      "api": "https://papers.projxon.ai/api/entries/1262"
    }
  ]
}
