Skip to main content
GW
HomeWorkAI appsPapersAboutNotesStackLabPilotPlan↗ (opens in a new tab)INVST↗ (opens in a new tab)
Govind Waghmare

Finance systems and AI. Building in public from NYC.

Resume (PDF)Book 20 minEmail
HomeNotesWorkAboutStackPapersLabFor founders
XLinkedInGitHubllms.txt
© 2026 · New York City

Keyboard shortcuts

?
Open this list
g then h
Go to Home
g then w
Go to Work
g then n
Go to Notes
g then a
Go to About
c
Ask the AI guide
Esc
Close this list
Original paperSection A, The abstract
Open in new tab (opens in a new tab)
All papers
AI agents and tools

One shared test bench for AI agents that improve themselves

Paper: RSIHub: A Composable Framework for Agent-Evolution Methods

Zimu Wang, Xiaobo Wang, Siyu Ye, Jiaqi Li, Silin Chen, Yuling Shi, Ruobing Wang, Jingjing Zhang, Chaofan Wang, Kai Wu, Mengnan Qi, Kai Cai, Xiaodong Gu, Zilong Zheng · arXiv preprint (UC Berkeley, USTC, Douyin Group, SJTU, Tongji, BIGAI, Simple Agent Lab) · Posted 23 Oct 2026 · 13 min read · arXiv 2610.32253

Share this paper

LinkedIn (opens in a new tab)X (opens in a new tab)WhatsApp (opens in a new tab)EmailDownload PDFExplainer (PDF), 849 KB

  • Some systems let an AI agent improve itself from its own runs.
  • Each new method rebuilds the same machinery: workspaces, tests, records.
  • That makes methods hard to build and hard to compare.
  • If a method can change its own scoring, a gain may be fake.
13.5

percentage points gained on Terminal Bench 2 by the best evolved MiniSWE agents.

  • The authors built recipes for 4 methods: AHE, Hyperagents, A-Evolve and GEPA.
  • They evolved 2 agents on 2 benchmarks under fixed models.
  • They also tested recovery, boundaries, cost and effort.

  • Every method helped MiniSWE on Terminal Bench 2, by 7.8 to 13.5 points.
  • No method won everywhere. Rankings changed by agent and benchmark.
  • Some gains did not carry to held-out tasks.
  • All 420 fault and boundary trials passed. Framework time was about 0.02%.

Every method lifts MiniSWE on Terminal Bench 2From Table 1
051015Gain in overall pass@1 (points)GEPA7.8%AHE9.0%Hyperagents13.5%A-Evolve13.5%

Hover, tap or focus a bar to read its exact value.

MethodTB2 MiniSWE (%)TB2 Codex (%)Banking MiniSWE (%)Banking Codex (%)
GEPA7.869.729.933.0
AHE9.071.928.934.0
Hyperagents13.570.833.028.9
A-Evolve13.570.827.828.9

  • Results are single runs. Close differences are not proven stable.
  • RSIHub audits and rolls back. It does not contain hostile code.
  • The authors tested fixed recipes, not an outer agent that revises recipes.

Jump to

  1. A The abstract
  2. 1 Introduction
  3. 2 Related work
  4. 3.1 Design principles
  5. 3.2 Composable candidate lifecycle
  6. 3.3 Provenance
  7. 4 Evaluation: questions, recipes, setup
  8. 4.3 Evolution effectiveness and transfer
  9. 4.4 Execution fidelity
  10. 4.5 Recovery and integrity
  11. 5 Conclusion, limitations, responsible use
  12. A Appendix A: a representative recipe
  13. B Appendix B: extended evaluation
  14. C Appendix C: inspecting an execution
  15. D Appendix D: executable contracts and recovery
  16. W Words to know

Every detail from the paper

Cards follow the paper's own order. Dotted words link to Words to know. Numbers match the paper.

The problem

  • Agent-evolution methods use execution feedback to improve prompts, skills, tools and orchestration.
  • Their code often rebuilds the same experimental machinery.

The framework

  • RSIHub is an open-source framework to build, compare and extend these methods on shared infrastructure.
  • Recipes compose reusable operators and declare mutable resources.
  • RSIHub supplies execution, evaluation, recovery and lineage.
  • Researchers focus on evolution policy.
  • Evaluation stays outside the mutable surface.
  • Results stay tied to candidates and evaluation conditions.

What they did

  • The authors instantiate AHE, Hyperagents, A-Evolve and GEPA without changing the framework core.
  • Method logic stays in recipes and operators.
  • They evaluate with MiniSWE and Codex on Terminal Bench 2 and tau3 Banking.
  • Model and evaluator settings are fixed.

Findings

  • The largest overall pass@1 gain is 13.5 percentage points.
  • Method rankings vary across settings.
  • Optimization gains do not always transfer to held-out tasks.
  • RSIHub offers a common protocol for comparing evolution policies.
  • It gives inspectable candidate histories and reusable parts for new methods.

The loop

  • Agents are often built by an empirical loop.
  • Developers inspect runs, revise prompts, skills, tools or orchestration, and test again.
  • Agent-evolution systems automate parts of this loop.
  • They turn execution feedback into lasting changes to the agent.
  • Some also revise parts of the improvement process.
  • Program-optimization methods use a similar loop for language-model programs and text parts.
  • Each iteration selects a candidate, gathers evidence, proposes and tests a revision.
  • Keeps the outcome.

