Harness Hub
All papers

Self-Upgrading Embodied Agents

Jiajun Fan, Neil He, Qinglong Zheng, Changyi Yang, Tong Wei, Andy Mao, Zetian Li, Chaoran Cheng, Hui Ren, Ruihan Guo, Xianrui Zhong, Xizheng Yu, + 9 more

Verdict: Incremental

The paired evaluation is careful. But the gain comes from one rank-one edit, found in one of four nights, that repairs a truncation failure produced by the evaluation setup. No baseline removes that failure directly, and the multi-round claims show only that the edit was not undone.

  • Novelty

    3 out of 5
  • Rigor

    3 out of 5
  • Reproducibility

    2 out of 5
  • Relevance to harnesses

    2 out of 5

TL;DR

A Qwen3.5-27B agent in text ALFWorld reads its own episode logs and finds that many steps are wasted on replies cut off at a 512-token limit. Using forward passes only, it writes a rank-one edit to one attention tensor. It keeps the edit only if a paired confirmation on reserved practice tasks holds. On held-out tasks, completion rises from 41.6% to 45.2%. One of four nights kept an edit. No baseline that fixes the truncation in the harness is reported.

Adversarial review by Harness Hub · Nov 26, 2026 · read full text (truncated) · Suggest a correction

Original abstract (authors’ text, select to expand)

An embodied agent built on a language model goes to work with the weights it was given and keeps them for life. To get better, it needs more training, or reflection, memory, search or prompts that cost every step and are lost when the task changes. Editing weights by reasoning, weight-space programming, could end this, but has stayed with models that only reason or relied on a far larger commercial model. We introduce the self-upgrading embodied agent, to our knowledge the first that learns from its own experience by upgrading its own weights on the job, between its tasks, with no training, no gradient, no reward model, no second model, no test-time scaling and no harness or prompt engineering. By day a 27B agent works in a household environment. At night it reads its record, finds many of its steps wasted on replies that reach the token limit before any action, traces the habit to one direction in its hidden states, and rewrites one tensor of its weights. An agent that rewrites itself must first never break itself, so it is its own examiner: it tests every change against its unchanged self on practice tasks and keeps only what holds. When an edit holds, the next day it is a better agent, at the same cost per step: over thousands of held-out episodes, 48 fresh seeds a task, its one kept edit makes it complete significantly more tasks, in fewer steps, with fewer wasted and fewer tokens. This self-improvement is multi-round, stable and continual: through the nights that follow, the upgrade holds, without collapse. Of four sizes of its family, only the 27B agent does this. From here on, an embodied agent need not keep training and inference apart: as it works, it gathers its own experience and upgrades itself, with no separate pre-training or post-training and no human intervention. We believe this opens lifelong continual learning for robots: stable, continual, recursive self-improvement.

Filed underharnessmemoryself-improvingagentsllm

Summary

The agent alternates between 'days' of ALFWorld episodes and 'nights' of self-editing. During a night, the same model works in a Python environment with: - read access to its own tensors; - a budget of at most 20 rounds of forward passes; - paired-test tooling that compares edited and unchanged weights on the same practice tasks and seeds; - one confirmation on 256 reserved tasks, drawn from 300 training-split tasks set aside in advance. In the night that kept its edit (night 2), the agent did four things: - It reported that 1,366 of 4,418 opening steps ended without an action, all at the 512-token limit. - It found a hidden-state direction that separates concise replies from cut ones. - It applied W <- W - alpha u u^T W to an early attention layer (layer 16) with alpha = -10. - It saw a -6.3 point change in steps without an action on the reserved confirmation. On held-out validation-split tasks, 48 seeds each (Table 2), the edit gives: - tasks completed: 45.2% vs 41.6% (+3.6, 95% interval [+1.9, +5.2]); - steps without an action: 39.5% vs 45.9%; - tokens per episode: 13.9k vs 15.1k. Nights 1, 3 and 4 withdrew. In the scale comparison, only the 27B model kept an edit. The statistics are careful: a paired design, levels fixed in advance, the task as the unit, and permutation tests. But the gain repairs a failure that the evaluation setup itself produces: a 512-token cap, with the tail of a cut reply fed back into the history as the previous action. No direct harness fix of that setup is compared.

