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.

Hypernetworks: Neural Networks for Hierarchical Data

https://blog.sturdystatistics.com/posts/hnet_part_I/
1•mkmccjr•1m ago•0 comments

Stephenson Impersonator; Minor Update

https://nealstephenson.substack.com/p/stephenson-impersonator-minor-update
1•pcfwik•2m ago•0 comments

What Is Ruliology?

https://writings.stephenwolfram.com/2026/01/what-is-ruliology/
1•surprisetalk•2m ago•0 comments

Draft Emoji List for 2026/2027

https://blog.emojipedia.org/draft-emoji-list-for-2026-2027/
1•surprisetalk•2m ago•0 comments

Free WordArt Generator – Create 90s Text Effects Online

https://www.makewordart.com
1•surprisetalk•2m ago•0 comments

There aren't enough smart people in biology doing something boring (2024)

https://www.owlposting.com/p/there-arent-enough-smart-people-in
1•surprisetalk•2m ago•0 comments

Using the Dell Pro Max with GB10 to profit within 12 months

https://www.servethehome.com/using-the-dell-pro-max-with-gb10-to-profit-within-12-months-nvidia/
1•teleforce•2m ago•0 comments

Sam Altman got exceptionally testy over Claude Super Bowl ads

https://techcrunch.com/2026/02/04/sam-altman-got-exceptionally-testy-over-claude-super-bowl-ads/
1•Signez•2m ago•0 comments

The world is more equal than you think

https://www.economist.com/graphic-detail/2026/02/03/the-world-is-more-equal-than-you-think
1•ksec•2m ago•1 comments

Where did the tips go? Restaurants say thousands missing from Everyday Payments

https://globalnews.ca/news/11652795/tips-bc-restaurants-thousands-missing-third-party-account/
1•cf100clunk•3m ago•0 comments

Researchers tested AI against 100k humans on creativity

https://www.sciencedaily.com/releases/2026/01/260125083356.htm
1•amichail•3m ago•0 comments

Dell Pro Max with GB10 is paying for itself [video]

https://www.youtube.com/watch?v=ib913zfNh7I
1•teleforce•3m ago•0 comments

Modernizing Linux swapping: the end of the swap map

https://lwn.net/SubscriberLink/1057102/7fd73b5dad297481/
3•chmaynard•4m ago•0 comments

Clankers with Claws

https://world.hey.com/dhh/clankers-with-claws-9f86fa71
1•ksec•5m ago•0 comments

Show HN: A browser-based, animation-first pixel editor with a proper timeline

https://spritepaint.com/
2•whothatcodeguy•6m ago•0 comments

FBI stymied by Apple's Lockdown Mode after seizing journalist's iPhone

https://arstechnica.com/tech-policy/2026/02/fbi-stymied-by-apples-lockdown-mode-after-seizing-jou...
1•01-_-•6m ago•0 comments

China is winning the humanoid robot race while Tesla's Optimus lags

https://restofworld.org/2026/china-humanoid-robots-unitree-agibot-tesla-optimus/
2•stareatgoats•7m ago•0 comments

OpenAI Frontier Enterprise platform for AI agents

https://openai.com/business/frontier/
1•amima•7m ago•0 comments

When the Bots Found God

https://thedailymolt.substack.com/p/when-the-bots-found-god
1•jamesjyu•7m ago•0 comments

Valve Hardware Delays in 2026 and What They Reveal About the Future of Gaming

https://comuniq.xyz/post?t=793
1•01-_-•8m ago•0 comments

Evil May Day

https://en.wikipedia.org/wiki/Evil_May_Day
1•headalgorithm•10m ago•0 comments

Episode 10 of Raising an Agent

https://twitter.com/AmpCode/status/2019447473127702812
1•tosh•11m ago•0 comments

Show HN: Android Air mouse for screen casting

https://github.com/ClassicOldSong/AirBeam
1•ClassicOldSong•11m ago•0 comments

Stop Using Icons in Data Tables

https://medium.com/@codythistleward/stop-using-icons-in-data-tables-7537af18ea0d
1•ctward•13m ago•0 comments

How Can I Contribute to OpenTelemetry?

https://medium.com/cloud-native-daily/how-to-contribute-to-opentelemetry-5962e8b2447e
1•mooreds•16m ago•0 comments

Show HN: Umbrel Pro – 4x NVMe SSD home server (CNC aluminum and walnut)

https://umbrel.com/umbrel-pro
1•mayankchhabra•17m ago•1 comments

Show HN: TabPFN MCP, gives LLMs tools for predictions on tabular data (beta)

https://priorlabs.ai/deployment/model-context-protocol
7•clastiche•17m ago•0 comments

Postman: From API Client to "Everything App"

https://codingismycraft.blog/index.php/2026/02/05/postman-from-api-client-to-everything-app/
1•thunderbong•17m ago•0 comments

LibreOffice 26.2 released with Markdown support

https://www.omgubuntu.co.uk/2026/02/libreoffice-26-2-new-features
3•rihegher•17m ago•0 comments

Cause I'm a Vibe Coder, yes I am

https://open.spotify.com/album/11HjM22n39FMHypd4AUHAX
2•hageast•17m ago•2 comments