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

Gh-Dash – GitHub PR Dashboard for Claude Code

https://github.com/jakozloski/claude-code-gh-dash
1•handfuloflight•13m ago•0 comments

Show HN: I kept forgetting Git worktree syntax, so I wrapped it

https://github.com/binbandit/workty
1•binbandit•19m ago•1 comments

Malaysia and Indonesia Block Elon Musk's Grok

https://www.cnbc.com/2026/01/12/malaysia-indonesia-block-elon-musks-grok-obscene-non-consensual-c...
3•rfarley04•32m ago•0 comments

The Workings of the Pentagon's UFO Reverse Engineering Program [video]

https://www.youtube.com/watch?v=u7g5Sn1DJF4
3•keepamovin•36m ago•0 comments

Semantic Rebase

https://www.peterjthomson.com/2026/01/semantic-rebase/
1•handfuloflight•37m ago•0 comments

XFCE Is Great

https://rubenerd.com/xfce-is-great/
5•mikece•38m ago•0 comments

Xibo open-source digital signage solution now works with Raspberry Pi 5

https://www.cnx-software.com/2026/01/12/xibo-open-source-digital-signage-solution-now-works-with-...
1•mikece•39m ago•0 comments

Everything you should know about PostgreSQL constraints

https://xata.io/blog/constraints-in-postgres
1•tudorg•40m ago•0 comments

The Definitive Guide to Claude Code

https://jpcaparas.medium.com/the-definitive-guide-to-claude-code-from-first-install-to-production...
2•handfuloflight•40m ago•0 comments

The beauty queen who caught Scotland's most prolific catfish

https://www.bbc.com/news/articles/ckgkr15el67o
1•ryan_j_naughton•45m ago•0 comments

Show HN: Remember Me AI (FULL RELEASE) – 40x cost reduction in AI memory systems

https://github.com/merchantmoh-debug/Remember-Me-AI
1•MohskiBroskiAI•45m ago•0 comments

Shopify and Google Announce Universal Commerce Protocol

https://www.shopify.com/ca/ucp
2•ianschmitz•46m ago•0 comments

A Short History of the Glass Mirror

https://www.cabinetmagazine.org/issues/14/mcelheny.php
1•o4c•47m ago•0 comments

Gen Z are arriving to college unable to even read a sentence

https://fortune.com/2026/01/09/gen-z-college-students-struggling-to-read-professors-forced-to-ret...
2•LostMyLogin•47m ago•2 comments

First Ever Image of a Multi-Planet System Around a Sun-Like Star

https://www.eso.org/public/news/eso2011/
2•thunderbong•51m ago•0 comments

Standard.site: The Publishing Gateway

https://stevedylan.dev/posts/standard-site-the-publishing-gateway/
1•stevedsimkins•1h ago•0 comments

Pixwit.ai is an AI-powered video creation platform

https://pixwit.ai
1•maysunyoung•1h ago•1 comments

Ask HN: Has anyone built payment flows inside AI voice calls?

2•wasiyc•1h ago•0 comments

Show HN: Karmic Tail – A calculator for the Destiny Matrix numerology system

https://karmictail.com/
2•hugh1st•1h ago•0 comments

The Pain of Real Linear Types in Rust (2017)

https://faultlore.com/blah/linear-rust/
1•xpe•1h ago•1 comments

Show HN: Pointa – Point-and-click annotations for AI coding agents (open source)

https://www.pointa.dev/
1•jberthom•1h ago•0 comments

Letting Claude Play Text Adventures

https://borretti.me/article/letting-claude-play-text-adventures
2•zdw•1h ago•0 comments

Show HN: Dutix – set default apps for file types and URL schemes on macOS

https://github.com/jackchuka/dutix
1•jackchuka•1h ago•0 comments

Show HN: App Logo AI – Your generated application logo

https://applogoai.com/
1•goingmerryapps•1h ago•0 comments

Fed Served with DOJ Subpoenas, Powell Vows to Stand Firm

https://www.bloomberg.com/news/articles/2026-01-12/powell-says-justice-department-served-fed-with...
11•ZeroCool2u•1h ago•2 comments

Everybody's Got a Claim

https://ipcopilot.ai/2026/01/03/everybodys-got-a-claim/
1•lettergram•1h ago•0 comments

16 Best Practices for Reducing Dependabot Noise

https://nesbitt.io/2026/01/10/16-best-practices-for-reducing-dependabot-noise.html
2•zdw•1h ago•1 comments

DOJ has subpoenaed central bank, threatens criminal indictment

https://apnews.com/article/federal-reserve-trump-subpoena-bf4fc6c690fa248fbc531bc9bc7f1758
18•SilverElfin•1h ago•7 comments

Ask HN: Claude Code Degradation

2•lobito25•1h ago•1 comments

Duplicate tab notifications and auto closures

https://chromewebstore.google.com/detail/newtab/ajpgplnoabdfhpnlepboonoocpipmhkg
1•pinestack•1h ago•0 comments