Explore the research collection
3 entries · Follow this search
- Paper
AutoCompact: Learning When to Compact Context in Long-Horizon Coding Agents
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.
- Paper
ProgramDistill: From Interactive Web Apps to Verifiable Reference-Guided SWE Tasks
ProgramDistill (KAIST/Microsoft) is a benchmark and pipeline that turns working web apps into verifiable coding tasks: it mines 1,975 replay-verified behaviors from 26 live apps and constructs 4,063 tasks with no human labeling, asking coding agents to infer missing behavior from a live reference and reimplement it. GPT-6 Astra leads at 49.2% on full-application reconstruction; the associated dataset is public on Hugging Face.
- Paper
An Empirical Study of Harness Design for Coding Agents
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.