# algorithmicsuperintelligence/openevolve

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/algorithmicsuperintelligence-openevolve).**

5,421 stars · 856 forks · Python · apache-2.0

## Links

- GitHub: https://github.com/algorithmicsuperintelligence/openevolve
- awesome-repositories: https://awesome-repositories.com/repository/algorithmicsuperintelligence-openevolve.md

## Topics

`alpha-evolve` `alphacode` `alphaevolve` `coding-agent` `deepmind` `deepmind-lab` `discovery` `distributed-evolutionary-algorithms` `evolutionary-algorithms` `evolutionary-computation` `genetic-algorithm` `genetic-algorithms` `iterative-methods` `iterative-refinement` `llm-engineering` `llm-ensemble` `llm-inference` `openevolve` `optimize`

## Description

OpenEvolve is an open-source framework for evolutionary computation that uses language models to drive automated optimization across multiple domains. It can evolve system prompts for large language models, refine source code across programming languages, search for optimal GPU kernel configurations, discover interpretable mathematical expressions from data, and maintain diverse populations of high-performing solutions. The framework integrates multiple evolutionary strategies, including MAP-Elites diversity mapping and island-based topologies, to avoid premature convergence and preserve a wide range of candidate variants.

The system supports checkpoint-and-resume state persistence, enabling long runs to be paused and continued without losing progress. Code regions can be marked with start and end comments so that mutation operators target only the designated sections during evolution. Evolution runs can be configured through a central YAML file, with deterministic seeding for reproducibility across different machines. The framework combines multiple language model providers using an intelligent ensemble with weighted averaging and fallback strategies, and it applies multi-stage evaluation cascades to filter candidates through quick preliminary tests before expensive comprehensive evaluation.

OpenEvolve provides an interactive web-based visualization that renders live evolution trees, performance charts, code diffs, and a MAP-Elites grid for real-time tracking. It collects execution artifacts and error feedback from previous generations to inject into subsequent prompts, improving the evolutionary guidance. The project is configured via a single YAML file and can be installed for immediate use.

## Tags

### Artificial Intelligence & ML

