Demystifying the Autoresearch Harness: How Context and Skills Shape Self-Evolving Agents
Kelvin Kiu-Wai Tam, Newt Hue-Nam K. Nguyen, Tianshi Zheng, Yunxiang Mo, Weihan Li, Zhongwei Xie, Chiu Yeung Tang, Jui-Yu Ho, Yangqiu Song, Ginny Y. Wong, Simon See
Abstract
Autoresearch agents, which autonomously design, run, and refine experiments, are accelerating scientific progress, particularly in AI research. However, existing agents rely on harnesses that combine multiple mechanisms, making it difficult to determine how individual components contribute to performance. We systematically study harness design for long-horizon, self-evolving autoresearch agents along two dimensions: context management, which determines what an agent retains from its past attempts, and skill management, which governs how it stores and reuses lessons from those attempts. Across MLE-Bench and KernelBench with gpt-oss-120b, gpt-6-luna, and gpt-6-sol, we isolate the effects of individual harness design choices by evaluating each against a recency-truncation baseline within a shared agent framework. For context management, we find that preserving individually accessible records of past attempts is more effective than maintaining a rolling summary, with context folding performing best across all six settings and improving upon the baseline by up to 19.2%. For skill management, selectively discarding persistently unused lessons is more effective on average than consolidating them or promoting them to standing rules. Building on these findings, we combine context folding and skill deletion in MLEvolver, which achieves a 72.7% medal rate on MLE-Bench Lite and a 94% score on KernelBench Level 3, substantially outperforming AIDE and OpenEvolve under the same inference budget. Overall, our study distills design principles for preserving experimental history and curating reusable lessons in autoresearch harnesses, paving the way for agents that turn accumulated experience into sustained progress.
Create a lesson
Related papers
Self-Evolving Beyond Human-Crafted Experience for EDA Scripting
Shared title terminology · Yang Liu, Shengbo Tong, Xiyuan Chen et al.
Beyond Self-Critique: Epistemic Convergence Control for Multi-Agent Research Verification
Shared title terminology · Chrisantus Eze
AstronautBench: Measuring Agent Self-Improvement Across Episodes Through Knowledge, Evidence, and Progress
Shared title terminology · Congyuan Yu, Runping Tian
Adding One More Agent: How AI Team Size and Formation Shape Productivity and Diversity in Human-AI Brainstorming Teams
Shared title terminology · Rong-Ching Chang, Hao-Chuan Wang
How Much Should an Agent Remember? Deployment Lessons from Self-Distilled Memory for LLM Agents
Shared title terminology · K. R. Jayaram, Vatche Isahagian, Aswath Vaithinathan Aravindan et al.
ESM-Bench: A Benchmark for Evaluating Whether AI Agents Understand Earth System Model Physics and Code
Shared title terminology · Koutian Wu, Yuxuan Cao, Gengchen Mai et al.