Hierarchical Self-Improvement: A Framework for Task-Specific Evolvable Agent Harnesses
Tailin Zhou
cs.AI
Submitted: 2026-08-09
Updated: 2026-08-11
Code: https://github.com/TailinZhou/hsi
License: http://creativecommons.org/licenses/by/4.0/
The gist: Modern LLM agents are often improved by modifying prompts, tools, or workflows manually, while the executable scaffold surrounding the model---the harness---is typically treated as a fixed artifact
Terminology
Abstract
Modern LLM agents are often improved by modifying prompts, tools, or workflows manually, while the executable scaffold surrounding the model---the harness---is typically treated as a fixed artifact after deployment. This work studies an alternative where the harness is task-specific and continuously evolvable: each task family maintains its own harness, which is hot-swapped across iterations through a fixed task-injection seam and rewritten using environment feedback. We introduce Hierarchical Self-Improvement (HSI), a framework in which a single frozen LLM M operates across three hierarchical scopes: a task harness H that executes tasks, an evolver that rewrites H, and a meta-evolver that rewrites the evolver's strategy code under a frozen outer anchor. A thinking-on/off design isolates the contribution of harness evolution by disabling reasoning during task execution while enabling it during self-modification. HSI is bounded by two factors: a feedback-fidelity bound, since evolution requires informative reward signals to guide selection, and a backbone capability bound, since harness redesign cannot overcome limitations of the frozen model. On BALROG with DeepSeek-V4-Flash-Preview as the frozen backbone, HSI achieves consistent gains over the initial harness on moderate-difficulty tasks (+39.3 on BabyAI, +33.0 on Crafter, +25.0 on TextWorld, and +15.0 on MiniHack, all in raw % Progress), while obtaining strong held-out generalization on BabaIsAI sub-suites (0.98 best-test on BreakStop and 1.00 on GoTo from a 20% unseen split). On tasks beyond the backbone's capability (NLE), harness evolution provides no improvement. These results demonstrate task-specific harness evolution as a viable axis for improving frozen LLM agents under clear empirical limits. Code is available at https://github.com/TailinZhou/hsi.
Sources
- SIA: Self Improving AI with Harness & Weight Updates
- Continual Harness: Online Adaptation for Self-Improving Foundation Agents
- Recursive Harness Self-Improvement
- Meta-Harness: End-to-End Optimization of Model Harnesses
- Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnesses
- Adaptive Auto-Harness: Sustained Self-Improvement for Agentic System Deployment on Open-Ended Task Streams
- AutoHarness: improving LLM agents by automatically synthesizing a code harness
- Recursive Agent Harnesses
- Harness-Aware Self-Evolving: Co-Evolving Model Weights, Harness, and Task Solutions
- TTHE: Test-Time Harness Evolution
- A Self-Improving Coding Agent
- Goedel Machines: Self-Referential Universal Problem Solvers Making Provably Optimal Self-Improvements
- SkillOpt-Lite: Better and Faster Agent Self-evolution via One Line of Vibe
- On The Statistical Limits of Self-Improving Agents
- Rethinking the Evaluation of Harness Evolution for Agents
- Group-Evolving Agents: Open-Ended Self-Improvement via Experience Sharing
- Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly?
- EurekAgent: Agent Environment Engineering is All You Need For Autonomous Scientific Discovery
- Adapting the Interface, Not the Model: Runtime Harness Adaptation for Deterministic LLM Agents
- Recursive Multi-Agent Systems
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems
- VSAL: A Vision Solver with Adaptive Layouts for Graph Property Detection