Score: 1

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

Published: October 15, 2025 | arXiv ID: 2510.14150v2

By: Henrique Assumpção , Diego Ferreira , Leandro Campos and more

Potential Business Impact:

Computers learn to solve hard problems by evolving code.

Business Areas:
Machine Learning Artificial Intelligence, Data and Analytics, Software

In this work, we introduce CodeEvolve, an open-source evolutionary coding agent that unites Large Language Models (LLMs) with genetic algorithms to solve complex computational problems. Our framework adapts powerful evolutionary concepts to the LLM domain, building upon recent methods for generalized scientific discovery. CodeEvolve employs an island-based genetic algorithm to maintain population diversity and increase throughput, introduces a novel inspiration-based crossover mechanism that leverages the LLMs context window to combine features from successful solutions, and implements meta-prompting strategies for dynamic exploration of the solution space. We conduct a rigorous evaluation of CodeEvolve on a subset of the mathematical benchmarks used to evaluate Google DeepMind's closed-source AlphaEvolve. Our findings show that our method surpasses AlphaEvolve's performance on several challenging problems. To foster collaboration and accelerate progress, we release our complete framework as an open-source repository.

Repos / Data Links

Page Count
11 pages

Category
Computer Science:
Artificial Intelligence