Demystifying the Autoresearch Harness: How Context and Skills Shape Self-Evolving Agents

Kelvin Kiu-Wai Tam, Newt Hue-Nam K. Nguyen, Tianshi Zheng and colleagues (HKUST, with the University of Tokyo, National Taiwan University and NVIDIA AI Technology Center) run a controlled study of how context management and skill management in autoresearch harnesses affect self-evolving agents.
Ask this paper
Controlled design. Five memory mechanisms are each compared against a recency-truncation baseline inside one agent framework, on MLE-Bench and KernelBench, with gpt-oss-120b, gpt-6-luna and gpt-6-sol.
Context management. Keeping individually accessible records of past attempts beats a rolling summary. Context folding, which condenses each attempt into a short digest, performs best in all six settings and improves on the baseline by up to 19.2%.
Skill management. Retaining skills helps, and selectively deleting persistently unused lessons gives the largest average gain, ahead of consolidating them or promoting them to standing rules. Gains are smaller for backbones that retrieve fewer skills.
MLEvolver. Combining folding and deletion, MLEvolver reaches a 72.7% medal rate on MLE-Bench Lite and a 94% fast_1 score on KernelBench Level 3, outperforming AIDE and OpenEvolve at the same inference budget.
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% $\mathrm{fast}_1$ 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.