When an AI agent rewrites its own instructions from experience, is it learning general lessons or just patching past mistakes?
Do evolved harness edits capture reusable strategies or task-specific memorization?
This explores what happens when an AI agent's scaffolding (the prompts, tools and instructions around a frozen model) is rewritten automatically from its own experience: do the edits add up to general lessons, or are they patches for the specific tasks the agent already saw?
This explores what happens when an AI agent's scaffolding (the prompts, tools and instructions around a frozen model) is rewritten automatically from its own experience: do the edits add up to general lessons, or are they patches for the specific tasks the agent already saw? The corpus's most direct answer is that they are mostly patches. An analysis of evolved harness trajectories found the edits were rational and well-motivated across both prompt and tool layers, but most of them Do harness edits learn reusable strategies or memorize task fixes? persist fixes the agent could have rediscovered in a single rollout. The harness works like a cache. It stores what the agent could already reach, and it rarely turns a hard failure into a success. Because each edit reads as sensible, this is easy to miss by reading the edit log.
The corpus suggests this may depend on how edits are made rather than being a ceiling. SkillOpt treats a skill document as trainable external state for a frozen agent, and it only Can skill documents be optimized like neural network weights? accepts an edit if it improves performance on held-out validation tasks. That gate is a direct memorization test, since an edit that only patches one seen task shouldn't help on unseen ones. Its ablations go further: Does constraining edits make skill learning more stable? a textual learning-rate budget, the validation gate and a buffer that keeps rejected edits as negative feedback give more stable and more generalizable improvement than letting the agent rewrite its own instructions freely. The two findings come from different systems, and the corpus has no head-to-head comparison. Still, they fit together: unconstrained self-editing drifts toward memorization, and constraints push it toward strategy.
Who does the evolving, and who reads the result, also matters. The ability to produce useful harness edits Do stronger models always evolve harnesses better? is roughly flat across model tiers. The ability to benefit from those edits follows an inverted U that peaks in mid-tier models. Weak models fail to invoke the harness at all, and strong models struggle to follow it faithfully. So a good edit can still fail to help. My own inference, which the notes don't state, is that strong models may also gain little from task-specific fixes because they could have found them anyway.
There is evidence that gains from this kind of optimization can travel. AIDE2's improvements Do AIDE2's improvements transfer to unseen tasks? held on four held-out benchmarks, including physics-based weather forecasting, which sits outside the task distribution used to select its improvements. That is the test the memorization finding calls for: score on tasks the optimizer never saw.
Two older designs show what reusable knowledge looks like when it is built for reuse. Voyager stores executable skills in an indexed library and composes complex skills from simpler ones, so Can agents learn new skills without forgetting old ones? knowledge compounds instead of piling up as one-off fixes. Reflexion keeps verbal reflections in episodic memory, and it works because Can agents learn from failure without updating their weights? the success-or-failure signal is unambiguous, which stops the agent from rationalizing. Reflexion's memory is openly tied to specific episodes. The practical question is therefore whether an edit could be rediscovered in one rollout and whether it survives a held-out check. If the answer is yes to the first or no to the second, it is memorization.
Sources 7 notes
Analysis of evolved harness trajectories shows rational, well-motivated edits across prompt and tool layers, but most persist fixes an agent could rediscover in a single rollout. Gains remain limited because memorized shortcuts cache what's already within reach rather than converting hard failures into successes.
SkillOpt treats skill documents as trainable external state of frozen agents, using a text-space optimizer with held-out validation gating to accept only edits that improve performance. Across 52 benchmark cells and seven models, the approach matches or exceeds baselines while adding zero inference cost and enabling transfer across models.
SkillOpt's ablations show that adding a textual learning-rate budget, held-out validation gate, and rejected-edit buffer (retaining failed edits as negative feedback) produces more stable and generalizable skill improvement than allowing agents to freely rewrite their own instructions.
Model capability to produce useful harness edits stays constant across tiers, but capacity to actually benefit from those edits follows an inverted U-shape, peaking in mid-tier models. Weak models fail to invoke harnesses; strong models struggle with faithful instruction-following.
The paper reports that AIDE2's improvements transfer to four held-out benchmarks spanning machine learning, algorithm engineering, and physics-based weather forecasting—the last being outside the selection task distribution. This demonstrates transferable gains beyond overfitting to the selection set.
Show all 7 sources
VOYAGER demonstrates that storing executable skills in an embedding-indexed library and composing complex skills from simpler ones allows agents to learn continuously while avoiding the forgetting that occurs with weight-update-based methods. Environmental feedback refines skills while an automatic curriculum drives continual exploration.
Reflexion demonstrates that unambiguous environmental feedback (success/failure) enables agents to write useful self-diagnoses and improve across episodes without parameter updates. The binary signal prevents rationalization, and keeping reflections uncompressed preserves their usability.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- Harness Updating Is Not Harness Benefit: Disentangling Evolution Capabilities in Self-Evolving LLM Agents
- SkillClaw: Let Skills Evolve Collectively with Agentic Evolver
- SkillOpt: Executive Strategy for Self-Evolving Agent Skills
- Demystifying Agent Skills: Why They Work-Until They Don't
- DarwinX: Evolving Agent Harnesses Through Natural Selection
- Rethinking the Evaluation of Harness Evolution for Agents
- HarnessDev: Can LLMs Create and Evolve Their Own Agent Harness?
- MUSE-Autoskill: Self-Evolving Agents via Skill Creation, Memory, Management, and Evaluation