The cost of bundling

  • Methods differ in how they run this lifecycle and in what they let change.
  • Much of the support code recurs.
  • Isolated candidate workspaces, task execution and evaluation, artifact retention, recovery and lineage.
  • It is often bundled with method policy.
  • So a new method can mean building another full system.
  • Comparing methods means reconciling runners, configurations and evaluator interfaces.

The framework

  • RSIHub separates method policy from this recurring infrastructure.
  • A recipe binds one implementation to each enabled operator interface.
  • It declares the mutable surface and the run setup: target, evaluator, runtime and data splits.
  • A framework-managed evolution loop calls the chosen operators.
  • They choose a parent, gather evidence, revise a candidate and decide what to keep.
  • A protected runtime runs and scores candidates under that setup.
  • The framework writes outcomes to the verified archive.
  • In agent-driven mode, an outer agent adapts the recipe between iterations under the same boundaries.
  • Shared services give workspace building, artifacts, recovery and lineage.
  • New operators plug into stable interfaces, so the core stays unchanged.

The attribution risk

  • The protected runtime addresses an attribution risk in broadly mutable systems.
  • Method-controlled changes to evaluation can alter measurement conditions.
  • Changes to record keeping can rewrite the reported evidence.
  • Either can make an apparent gain unclear.
  • RSIHub keeps evaluation and its archive under framework control, outside the declared mutable surface.
  • Each result is tied to the committed candidate and evaluation conditions.
  • A separate Gate operator decides if an evaluated candidate may become a parent.

The evaluation

  • The evaluation compares recipes for four methods, across two seed agents and two benchmarks.
  • It examines effectiveness and held-out transfer, execution fidelity and integrity.
  • Integrity covers interruption recovery and boundary enforcement.
  • It also covers runtime and implementation cost.

Contributions

  • Composable recipes.
  • A recipe sets method policy by reusable lifecycle operators.
  • It also declares what may be revised.
  • AHE, Hyperagents, A-Evolve and GEPA are recipes over the same operators.
  • Shared experimental infrastructure. One lifecycle for candidate execution, recovery, artifacts, certified evaluation records and lineage.
  • Evaluation on common ground.
  • Four recipes compared across two seeds and two benchmarks.
  • Models and evaluators stay fixed.
  • The authors also test the framework itself: does it change an unevolved agent's capability.
  • Does it recover, does it hold its boundaries, and what it costs.
  • Rankings among the recipes vary across agents, benchmarks and splits.

Open-source resources

  • RSIHub is released through Simple Agent Lab under Apache-2.0.
  • It has runnable recipes, reusable operators, documentation and an experiment viewer.
  • Researchers can inspect candidate changes and results.
  • They can contribute new recipes and operators.

Agent optimization and evolution (1)

  • Agent improvement spans inference-time feedback, lasting artifact optimization and self-modification.
  • Reflexion retains feedback across trials. Self-Refine revises outputs at test time.
  • DSPy and TextGrad optimize language-model programs or text variables.
  • Promptbreeder evolves task and mutation prompts. ACE evolves context playbooks.
  • CoEvoSkills evolves multi-file skills with a separate surrogate verifier.
  • GPTSwarm optimizes agent graphs. AgentSquare searches combinations of planning, reasoning, tool-use and memory modules.
  • EvoAgentX integrates optimizers for multi-agent workflows.
  • Fork-and-Flush combines workspace inheritance with fresh contexts and branch selection.

Agent optimization and evolution (2)

  • The recipes adapt selected policies from four approaches.
  • A-Evolve frames deployment-time adaptation as goal-directed optimization over persistent system state.
  • AHE guides revisions to harness files with distilled execution evidence.
  • GEPA uses trajectory reflection and Pareto selection to optimize prompts.
  • Hyperagents combines a task agent and a self-modifying meta agent in one editable program.
  • The improvement procedure can evolve.
  • Others: STOP revises optimizer scaffolding. ADAS generates agent programs with a meta agent.
  • DGM modifies its coding agent. AlphaEvolve evolves target algorithms.
  • RSIHub gives shared execution, lifecycle and evidence services to compare the four adaptations.

Tasks, environments and execution infrastructure

  • Benchmarks cover software engineering, terminal use and knowledge-grounded dialogue.
  • Harbor standardizes task, dataset, agent and container interfaces for evaluation and optimization.
  • The OpenHands Software Agent SDK offers composable agent, tool, conversation and workspace parts.
  • RSIHub hands container execution, trajectory capture and per-task checks to Harbor.
  • It adds a versioned evolution lifecycle, recipe-level composition and common provenance across methods.

Provenance and measurement validity

  • The AI4AI survey separates measured gains, retention and held-out transfer.
  • Software-provenance systems sign artifacts or package executions with dependencies.
  • RSIHub records candidate lineage and tells parent selection from post-evaluation Gate decisions.
  • It binds outcomes to candidates, recipes and evaluation conditions.
  • Controlled skill-evolution studies show lasting gains can be sparse and depend on feedback.
  • Validation, models and benchmarks.
  • In a synthetic reward-model setting, overoptimizing a weak proxy can lower true performance.
  • In deliberately gameable environments, some reward tampering appeared in a small.
  • But real share of cases.
  • The authors note that this definition admits false positives.
  • RSIHub services write certified evaluation fields and filter operator notes before adding them.
  • That supports attribution under the framework's trust assumptions.
  • Benchmark overfitting and broader specification gaming remain evaluator- and study-level concerns.

The candidate lifecycleFrom Figure 1 and Section 3.2
  1. OperatorSelect a parent
  2. Rollout on train tasks
  3. Analyze and mutate
  4. FrameworkGuardrail checks the diff
  5. FrameworkEvaluate, certify the score
  6. Absorb: gate and record

