Skip to content
Preprint

Mendel G\"odel Machine: Recursive Self-Improving Coding Agents via Comparative Evolution

Aug 2026 · 0 citations
Computer Science

TL;DR

According to Mendelian principles of controlled inheritance, Mendel G\"odel Machine (MGM) is introduced, which includes two new types of self-modification that better utilizes evidences accumulated and facilitates a faster and better convergence over single-trajectory baselines.

Abstract

Self-improving coding agents that iteratively rewrite their own source code have demonstrated impressive performance on coding tasks. However, existing solutions generally derive self-modification from a single failure trajectory at a time, overlooking rich comparative signals available in the agent's expanding archive of past attempts. According to Mendelian principles of controlled inheritance, we introduce Mendel G\"odel Machine (MGM). In addition to the general single-trajectory clonal mutation, MGM includes two new types of self-modification that better utilizes evidences accumulated: the reaction-norm mutation edits an agent based on its trajectories on multiple tasks simultaneously, and the cross-lineage hybridization edits an agent using the trajectory of a reference agent from another lineage on the same task. Under an additive fitness landscape model, we prove theoretically and demonstrate via controlled surrogate simulation that the new strategies facilitate a faster and better convergence over single-trajectory baselines. Experiments on SWE-bench and Polyglot confirm MGM's consistent improvement in performance, efficiency, and generalizability.

View source

Similar papers

Preprint Jul 2026

DarwinX: Evolving Agent Harnesses Through Natural Selection

DarwinX is introduced, which treats self-evolution as selection over a population of harnesses with the model frozen: a preserve-and-extend contract admits only variants that extend coverage without regressing, an archive keeps alternative lineages for recombination, and failure-, teacher-, and self-derived evidence share one edit interface.

Yifang Zhang, Yutong Dai, Juntao Tan et al. · 2 citations · ⚡1
Preprint Aug 2026

SBCO: Self-Supervised, Verifier-Grounded Harness Optimization For Planning Agents

Self-improving agents seek to reduce the human engineering effort behind AI systems by enabling them to evolve and self-improve their performance over time. Recently, methods like the Darwin G\"odel Machine and the Huxley G\"odel Machine have been proposed which enable open-ended, recursive self-improvement through self-reference where a coding agent edits its own code. Such self-referential self-improvement methods require that the competence required to perform the task coincides or aligns well with the competence required for self-modification which is the case for coding tasks. For domains or tasks, which do not satisfy the alignment needed, self-referential self-improvement is not available. In such cases, it is possible to adapt the above algorithms to other tasks by removing the self-referential aspect or introducing explicit self-modification of a meta-agent -- both computationally expensive, relying on population or self-modification search over many candidate agents. For planning tasks with explicit constraints, we propose a far cheaper alternative. We introduce SBCO (Self-supervised Block Coordinate Optimizer), a verifier-grounded harness optimizer in the same closed-loop, improve-from-experience family as the G\"odel-machine methods, but self-supervised rather than self-referential. Given an agentic harness, SBCO learns a decomposed bank of verifiers and a harness policy via approximate block coordinate ascent, improving the agent's outputs from its own graded feedback---with a fixed meta-agent and no human labels. Across two domains SBCO matches or exceeds a customized self-modifying baseline while using 4-5.5 times less compute budget.

Vivek Kulkarni, Sudipta Paul, Aounon Kumar et al. · 0 citations
Book Open access Jul 2026

Evolving Multi-Agent Systems with Large Language Models: Surrogate Fitness Limitations and Empirical Insights

We investigate the use of large language models (LLMs) as evolutionary operators for optimizing the architecture of multi-agent systems (MAS) - a representative instance of LLM-driven optimization over attributed-graph artifacts that arise in generative design. Given a task description, an initial MAS configuration is generated and then refined on a per-task basis through two optimization strategies: (1) a population-based evolutionary approach where LLMs serve as mutation, crossover, and selection operators, with an LLM-as-a-Judge ensemble providing the surrogate fitness signal; and (2) a simpler iterative regeneration scheme that uses textual feedback from LLM judges to guide single-solution improvement without maintaining a population. We evaluate both approaches on the GAIA benchmark. Our experiments reveal a critical sensitivity to the judge model's quality: a capable judge (Claude 4 Sonnet) yields +14.3 and +6.67 percentage-point accuracy improvements for evolutionary and iterative approaches, respectively, whereas a weaker judge (Gemini-2.5-Flash) provides no benefit or even degrades performance below the unoptimized baseline. Both approaches incur substantial computational costs, raising questions about practical cost-effectiveness. These results highlight fundamental challenges of surrogate fitness functions in LLM-driven evolutionary optimization and offer practical insights for applying evolutionary methods to MAS architecture design.

V. Akhmerov, Dmitry Gilemkhanov, Jerzy Kamiński et al. · 0 citations
Preprint Aug 2026

One Recipe, Many Harnesses: What Self-Evolution Encodes Across Languages and Models

Together, these results recast the evolved harness as a legible compensation layer, shaped jointly by the language's engineering demands and the model's behavioral gaps, rather than an opaque benchmark-tuned scaffold.

Siqi Yang, Qianlan Yang, Yu-Xiong Wang et al. · 2 citations
Book Open access Aug 2026

VCAgent: A Mutation-Guided Self-Reflective Agent Framework for Virtual Cell Modeling

Large Language Models (LLMs) are increasingly used for agent-based virtual cell modeling, yet existing frameworks rely on unstructured retrieval or static prompt engineering, injecting noisy evidence and wasting inference budget on redundant tool-use trajectories. We propose VCAgent, a self-evolving framework that optimizes how biological knowledge from external APIs is structured and integrated into LLM reasoning. VCAgent introduces a schema-based slot filling mechanism that transforms raw API responses into compact, typed representations, replacing unstructured text concatenation. To efficiently search the high-dimensional instruction space, we develop Mutation-Guided Monte Carlo Tree Search (MG-MCTS), which combines relevance-based priors derived from inter-API semantic similarity with an adaptive gating strategy to balance exploration and exploitation under a constrained evaluation budget. Experiments on single-cell perturbation prediction across five cell lines show that VCAgent improves both reasoning accuracy and search efficiency across multiple backbone LLMs, substantially outperforming existing prompt optimization methods. Codes are available at https://github.com/LZYBUPT/VCAgent.

Zhiyun Li, Rong Han, Xiao-Yong Wang et al. · 0 citations
Preprint Aug 2026

Automating Parent Selection Configuration in Genetic Programming with Agentic AI

Findings demonstrate the potential of agentic AI to translate domain knowledge into generating executable components, providing a step toward automated configuration and design of evolutionary systems.

Jose Guadalupe Hernandez, Jui-Hsuan Chang, A. Saini et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.