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•9mo 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•9mo ago
How many tokens did it take to generate the 800 versions of the code?
codelion•9mo ago
Checked my openrouter stats, it took ~3M tokens but that involved quite a few runs of various experiments.

Stock analysis accessible, feedback wanted

https://www.stocksanalyzer.app/
1•JuGaDev•1m ago•1 comments

Svelte-doctor – A CLI tool that diagnoses Svelte codebases with a health score

https://github.com/pimatis/svelte-doctor
1•Queaxtra•2m ago•1 comments

Satellite Feature on iPhone Allowed Skiers to Seek Help After Avalanche

https://www.nytimes.com/2026/02/18/us/apple-iphone-sos-satellite-rescue.html
1•lelandfe•2m ago•0 comments

Amazon takes the No. 1 spot on the Fortune 500, ending Walmart's 13-year run

https://fortune.com/article/amazon-overtakes-walmart-fortune-500-doug-mcmilon-andy-jassy-retail-t...
1•thm•3m ago•0 comments

Show HN: Oops Backup – Simple off-site backups for your databases

https://oopsbackup.com/
1•kovacivan•3m ago•1 comments

Show HN: Valohai LLM – Track and compare LLM evaluation results in one dashboard

https://valohai.com/llm/
1•radicain•4m ago•0 comments

Free online tools for AI, security, SEO and productivity

1•gofortool•4m ago•0 comments

Remote Work Job Boards

https://www.makerlinks.page/remotejobboards
1•amamuwala•5m ago•0 comments

NASA's Perseverance Now Autonomously Pinpoints Its Location on Mars

https://www.nasa.gov/missions/mars-2020-perseverance/perseverance-rover/nasas-perseverance-now-au...
1•bookofjoe•6m ago•0 comments

A Backtest for Scientific Insight

https://willmichaels.substack.com/p/a-backtest-for-scientific-insight
1•wmichaels•6m ago•0 comments

Acme Weather: New App by the Dark Sky Team

https://acmeweather.com/app
1•skadamat•8m ago•0 comments

The DHS forum where ICE agents trash talk one another

https://www.wired.com/story/hsi-forum-ice-agents/
1•vintagedave•8m 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/
1•thm•9m ago•0 comments

New California bill to require license plates for electric bikes

https://electrek.co/2026/02/19/new-california-bill-to-require-license-plates-for-electric-bikes/
2•RaSoJo•9m ago•0 comments

The future belongs to those who can refute AI, not just generate with AI

https://learningloom.substack.com/p/the-future-belongs-to-those-who-can
2•atomicnature•10m ago•0 comments

The First Beta of Android 17

https://android-developers.googleblog.com/2026/02/the-first-beta-of-android-17.html
1•pjmlp•12m ago•0 comments

Show HN: Treliq – PR triage CLI with 20 signals and optional LLM scoring

https://github.com/mahsumaktas/treliq
1•chrismagno•12m ago•0 comments

Show HN: I built a semiconductor internship job board

https://www.semidesignjobs.com/s/semiconductor-design-internships
1•johncole•12m ago•0 comments

AI Coding Agents Should Be Programmable

https://ai.wiseprobe.io/posts/python-and-ralph/
1•wiseprobe•12m ago•0 comments

Show HN: Synter- Open source MCP server to manage ads across 7 platforms

https://github.com/jshorwitz/synter-media
1•synterai•14m ago•0 comments

Interview with Founder of InchFab, Application Specific Fab Maker

https://www.siliconimist.com/p/inchfab-mitchell-hsing
1•johncole•14m ago•0 comments

Show HN: I Started a Podcast on Silicon and Economics

https://www.siliconimist.com/p/introducing-the-siliconimist
1•johncole•15m ago•0 comments

Type-based alias analysis in the Toy Optimizer

https://bernsteinbear.com/blog/toy-tbaa/
1•surprisetalk•18m ago•0 comments

Building in Private

https://www.ystrickler.com/building-private/
1•surprisetalk•18m ago•0 comments

RAM Is Fake. The Moon Broke Timezones. and Your Compiler Is Guessing [video]

https://www.youtube.com/watch?v=cnX5zJ_qGz0
1•surprisetalk•18m ago•0 comments

FBI Interviewed Trump Accuser, Epstein Files Show

https://substack.com/home/post/p-188009135
2•surprisetalk•18m ago•0 comments

Alabama offers three tricks to fix poor urban schools

https://economist.com/united-states/2026/02/12/alabama-offers-three-tricks-to-fix-poor-urban-schools
2•andsoitis•19m ago•0 comments

Why LLM-Generated Passwords Are Dangerously Insecure

https://www.irregular.com/publications/vibe-password-generation
1•lielvilla•21m ago•0 comments

Show HN: Fera-Search – Privacy-First AI Meta Search Engine

https://github.com/rahul-gound/fera-search-
1•himanshu_fera•22m ago•0 comments

OpenAI Funding on Track to Top $100B in Latest Round

https://www.bloomberg.com/news/articles/2026-02-19/openai-funding-on-track-to-top-100-billion-wit...
4•zerosizedweasle•25m ago•3 comments