Policy stages are operators. Guardrail and Evaluate are framework-controlled.

  • RSIHub separates method policy from the shared mechanics of execution, evaluation and record keeping.
  • The principles below explain the split.

Assemble methods from interchangeable parts

  • RSIHub fixes the slots of the evolution lifecycle and leaves their contents open.
  • A stage is a slot such as select or mutate.
  • An operator is one implementation of a stage.
  • A recipe names the operator it wants in each slot and configures it.
  • If the operators exist, a recipe can express method choices through configuration.

Say what a method may change and see

  • Two recipe declarations make this an experimental choice.
  • The surface block declares the resources a candidate may change.
  • So the same interfaces support prompt-only and whole-harness studies.
  • The mutate block sets how the editing agent runs and which retained context it gets.
  • Together they separate the resources being evolved from the information used to propose each revision.

Provide the rest of the pipeline once

  • Workspace building, candidate snapshots, evaluation, artifact retention and terminal-state sorting recur across methods.
  • So do recovery from interrupted runs and lineage records.
  • RSIHub implements these once and gives every recipe the same path.
  • A study that changes one operator and nothing else isolates one policy part.

Keep scoring out of the method's reach

  • Method policy may revise candidates and the operators that propose them.
  • Measurement stays a framework job.
  • The framework owns evaluation and the evidence record outside the declared mutable surface.
  • Parent eligibility is a separate downstream policy choice.

  • The lifecycle has seven phases (Figure 1): Select, Rollout, Analyze, Mutate, Guardrail, Evaluate and Absorb.
  • Recipes bind five required operator interfaces: Select, Rollout, Mutate, Gate and Record.
  • They may bind four optional ones: Analyze, Validate, Novelty and Reflect.
  • RSIHub runs this lifecycle on Harbor, which gives container execution, trajectory capture and per-task checks.
  • On top, RSIHub manages lineage, train, gate and sealed splits, mutable-surface enforcement and certified records.

Fixed or agent-driven

  • The lifecycle takes a fixed researcher recipe or one supplied by an outer agent.
  • In agent-driven mode, the outer agent uses a recipe-authoring skill to compose the first recipe.
  • It may revise operator bindings and policy settings using permitted feedback after each iteration.
  • Mutate edits the candidate within an iteration.
  • The target, evaluator, runtime, data splits and mutable surface stay fixed.
  • Sealed tasks are kept out of adaptation feedback.
  • The experiments evaluate fixed recipes.

Safeguards

  • Before each iteration, the framework validates and snapshots the active recipe.
  • It resolves every binding and checks settings against the operator's schema.
  • Each operator runs in a separate process.
  • The framework validates its structured output before use.
  • The archive separates framework-certified fields from method-specific notes.
  • Certified fields are the evaluated candidate, its parent, the evaluation conditions and the outcome.
  • Operators propose notes. The framework filters and writes them.
The operators, one by one
OperatorTypeWhat it does
SelectRequiredPicks an eligible parent from the archive. The framework verifies identity and forks its exact commit
RolloutRequiredRuns the parent on train tasks and returns evidence. The Harbor rollout uses only the train split. A replay rollout reuses the parent's recorded result
AnalyzeOptionalDistills cases into bounded evidence, such as failure patterns or compact traces
MutateRequiredProposes edits inside the mutable surface. Usually an agent working over many turns. It may edit operators if the surface allows
Guardrail (framework)AlwaysChecks the real tree diff against the surface. Validate and Novelty may then reject the proposal
ValidateOptionalA method-specific check before evaluation
NoveltyOptionalDrops near-duplicates of accepted diffs before they use evaluation budget
Evaluate (framework)AlwaysCommits the reviewed tree, scores a clean checkout on gate tasks and certifies the result
Gate, Record, ReflectRequired, required, optionalGate decides from the certified score if the child becomes a parent. Record proposes annotations. Reflect distills archive history. None can change certified fields

The nine operators.

Gate tasks may coincide with train tasks. Sealed tasks are reserved for held-out reporting.

Algorithm 1: one candidate transaction
  • Select a parent and fork its certified commit.
  • Run Rollout. Optionally Analyze. Then Mutate.
  • Check the surface. If it stops, close and record the attempt.
  • Optionally Validate and check Novelty. A stop closes and records the attempt.
  • Commit the reviewed tree. Resolve the evaluation contract. Evaluate.
  • Certify the result in the archive.
  • If the evaluation is not benchmark-complete, return.
  • Run Gate. If it failed, close and record.
  • Otherwise append the Gate decision, run Record and append allowed notes.
  • Optionally Reflect. Return the archive.
  • Stops means rejection, failure, malformed output or timeout.
  • An evaluation is benchmark-complete when its trials meet the coverage policy.
  • Only then does Gate run.
  • A skipped Analyze passes through. Skipped Validate and Novelty accept.
  • Empty proposals and surface violations close as typed, archived attempts.
Which version of an operator runs
  • When a recipe puts operators inside the mutable surface.
  • The framework must pick the operator version.
  • This is distinct from an outer agent revising recipe bindings between iterations.
  • For each stage call, it loads the operator from the checkout given to that stage.
  • Changes to already-run stages take effect in a later generation.
  • Changes to Validate or Novelty may affect the current proposal.
  • Gate and Record load from the committed child.
  • The certified record is a recovery checkpoint after evaluation.
  • It holds the committed child and its outcome before downstream finalization.
  • Gate, Record and Reflect may add policy outputs but cannot alter certified fields.

  • A certified evaluation event ties the committed candidate.
  • Its parent and the active recipe snapshot to evidence.
  • The evidence includes evaluator and task-set fingerprints, trials, score, costs, artifact references and lineage.
  • A hash-referenced contract can also record evaluator-configuration and dataset-content digests.
  • It can record split and repetition settings, model identity and retry policy.
  • It can record the evaluator-runtime digest and the framework version.
  • A study can then tell a policy change from a change in test conditions.

