MedicalRSI: Medical Recursive Self-Improving Agents via Clinical Model-Harness Co-Evolution
Wang et al. in Agents
Can Qwen3.5-9B learn to improve how it improves on MedAgentBench?
MedicalRSI: Medical Recursive Self-Improving Agents via Clinical Model-Harness Co-Evolution
When the agent learns, who improves it?
They train model weights or change the harness, while the strategy choosing those changes stays fixed.
One shared model learns both to act and to write workflow harnesses from failures.
A failure becomes a workflow-specific harness

The Solver reads magnesium from three days earlier and places no order. The Improver adds a 24-hour filter; memory keeps the higher-gain skill/tool per workflow for reuse on new patients.
A harness is judged by what it changes
The Improver sees task traces and outcome feedback, but no reference answers or grader checks.
Compare each candidate with the Solver without a workflow-specific skill or tool, on the same tasks. Outcome/process scores credit fixes, penalize regressions, and mixed order/no-order case types weigh equally.
Harnesses turn unsolved tasks into training signal

On MedAgentBench with Qwen3.5-9B, 19% of training tasks remained unsolved after eight RL-only attempts in the last round, versus 3% with failure-written harnesses.
The Solver and Improver train together
- 1
SFT warm-start
Selected GPT-6.1-Sol harnesses that improved the Base Agent seed the writer.
- 2
Reward both roles
RL trains the Solver on task success and the Improver on harness gain over the no-workflow-skill/tool baseline.
- 3
Shared weights
Both roles train the same model; its revised Improver writes harnesses for the next round.
A harness must keep pace with its Solver
On Qwen3.5-9B, it adds 3.9 points over the Solver alone in the last MedAgentBench round.
It adds 20.1 points over that same Solver.
MedAgentBench: overall and held-out task success
Qwen3.5-9B, 10 rounds; Outcome (% solved), ± bootstrap SD; held-out = 6 workflows/60 tasks. Deltas vs best row; main table.
A second EHR benchmark repeats the advantage
With Qwen3.5-9B, it solves 69.5% ± 2.1 overall on MedAgentGym's EHR-SeqSQL tasks over MIMIC-III.
It reaches 89.0% ± 1.6 overall, 19.5 points above that strongest baseline.
New workflows adapt without retraining
- 1
Probe first
With weights fixed, the Solver tries an initial batch without a workflow-specific skill/tool; the Improver reads traces and outcome feedback.
- 2
Use nearby workflows
For new workflows, it references skills/tools from the three most similar training workflows, never reference answers.
- 3
Evaluate candidates
It averages 16 candidates on that batch; with traces but no outcome feedback, Qwen3.5-9B loses only 0.6 Outcome points on MedAgentBench.
Transfer beyond the original solver and database

Panel (a): a trained 9B Improver helps seven other solvers, including frontier models. Panel (c): after MIMIC-III training, it scores 37.2% on 320 eICU tasks, +4.7 points vs next, without weight updates.
Boundaries on what these benchmarks establish
Benchmark scope
Results are grader-scored EHR tasks on MedAgentBench and MedAgentGym, not prospective clinical outcomes.
Test-batch adaptation
Main scores adapt on test-task traces; writing from training-task failures instead changes overall MedAgentBench scores by at most 1.2 points.
Candidate-run overhead
Candidate runs alone cost 2,202,151 tokens on a 10-task held-out MedAgentBench workflow; including setup, crossover vs GRPO Solver is 1,372 tasks.
Why it matters
- Training the Solver and Improver together outperforms either route's strongest tested baseline on these EHR tasks.
- For recurring workflows, keep a skill or tool only when it improves outcomes against the same Solver without it.
- Will the gains survive prospective evaluation in live EHR workflows, beyond benchmark graders?
1 upvotes on Hugging Face 13 slides, 3 min
24 Nov 2026