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.

Querying 3B Vectors

https://vickiboykis.com/2026/02/21/querying-3-billion-vectors/
1•speckx•2m ago•0 comments

Frequently asked questions about signal handling in C (2024)

https://shitpost.plover.com/s/signal-handling.html
2•jjgreen•2m ago•0 comments

Bioinspired Kirigami Capsule Robot for Minimally Invasive GI Biopsy

https://arxiv.org/abs/2602.06207
1•PaulHoule•3m ago•0 comments

I got Claude to teach me dbt

https://rmoff.net/2026/02/20/claude-the-instructor/
1•rmoff•3m ago•0 comments

Best Obsidian Plugins in 2026: Must-Haves, Nice-to-Haves, and Power Tools

https://desktopcommander.app/blog/best-obsidian-plugins/
1•rkrizanovskis•3m ago•0 comments

Look Ma, No FUSE

https://writethat.blog/lookma.html
1•psarna•3m ago•0 comments

Live data from the International Space Station to control a 3D-printed model

https://github.com/ISS-Mimic/Mimic
1•dewey•3m ago•0 comments

Show HN: sc-research – Social media analysis skill for AI agents (Reddit and X)

https://github.com/skainguyen1412/social-media-research-skill
1•skainguyen1412•3m ago•0 comments

Small tropical islands also exposed to extreme humid heat by end of the century

https://essopenarchive.org/doi/full/10.22541/essoar.177172416.60160039/v1
1•bikenaga•4m ago•0 comments

Compost Modernity

https://aeon.co/essays/in-solarpunk-cities-of-the-future-tech-follows-natures-lead
1•rainingmonkey•5m ago•0 comments

Coal plant owners say DOE 'emergency' order to run it violates Constitution

https://www.utilitydive.com/news/doe-emergency-order-craig-colorado-coal-tri-state/811088/
2•geox•6m ago•0 comments

Steer Agents with Socrates and Meeseeks

https://backnotprop.com/blog/steer-agents-with-socrates-and-meeseeks/
2•ramoz•7m ago•0 comments

FreeBSD's Rust Kernel Support Could Be Stable Enough to Try This Year

https://www.phoronix.com/news/FreeBSD-Q4-2025-Status-Report
1•mikece•8m ago•0 comments

The Missing Semester of Your CS Education

https://missing.csail.mit.edu/
1•anishathalye•8m ago•1 comments

A simple web we own

https://rsdoiel.github.io/blog/2026/02/21/a_simple_web_we_own.html
3•speckx•9m ago•0 comments

Show HN: Mato – a Multi-Agent Terminal Office workspace (tmux-like)

https://github.com/mr-kelly/mato
2•chepy•10m ago•0 comments

WebAccessBench: Digital Accessibility Reliability in LLM-Generated Websites [pdf]

https://conesible.de/wab/whitepaper_webaccessbench.pdf
2•kreerc•11m ago•1 comments

Ask HN: Is it better to have no Agent.md than a bad one?

2•parvardegr•12m ago•0 comments

Context Management Is the Real Bottleneck for AI Agents

https://twitter.com/auxten/status/2025957620994199690
1•auxten•13m ago•0 comments

Show HN: Agent Multiplexer – manage Claude Code via tmux

https://github.com/mixpeek/amux
2•Beefin•14m ago•0 comments

World Monitor – Real-time global intelligence dashboard

https://github.com/koala73/worldmonitor
1•Brajeshwar•16m ago•1 comments

If AI makes human labor obsolete, who decides who gets to eat?

https://www.theguardian.com/business/2026/feb/23/ai-how-will-we-be-fed
4•n1b0m•16m ago•0 comments

ROCm 7.1.1: you can (not) build

https://lunnova.dev/articles/rocm-711-you-can-not-build/
2•nalllar•16m ago•0 comments

Portable Secret: End-to-End Encrypted Files in One HTML

https://blog.alcazarsec.com/tech/posts/portable-secret
2•alcazar•17m ago•1 comments

First, They Came for the Journalists

https://www.codastory.com/disinformation/first-they-came-for-the-journalists/
4•cdrnsf•17m ago•0 comments

Cyber Blast – Classic Amiga Action Reignited

https://spaceygames.itch.io/cyber-blast-x
2•doener•17m ago•0 comments

Pursuit of Performance on Building a JavaScript Compiler

https://oxc.rs/docs/learn/performance
2•sensanaty•17m ago•0 comments

Show HN: SpecterQA – AI personas test your web app, no scripts needed

1•synctek•17m ago•0 comments

Syzkaller AI agentic framework and MCP server

https://groups.google.com/g/syzkaller/c/EOcnMJmX9NI
1•raggi•18m ago•0 comments

Using perceptual distance to create better headers

https://alexwlchan.net/2026/perceptual-colour-headers/
2•surprisetalk•18m ago•0 comments