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•9mo 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.

Tech leaders pour $50M into super PAC to elect AI-friendly candidates

https://www.latimes.com/business/story/2026-02-13/tech-titans-pour-50-million-into-super-pac-to-e...
1•geox•1m ago•0 comments

How Head Works in Git

https://jvns.ca/blog/2024/03/08/how-head-works-in-git/
1•b-man•1m ago•0 comments

I Visited the Future of AI Engineering – and Returned with a Warning

https://igor718185.substack.com/p/i-visited-the-future-of-ai-engineering
1•iggori•3m ago•2 comments

Dr. Oz pushes AI avatars as a fix for rural health care

https://www.npr.org/2026/02/14/nx-s1-5704189/dr-oz-ai-avatars-replace-rural-health-workers
1•toomuchtodo•4m ago•1 comments

TikTok

https://www.tiktok.com/explore
1•Hackersing•5m ago•0 comments

Bloom-Filter Art: Encode words in a heart; Send it to someone special

https://improbable-heart.com/
1•nait•5m ago•1 comments

Clawsec: Open-source plugin for OpenClaw.ai that blocks dangerous actions

https://www.clawsec.bot
1•subho007•9m ago•1 comments

The crucial first step for designing a successful enterprise AI system

https://www.technologyreview.com/2026/02/02/1131822/the-crucial-first-step-for-designing-a-succes...
1•gnabgib•9m ago•0 comments

Stop Drowning in Your Thoughts

https://curiositysink.substack.com/p/stop-drowning-in-your-thoughts
1•raptisj•9m ago•1 comments

Show HN: Solscan-CLI – Scan Solana wallets and audit DeFi from terminal

https://github.com/contactn8n410-del/solscan-cli
1•solscan_dev•10m ago•0 comments

Mozilla Readability

https://github.com/mozilla/readability
1•blenderob•10m ago•0 comments

ParipueiraBeberibeceara

http://ParipueiraBeberibeceara.com
1•Hackersing•10m ago•0 comments

Musk fires up SpaceX,Bezos pushes Blue Origin as billionaires race China to moon

https://www.reuters.com/business/aerospace-defense/musk-fires-up-spacex-bezos-pushes-blue-origin-...
1•tartoran•10m ago•0 comments

SnapLLM: Switch between local LLM in under 1ms Multi-model&-modal serving engine

https://github.com/snapllm/snapllm
1•maheshvaikri99•10m ago•1 comments

Challenges of revision control in the LLM era

https://gist.github.com/gritzko/77b2e9ff9c2c377a18ccf8ce363e18eb
1•gritzko•11m ago•0 comments

Condom Crisis Hits Milano Games on Valentine's Day

https://www.reuters.com/sports/condom-crisis-hits-milano-games-valentines-day-2026-02-14/
2•tartoran•12m ago•1 comments

Textpattern CMS 4.9.1 released: security fixes, patches and tweaks

https://textpattern.com/weblog/textpattern-491-released-security-fixes-patches-and-tweaks
1•petecooper•17m ago•0 comments

Show HN: Aurora-OS.js – High fidelity hacking simulator pre-alpha

https://github.com/mental-os/Aurora-OS.js
1•mentalos•21m ago•0 comments

Visions of America

https://www.lrb.co.uk/the-paper/v48/n02/adam-shatz/another-country
1•mitchbob•21m ago•1 comments

Show HN: Managing dotfiles without complex tools – just symlinks and Makefiles

https://github.com/Thysrael/dotfiles
1•gg_equal_G•23m ago•0 comments

AI Twitter's favourite lie: everyone wants to be a developer

https://www.joanwestenberg.com/ai-twitters-favourite-lie-everyone-wants-to-be-a-developer/
4•theowenyoung•26m ago•0 comments

Elvish as She Is Spoke [pdf]

https://www.elvish.org/articles/EASIS.pdf
1•BerislavLopac•26m ago•0 comments

Dutch House of Representatives advances controversial 36% tax law

https://www.tradingview.com/news/cointelegraph:e4ef95715094b:0-dutch-house-of-representatives-adv...
3•janandonly•27m ago•0 comments

Instruction decoding in the Intel 8087 floating-point chip

https://www.righto.com/2026/02/8087-instruction-decoding.html
2•pwg•31m ago•1 comments

Show HN: Describe your Discord server in one sentence – AI builds it in 60s

https://buildmydiscord.com/
1•RobTheFrog•31m ago•0 comments

Gamma Function: Visualization for Complex Arguments

https://vanilla-gamma-graph.netlify.app/
1•cpuXguy•32m ago•1 comments

Secure Port Forwarding Without Exposing Internal Services

2•brintha•33m ago•0 comments

World's Only Pencil Sharpener Museum

https://www.bostonglobe.com/2026/02/13/lifestyle/pencil-sharpener-museum-ohio/
4•bookofjoe•33m ago•1 comments

OpenAI sidesteps Nvidia with unusually fast coding model on plate-sized chips

https://arstechnica.com/ai/2026/02/openai-sidesteps-nvidia-with-unusually-fast-coding-model-on-pl...
2•sea-gold•34m ago•0 comments

I love validating E2E while vibing in my code editor, possible? Hell Yes

https://sebringj.github.io/autonomo/
3•sebringj•34m ago•1 comments