AIAny
Icon for item

DarwinX: Evolving Agent Harnesses Through Natural Selection

Treats agent self-improvement as natural selection over a population of harnesses (prompts, tools, skills, control flow), evolving a frozen-model agent by selecting harness edits that extend capability without regressing others. Uses a preserve-and-extend contract, lineage archive, and verifier-driven fitness (no gold solutions) to recombine complementary edits and transfer across benchmarks.

Introduction

Most agent self-improvement loops edit prompts, tools, or control flow but do so along a single lineage that can plateau or silently regress other skills. DarwinX reframes harness design as an evolutionary selection problem: keep model weights frozen and search a population of harness variants, admitting children only when they add measurable wins without giving up existing ones and retaining alternative lineages for later recombination.

Key Findings
  • Empirical lifts across four benchmarks: an average gain of ~17 points from harness evolution alone; Terminal-Bench 2.1 improved to 83.2% (and to a verified frontier of 84.7% on a stronger base), TerminalWorld held-out hit 68.3%, WebArena-Infinity pass@1 rose from 43.5% to 93.0% audit-clean. These show gains transfer across tasks and verifiers.
  • Preserve-and-extend contract quantifies net gain vs. bounded regression so each accepted edit must extend coverage without large regressions, preventing local-win regressions common in single-lineage edits.
  • Archive-shaped population lets complementary specialists from different lineages be recombined; nothing is discarded so rare but useful edits survive for later inheritance.
  • Fitness is benchmark-driven via each benchmark’s verifier (no gold solutions, no hand-picked winners), so improvements reflect measured task competence and can generalize across verifiers and base models.
Who It's For and Trade-offs

Great fit if you need durable agent capability improvements without retraining model weights, especially for LLM-driven agents where prompts, tools, memory, and control flow dominate performance. It suits research teams or engineering groups that can run repeated verification trials and want transfer across benchmarks. Look elsewhere if you lack compute budget for repeated evaluation loops, if your tasks lack reliable verifiers, or if you require model-weight upgrades (DarwinX never moves weights and therefore cannot change raw model capacity).

Where It Fits

DarwinX sits between ad-hoc prompt/tool tuning and full model fine-tuning: it treats harness search as selection rather than gradient-based training, addressing path dependence and cross-task interference that hamper single-lineage self-editors.

How It Works (brief)

The method proposes harness edits from failure-, teacher-, or self-derived signals, scores candidates by per-task solve rates (avg@k) under each benchmark’s verifier, and promotes only those children that improve some tasks while keeping regressions within a bounded threshold. An archive records edit deltas and evidence so lineages accumulate capability and can be recombined later.

Information

  • Websitearxiv.org
  • OrganizationsAffiliation: Salesforce AI Research, Affiliation: Salesforce Agentforce
  • AuthorsYifan Zhang, Yutong Dai, Juntao Tan, Luyu Yang, Rishi Mullur, Thai Hoang, Zhiyuan Hu, James Zhu, Phil Mui, Silvio Savarese …
  • Published date2026/07/31

Categories

More Items

Alternates a Planner (issues sub-queries) and a Synthesizer (integrates retrieved evidence into a persistent summary) to tackle long-horizon deep-search; introduces Role‑Decoupled Policy Optimization (RDPO) for role-specific RL credit assignment and shows strong results (IterSynth-8B reaches 50.7% on five benchmarks).

A mobile-planning agent paper that develops a closed-loop AI-for-AI lifecycle to generate data, train a planner model, and co-evolve a runtime Harness for multi-app task execution. Demonstrates top performance on MobilePA-Bench with improved tool use, memory, skill coordination and low estimated per-task output cost.

Edits an LLM agent's internal task state and action continuations to remove unsupported assumptions and noisy plans, improving downstream decisions instead of reconstructing high-entropy tool outputs. Combines Action Judge, State Revision, and EditAct and shows consistent gains across benchmarks and agent backbones.