From experiment records to method design

  • Researchers can start from a bundled recipe.
  • They can inspect candidate snapshots, lineage, task outcomes, costs and trajectories.
  • That helps investigate stalled progress and revision patterns, as in Fork-and-Flush.
  • Example: replace the parent-selection operator in a separate run.
  • Hold the seed agent, mutable surface, model, evaluator and splits fixed.
  • RSIHub gives execution, recovery and provenance services.
  • It also gives command-line summaries and a read-only viewer (Section C).
  • At the evaluated commit.
  • The four adaptations used 47 to 61 recipe lines and reused two operator bindings each.
  • No framework source changed.
  • Method-specific operator code ranged from 216 to 1,087 lines (Table 6).

Research questions

  • RQ1: Can RSIHub support effective agent evolution?
  • RQ2: Does RSIHub preserve the capabilities of the agents it runs?
  • RQ3: Does RSIHub preserve the integrity of agent-evolution experiments?
  • RQ1 compares recipes across agents, benchmarks and held-out splits.
  • RQ2 uses generation-zero controls against direct execution.
  • RQ3 uses fault-injection and boundary-enforcement trials.
4.1 Recipe instantiations
RecipeSearch behaviorMutation focus
hill_climbContinue from the best parenttarget
aevolveGoal-directed persistent adaptationprompt, target skills
aheHarness revision from execution evidencetarget
gepaPareto selection, minibatch validationprompt, task skill
hyperagentsCo-evolve target and evolution policytarget, selected operators

Table: the recipes and their policies.

hill_climb is a minimal baseline. The four others adapt A-Evolve, AHE, GEPA and Hyperagents.

  • Each recipe is an interface adaptation at the level of operator choices and configuration.
  • Exact match with a source code base also depends on prompts.
  • Models, budgets, dependencies and runtime adapters.
  • A user can run an adaptation unchanged, swap one operator.
  • Revise its mutable resources, or write a new recipe on the same services.
4.2 Setup

Agents and methods

  • The seed agents are MiniSWE and Codex.
  • The methods are AHE, Hyperagents, A-Evolve and GEPA, each as an RSIHub recipe.
  • They all use the same frozen Harbor evaluator.
  • The recipes keep their intended mutable surfaces.

Benchmarks and metrics

  • Benchmarks are Terminal Bench 2 and tau3 Banking, with one trial per task.
  • The metric is pass@1.
  • tau3 Banking is the knowledge-grounded tau-Banking domain from tau-Knowledge.
  • Terminal Bench 2 has 89 tasks: 50 train, 19 gate and 20 sealed.
  • tau3 Banking has 97 tasks: 50 train, 20 gate and 27 sealed.
  • Train runs give evolution feedback.
  • Gate tasks support candidate admission.
  • Sealed tasks are kept out of mutation feedback and used only for held-out reports.
  • Splits differ in size, so each split column is its share of the full-benchmark score.

Models

  • All runs use GPT-5.4 with high reasoning effort as the target model for both agents.
  • Every recipe uses a Codex mutation agent backed by GPT-5.4 with xhigh reasoning effort.
  • Target and mutation models stay fixed across benchmarks, seeds and methods.
  • So differences come from the recipes.

Optimization and runtime

  • Every recipe proposes one child per generation.
  • Runs last at most 10 generations.
  • Evolution results use static task sampling and one evaluation per task.
  • Capability-preservation controls use three independent repetitions.
  • All task execution uses Docker-isolated Harbor environments.
  • The setup script downloads and checks content-pinned assets and builds the mutation container.
  • It pins MiniSWE 2.4.5 or Codex 0.143.0.

Overall gains can hide sealed-task losses on tau3 BankingFrom Table 1
0612Sealed-split contribution (%)Seed9.3%AHE5.2%Hyperagents7.2%A-Evolve9.3%GEPA7.2%

Hover, tap or focus a bar to read its exact value.

MethodTau3 MiniSWE (%)Tau3 Codex (%)TB2 MiniSWE (%)
Seed9.33.111.2
AHE5.28.215.7
Hyperagents7.27.216.9
A-Evolve9.36.216.9
GEPA7.27.215.7

Protocol

  • Each evolved recipe is compared with its seed under shared conditions.
  • Overall changes probe whether the framework supports real improvement.
  • Train, gate and sealed results show if gains survive admission.
  • They also show if gains extend beyond the runs behind each revision.
  • Crossing agents, benchmarks and methods avoids one favorable setting.

Overall performance

  • On Terminal Bench 2, every method improves the MiniSWE baseline by 7.8 to 13.5 points.
  • Hyperagents and A-Evolve reach the top overall score of 69.7.
  • Gains are smaller from the stronger Codex baseline.
  • AHE reaches 71.9 (+2.2).
  • Hyperagents and A-Evolve each add 1.1. GEPA keeps the baseline.
  • On tau3 Banking, Hyperagents gives the largest MiniSWE gain, from 27.8 to 33.0.
  • AHE is best with Codex, from 24.7 to 34.0.
  • GEPA is close behind at 33.0.
  • Method rankings depend on the task environment and the starting agent.