- [Automated Prompt Engineering](https://awesome-repositories.com/f/artificial-intelligence-ml/automated-prompt-engineering.md) — Applying evolutionary search to discover and refine system prompts for large language models, optimizing them for accuracy and other criteria.
- [Genetic Prompt Evolution](https://awesome-repositories.com/f/artificial-intelligence-ml/automated-prompt-optimization/genetic-prompt-evolution.md) — Evo evolves system prompts or code automatically to improve LLM performance on benchmark tasks using evolutionary search.
- [Evolutionary Code Optimizers](https://awesome-repositories.com/f/artificial-intelligence-ml/evolutionary-code-optimizers.md) — Using evolutionary algorithms to automatically mutate and select source code variants that improve performance or correctness across multiple programming languages.
- [Evolutionary GPU Kernel Tuners](https://awesome-repositories.com/f/artificial-intelligence-ml/gpu-kernel-implementations/evolutionary-gpu-kernel-tuners.md) — Automatically searching for optimal GPU kernel implementations for neural network operations using evolutionary methods to maximize performance.
- [Evolutionary Algorithm Discovery](https://awesome-repositories.com/f/artificial-intelligence-ml/heuristic-optimization-algorithms/evolutionary-algorithm-discovery.md) — Evo transforms a basic random search into advanced algorithms like simulated annealing through iterative code mutation and performance evaluation.
- [Fitness Functions](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/machine-learning-training/utilities/fitness-functions.md) — Evo defines a fitness function that returns a numeric score and optional artifacts to measure solution performance on a given task.
- [Weighted & Fallback Ensembles](https://awesome-repositories.com/f/artificial-intelligence-ml/model-optimization/compression-techniques/model-ensembling/weighted-fallback-ensembles.md) — Combines multiple language models using weighted averaging and fallback strategies to improve robustness.
- [Multi-Provider Abstractions](https://awesome-repositories.com/f/artificial-intelligence-ml/model-provider-integrations/multi-provider-abstractions.md) — Evo uses a universal API to combine multiple AI models with intelligent ensemble and fallback strategies for robustness.
- [Prompt Quality Scoring](https://awesome-repositories.com/f/artificial-intelligence-ml/prompt-variation-generators/prompt-optimizers/prompt-quality-scoring.md) — Evo combines task accuracy with qualitative LLM evaluation on clarity, specificity, robustness, and format to rank prompts.
- [Quality-Diversity Optimization](https://awesome-repositories.com/f/artificial-intelligence-ml/quality-diversity-optimization.md) — Implements quality-diversity optimization using MAP-Elites and island topologies to maintain diverse solution populations.
- [Tool Error Feedback](https://awesome-repositories.com/f/artificial-intelligence-ml/tool-error-feedback.md) — Evo captures artifacts and error messages from previous generations and injects them into subsequent prompts to improve evolution.
- [Artifact Logging](https://awesome-repositories.com/f/artificial-intelligence-ml/artifact-logging.md) — Evo stores intermediate logs, results, and debugging information during evaluation for detailed analysis of evolved solutions.
- [Island-Based Topologies](https://awesome-repositories.com/f/artificial-intelligence-ml/automated-prompt-optimization/genetic-prompt-evolution/island-based-topologies.md) — Evo configures preset templates for island-based evolutionary algorithms with sensible defaults and scenario-specific tuning options.
- [Evolutionary Run Checkpoints](https://awesome-repositories.com/f/artificial-intelligence-ml/next-sentence-prediction/trainers/checkpoint-resume/evolutionary-run-checkpoints.md) — Serialises evolution state to disk so runs can be paused and resumed without losing progress.
- [Real-Time Evolution Visualizations](https://awesome-repositories.com/f/artificial-intelligence-ml/real-time-evolution-visualizations.md) — Evo displays an interactive web interface with evolution trees, performance charts, code diffs, and a MAP-Elites grid for live tracking.

### Part of an Awesome List

- [Island-Based Topologies](https://awesome-repositories.com/f/awesome-lists/ai/evolutionary-algorithms/island-based-topologies.md) — Separates populations into isolated groups that periodically exchange individuals to avoid premature convergence.
- [GPU Kernel Evolution](https://awesome-repositories.com/f/awesome-lists/ai/attention-optimization/kernel-level-optimizations/gpu-kernel-evolution.md) — Evo searches automatically for optimal GPU kernel configurations using evolutionary algorithms to improve neural network operation performance.

### Data & Databases

- [Quality-Diversity Grids](https://awesome-repositories.com/f/data-databases/similarity-search/diversity-aware/quality-diversity-grids.md) — Maps candidate solutions onto a multi-dimensional grid to maintain a diverse archive of high-performing variants.
- [Evolutionary Run Dashboards](https://awesome-repositories.com/f/data-databases/interactive-visualization-rendering/evolutionary-run-dashboards.md) — Renders live evolution trees, performance charts, code diffs, and diversity grids in a browser interface.

### DevOps & Infrastructure

- [Cascading Evaluation Filters](https://awesome-repositories.com/f/devops-infrastructure/multi-stage-workflow-automations/evaluation-chains/cascading-evaluation-filters.md) — Filters candidates through a quick preliminary test before a more expensive comprehensive evaluation.
- [Stateful Run Resumption](https://awesome-repositories.com/f/devops-infrastructure/workflow-run-management/stateful-run-resumption.md) — Evo launches evolution runs from scratch or resumes from saved checkpoints, retaining all state for seamless continuation.

### Scientific & Mathematical Computing

- [Symbolic Expression Evolution](https://awesome-repositories.com/f/scientific-mathematical-computing/symbolic-expression-manipulators/symbolic-expression-evolution.md) — Evo modifies code within marked blocks iteratively to discover mathematical expressions that minimize error against training data.
- [Symbolic Regression](https://awesome-repositories.com/f/scientific-mathematical-computing/symbolic-regression.md) — Discovers mathematical expressions by iteratively mutating and selecting symbolic representations.
- [Symbolic Regression Engines](https://awesome-repositories.com/f/scientific-mathematical-computing/symbolic-regression-engines.md) — Evolves mathematical expressions from raw data using genetic programming and execution feedback for symbolic regression.

### Operating Systems & Systems Programming

- [GPU Kernel Evolution](https://awesome-repositories.com/f/operating-systems-systems-programming/gpu-kernel-evolution.md) — An automatic optimizer that uses evolutionary algorithms to find the fastest GPU kernel implementations for neural network operations.

### Programming Languages & Runtimes

- [Evolutionary Tree Visualizations](https://awesome-repositories.com/f/programming-languages-runtimes/programming-utilities/data-structure-type-helpers/data-structures/hierarchical-tree-structures/hierarchical-tree-visualizers/evolutionary-tree-visualizations.md) — Evo renders a graphical tree showing the ancestry and performance of generated code variants across generations.

### Software Engineering & Architecture

- [Evolvable Code Region Markers](https://awesome-repositories.com/f/software-engineering-architecture/metadata-attachments/code-annotations/evolvable-code-region-markers.md) — Marks delimited code blocks with start and end comments so mutation operators target only those sections.
- [Analytical Reproducibility](https://awesome-repositories.com/f/software-engineering-architecture/reproducibility-verifiers/analytical-reproducibility.md) — Evo seeds every component deterministically so that the same evolution can be exactly reproduced across different machines.
- [Evolving](https://awesome-repositories.com/f/software-engineering-architecture/sorting-algorithms/evolving.md) — Evo evolves sorting algorithms that dynamically adjust behavior based on input data characteristics to improve performance.
- [Competitive Programming Solution Evolution](https://awesome-repositories.com/f/software-engineering-architecture/trees/tree-node-templates/tree-based-optimization/genetic-program-evolution/competitive-programming-solution-evolution.md) — Evo evolves a program that passes all test cases on an online judge by iteratively mutating and selecting candidate solutions.

### Testing & Quality Assurance

- [Cascade Prompt Evaluations](https://awesome-repositories.com/f/testing-quality-assurance/model-testing/model-evaluation/prompt-configuration-testing/cascade-prompt-evaluations.md) — Evo tests prompts in two stages (quick 10-sample then comprehensive 40-sample) to efficiently filter low-quality candidates.
