Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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

About

We introduce CodeEvolve, an open-source framework that couples large language models with island-based evolutionary search for end-to-end algorithmic discovery. CodeEvolve integrates inspiration-based crossover, meta-prompting, and depth-based refinement on top of a CVT-MAP-Elites archive and a weighted LLM ensemble to generate optimized solutions for complex problems. On the AlphaEvolve benchmark suite, CodeEvolve matches or surpasses the reported AlphaEvolve results on 5 of 9 problems and, under matched conditions, outperforms the open-source frameworks OpenEvolve and ShinkaEvolve on 6 of 9. With the open-weight Qwen3-Coder-30B backbone, it surpasses the reported AlphaEvolve score on both CirclePackingSquare instances at roughly an order of magnitude lower cost than a frontier closed-source ensemble, and remains competitive with EoH on heuristic-design tasks without retuning. Ablations show that the interaction between CodeEvolve's components, rather than any single operator, drives these results. We release the framework, experimental data, and practical hyperparameter guidelines at https://github.com/inter-co/science-codeevolve.

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

Related benchmarks

TaskDatasetResultRank
Traveling Salesman ProblemTSP50
Optimality Gap0.1
77
Traveling Salesman ProblemTSP N=20
Optimality Gap0.00e+0
45
Traveling Salesman ProblemTSP100
Optimality Gap (%)4
37
Online Bin Packing ProblemBPP online N=1k, W=100
Optimality Gap4.18
35
Online Bin Packing ProblemBPP online N=5k, W=100
Optimality Gap3.16
30
Kernel OptimizationKernelBench 1.0 (test)
Latency (us)0.0063
27
Geometric OptimizationMMD
Fitness Score99.34
21
Geometric OptimizationCP
Fitness Score0.8768
21
Online Bin Packing ProblemWeibull BPP 5k 500
Optimality Gap (%)0.2
20
Circle packingCircle Packing (n=26)
Sum of Radii2.6359
19
Showing 10 of 21 rows

Other info

Follow for update