The Gist of It Logo
🧠 LLMs & ML ★ Impact 9.2/10 arXiv:2611.09218v1 • November 9, 2026 • 1 min read
📄 arXiv Preprint • Not Peer-Reviewed ⚡ Abstract-Synthesized

Self-Rewriting AI Agents Speed Up Long Software Tasks

Original paper: BOXBOX: Recursive Harness Self-Improvement for Long-Running Performance Optimization

Authors: Yuhao Tan, Hanyun Jiang, Fangkai Yang, Yuan Yao, Taolue Chen, Bo Qiao, Yu Kang, Lu Wang + 3 more

Researchers built an AI system that rewrites its own operational rules on the fly while working on massive software optimization projects, smashing previous performance limits.

"Imagine a Formula 1 pit crew that can magically redesign and swap out the car's engine parts while the vehicle is hurtling down the racetrack at top speed. Instead of pulling over to fix a design flaw, the system updates its own tools on the fly without ever losing momentum or dropping its current context."

As AI agents are increasingly deployed to handle multi-hour software engineering tasks, the ability to adapt mid-flight rather than starting over from scratch dramatically slashes computation costs and human oversight. This breakthrough paves the way for autonomous coding assistants capable of independently tackling massive, complex, real-world engineering projects from start to finish.

  • AI agents can now rewrite their own operational harnesses mid-task.
  • A new benchmark, PerfRace, measures long-running software optimization.
  • BOXBOX achieves a 1.70x speedup while saving time and model costs.
📑 Original arXiv Technical Abstract

Automated harness optimization improves agents by learning from trajectories and task feedback. Existing offline methods use reference answers to optimize harnesses for reuse on held-out tasks. However, many real-world tasks are open-ended, while long runs expose new difficulties that offline-optimized harnesses may not address. To study harness optimization in these settings, we introduce PerfRace, a benchmark for long-running performance optimization of software projects, and investigate whether agents can use task-specific experience to recursively improve their harnesses during an ongoing task. To this end, we introduce BOXBOX, which enables agent-triggered harness revision and kernel-managed hot reloading while preserving execution context. We evaluate BOXBOX on PerfRace under matched test-time budgets, comparing it with Frozen Harness, offline Harness Evolution, and Harness Scaling. BOXBOX achieves higher speedup with more efficient use of task time and model cost, reaching a Speedup@4h of 1.70x, compared with 1.54x for the strongest baseline.

✍️ Are you an author of this paper? Add code/demo links or a note

Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.

𝕏 Share Your Paper's Gist on X

📬 Get daily LLMs & ML breakthroughs in your inbox

We scan hundreds of daily arXiv preprints across 6 frontier fields and send the top breakthroughs in plain English—with everyday analogies and 1-click PhD briefs. Free forever.

More Curated Breakthroughs

Hand-picked from the November 9, 2026 edition.