frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: OpenEvolve – open-source implementation of DeepMind's AlphaEvolve

8•codelion•8mo ago
I've built an open-source implementation of Google DeepMind's AlphaEvolve system called OpenEvolve. It's an evolutionary coding agent that uses LLMs to discover and optimize algorithms through iterative evolution.

Try it out: https://github.com/codelion/openevolve

What is this?

OpenEvolve evolves entire codebases (not just single functions) by leveraging an ensemble of LLMs combined with automated evaluation. It follows the evolutionary approach described in the AlphaEvolve paper but is fully open source and configurable.

I built this because I wanted to experiment with evolutionary code generation and see if I could replicate DeepMind's results. The original system successfully improved Google's data centers and found new mathematical algorithms, but no implementation was released.

How it works:

The system has four main components that work together in an evolutionary loop:

1. Program Database: Stores programs and their metrics in a MAP-Elites inspired structure

2. Prompt Sampler: Creates context-rich prompts with past solutions

3. LLM Ensemble: Generates code modifications using multiple models

4. Evaluator Pool: Tests programs and provides feedback metrics

What you can do with it:

- Run existing examples to see evolution in action

- Define your own problems with custom evaluation functions

- Configure LLM backends (works with any OpenAI-compatible API)

- Use multiple LLMs in ensemble for better results

- Optimize algorithms with multiple objectives

Two examples I've replicated from the AlphaEvolve paper:

- Circle Packing: Evolved from simple geometric patterns to sophisticated mathematical optimization, reaching 99.97% of DeepMind's reported results (2.634 vs 2.635 sum of radii for n=26).

- Function Minimization: Transformed a random search into a complete simulated annealing algorithm with cooling schedules and adaptive step sizes.

Technical insights:

- Low latency LLMs are critical for rapid generation cycles

- Best results using Gemini-Flash-2.0-lite + Gemini-Flash-2.0 as the ensemble

- For the circle packing problem, Gemini-Flash-2.0 + Claude-Sonnet-3.7 performed best

- Cerebras AI's API provided the fastest inference speeds

- Two-phase approach (exploration then exploitation) worked best for complex problems

Getting started (takes < 2 minutes)

# Clone and install

git clone https://github.com/codelion/openevolve.git

cd openevolve

pip install -e .

# Run the function minimization example

python openevolve-run.py

examples/function_minimization/initial_program.py \

  examples/function_minimization/evaluator.py \

  --config examples/function_minimization/config.yaml \

  --iterations 50
All you need is Python 3.9+ and an API key for an LLM service. Configuration is done through simple YAML files.

I'll be around to answer questions and discuss!

Comments

codelion•8mo ago
I actually managed to replicate the new SOTA for circle packing in unit squares as found in the alphaevole paper - 2.635 for 26 circles in a unit square. Took about 800 iterations to find the best program which itself uses an optimisation phase and running it lead to the optimal packaging in one of its runs.
helsinki•8mo ago
How many tokens did it take to generate the 800 versions of the code?
codelion•8mo ago
Checked my openrouter stats, it took ~3M tokens but that involved quite a few runs of various experiments.

A Geometric Solution to the Coulomb Barrier via 10D Phase-Alignment

https://sharetext.io/d0bm1suz
1•diametricsound•5m ago•1 comments

ICE Masks Up in More Ways Than One

https://www.kenklippenstein.com/p/exclusive-ice-masks-up-in-more-ways
1•computerliker•10m ago•0 comments

Better hardware means OpenAI, Anthropic, etc. are doomed in the future?

1•kart23•10m ago•0 comments

Cloud-Claw: Run OpenClaw with 1 Click on Cloudflare to Create Personal Agent

https://github.com/miantiao-me/cloud-claw
1•ms7892•13m ago•0 comments

RBC – It Stands for Big Chicken

https://www.reallybigchicken.com/
1•frenchie4111•17m ago•0 comments

Goldman's India Push Pays Off in Crowded Wall Street Field

https://www.bloomberg.com/news/articles/2026-02-10/goldman-s-push-bears-fruit-in-india-s-crowded-...
1•vismit2000•20m ago•0 comments

