Skip to content

Checking your reading list…

Retry verification

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

RSI-Env: Agents Co-Evolve Model & Harness for Recursive Self-Improvement

RSI-Env: Agents Co-Evolve Model & Harness for Recursive Self-Improvement

Fudan, HKUST, and Shanghai AI Lab propose RSI-Env, an open-ended environment where AI agents autonomously modify their harness and train their models, passing experimental records across versions; experiments on Qwen3.8-27B show harness updates boost SimpleQA from 82% to 85%, then self-generated fine-tuning data pushes it to 88%, though cross-task regressions remain a challenge.

Introduction

AI agents can now write training code, adjust prompts, and adapt strategies based on experimental results. However, a concrete problem remains: how to carry forward a single improvement into the next round so that the updated agent continues research with full knowledge of prior code, data, failure records, and progress.

The core question is whether the agent that performs the next round of research can be the updated version of itself after it has modified its own model or running framework (Harness). This requires the system to retain code, data, failure logs, and research state across versions, and to autonomously decide whether to train the underlying model or first modify tool-calling, context management, and other harness logic.

RSI-Env: An Open-Ended Recursive Self-Improvement Environment

On November 1, teams from Fudan University, Hong Kong University of Science and Technology, and Shanghai AI Laboratory submitted a paper to arXiv proposing RSI-Env (Recursive Self-Improvement Environment). In this environment, an agent can autonomously train its base model and modify its Harness , passing experimental records to subsequent versions. Each time a candidate version passes validity checks, the new system takes over the next round of improvement.

Model and Harness Co-Evolution

Agent performance is jointly determined by the base model (understanding, reasoning, generation) and the Harness (prompt organization, context, tool calling, memory, execution flow). Prior work has explored training data generation, model fine-tuning, Harness optimization, and joint model-workflow improvements separately, but often with fixed optimization targets, modifiable components, evaluation pipelines, or update orders.

RSI-Env places model training and Harness modification in the same exploration space while preserving cross-iteration research state. The agent can choose to modify the model, the framework, or both based on accumulated evidence.

As compared in the paper's Table 1: Meta-Harness focuses on framework optimization; RSIBench-Data on training data strategies; Co-Harness on joint framework-model optimization. RSI-Env integrates open-ended goals, model and framework modification, research state retention, and hand-off to new system versions within a single environment.

Architecture: RSI Environment and Host Controller

The architecture consists of two parts connected via controlled interfaces:

RSI Environment – a sandbox for autonomous exploration where the agent reads infrastructure docs, inspects the current system, modifies Harness code, constructs training data, selects training methods, and tests candidates. Experimental code, workspace, logs, and intermediate results are saved across iterations; even failed attempts leave diagnostics for later use.

Host Controller – manages training services, inference services, independent evaluation, validity checks, and version/evolution relationship management.

A key design point: candidate versions are accepted based on validity and executability, while capability changes are measured by independent evaluation . This allows research to continue but also means capability regressions can occur during version updates.

Improvement Modes: Self vs Teacher

Self Mode

The target agent itself performs the research work: it proposes and executes modifications, and after acceptance the new model-Harness combination continues the next round.

Teacher Mode

A fixed external agent modifies the target system. The external researcher's own model and framework remain fixed throughout. In experiments, two Teachers used GPT-5.6 Sol and GPT-6 Astra (Codex, reasoning effort High).

Task Settings: Three Levels of Guidance

To observe how much research an agent can complete independently, three task settings were designed:

Open-General – only an overall improvement goal is given. The agent must choose improvement directions, discover concrete problems, design interventions, and establish local validation evidence. No benchmark names or benchmark feedback are provided.

Capability-Directed – a broad capability direction is specified (e.g., enhance reasoning, knowledge use, or tool execution). The agent still must translate the goal into concrete problems and design verification, without benchmark names or feedback.

Benchmark-Guided – explicit benchmark targets and evaluation feedback are provided. The agent can query the controller for target benchmark feedback and optimize within a budget.

Basic execution diagnostics (service errors, training outputs) are always available. As external guidance increases, the agent's independent problem discovery and goal definition workload decreases.

The initial Harness is minimal: a basic agent loop that provides task and interaction history to the model, executes tool actions, and appends results. Open tools include bash for environment interaction and compact for generating history summaries. Training uses Tinker SDK and controller services, supporting supervised fine-tuning and custom RL workflows.

Experimental Setup

Starting point: Qwen3.8-27B with a minimal Harness . Compared Self mode against two Teacher modes (GPT-5.6 Sol, GPT-6 Astra). Evaluated on GPQA Diamond, AIME 2026, Terminal-Bench 2.1, and SimpleQA. Each run allocated up to 30 hours with early stopping allowed. Each question tested three times; QA benchmarks report average accuracy, terminal tasks report pass-at-least-once rate over three attempts.

Results

Harness Updates Improve SimpleQA Without Model Changes

In the Open-General setting (no benchmark feedback), Self achieved a Harness update that raised GPQA Diamond from 65.2% to 73.2% and AIME 2026 from 53.3% to 56.7% , while base model weights remained unchanged. With capability-directed goals, all three Self tasks showed gains aligned with their targets, and Self outperformed both Teacher-improved systems on those target metrics.

Cross-Version Continuous Improvement: Knowledge Direction

The knowledge-directed experiment demonstrated cross-version continuous improvement :

Initial SimpleQA accuracy: 82% .

Agent first updated Harness → accuracy 85% .

New version continued research, autonomously constructed 48 prompt-response samples , performed two epochs of supervised fine-tuning → accuracy 88% .

Paper review of the 48 samples: 43 acceptable, 3 minor issues, 2 defective .

Benchmark-Guided Gains and Trade-offs

With explicit benchmark targets and feedback, Self's AIME 2026 reached 60.0% and Terminal-Bench 2.1 reached 18.0% , both higher than the corresponding capability-directed settings. However, SimpleQA dropped to 65.6% , well below the knowledge-directed 88.0%.

Cross-Task Regressions

Cross-task regressions were pronounced. The final system from the knowledge direction improved SimpleQA but GPQA Diamond fell from 65.2% to 53.0% .

Discussion and Future Work

RSI-Env advances agent self-improvement to a concrete research stage by connecting problem discovery, experiment execution, model and framework modification, research record retention, and hand-off to new versions, enabling observation of recursive self-improvement through actual run trajectories.

The 48-sample case illustrates a process worth tracking: the agent first improves its own running framework, then uses the updated system to construct training data, and finally changes the base model. Different layers of modification are driven by a single continuously evolving system.

However, capability regressions observed in experiments highlight the next challenge: when the agent decides what to improve and how to verify, it must also identify the impact of a local gain on other capabilities . A runnable new version may progress on the target task while losing existing abilities. Research records, independent evaluation, and multi-dimensional capability checks will directly determine whether subsequent improvements can sustain accumulated gains.

From this work, cross-version continued research has a concrete example. The next questions are how many rounds such a process can sustain, and whether the system can gradually reduce regressions on other tasks while enhancing target capabilities.

About this article

For questions about attribution, corrections or content rights, please contactadmin@besthub.devand we will review it promptly.

Published

AI-assisted summary

Report an issue with this article
AI AgentsRecursive Self-ImprovementSimpleQAQwen3.8-27BCross-Task RegressionModel-Harness Co-EvolutionRSI-Env

Reader feedback

Was this useful?

Useful0

Discussion 0

Questions, practical examples and thoughtful responses.

Open full discussion