Key findings

  • Held-out tasks completed: 41.6% unchanged vs 45.2% after the edit, +3.6 points, 95% interval [+1.9, +5.2], p < 10^-4 (Table 2).
  • Steps without an action: 45.9% vs 39.5%. Tokens per episode: 15.1k vs 13.9k. Steps per episode: 38.5 vs 37.2 (Table 2).
  • Rooms never seen: 37.8% vs 42.2%. Rooms seen in practice: 45.8% vs 48.4%, interval [+0.2, +5.1] (Table 2).
  • Paired episodes: 15.5% turn from not completed to completed and 11.9% turn the other way. 60% of tasks go up and 29% go down (Sec. 4.2).
  • Diagnosis: 46% of a task's replies reach the 512-token limit with no action. The next step is wasted 27% of the time after no wasted step and 80% after six or more (Fig. 10).
  • The kept edit is one rank-one update in layer 16, alpha = -10. The confirmation showed -6.3 points (SE 1.1) on 256 reserved tasks; the held-out test showed -6.4 (Figs. 8, 20).
  • Only night 2 of four kept an edit. Night 4's practice gains did not hold on the reserved tasks, and the agent withdrew (Fig. 9).
  • Words of second-guessing predict truncation. 3% of the unchanged agent's replies with no 'Wait'/'However'/'Actually' are cut, versus 95% of those with three or more. Replies with none rise from 42% to 48% after the edit (Sec. 4.4).
  • The kept night took 7.7 hours on one GPU (Fig. 3).

The paper at a glance

01Day: run practiceepisodes with thecurrent weights andlog every prompt,reply and action02Night: read the logwith code anddiagnose thefailure (repliescut at 512 tokens)03Read hidden statesto find a directionseparating concisereplies from cutones04Write a rank-oneedit to one tensorin layer 1605Run paired testsagainst lastnight's self on thesame practice tasksand seeds (at most…06Run oneconfirmation on 256reserved practicetasks07Keep the edit orwithdraw it; thenext day startsfrom the resultingweights
  1. Day: run practice episodes with the current weights and log every prompt, reply and action
  2. Night: read the log with code and diagnose the failure (replies cut at 512 tokens)
  3. Read hidden states to find a direction separating concise replies from cut ones
  4. Write a rank-one edit to one tensor in layer 16
  5. Run paired tests against last night's self on the same practice tasks and seeds (at most 20 rounds)
  6. Run one confirmation on 256 reserved practice tasks
  7. Keep the edit or withdraw it; the next day starts from the resulting weights
Fig. 1 — How the paper works, step by step (arXiv:2611.31117).
Unchanged Qwen3.5-27B41.6%After its own edit (this paper)45.2%
Fig. 2 — Held-out tasks completed, higher is better. Source: Table 2, arXiv:2611.31117.
Data table
Held-out tasks completed
Method%
Unchanged Qwen3.5-27B41.6%
After its own edit (this paper)45.2%

Why it matters

For harness builders, the useful part of this paper is the diagnosis, not the self-editing. With a 512-token reply cap and a history window that stores the truncated tail of a cut reply as the previous action, nearly half of a 27B model's steps are wasted, and each wasted step makes the next more likely. A builder can address this in the harness without weight access: drop truncated tails from the history, raise the cap, ask for the action before the reasoning, or apply an inference-time steering vector. The paper does not show that its weight edit beats any of these. The self-editing loop is a research demonstration of a model editing its own weights. It requires white-box weight access, a forward-pass server and hours of GPU time per night, and it produced one kept edit in one text environment with one model family. It has little direct bearing on how coding agents, tool loops or memory systems are built.