I built JoyPass: surprise gestures like breakfast in bed, now in Apple Wallet

https://joypass.co
3•arron-taylor•29m ago•1 comments

LLM Reasoning Failures

https://arxiv.org/abs/2602.06176
1•gradus_ad•29m ago•0 comments

Megalancer.com

https://megalancer.com/
1•Megalancer•30m ago•1 comments

I improved 15 LLMs at coding in one afternoon. Only the harness changed

https://twitter.com/_can1357/status/2021828033640911196
1•amardeep•32m ago•1 comments

One of my managers demanding a 25% share of the project bonus pool

https://old.reddit.com/r/founder/comments/1r3d332/a_discussion_about_one_of_my_managers_demanding_a/
1•fanux•32m ago•0 comments

The Filter, Not the Bar

https://k2xl.substack.com/p/the-filter-not-the-bar
1•k2xl•33m ago•0 comments

Private-equity barons have a giant AI problem

https://www.economist.com/business/2026/02/12/private-equity-barons-have-a-giant-ai-problem
1•petethomas•36m ago•0 comments

Discord walks back age verification fears for most users

https://www.techbuzz.ai/articles/discord-walks-back-age-verification-fears-for-most-users
2•brie22•37m ago•0 comments

Built a skill that hugs my agents

https://hugllm.com/
1•zeahoo•38m ago•0 comments

The Wonder of Modern Drywall

https://worksinprogress.co/issue/the-wonder-of-modern-drywall/
2•zdw•41m ago•0 comments

Yee Launcher: Play Minecraft in the Browser Using WASM and TeaVM

https://yee.pages.dev/
2•Jotalea•41m ago•0 comments

Anthropic's Chief on A.I.: 'We Don't Know If the Models Are Conscious'

https://www.nytimes.com/2026/02/12/opinion/artificial-intelligence-anthropic-amodei.html
1•goplayoutside•41m ago•0 comments

David Deutsch on AGI, Alignment and Existential Risk [video]

https://www.youtube.com/watch?v=CU2yj826NHk
2•ReubenAdams•44m ago•0 comments

Interference Pattern Formed in a Finger Gap Is Not Single Slit Diffraction

https://note.com/hydraenids/n/nbe89030deaba
1•uolmir•45m ago•0 comments

How The Times Is Digging Into Millions of Pages of Epstein Files

https://www.nytimes.com/2026/02/12/insider/jeffrey-epstein-files-documents.html
2•jbegley•52m ago•0 comments

OpenClaw bot writes blog post shaming maintainer after rejected PR

https://twitter.com/callebtc/status/2022046669710491991
2•nsedlet•1h ago•1 comments

Defining causal mechanism in dual process theory and 2 types of feedback control

https://arxiv.org/abs/2602.11478
1•s6i•1h ago•0 comments

Show HN: Software Design – ADRs, arch tests, patterns

https://github.com/QDenka/awesome-software-design
2•qdenka•1h ago•0 comments

IterX: AI can optimize code reated to infrastructure, CUDA, DBs, and AI/ML Ops

https://iterx.deep-reinforce.com
1•kathyxiao•1h ago•1 comments

Top Goldman Sachs Lawyer Kathy Ruemmler to Resign over Epstein Links

https://www.ft.com/content/c9c4ea8a-f806-4a04-b409-a8ec03c00b15
4•petethomas•1h ago•1 comments

Colorado AI Builders

https://www.boulderaibuilders.org/
1•mooreds•1h ago•0 comments

WhatsApp Basically Wiped from Russian Internet

https://gizmodo.com/whatsapp-basically-wiped-from-russian-internet-2000720488
1•mooreds•1h ago•0 comments

AI-native software factory with the Phoenix Architecture

https://gist.github.com/mikegehard/1385345f81c26458f311356fd9bfeefa
1•mooreds•1h ago•0 comments

Smithers - Declarative AI Orchestration with React

https://github.com/evmts/smithers
2•roninjin10•1h ago•1 comments