RSIHub: a composable framework for agent evolution methodsRSIHub: A Composable Framework for Agent-Evolution Methods
The authors propose the agent-evolution framework RSIHub, reproduce four evolution methods as recipes, and on Terminal Bench 2 MiniSWE improves by up to 13.5 percentage points, but method rankings vary with setting.
- Agent evolution methods each repeatedly build execution, evaluation, recovery, and other infrastructure, making fair comparison between methods difficult, and if evaluation can be modified by the method, attribution of gains becomes ambiguous.
- RSIHub separates method policy (recipe-bound operators and mutable surfaces) from framework-managed execution, protected evaluation, and attestation records, reproducing AHE, Hyperagents, A-Evolve, and GEPA as recipes and comparing them uniformly.
- On Terminal Bench 2 and τ 3 Banking, with GPT-5.4 as the target model, four recipes are compared: the largest overall pass@1 gain is 13.5 percentage points, but rankings vary with benchmark and seed agent, and some settings show gate or sealed regressions; all 420 fault-injection and boundary trials passed.
- The authors note that evidence guarantees depend on trusted framework services and valid evaluators, that results apply only to the tested workloads and lifecycle boundaries, and that only fixed recipes were evaluated rather than external agent adaptive revision; evolution results are from a single run with no repetition.
- Evaluated models
- GPT-5.4
- Benchmarks
- Terminal Bench 2τ 3 Banking
- Metrics
- pass@1Avg@3D–D agreementD–R agreementexcess disagreement
Researchers release the open-source framework RSIHub, providing shared infrastructure for research on agent evolution methods and supporting the construction, comparison and scaling of such methods under reusable components and consistent evaluation. Agent evolution methods use execution feedback to improve prompts, skills, tools and orchestration, but implementations of each method often rebuild the same experimental machinery. RSIHub uses recipes to combine reusable operators and declare mutable resources; the framework provides execution, evaluation, recovery and lineage records, evaluation stays outside the mutable surface, and results are bound to candidates and evaluation conditions. Without modifying the framework core, the authors instantiated AHE, Hyperagents, A-Evolve and GEPA, and evaluated them with MiniSWE and Codex on Terminal Bench 2 and τ^3 Banking under fixed model and evaluator configurations; the largest observed overall pass@1 improvement was 13.5 percentage points, method rankings varied with settings, and optimization gains did not always transfer to held-out tasks.
Related events and news
1 events · 1 news mentions
News that mentions this paper
中科大等研究发现:16套自进化智能体均丢失部分旧任务
- 公众号 为机器立心names the paper中科大等团队论文:分数涨了不等于Agent变强,16套自进化Agent均丢失部分旧能力
论文来自中科大、UC Berkeley、北京通用人工智能研究院、上海交大等机构,对比当下4套主流Agent自进化方案AHE、HyperAgents、A‑Evolve、GEPA,在通用任务、代码任务做了大规模对照实验,挖出自进化被掩盖的真相,并且提出改进方案AGE(Audit‑Guided Evolution),把这些坑变成可落地的优化规则,项目代码已经开源在RSIHub仓库。
Paper analysis
What problem does this paper attempt to solve?
Agent evolution methods repeatedly rebuild infrastructure and are hard to compare fairly; the authors propose the shared framework RSIHub.
Core problem: agent-evolution methods each repeatedly build experimental infrastructure such as execution, evaluation and recovery, leading to high implementation cost and making it difficult to compare methods under identical conditions.
- Problem setting: Agent-evolution systems turn execution feedback into persistent modifications to prompts, skills, tools or orchestration; the authors say the supporting infrastructure of such systems (isolated workspaces, task execution and evaluation, artifact retention, recovery, lineage) recurs across different implementations.
- Shortcomings of existing approaches: The authors say implementations often bundle infrastructure with method strategies, so implementing a method may require building another end-to-end system, and comparing methods requires coordinating their respective runners, configurations and evaluation interfaces.
- Attribution risk: The authors point out that in evolution systems that can be modified extensively, evaluation changes controlled by the method alter measurement conditions and recorded changes rewrite evidence, making apparent gains hard to attribute.
- Core design assumption: Separate method strategies from framework-hosted execution and measurement—evaluation and profiles are controlled by the framework and lie outside the mutable surface declared by the recipe, and a Gate operator alone decides whether a candidate can become a parent.
- The paper proposes: The open-source framework RSIHub, which uses recipes to compose reusable operators and declare mutable resources, with the framework providing execution, evaluation, recovery and lineage; the authors reproduce AHE, Hyperagents, A-Evolve and GEPA as recipes and compare them uniformly on Terminal Bench 2 and τ 3 Banking.
What related research exists?
Related work covers three groups: agent optimization and evolution, execution infrastructure, and provenance and measurement validity.
Agent optimization and evolution
- Reflexion and Self-Refine retain language feedback between trials and revise outputs at test time, respectively; RAM improves external memory through communication.
- DSPy and TextGrad optimize language model programs or text variables; Promptbreeder evolves task and mutation prompts, ACE evolves a context playbook, and CoEvoSkills evolves multi-file skills with an independent proxy validator.
- GPTSwarm, AgentSquare, and EvoAgentX optimize agent graphs, search module combinations, and evolve multi-agent workflows; STOP, ADAS, DGM, and AlphaEvolve revise optimizer scaffolding, generate agent programs, modify coding agents, and evolve target algorithms, respectively.
The four methods reproduced in this paper: A-Evolve models deployment-time adaptation as goal-directed optimization of persistent system state; AHE uses distilled execution evidence to guide harness file revision; GEPA optimizes prompts with trajectory reflection and Pareto selection; Hyperagents combines a task agent and a self-modifying meta-agent in one editable program. The authors state that RSIHub provides shared execution, lifecycle, and evidence services for these four policy adaptations.
Tasks, environments, and execution infrastructure
- Benchmarks cover software engineering, terminal interaction, and knowledge-grounded dialogue (SWE-bench, Terminal Bench, τ -Knowledge, etc.).
- Harbor standardizes interfaces for tasks, datasets, agents, and container environments; the OpenHands Software Agent SDK provides composable agent abstractions. The authors state that RSIHub delegates container execution, trajectory capture, and per-task validation to Harbor, adding a versioned evolution lifecycle and cross-method provenance.
Provenance and measurement validity
- The AI4AI survey distinguishes measuring gains, retention, and held-out transfer; ReproZip, Sigstore, in-toto, etc. provide software provenance and reproducibility.
- The paper cites research on controlled skill evolution experiments (persistent improvement may be sparse), reward model over-optimization, and reward tampering, noting that benchmark overfitting and broader specification gaming remain evaluator- and research-level problems.
Baselines and benchmarks: baselines are a hill-climbing recipe (continuing from the best parent) and each method's seed agent; benchmarks are Terminal Bench 2 and τ 3 Banking. The authors position this paper as comparing four policy adaptations on shared infrastructure rather than proposing a new evolution method.
How does the paper address this problem?
RSIHub binds operators with recipes, declares mutable surfaces, and the framework manages the seven-stage lifecycle and protected evaluation.
Overall approach: RSIHub separates method policy (operator bindings and mutable surface declarations in recipes) from framework-managed candidate execution, evaluation, and records, with evaluation and records outside the mutable surface.
Design principles
- Composable: the lifecycle has fixed stages (slots); an operator is an implementation of a slot, and a recipe names and configures an operator for each slot.
- Declared mutability and visibility: the surface block declares resources candidates may modify, and the mutate block configures the editing agent and its visible context, so prompt-level and whole-harness-level research share the same interface.
- Shared mechanisms implemented once: workspace construction, snapshots, evaluation execution, artifact retention, recovery, and lineage are provided uniformly by the framework.
- Scoring outside the method's reach: evaluation and evidence records are owned by framework services, and parent eligibility is decided by an independent Gate.
Candidate lifecycle
- Seven stages: Select, Rollout, Analyze, Mutate, Guardrail, Evaluate, Absorb; five required operator interfaces (Select, Rollout, Mutate, Gate, Record) and four optional (Analyze, Validate, Novelty, Reflect).
- The framework is built on Harbor, which provides container execution, trajectory capture, and per-task validation; RSIHub manages lineage, train/gate/sealed splits, mutable surface enforcement, and attested evaluation records.
- Supports two modes: recipe-driven (fixed recipes written by researchers) and agent-driven (external agents revise operator bindings and policy settings between iterations); objectives, evaluators, runtime, data splits, and mutable surfaces remain fixed, and sealed tasks do not enter adaptation feedback. Experiments evaluate only fixed recipes.
- Before each iteration the framework validates and snapshots the current recipe; each operator runs in a separate process, and the framework validates its structured output.
Key stage semantics
- Select picks an eligible parent from the archive and forks its recorded commit; Rollout runs only on the training split; Mutate is usually an agent that can work over multiple rounds and run small-scale trials on training tasks, and can modify the evolution operators themselves when the surface allows.
- Guardrail has the framework check whether the actual tree diff is within the mutable surface; Evaluate has the framework submit the reviewed tree, score it on gate tasks with a clean checkout, and attest it; the Gate runs only after evaluation reaches the configured coverage policy (benchmark-complete).
- In Absorb, the Gate decides based on attested scores whether a child can become a parent; Record annotations are written after framework filtering, and no operator can modify attested evaluation fields.
Provenance and evaluation identity
- Attested evaluation events bind the candidate commit, parent, recipe snapshot, evaluator and task-set fingerprints, trial, score, cost, and lineage; hash-referenced contracts can record evaluator configuration, dataset content digests, model identity, retry policy, and framework version.
- The authors report that the four adaptations use 47–61 lines of recipe on locked commits, each reusing 2 operator bindings, with no framework source changes, and method-specific operator code of 216–1,087 lines (Table 6).
What experiments did the paper conduct?
Organized around three RQs: evolution effectiveness, capability retention, and integrity, plus measurements of runtime overhead and integration cost.
Experimental Setup
- Seed agents and methods: Evolve MiniSWE (2.4.5) and Codex (0.143.0), with methods being recipe adaptations of AHE, Hyperagents, A-Evolve and GEPA, and hill-climbing as the minimal baseline.
- Models: The target model is uniformly GPT-5.4 (high reasoning effort); each recipe's mutation agent is a Codex mutation agent backed by GPT-5.4 (xhigh reasoning effort), fixed across benchmarks, seeds and methods.
- Benchmarks and metrics: Terminal Bench 2 (89 tasks: 50 train/19 gate/20 sealed) and τ 3 Banking (97 tasks: 50 train/20 gate/27 sealed), one trial per task, reporting pass@1; the split columns are that split's contribution to the full-benchmark score.
- Run configuration: Each generation produces 1 child, up to 10 generations; evolution results use static task sampling with one evaluation per task; capability-preservation controls use 3 independent repetitions; tasks execute in Docker-isolated Harbor environments.
- Evaluation method: The evaluator is a frozen Harbor evaluator, verifying task by task; the paper does not use LLM judging.
Main Results
Table 1: pass@1 before and after evolution (%, parentheses give percentage-point change relative to the seed baseline; Overall column):
Swipe horizontally to read the table
Benchmark Agent Method Overall Terminal Bench 2 MiniSWE Seed / AHE / Hyperagents / A-Evolve / GEPA 56.2 / 65.2 (+9.0) / 69.7 (+13.5) / 69.7 (+13.5) / 64.0 (+7.8) Terminal Bench 2 Codex Seed / AHE / Hyperagents / A-Evolve / GEPA 69.7 / 71.9 (+2.2) / 70.8 (+1.1) / 70.8 (+1.1) / 69.7 (+0.0) τ 3 Banking MiniSWE Seed / AHE / Hyperagents / A-Evolve / GEPA 27.8 / 28.9 (+1.1) / 33.0 (+5.2) / 27.8 (+0.0) / 29.9 (+2.1) τ 3 Banking Codex Seed / AHE / Hyperagents / A-Evolve / GEPA 24.7 / 34.0 (+9.3) / 28.9 (+4.2) / 28.9 (+4.2) / 33.0 (+8.3) - The authors say no method dominates across all benchmarks, seeds and splits, and method rankings vary with task environment and starting agent.
- At the split level: on Terminal Bench 2, Codex's AHE and Hyperagents gate scores dropped 3.4 and 2.2 percentage points respectively; on τ 3 Banking, MiniSWE's Hyperagents, AHE and GEPA sealed scores dropped 2.1, 4.1 and 2.1 percentage points respectively.
- The authors note these are descriptive point estimates without repeated runs and cannot establish the stability of close differences.
Execution Fidelity (RQ2)
- Protocol: The unevolved seed agents run in the order Direct-A, RSIHub generation 0, Direct-B, with 3 repetitions, reporting Avg@3 and task-level agreement (Table 2).
- Results: On Terminal Bench 2, the Avg@3 difference between RSIHub and Direct is −2.6 percentage points for both agents; Codex's excess disagreement is +6.0 points (D–D 88.0% vs D–R 82.0%), and MiniSWE's is −1.1 points. On τ 3 Banking the changes are −2.6 and +3.4 points, with excess disagreement of +0.2 and +2.1 points.
- The authors say Direct execution itself is inconsistent on 12.0–18.9% of tasks; these controls characterize execution variability and cannot establish equivalence of execution modes or statistical significance of single-evolution gains.
Recovery and Integrity (RQ3)
- Protocol: Terminate and recover runs during mutation/evaluation and after writing back receipts; attempt to modify the evaluator, write across surfaces, access gate/sealed/anchor evidence, and forge profile results; each scenario has 30 independent trials per benchmark (Table 3).
- Results: All 420 trials achieved the required outcome, with none accepting a corrupted state; median recovery latency is 0.23–5.15 seconds (reported separately for the two benchmarks on different hosts).
- The authors say these results support integrity only within the tested lifecycle boundaries and attack cases.
Other Ablations and Analyses
- Runtime overhead (Table 5): The median framework-only time as a share of total generation time is 0.02% on Terminal Bench 2 (P95 0.06%) and 0.019% on τ 3 Banking; model, mutation and benchmark execution dominate.
- Integration cost (Table 6): The four adapted recipes use 47–61 lines, each reusing 2 operators, with 0 framework source changes; method-specific operators range from 216 (Hyperagents) to 1,087 (AHE) lines, each passing 14–47 integration tests.
- Pairwise agreement (Table 4): Direct-A and Direct-B each agree with RSIHub more in some respects and less in others, so the authors average the two.
What are some points that can be further explored?
The authors list limitations such as trust assumptions and scope of applicability; experiments cover two agents, two benchmarks and fixed recipes.
Limitations and future directions noted by the authors
- Trust assumptions (Section 6): evidence guarantees depend on trusted framework services, host and file system protection, Git and digest operations, configured external services, and valid evaluators.
- Scope of applicability (Section 6): results apply only to the workloads, hosts, and lifecycle boundaries tested in this study; capability retention measurement assesses task-level consistency rather than full behavioral equivalence.
- Deployment boundaries (Section 6): runtime fingerprints cannot substitute for host or service attestation, RSIHub does not contain malicious code, and stronger deployment requires independent attestation, isolation, and containment.
- Adaptive mode not evaluated (Section 6): reported results characterize runs driven by fixed recipes, not external agents adaptively revising recipes; the Conclusion states that the agent-driven path extends this separation to adaptive recipe revision.
- Statistical stability (Section 4.3): descriptive point estimates cannot establish the stability of close differences without repeated runs.
- Evaluation-level risks (Section 2): benchmark overfitting and broader specification gaming remain evaluator- and research-level problems.
Experimental coverage
- Seed agents tested are MiniSWE 2.4.5 and Codex 0.143.0, 2 in total; the target model is only GPT-5.4 (high reasoning effort), and the mutation agent is a Codex mutation agent backed by GPT-5.4 (xhigh) (Section 4.2).
- Benchmarks are Terminal Bench 2 (89 tasks) and τ 3 Banking (97 tasks), with one trial per task, at most 10 generations, and 1 child per generation (Section 4.2).
- Methods are recipe adaptations of AHE, Hyperagents, A-Evolve, and GEPA plus a hill-climbing baseline; the authors note that adaptations are operator-level interface adaptations, and exact correspondence with source implementations also depends on prompts, models, budgets, etc. (Section 4.1).
- Capability retention controls are 3 repetitions; fault injection and boundary trials are 30 per scenario per benchmark (Sections 4.4, 4.5).
- The paper does not report the number of repetitions of evolution runs (single run), nor token or cost figures consumed by evolution (the recipe example contains budget_usd: 150, Appendix A).
Summarize the main content of the paper
RSIHub separates agent-evolution method strategies from shared execution and protected evaluation, reproduces four methods and compares them uniformly.
RSIHub is an open-source composable framework for agent-evolution methods, addressing the problem that "each method repeatedly builds experimental infrastructure, making fair comparison difficult."
- Problem: The authors say agent-evolution implementations often bundle method strategies with infrastructure such as execution, evaluation and recovery, and that when methods can modify evaluation, the attribution of gains is unclear.
- Method: A recipe binds operators to lifecycle slots and declares mutable surfaces; the framework hosts a seven-stage lifecycle (Select to Absorb), evaluation and attestation profiles lie outside the mutable surface, and a Gate alone decides parent eligibility; underlying execution is delegated to Harbor. AHE, Hyperagents, A-Evolve and GEPA are reproduced as recipes, each using 47–61 lines of configuration with zero framework source changes (Table 6).
- Effectiveness: With GPT-5.4 as the target model, on Terminal Bench 2 MiniSWE improved by 13.5 percentage points to 69.7% via Hyperagents/A-Evolve; on τ 3 Banking, Codex rose from 24.7 to 34.0 via AHE (Table 1).
- Exceptions: Method rankings vary with benchmark and seed; some settings show gate or sealed regressions (e.g., Codex+AHE's gate dropped 3.4 points, MiniSWE+AHE's sealed dropped 4.1 points).
- The framework itself: In capability-preservation controls, the Avg@3 difference between RSIHub and direct execution ranges from −2.6 to +3.4 points; all 420 fault-injection and boundary trials passed; framework overhead accounts for a median of 0.02% of total generation time (Terminal Bench 2).
- Authors' conclusion: Gains and held-out transfer vary by setting, which highlights the value of shared protocols and inspectable evidence for comparing strategies; the authors invite researchers to compare new strategy components on the released recipes.