Task split-level behavior

  • The split scores show tradeoffs the overall metric hides.
  • MiniSWE on Terminal Bench 2: all methods gain on train and sealed.
  • But only Hyperagents gains on gate.
  • A-Evolve has the largest train gain (+7.9) and ties Hyperagents on sealed.
  • Yet its gate score is unchanged.
  • With Codex, AHE and Hyperagents gain on train and sealed.
  • But lose 3.4 and 2.2 points on gate.
  • On tau3 Banking, Hyperagents has the largest MiniSWE overall gain despite a 2.1-point sealed loss.
  • AHE and GEPA also lose 4.1 and 2.1 points on sealed tasks.
  • Codex results are steadier: AHE gains 1.0, 3.0 and 5.1 on train, gate and sealed.
  • GEPA keeps train and gains 4.1 on both gate and sealed.

Implications

  • No method wins across benchmarks, seeds and splits.
  • These setting-dependent results motivate a common execution and evaluation pipeline.
  • Gate losses on Terminal Bench 2 and sealed losses on tau3 Banking matter.
  • They show why inspectable evidence is needed.
  • A higher overall score can hide held-out losses.
  • Substantial gains appear in several settings, including on sealed tasks.
  • Neither improvement nor transfer is uniform.
  • These point estimates do not prove stability of close differences without repeated runs.
Table 1: every number (train, gate, sealed)
Agent and methodTrainGateSealed
Terminal Bench 2, MiniSWE, Seed32.612.411.2
Terminal Bench 2, MiniSWE, AHE37.1 (+4.5)12.4 (+0.0)15.7 (+4.5)
Terminal Bench 2, MiniSWE, Hyperagents36.0 (+3.4)16.9 (+4.5)16.9 (+5.6)
Terminal Bench 2, MiniSWE, A-Evolve40.5 (+7.9)12.4 (+0.0)16.9 (+5.6)
Terminal Bench 2, MiniSWE, GEPA36.0 (+3.4)12.4 (+0.0)15.7 (+4.5)
Terminal Bench 2, Codex, Seed39.315.714.6
Terminal Bench 2, Codex, AHE42.7 (+3.4)12.4 (-3.4)16.9 (+2.2)
Terminal Bench 2, Codex, Hyperagents41.6 (+2.3)13.5 (-2.2)15.7 (+1.1)
Terminal Bench 2, Codex, A-Evolve40.5 (+1.1)15.7 (+0.0)14.6 (+0.0)
Terminal Bench 2, Codex, GEPA39.3 (+0.0)15.7 (+0.0)14.6 (+0.0)
tau3 Banking, MiniSWE, Seed12.46.29.3
tau3 Banking, MiniSWE, AHE16.5 (+4.1)7.2 (+1.0)5.2 (-4.1)
tau3 Banking, MiniSWE, Hyperagents17.5 (+5.1)8.2 (+2.0)7.2 (-2.1)
tau3 Banking, MiniSWE, A-Evolve12.4 (+0.0)6.2 (+0.0)9.3 (+0.0)
tau3 Banking, MiniSWE, GEPA11.3 (-1.1)11.3 (+5.1)7.2 (-2.1)
tau3 Banking, Codex, Seed16.55.23.1
tau3 Banking, Codex, AHE17.5 (+1.0)8.2 (+3.0)8.2 (+5.1)
tau3 Banking, Codex, Hyperagents15.5 (-1.0)6.2 (+1.0)7.2 (+4.1)
tau3 Banking, Codex, A-Evolve15.5 (-1.0)7.2 (+2.0)6.2 (+3.1)
tau3 Banking, Codex, GEPA16.5 (+0.0)9.3 (+4.1)7.2 (+4.1)

Table 1a: train, gate and sealed contributions to pass@1 (percentage points in brackets are changes from the seed).

Each split column is its contribution to the full-benchmark score.

Agent and methodOverall
Terminal Bench 2, MiniSWE, Seed56.2
Terminal Bench 2, MiniSWE, AHE65.2 (+9.0)
Terminal Bench 2, MiniSWE, Hyperagents69.7 (+13.5)
Terminal Bench 2, MiniSWE, A-Evolve69.7 (+13.5)
Terminal Bench 2, MiniSWE, GEPA64.0 (+7.8)
Terminal Bench 2, Codex, Seed69.7
Terminal Bench 2, Codex, AHE71.9 (+2.2)
Terminal Bench 2, Codex, Hyperagents70.8 (+1.1)
Terminal Bench 2, Codex, A-Evolve70.8 (+1.1)
Terminal Bench 2, Codex, GEPA69.7 (+0.0)
tau3 Banking, MiniSWE, Seed27.8
tau3 Banking, MiniSWE, AHE28.9 (+1.1)
tau3 Banking, MiniSWE, Hyperagents33.0 (+5.2)
tau3 Banking, MiniSWE, A-Evolve27.8 (+0.0)
tau3 Banking, MiniSWE, GEPA29.9 (+2.1)
tau3 Banking, Codex, Seed24.7
tau3 Banking, Codex, AHE34.0 (+9.3)
tau3 Banking, Codex, Hyperagents28.9 (+4.2)
tau3 Banking, Codex, A-Evolve28.9 (+4.2)
tau3 Banking, Codex, GEPA33.0 (+8.3)

Table 1b: overall pass@1.

Protocol

  • This test avoids mixing with evolution.
  • It compares framework-mediated execution of an unchanged seed agent with direct execution.
  • Direct execution runs the frozen evaluator outside RSIHub, with no framework state.
  • Direct-A and Direct-B are two independent direct runs, before and after the RSIHub run.
  • Each condition has three repetitions, in the fixed order Direct-A, RSIHub generation zero, Direct-B.
  • Model, task, evaluator and runtime settings are identical.

