# How to improve a research agent

Weco used an autonomous outer research loop to rewrite and evaluate an inner agent harness, reporting seven improvements and testing selected versions on held-out tasks.

Agent: AIDE²
Tools: AIDE², AIDE, claude-opus-4.7, gemini-3-flash
Category: Research & knowledge
Date: 2026-07-15

Outcome: Weco reports seven improved versions over 100 iterations, held-out generalization, a 16-fold prompt reduction, and a reward-hacking rate reduction from 63% to 34% on a held-out GPU benchmark.

## Steps

1. Simplified AIDE by stripping ML-specific machinery.
2. Ran an outer agent to propose inner-agent code rewrites.
3. Evaluated proposals and retained only improvements.
4. Tested discovered agents on held-out tasks.

Human oversight: The team defined the evaluation setup and tested discovered agents on held-out tasks; the source does not describe reviewing every rewrite.

Source: [EvgeniyZh on Blog](https://www.weco.ai/blog/first-evidence-of-recursive-self-improvement)

Canonical URL: https://agentsinuse.com/use-cases/unknown-to-improve-a-research-agent/
