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.

I Made a MIT Licensed Mecrisp-Stellaris Language Server

https://mecrisp-stellaris-folkdoc.sourceforge.io/mecrisp-stellaris-lsp.html
1•oldguy101•7m ago•0 comments

This paper has been cited more than 6k times. It's fatally flawed.

https://statmodeling.stat.columbia.edu/2026/01/22/aking/
2•timr•12m ago•0 comments

Goose-friendly MCP server for conducting I Ching divinations

https://github.com/threemachines/i-ching
1•barrenko•13m ago•0 comments

World Models

https://ankitmaloo.com/world-models/
1•ankit219•13m ago•0 comments

Latest ChatGPT model uses Elon Musk's Grokipedia as source, tests reveal

https://www.theguardian.com/technology/2026/jan/24/latest-chatgpt-model-uses-elon-musks-grokipedi...
3•guilamu•15m ago•0 comments

The Podcaster Poking at France's Biggest Secrets

https://www.nytimes.com/2026/01/25/world/europe/philippe-collin-france-podcast-history-world-war-...
1•mikhael•17m ago•0 comments

German economists push for gold repatriation from U.S. vaults

https://seekingalpha.com/news/4542254-german-economists-push-for-gold-repatriation-from-us-vaults
1•saubeidl•19m ago•0 comments

Rack – A local data stack operated with Claude Code

https://github.com/tylerdiaz/rack
1•tylerdiaz•19m ago•0 comments

Clawdbot Showed Me What the Future of Personal AI Assistants Looks Like

https://www.macstories.net/stories/clawdbot-showed-me-what-the-future-of-personal-ai-assistants-l...
2•thoughtpeddler•23m ago•0 comments

The coming war on Car Ownership

https://geohot.github.io//blog/jekyll/update/2026/01/25/war-on-car-ownership.html
9•tea_drinker•25m ago•0 comments

Show HN: HouseTrak – everything about your home in one app

https://housetrak.app
1•tas-blacktorch•26m ago•0 comments

Bandcamp becomes the first major music platform to ban AI content

https://www.theverge.com/news/861794/bandcamp-ban-ai-music
1•01-_-•27m ago•0 comments

Microsoft gave customers' BitLocker encryption keys to the FBI

https://www.tomshardware.com/tech-industry/cyber-security/microsoft-gave-customers-bitlocker-encr...
1•01-_-•28m ago•0 comments

I built a 2x faster lexer, then discovered I/O was the real bottleneck

https://modulovalue.com/blog/syscall-overhead-tar-gz-io-performance/
2•p4bl0•28m ago•1 comments

Show HN: MonsterWriter – An Overleaf Alternative with a Better Free Plan [video]

https://www.youtube.com/watch?v=feWZByHoViw
1•WolfOliver•29m ago•0 comments

Qwen3-TTS: Ultra-Low Latency (97ms), Voice Cloning and OpenAI-Compatible API

https://github.com/QwenLM/Qwen3-TTS
1•thunderbong•29m ago•0 comments

Conditional Privilege Escalation Synology DSM 7.3.2

https://thecontractor.io/synology-dsm-7-3-2/
2•splintersio•35m ago•0 comments

Sodebo Ultim 3 Smashes Jules Verne Trophy Record

https://www.sail-world.com/news/293210/Sodebo-Ultim-3-smashes-Jules-Verne-Trophy-Record
1•tonfa•36m ago•0 comments

Pity the Rich

https://www.gojiberries.io/pity-the-rich/
1•neehao•39m ago•0 comments

Glowing Polyhedrons – LED filament 3D objects using graph theory

https://cpldcpu.github.io/2026/01/24/glowing-polyhedrons/
2•cpldcpu•42m ago•0 comments

Hexapod Simulator

https://hexapod-simulator.onrender.com/
1•ustad•44m ago•0 comments

Shot Heard Round the World America Rock [video]

https://www.youtube.com/watch?v=Y6ikO6LMxF4
1•rolph•48m ago•0 comments

You'll Be Back – Hamilton Animatic [video]

https://www.youtube.com/watch?v=-P_1RYVTjcA
1•rolph•50m ago•0 comments

I hate forms and I must data entry

https://skeda.app/blog/i-hate-forms-and-yet-i-must-data-entry
1•Dansvidania•52m ago•0 comments

Sony Data Discman

https://huguesjohnson.com/random/sony-ebook/
1•naves•52m ago•0 comments

Deutsche Telekom is violating Net Neutrality

https://netzbremse.de/en/
5•tietjens•54m ago•0 comments

"Destination Space" (1959 movie)

https://archive.org/details/destination-space-1959-colorized
2•Animats•55m ago•1 comments

Riemann Mapping Theorem

https://en.wikipedia.org/wiki/Riemann_mapping_theorem
2•ogogmad•55m ago•1 comments

Anchor Interpolated Morph (Aim)

https://nerdy.dev/anchor-interpolated-morphing
1•SouravInsights•58m ago•0 comments

Why Developing for MS SharePoint Is a Horrible, Terrible, and Painful Experience

https://jordansrowles.medium.com/why-developing-for-microsoft-sharepoint-is-a-horrible-terrible-a...
1•thibautg•1h ago•0 comments