Measures

  • Avg@3 is the mean pass@1 across three repetitions.
  • The Direct score is the mean of Direct-A and Direct-B in each repetition.
  • D-D agreement is between Direct-A and Direct-B.
  • D-R agreement is the mean of two task-level agreements.
  • They are Direct-A to RSIHub and Direct-B to RSIHub.
  • Excess disagreement is the mean cross-mode disagreement rate minus the D-D disagreement rate.
Benchmark and agentAvg@3 Direct / RSIHub / DeltaAgreement D-D / D-RExcess disagreement
Terminal Bench 2, MiniSWE59.6 / 56.9 / -2.683.5 / 84.6-1.1
Terminal Bench 2, Codex64.0 / 61.4 / -2.688.0 / 82.0+6.0
tau3 Banking, MiniSWE24.6 / 22.0 / -2.681.1 / 80.9+0.2
tau3 Banking, Codex29.6 / 33.0 / +3.482.1 / 80.1+2.1

Table 2: capability preservation over three repetitions.

Results

  • On Terminal Bench 2, both agents change by -2.6 points.
  • MiniSWE's D-R agreement is 84.6%, against 83.5% D-D.
  • Codex has 82.0% D-R against 88.0% D-D, so excess disagreement is +6.0.
  • Its RSIHub Avg@3 of 61.4 is inside a range.
  • The six direct runs span 60.7 to 65.2.
  • On tau3 Banking, MiniSWE and Codex change by -2.6 and +3.4.
  • Excess disagreement is +0.2 and +2.1.
  • Direct runs disagree with each other on 12.0 to 18.9% of tasks.
  • These controls show run-to-run variability.
  • They do not prove execution-mode equivalence or significance of single-run evolution gains.
B.1 Pairwise execution agreement (Table 4)
Benchmark and agentDirect-A to RSIHubDirect-B to RSIHubMean D-R
Terminal Bench 2, MiniSWE84.385.084.6
Terminal Bench 2, Codex82.481.682.0
tau3 Banking, MiniSWE82.179.780.9
tau3 Banking, Codex79.480.880.1

Table 4: pairwise task agreement over three repetitions (%).

  • On Terminal Bench 2, Direct-B agreement is 0.7 points higher for MiniSWE.
  • Direct-A agreement is 0.8 points higher for Codex.
  • On tau3 Banking, Direct-A is 2.4 points higher for MiniSWE.
  • Direct-B is 1.4 points higher for Codex.
  • Neither direct run is always closer to RSIHub, so the two are averaged.

Why a pending child cannot be a parentFrom Section 4.5 and D.3
  1. Evaluate candidate
  2. FrameworkCertify result in archive
  3. Child pending until Gate
  4. OperatorGate decides eligibility
  5. Record notes, filtered
  6. Child may become parent

If a run stops mid-way, recovery resumes at the saved step without a duplicate event.

Protocol

  • The test ends runs during mutation or evaluation, and after writing an evaluation receipt.
  • Then it resumes and compares the recovered state with an uninterrupted control.
  • It also tries evaluator mutation.
  • Writes outside the mutable surface and access to gate, sealed and anchor evidence.
  • It also tries forged archive outcomes.
  • There are 30 trials per scenario in each benchmark campaign.
  • A trial passes only if the workspace reaches a valid, attributable state.
  • Unauthorized changes must not affect an accepted result.
  • The champion must stay reproducible from framework evidence.
Scenario and invariantClassTB2 median (s)Banking median (s)
Terminate during mutation: resume from a certified parent, admit no partial childRecovery4.725.15
Terminate during evaluation: keep the old attempt, certify one terminal retryRecovery3.614.94
Terminate after stamp or receipt: reconcile without a duplicate eventRecovery3.274.81
Modify evaluator files: reject before certified evaluationBoundary4.722.35
Write outside the mutable surface: exclude all out-of-surface editsBoundary3.272.37
Access protected evidence: keep gate, sealed and anchor canaries out of the mutation bundleBoundary0.231.63
Forge an archive outcome: fail closed on unstamped events or a forged champion cacheIntegrity0.980.69

Table 3: scenarios, invariants and median latencies (30 of 30 correct in every case).

Latencies are reported separately because the two campaigns ran on different hosts.

Results

  • All 420 trials reached the required outcome.
  • No trial admitted corrupted state.
  • Latencies are separate because the campaigns ran on different hosts.
  • These results support integrity only inside the tested lifecycle boundaries and attack cases.
  • Method authors can reuse these tested recovery and evidence checks across recipes.
  • Section B reports runtime overhead and integration effort.

Conclusion

  • RSIHub gives open, reusable infrastructure for agent evolution.
  • All four adaptations reuse framework services with no source changes.
  • Gains and held-out transfer vary across settings.
  • That motivates shared protocols and inspectable evidence for comparing policies.
  • The authors invite others to build on the recipes and contribute operators.
  • The agent-driven path extends the split to adaptive recipe revision.
  • An outer agent may revise bindings and settings between iterations.
  • The evaluator, sealed split and certified record stay protected.

Limitations

  • Evidence guarantees rely on trusted framework services, host and file protections.
  • Git and digest operations, configured external services and valid evaluators.
  • Results apply to the tested workloads, hosts and lifecycle boundaries.
  • Capability-preservation tests measure task-level agreement, not full behavioral equivalence.
  • Runtime fingerprints do not replace host or service attestation.
  • RSIHub does not contain hostile code.
  • Stronger deployments need independent attestation, isolation and containment.
  • Results describe fixed, recipe-driven runs, not adaptive revision by an outer agent.

