Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

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

About

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.

Henrique Assump\c{c}\~ao, Diego Ferreira, Leandro Campos, Fabricio Murai• 2025

Related benchmarks

TaskDatasetResultRank
Kernel OptimizationKernelBench 1.0 (test)
Latency (us)0.0063
27
Symbolic RegressionLLM-SR
Best Log10 NMSE-7.26
7
Second Autocorrelation InequalityACI 2 (test)
Value88.11
7
Hexagon PackingHEX n=11 (test)
Side Length (L)3.9379
6
Hexagon PackingHEX n=12 (test)
Side Length (L)4
5
Showing 5 of 5 rows

Other info

Follow for update