{
  "id": 1070,
  "kind": "paper",
  "title": "An Empirical Study of Harness Design for Coding Agents",
  "summary": "UMass Amherst / Zoom / Emory / UNC Charlotte (Fan & Zhang equal contrib.; Zoom internships; arXiv 2609.20804v1) fix a lightweight coding harness and vary planning, action space, and context management while holding the execution loop fixed. Across four models on SWE-Bench Verified and Terminal-Bench 2.1 they evaluate 176 matched settings (five CM strategies × 32k–128k windows plus planning-off and bash-only ablations). Context management gains grow as budgets tighten, mostly by preventing overflow; staging rule-based elision before LLM summarization is the strongest efficiency tradeoff, while recoverable elision adds unused machinery. Planning shifts from an accuracy scaffold for weaker models to a cost saver for stronger ones. Predefined tools help bash-weak models; bash-capable models often do fine (cheaper) with bash-only, especially on CLI tasks.",
  "body": "",
  "notes": "Hudson user-fed 2026-09-26. X https://x.com/gurtej__gill_/status/2103747422610735368 (@gurtej__gill_ / Gill; created 2026-09-26T07:24:05.000Z). Truncated post mentions Coding Agent Harnesses + 176 experiments; t.co/M70LVO2uqv → photo/1 (no media ALT). Photo first page shows title + arXiv:2609.20804v1 [cs.AI] 17 Sep 2026. Conversation walk (4 replies) had no arXiv URL; resolved via photo + WebSearch. Dump /workspace/curator/research/coding-agent-harnesses-gurtej-2103747422610735368-20260926/ (NOTES.md, arxiv_api.xml, arxiv_abs.html, paper.pdf, photo.jpg). Dedup clean for 2609.20804 / title / status id / gurtej.",
  "url": "https://arxiv.org/abs/2609.20804",
  "links": [],
  "authors": [
    "Run-Ze Fan",
    "Zihao Zhang",
    "Simin Ma",
    "Yebowen Hu",
    "Shouju Wang",
    "Kaiqiang Song",
    "Fei Liu",
    "Hamed Zamani",
    "Xiaoyang Wang"
  ],
  "tags": [
    "coding-agents",
    "harness-design",
    "context-management",
    "planning",
    "action-space",
    "swe-bench",
    "terminal-bench",
    "nemotron-3",
    "mistral-medium-3.5",
    "elision",
    "summarization",
    "zoom",
    "umass",
    "emory",
    "unc-charlotte",
    "gurtej-gill"
  ],
  "topics": "coding agents; harness design; context management; planning; action space; SWE-Bench; Terminal-Bench",
  "venue": "arXiv / UMass Amherst; Zoom; Emory University; UNC Charlotte",
  "publisher": "arXiv / UMass Amherst; Zoom; Emory University; UNC Charlotte",
  "source": "arxiv",
  "language": "en",
  "access": "free",
  "license": "arXiv perpetual non-exclusive license 1.0",
  "published_year": 2026,
  "added_at": "2026-09-26T13:46:00.000Z",
  "verified_at": "2026-09-26T13:46:00.000Z",
  "attrs": {
    "scale": "176 matched settings; 4 models (Nemotron-3 30B/120B/550B + Mistral Medium 3.5 128B); SWE-Bench Verified + Terminal-Bench 2.1; CM T0–T4 at 32k/64k/96k/128k; planning-off and bash-only ablations under T4/128k",
    "domain": "coding agents; harness design; context management; planning; action space; SWE-Bench; Terminal-Bench",
    "purpose": "Ablate coding-agent harness components (planning, action space, context management) under matched settings to see when each helps",
    "used_for": "Model- and budget-aware coding-agent harness design; modular ablation framework for planning / tools / context management",
    "author_type": "academia/industry (UMass Amherst; Emory; UNC Charlotte; Zoom)",
    "time_period": "arXiv 2609.20804v1 published 2026-09-17; X https://x.com/gurtej__gill_/status/2103747422610735368 at 2026-09-26T07:24:05Z; cataloged 2026-09-26"
  },
  "enrichment": {
    "s2": {
      "paper_id": "c6054dd69390bf8aa19dbff104269cbbed644b9f",
      "published": "2026-09-17",
      "fetched_at": "2026-10-03T14:59:36.617Z",
      "citation_count": 1,
      "reference_count": 37,
      "influential_citation_count": 1
    },
    "arxiv": {
      "id": "2609.20804",
      "title": "An Empirical Study of Harness Design for Coding Agents",
      "authors": [
        "Run-Ze Fan",
        "Zihao Zhang",
        "Simin Ma",
        "Yebowen Hu",
        "Shouju Wang",
        "Kaiqiang Song",
        "Fei Liu",
        "Hamed Zamani",
        "Xiaoyang Wang"
      ],
      "comment": "43 pages",
      "updated": "2026-09-17",
      "abstract": "Coding harnesses shape how autonomous coding agents translate model capabilities into long-horizon software-engineering performance, yet existing work typically evaluates harnesses as monolithic systems, leaving the effectiveness of individual components unclear. To enable component-level comparisons, we study this question with a lightweight coding harness whose execution loop is fixed while three components are varied: planning, action space, and context management. Across four models evaluated on SWE-Bench Verified and Terminal-Bench 2.1, we evaluate 176 matched settings spanning five context-management strategies, four context-window budgets, and targeted ablations of planning and action space. We find that: (1) Context management becomes increasingly valuable as the context-window budget tightens, with most of its benefit coming from preventing context-overflow failures. (2) Staging rule-based elision before LLM-based summarization provides the strongest overall efficiency among the context-management strategies, whereas making elided content recoverable adds machinery that models rarely use and yields no accuracy gain. (3) Planning shifts from an accuracy scaffold for weaker models to a cost saver for stronger models, with little change in accuracy. (4) Predefined tools improve performance for models with weaker bash proficiency, whereas bash-capable models can operate effectively with a bash-only interface and achieve substantially lower cost, especially on command-line-centric tasks. Trajectory-level analysis explains these effects: context management extends execution trajectories without substantially altering agent behavior, planning changes where trajectories stop, and the action space changes the granularity at which code is written. These findings inform model- and budget-aware harness design and provide a modular framework for evaluating future harness components.",
      "published": "2026-09-17",
      "categories": [
        "cs.AI",
        "cs.CL",
        "cs.LG",
        "cs.SE"
      ],
      "fetched_at": "2026-10-03T14:59:36.617Z"
    }
  },
  "enriched_at": "2026-10-03T14:59:36.652Z",
  "license_class": "other",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "1489",
    "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/1070",
  "markdown": "https://papers.projxon.ai/entries/1070.md",
  "api": "https://papers.projxon.ai/api/entries/1070",
  "relations": [
    {
      "relation": "cites",
      "direction": "out",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 532,
        "kind": "paper",
        "title": "GLM-5: from Vibe Coding to Agentic Engineering",
        "summary": "GLM-5 is a 744B MoE (40B active, 256 experts, 80 layers) trained on 28.5T tokens with MLA then DSA continued pretrain and 200K context. Post-train is sequential Reasoning/Agentic/General RL on slime async infra plus on-policy cross-stage distillation; 10k+ verifiable SWE envs across 9 languages. SWE-bench Verified 77.8, Terminal-Bench 2.0 56.2 (61.1 on verified), BrowseComp 62.0 / 75.9 with context management, Vending-Bench 2 $4,432; Artificial Analysis Intelligence Index v4.0 score 50 (first open-weights). Code/models https://github.com/zai-org/GLM-5.",
        "url": "https://arxiv.org/abs/2602.15763",
        "authors": [
          "GLM-5 Team"
        ],
        "tags": [
          "glm-5",
          "moe",
          "dsa",
          "agentic-rl",
          "swe-bench",
          "zhipu",
          "tsinghua",
          "coding-agents"
        ],
        "venue": "arXiv / Zhipu AI / Tsinghua University",
        "source": "",
        "license": "",
        "published_year": 2026,
        "added_at": "2026-10-01T16:45:05.207Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [],
        "modalities": [],
        "size_class": null,
        "citation_count": 511,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/532",
        "markdown": "https://papers.projxon.ai/entries/532.md",
        "api": "https://papers.projxon.ai/api/entries/532"
      }
    }
  ],
  "duplicates": [],
  "similar": [
    {
      "id": 1211,
      "kind": "paper",
      "title": "AutoCompact: Learning When to Compact Context in Long-Horizon Coding Agents",
      "summary": "Trains long-horizon coding agents to proactively decide when to compact their own context — a form of model-harness co-design: the harness provides the compaction mechanism, the model learns when to invoke it, what working state to preserve, and how to continue afterward. Data collection: run the base agent on coding tasks, use a judge to review its compaction decisions, summaries, and post-compaction actions; flawed outputs are replaced with corrected ones before environment execution so trajectories continue from corrected decisions. These trajectories feed supervised fine-tuning, then joint RL optimizes coding and compaction with task-success rewards. Absolute gains: +9.2 points on SWE-bench Verified, +5.0 on SWE-PolyBench Verified. Improvements hold across all inference budgets — including with a 256K context window that never overflows (so learned compaction helps even when context space isn't the limit) and with a 16K window whose overflow triggers fallback compaction. Latest in the AutoHarness → AutoContext → AutoCompact trend of moving harness responsibilities into the model itself; related to Meta's Context Language Models paper. Open questions: scaling, robustness across harnesses, combining rule-based compaction packaged in harnesses with model-invoked proactive compaction.",
      "url": "https://arxiv.org/abs/2610.02163",
      "authors": [
        "Xuan Zhang",
        "Longtao Zheng",
        "Cunxiao Du",
        "Bo An",
        "Xin Dong"
      ],
      "tags": [
        "autocompact",
        "context-compaction",
        "coding-agents",
        "swe-bench",
        "harness-co-design",
        "long-horizon",
        "rl"
      ],
      "venue": "arXiv:2610.02163 (cs.CL), submitted 1 Oct 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": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1211",
      "markdown": "https://papers.projxon.ai/entries/1211.md",
      "api": "https://papers.projxon.ai/api/entries/1211"
    },
    {
      "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": 539,
      "kind": "paper",
      "title": "Huxley-Gödel Machine: Human-Level Coding Agent Development by an Approximation of the Optimal Self-Improving Machine",
      "summary": "Identifies a Metaproductivity–Performance Mismatch: high SWE scores need not predict productive descendants. Clade-metaproductivity (CMP) aggregates descendant outcomes; under coding-agent assumptions a CMP oracle implements a Gödel Machine (Theorem 1). HGM estimates CMP and Thompson-samples expansion vs evaluation asynchronously. SWE-Verified-60: 56.7% vs DGM 53.3 / SICA 50.0 with 2.38× fewer CPU-hours (517 vs 1231). Full SWE-Verified 61.4% (GPT-5-mini). Agent transfers to SWE-Lite+GPT-5 at 57%, matching the best officially checked human-engineered agents. Code https://github.com/metauto-ai/HGM.",
      "url": "https://arxiv.org/abs/2510.21614",
      "authors": [
        "Wenyi Wang",
        "Piotr Piękos",
        "Li Nanbo",
        "Firas Laakom",
        "Yimeng Chen",
        "Mateusz Ostaszewski",
        "Mingchen Zhuge",
        "Jürgen Schmidhuber"
      ],
      "tags": [
        "hgm",
        "godel-machine",
        "self-improvement",
        "swe-bench",
        "coding-agents",
        "kaust",
        "dgm"
      ],
      "venue": "arXiv / KAUST",
      "source": "",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-10-01T16:45:05.207Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 44,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/539",
      "markdown": "https://papers.projxon.ai/entries/539.md",
      "api": "https://papers.projxon.ai/api/entries/539"
    },
    {
      "id": 1108,
      "kind": "paper",
      "title": "Composer 2 Technical Report",
      "summary": "Cursor technical report PDF (pdfTeX creation 2026-03-24). Composer 2 is trained in two phases: continued pretraining for coding knowledge, then asynchronous RL for long-horizon multi-step coding in the real Cursor harness (read/edit/shell/grep/semantic search/web). Base selected as Kimi K2.5 (1.04T total / 32B active MoE) after FreshBench/state-tracking/perplexity comparisons vs GLM5 and DeepSeek V3.2. Introduces CursorBench from real engineering sessions. Reports CursorBench accuracy 61.3 (major gain vs prior Composer), Terminal-Bench 61.7, SWE-bench Multilingual 73.7 in their harness; closed weights via Cursor product.",
      "url": "https://cursor.com/resources/Composer2.pdf",
      "authors": [
        "Cursor Research Team (Aaron Chan",
        "Ahmed Shalaby",
        "Alexander Wettig",
        "Aman Sanger",
        "Andrew Zhai",
        "Anurag Ajay",
        "Ashvin Nair",
        "Charlie Snell",
        "Chen Lu",
        "Chen Shen",
        "Emily Jia",
        "Federico Cassano",
        "et al.)"
      ],
      "tags": [
        "composer-2",
        "cursor",
        "coding-agent",
        "swe-bench",
        "terminal-bench",
        "cursorbench",
        "kimi-k2.5",
        "rl-post-training",
        "closed-weights"
      ],
      "venue": "Cursor",
      "source": "pdf",
      "license": "",
      "published_year": null,
      "added_at": "2026-09-02T14:35: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/1108",
      "markdown": "https://papers.projxon.ai/entries/1108.md",
      "api": "https://papers.projxon.ai/api/entries/1108"
    },
    {
      "id": 1102,
      "kind": "post",
      "title": "Bootstrapping Composer with autoinstall",
      "summary": "Cursor research blog (2026-05-06) by Shomil Jain, Joshua Warner, and Andrew Zhai. Autoinstall bootstraps RL training environments: stage 1 proposes ~10 success commands + expected outputs from a fixed checkout; stage 2 has a separate Composer agent install/mock deps until three selected commands match, retrying up to five times else discarding the env. Used Composer 1.5 to prepare envs while training Composer 2. Notes Terminal-Bench 61.7% (Composer 2) vs 47.9% (1.5). Example walkthrough on celo-org/celo-monorepo (Foundry deps, mocked auth). Inspired by Cursor cloud-agent environment setup.",
      "url": "https://cursor.com/blog/bootstrapping-composer-with-autoinstall",
      "authors": [
        "Shomil Jain",
        "Joshua Warner",
        "Andrew Zhai"
      ],
      "tags": [
        "cursor",
        "composer",
        "autoinstall",
        "rl-environments",
        "bootstrapping",
        "terminal-bench",
        "coding-agents",
        "vendor-blog"
      ],
      "venue": "Cursor",
      "source": "web",
      "license": "",
      "published_year": null,
      "added_at": "2026-09-01T19:22: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/1102",
      "markdown": "https://papers.projxon.ai/entries/1102.md",
      "api": "https://papers.projxon.ai/api/entries/1102"
    },
    {
      "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"
    }
  ]
}