Responsible use statement

  • RSIHub can enable unsafe capability growth, reward gaming or exposure of sensitive traces.
  • Higher pass@1 does not prove safe deployment or rule out harmful intermediate actions.
  • Banking-benchmark success does not show suitability for financial decisions.
  • RSIHub supports auditing and rollback, not containment.
  • Editable operators and candidate adapters may run on the host.
  • Beyond task-container isolation and feedback filtering.
  • Deployers should limit file and network access and leave out production credentials.
  • They should require held-out safety tests and human review before promotion.
  • Resource budgets and halt and rollback controls are needed.
  • Rollback cannot undo external actions or disclosures.
  • Trajectories and archives need access controls, retention limits and redaction before sharing.

  • The listing shows a GEPA-inspired recipe. Low-level execution settings are left out.
  • The experiment: 10 generations at most.
  • A budget of 150 dollars, 1 child per generation, seed 0.
  • The target seed is the built-in Codex agent.
  • The surface includes target/** and excludes nothing.
StageOperatorKey settings
selectparetotimeout 600 s, seed 0
rolloutharbortimeout 3600 s, 10 tasks, generation_shuffle sampling
analyzegepatimeout 600 s, 10 cases, components: system prompt and task skill
mutategepatimeout 3600 s, Codex agent, gpt-5.4, xhigh effort, round_robin component strategy, 10 examples, gate data not exposed
validateminibatch_improvementtimeout 3600 s, strict criterion, 4 concurrent
gateparent_eligibletimeout 600 s
recordgepatimeout 600 s

Operators in the representative recipe.

Evaluator block

  • The evaluator is Harbor on terminal-bench@2.0.
  • The agent is target.agent:HarborAgent.
  • The split is train 0.562, gate 0.213 and sealed 0.225 with seed 0.
  • Sampling is static, with 10 tasks per round, 4 concurrent and 1 repetition.
  • The final anchor is on.

  • B.1 (pairwise execution agreement, Table 4) is shown in Section 4.4 above.
B.2 Runtime overhead

Protocol

  • The authors timed the shared services on both workloads.
  • These are workspace initialization, candidate snapshotting, surface validation, evaluation recording, integrity checks and recovery.
  • Model inference, benchmark execution and mutation are timed separately.
  • For Terminal Bench 2, initialization uses 50 microbenchmark runs and recovery uses 30 replay trials.
  • The four regular-operation rows and shares use 20 complete Gen-1 runs, five per method.
  • Each sample sums the exclusive spans within one generation.
  • The median and P95 are taken over the 20 totals.
  • The generation share uses the union of exclusive spans, not nested durations.
  • Campaigns ran on different hosts, so latencies are shown separately.
OperationTerminal Bench 2tau3 Banking
Workspace initialization and configuration freeze155.5 / 368.81229.3 / 1320.4
Candidate worktree and snapshot creation756.2 / 2952.319.2 / 21.6
Mutable-surface validation27.1 / 43.213.5 / 16.0
Evaluation stamp and archive update32.4 / 69.810.8 / 14.9
State verification and champion recomputation652.5 / 1482.2108.4 / 113.8
Recovery replay after interruption1006.8 / 2451.992.3 / 99.4

Table 5: framework overhead in milliseconds, median / P95.

Framework spans are a median of 0.02% and a P95 of 0.06% of generation time on Terminal Bench 2, and 0.019% on tau3 Banking.

Results

  • Workspace initialization was the largest measured operation on tau3 Banking.
  • At a median of 1.23 seconds.
  • On Terminal Bench 2, the largest regular operations were snapshot creation and state verification.
  • Their medians were 0.76 and 0.65 seconds.
  • Do not compare these latencies across hosts.
  • Framework work stays small against full generations: 0.019% and a median of 0.02%.
  • Model, mutation and benchmark execution dominate runtime.
B.3 Method-integration effort
  • The authors counted normalized recipe lines, new operator lines.
  • Reused operators, framework file changes and integration tests per method.
  • The counts separate declarative composition and reused services from new method logic.
Method-specific code ranges widely, and framework changes stay at zeroFrom Table 6
04008001200New operator lines of codeHyperagents216 linesA-Evolve684 linesGEPA745 linesAHE1087 lines

Hover, tap or focus a bar to read its exact value.

MethodLines
Hyperagents216
A-Evolve684
GEPA745
AHE1087
MethodRecipe LOCNew operator LOCTests
AHE47108747
Hyperagents4821615
A-Evolve5768414
GEPA6174516

Table 6: method-integration effort.

Every method reused 2 operators and changed 0 framework files.

Results

  • The four adaptations needed 47 to 61 recipe lines and reused two operator bindings each.
  • None changed a framework source file.
  • Method-specific operators ranged from 216 lines (Hyperagents) to 1,087 lines (AHE).
  • Each passed its 14 to 47 integration tests.
  • Zero framework changes plus nonzero method code supports the extension model.
  • Research logic stays in recipes and operators while execution, evaluation, recovery and evidence are reused.

  • RSIHub writes a file-backed experiment record that stays readable during and after a run.
  • Command-line summaries show population state and integrity findings.
  • The champion is the best accepted candidate.
  • A read-only local viewer (Figure 2) shows experiment status.
  • Generation lineage and a summary of the champion's cumulative target-tree changes.
  • In the shown run, the accepted Generation 8 candidate is the champion.
  • The viewer shows its lifecycle status and run-specific primary-split and sealed scores.
  • The displayed values describe this run. Aggregate performance is in Section 4.

  • RSIHub exposes each method-controlled stage through a typed operator interface.
  • Operator outputs are validated before use.
  • The framework separately enforces the surface, commits the candidate.
  • Runs protected evaluation and protects record fields.
  • Table 7 lists the nine interfaces in execution order.
D.1 Lifecycle operator contracts (Table 7)
StageModeValidated result and handling
SelectRequiredNon-empty parent-generation list. The framework verifies eligibility and forks the recorded commit
RolloutRequiredStructured summary and artifact paths kept as mutation evidence
AnalyzeOptionalAnalysis summary and artifact paths bundled before mutation
MutateRequiredChanged paths, notes and usage. The framework checks the real tree diff against the surface
ValidateOptionalAcceptance flag, reason and artifacts. Rejection stops before protected evaluation
NoveltyOptionalFinite novelty score and acceptance flag. Rejection stops before commit
GateRequiredAccept or reject with a reason. The framework keeps the score fields
RecordRequiredAuxiliary annotation fields filtered against protected record fields
ReflectOptionalAppend-only playbook operations. Failure does not undo the recorded generation

Table 7: operator contracts.

Inputs: Select gets an archive view. Rollout, Analyze and Mutate get the candidate checkout and context. Validate and Novelty get the mutated checkout. Gate gets child and parent rows. Record gets the terminal child row. Reflect gets the updated archive.

D.2 Evaluation identity and parent selection (Table 8)
  • In strict-contract mode, an evaluation's contract comes with its score.
  • The contract binds the exact candidate to evaluator, data, sampling, runtime and model conditions.
  • Its contract_id is the canonical digest of the whole payload.
  • Parent selection combines a listed fixed-identity projection with integrity and lifecycle checks.
  • The full contract stays attached to each attempt for provenance.
LayerRecorded identityRole
CandidateCommit and tree, generation, optional dependency digestBinds evidence to the evaluated source
EvaluatorFrozen evaluator tree, semantic config digest, framework versionMakes evaluator changes visible
Data and trialsDataset-content and task-set digests, task order, split, repetitions, seed namespace, trial IDsMakes task membership explicit
Runtime and modelRuntime digest, agent and model names, endpoint digest, concurrency, retry policyRecords execution conditions
Fixed comparison identityEvaluator-tree fingerprint, task-set hash, runtime fingerprintThe projection a parent must match
Integrity receiptFramework marker and hash receipt of the evaluation eventFlags an event with a missing or changed receipt
Parent eligibilityComplete and selection-eligible, no pending Gate, valid parent, certified receipt, matching identity, finite score, matching tagExcludes incomplete, rejected, uncertified, incomparable and retagged candidates

Table 8: evaluation identity layers.

Sealed anchor

  • Sealed evaluation runs as a separate, non-selectable anchor.
  • It is stored as auxiliary evidence.
  • It is left out of the default mutation-feedback bundle.
  • Its anchor purpose stays outside the parent predicate.
D.3 Recovery checkpoints (Table 9)
  • The archive is a recovery boundary.
  • A complete certified evaluation is appended before Gate.
  • It stays pending until Gate records its decision.
  • So a pending child is not available to Select.
  • Record notes run after Gate and are filtered separately.
  • Record completion is outside the parent-eligibility predicate.
Observed stateRecovery actionPreserved property
Active child worktree at run startStop. Require the operator to keep edits or repairIn-progress candidate untouched
Stale managed worktreeRepair removes only clean worktrees. Dirty or external ones are kept and reportedCleanup is careful with uncommitted work
Generation tag without certified evaluationEvaluate the tagged commit. Do not repeat selection and mutationCreated candidate identity kept
Complete evaluation pending GateResume Gate from the tagged candidate, then try terminal Record. Keep the row ineligible until Gate decidesParent selection waits for Gate
Interrupted or terminally failed evaluationAppend evidence. Require an explicit retry for a new certified attemptFailed attempts stay auditable. Retries are operator-controlled
Terminal Record already attemptedSkip a duplicate Record on recoveryEach terminal Record runs at most once

Table 9: checkpoint and recovery behavior.

Words to know

  • Agent evolution: Improving an agent by using feedback from its own runs.
  • Candidate: One version of the agent in the evolution search.
  • Gate: A rule that decides if a scored child can become a parent.
  • Harbor: A tool that runs agents on tasks in containers and scores them.
  • Lineage: The chain of parents that led to a candidate.
  • Mutable surface: The files and resources a candidate is allowed to change.
  • Operator: One part that does one stage, such as choosing a parent.
  • Pareto selection: Keeping candidates that are best on some task, not only on average.
  • Pass@1: The share of tasks solved on the first try.
  • Provenance: A record of where a result came from and how it was made.
  • Recipe: A config file that picks the operators and settings for one method.
  • Sealed split: Held-out tasks kept out of feedback and used only for reports.
  • Verified archive: The framework's own record of scored candidates and parents.

Share this paper

LinkedIn (opens in a new tab)X (opens in a new tab)WhatsApp (opens in a new tab)EmailDownload PDFExplainer (PDF), 849 KB

Ask AI about this paper

Stuck on a word or an idea? Ask in plain words. The answer comes from the write-up on this page.

Read the original paper on arXiv: RSIHub: A Composable Framework for Agent-Evolution Methods (opens in a new tab)

Jump to

One paper a week, in plain English

Every Monday: the new AI papers worth your time. Short lines, the key number, and what to do with it.

One email a week. Unsubscribe with one click. No spam.