CodeEvolve: an open source evolutionary coding agent for algorithm discovery and optimization

Henrique Assumpção, Diego Ferreira, Leandro Campos, Fabricio Murai
10/15/2025
cs.AIcs.LGcs.NE

Official code: inter-co/science-codeevolve (122 stars, Apache-2.0, last commit 2026-04-08).

Abstract

We introduce CodeEvolve, an open-source framework that combines large language models (LLMs) with evolutionary search to synthesize high-performing algorithmic solutions. CodeEvolve couples an islands-based genetic algorithm with modular LLM orchestration, using execution feedback and task-specific metrics to guide selection and variation. Exploration and exploitation are balanced through context-aware recombination, adaptive meta-prompting, and targeted refinement of promising solutions. We evaluate CodeEvolve on benchmarks previously used to assess Google DeepMind's AlphaEvolve, showing superior performance on several tasks and competitive results overall. Notably, open-weight models often match or exceed closed-source baselines at a fraction of the compute cost. We provide extensive ablations analyzing the contribution of each component and release our framework and experimental results at https://github.com/inter-co/science-codeevolve.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

CodeEvolve is an open-source evolutionary coding agent for algorithm discovery and optimization.

12219Shell, PythonOct 14, 20256 months agoApache-2.0
alpha-evolvealphaevolvecodeevolvecoding-agentcoding-agents+5 more

Similar Papers

Cite this paper

@article{assumpo2025codeevolve,
  title  = {CodeEvolve: an open source evolutionary coding agent for algorithm discovery and optimization},
  author = {Henrique Assumpção and Diego Ferreira and Leandro Campos and Fabricio Murai},
  year   = {2025},
  eprint = {2510.14150},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.14150v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.14150.svg)](https://codeofpaper.com/paper/2510.14150)

Discussion