Issues (9)

  • High severity

    The target failure is produced by the evaluation setup, and no direct fix of that setup is compared. The 512-token cap, together with a history that carries a cut reply's tail as the action taken (Fig. 10d), drives the wasted-step cascade. There is no baseline that raises max tokens, strips truncated tails, asks for the action first, or applies the same direction as an inference-time steering vector. Without these, the +3.6 points cannot be credited to self-upgrading rather than to undoing a handicap the harness creates. The 'no harness or prompt engineering' framing sidesteps the fact that a harness change is the obvious competitor.

  • High severity

    The claim of 'multi-round, stable, continual, recursive self-improvement' rests on one kept edit in four nights. Nights 3 and 4 withdrew, so 'the upgrade holds' only means the weights were not changed again. There is no evidence that gains compound across rounds. The four-night process is also never repeated from different opening episodes or seeds, so we do not know how often a night finds a keepable edit.

  • Medium severity

    The claim that 'the more it works, the further ahead it gets' is a cumulative sum of a fixed per-episode advantage over 48 episodes (145 fewer wasted steps, 57 thousand fewer tokens). A running total of a constant gain grows linearly by construction. It is not evidence of continued learning.

  • Medium severity

    The diagnosis is partly handed to the agent. The night's record arrives with summary counts that already include 'replies that reached the token limit'. That weakens the claim that the agent 'finds what is wrong with itself'. The test protocol is also scaffolded by the authors: they tell the agent to tune on per-step measures and check completion, label results 'noise' within two SE, and prescribe the submit rule.

  • Medium severity

    No other improvement method is compared on performance: trained agents such as GiGPO (whose prompt is reused), reflection, or a researcher-chosen edit along the same direction with the same test budget. Table 1 compares properties, not results. The paper gives no reference point for where 45.2% stands in ALFWorld.

  • Medium severity

    The scale claim 'only the 27B agent does this' comes from a single night per size. The 9B result is described both as an edit made without any test that failed confirmation (Sec. 4) and as the agent writing its forward-pass request into a variable and waiting for results that could not come (Fig. 6). That second description looks like a tool-use or protocol failure, not an inability to edit.

  • Medium severity

    'No harness, no human intervention' is overstated. The night is a researcher-designed harness: a Python sandbox, a forward-pass budget, paired-test tooling, a reserved confirmation set and a decision rule. The kept night cost 7.7 GPU-hours.

  • Low severity

    The effect on completion is small at the episode level. 11.9% of paired episodes flip from completed to not completed, against 15.5% the other way, and 29% of tasks get worse. In seen rooms the interval is [+0.2, +5.1]. The robust effect is on wasted steps.

  • Low severity

    The embodied and robot framing is not supported by the experiments. All of them use text-only ALFWorld and one model family. The rank-one projection edit is close to direction ablation and to reasoning-length steering chosen by researchers [1, 33, 32]. What is new is who picks the direction.

Questions for the authors

  • What does the unchanged agent score if truncated reply tails are dropped from the history, or if the token cap is raised to 1024 or 2048?
  • What does the same direction score as an inference-time steering vector, or when chosen by a researcher with the same paired-test budget?
  • If the four-night protocol is rerun from different opening episodes, how often does a night keep an edit, and how much does the held-out gain vary?
  • Does the 9B result change when its forward-pass requests are actually executed?
  • How much did the summary count 'replies that reached the token limit' steer the diagnosis? Would the agent find the cause without it?
  • Does the edit change behaviour outside ALFWorld prompts?
  • Will the code, the night logs and the edited tensor be released?

Related in the directory

Open-source projects

RL training framework for agents: the training-pipeline route to a better agent that the paper positions itself against.
Self-improvement by evolving prompts: the scaffold-level alternative the paper contrasts with editing weights.

More tools on the same problem

Products and open-source projects in the directory closest in meaning to this paper.

Optimizer that trains reusable natural-language skills for frozen LLM agents.
Raven — the harness of harnesses, built for recursive self-improvement.
The agent that grows with you.
ART: open-source reinforcement learning trainer for multi-step agents.
Train agents by conversation; links an arXiv paper
Long-term memory for agents from LangChain

Vision-language model (VLM)-based agents offer a promising approach to robotic manipulation, yet remain limited by inadequate memory organization, uncertain failure attribution, and limited reuse of execution experience. We propose Embodied-Harness, a dual-agent framework that improves manipulation by refining the execution harness without updating model parameters. The Actor interacts with the environment through a robot-control interface, while the Reflector converts execution evidence into reusable operational guidance. Hierarchical Memory Architecture maintains short-term execution context and long-term experiential knowledge to support execution and reflection. Evidence-based Experience Reflection grounds failure diagnosis in observed interactions, while Recursive Harness Self-Improvement refines operational guidance across successive attempts. Experiments on RoboTwin 2.0, RoboSPA, and RMBench demonstrate the effectiveness of Embodied-Harness in generalization under environmental variations, spatial reasoning, long-horizon planning, and memory-dependent manipulation. Our method achieves success rates of 82.4%, 76.7%, and 94.4% on the three benchmarks, respectively. Real-world evaluation further yields an average success rate of 96.7% across three manipulation tasks. These results highlight the potential of Embodied-Harness to improve robotic manipulation through experience-driven harness self-improvement.

Zhenxuan Fan, Zhuoya Wang +6

Long-horizon embodied tasks require agents to ground instructions in changing observations, coordinate heterogeneous tools, and recover from failures that can propagate through downstream operations. Although existing LLM-based agents retain experience and refine reusable skills, successful local repairs do not by themselves establish complete-task gains over the current shared procedure library. We present EvoTER, an experience-driven framework that enables embodied agents to self-evolve tool-use skills without updating model parameters. EvoTER operates through a three-role evolution loop: Explorer records tool-use trajectories; Diagnoser distills successful and failed executions into skills for tool selection, parameter computation, postcondition checks, and recovery; and Validator retains candidate revisions only when they improve complete-task success in fresh sessions. In simulation, EvoTER improves overall task success from a pre-evolution baseline of 53.60% to 80.40%. In real-world experiments, simulation initialization reduces the attempts required to acquire short-horizon skills, while continued real-world evolution improves long-horizon success from 20% to 80%-100% across tasks and enables the evolving skill library to incorporate new tool functionality introduced after simulation development. Project page: https://evoter-project.github.io/

Yingting Zhou, Yuyin Zhou +3

Large Language Models (LLMs) are increasingly used in multi-turn agentic workloads that require sustained interaction with complex environments. Existing reflective prompt optimizers such as GEPA learn from failed rollouts, but agentic failures can also come from prompt weaknesses, harness limitations, stochastic execution, or noisy judges. We argue that such failures may not provide useful learning signal, and may even be harmful; and thus it is essential to curate which tasks are provided to the prompt optimizer for better performance. We introduce GEPA-Curator, a framework that augments the prompt optimizer to select which agent experiences should shape prompt optimization. In particular, GEPA-Curator consists of two components: task curation, which filters out tasks that are likely to provide noisy or unreliable learning signals, and prior success retrieval, which selectively retrieves past successful trajectories for a task and provides them as additional context to the prompt optimizer. We evaluate GEPA-Curator on GoBrowse, ALFWorld, AppWorld, and $τ$-bench, using both Gemini 3.1 Pro and Claude Opus 5 as optimizer models. GEPA-Curator matches or exceeds the mean performance of both baselines, with gains of up to 20.7% over GEPA and 21.2% over ACE.

Zack Yu, Nicholas Lee +9

Generalist robot policies and language-model agents provide complementary capabilities, but completing a task also requires adapting their use to the consequences of physical interaction. We study execution as a locus of adaptation: feedback guides the current action and supplies evidence for revising subsequent decisions under fixed model weights. We introduce RoboDoctor, a training-free framework that connects diagnosis, grounded action, and persistent experience across three revision targets. The harness allocates control between policy and agent; intervention determines when to assist while preserving useful policy behavior; and operation refines physical methods through observed effects. Linked experience records retain the reason for a decision, the attempted method, its outcome, and conditions for reuse. On a curated archive of 54 RoboDojo-Sim task entries, RoboDoctor achieves a five-dimension mean score of 57.10, with a native success rate of 49.44%. Recorded interactions illustrate strategy changes, selective correction, and grasp revision. These findings characterize execution-time adaptation in the evaluated system; controlled trials remain necessary to isolate the contribution of cross-episode experience.

Heyang Yu, Haomin Li +8

LLM agents increasingly drive their own learning. Self-improvement methods delegate various components of model optimization to the models themselves. As models become more capable, this motivates a basic question: do these increasingly capable models still need us to specify how they should self-improve? In this paper we study an autonomous paradigm in which, given basic primitives, resources, and a general goal for self-improvement, agents construct their own self-learning algorithm for context-based optimization. Using the setting of gameplay as a testbed, a frozen LLM agent is given a compute budget and tools for collecting experience and updating text documents, and allowed to freely experiment without an externally imposed loop or access to real-world data. We find that sufficiently capable models do self-improve under these conditions, demonstrating strategies that align with classic cognitive frameworks for self-regulated learning and constructs from machine learning literature on self-generated curricula. Furthermore, we study the extent to which the learned text artifacts transfer to external benchmarks, observing improvement across different game horizons, mechanics, and 3D navigation.

Shobhita Sundaram, Cansu Sancaktar +1

Coding agents can adapt their harnesses, the software, configuration, and instructions used to run them, based on experience from earlier tasks, but whether these adaptations improve their behavior on later tasks remains unclear. We study \retro, a skill that asks an agent to review a completed session and propose harness changes, and ask what changes it proposes and whether implemented changes reduce repeated work on later tasks. We ran Claude Code on 30 SWE-bench Verified issues, qualitatively coded the 125 proposals from \retro, implemented 24, and evaluated 12 harness changes on later issues from the same repositories in fresh sessions with and without each change. Most proposals referred to an event in the session, but 18 of 43 lint-related proposals recommended a practice regardless of what had happened. Among the seven evaluations in which sessions without the change encountered the targeted problem, two changes eliminated the targeted action, one reduced its occurrence, four showed no reduction, and some changes added work on unrelated issues. Harness self-evolution requires more than generating and implementing changes: it needs ways to establish whether a change helps on later tasks and to revise or remove changes that do not.

Christoph Treude, Sebastian Baltes

The Harness Hub newsletter

New harness companies, projects, releases and the monthly State of Harness report, in your inbox.