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.

From kinetic gases to an exponentially expanding universe

https://iopscience.iop.org/article/10.1088/1475-7516/2025/10/050
1•diwank•37s ago•0 comments

Beebo Wave Simulator

https://git.sr.ht/~willowf/beebo/
2•anon25783•3m ago•0 comments

AI Dance Video Generator Online Free

https://www.aidancegenerator.org/
1•wsm123456•5m ago•0 comments

Show HN: Apps posted here classified by LLM

https://github.com/johndimm/show-hn-classified
1•johndimm•6m ago•1 comments

Personal Taste Is the Moat

https://wangcong.org/2026-01-13-personal-taste-is-the-moat.html
1•gpi•9m ago•0 comments

Pixel 6 and 7 Updates Are Missing: Here's What Is Happening with Your Pixel

https://www.droid-life.com/2026/01/12/pixel-6-pixel-7-updates-schedule-missing/
2•keithoffer•10m ago•0 comments

Claude Code CVE-2025-66032: Why Allowlists Aren't Enough

https://niyikiza.com/posts/cve-2025-66032/
1•niyikiza•10m ago•0 comments

CES 2026:A thumb-sized computer with hardware-isolated OS over USB

https://plugos.net/news/2026/01/08/plugos-at-ces.html
1•TrustKernel•11m ago•0 comments

CIA and Chinese PLA joined hands in Cold War op to snoop on Soviet nukes • 2022

https://theprint.in/world/how-cia-chinese-pla-joined-hands-in-secret-cold-war-op-to-snoop-on-sovi...
1•richardatlarge•13m ago•0 comments

Mao Card Game

https://en.wikipedia.org/wiki/Mao_(card_game)
1•marysminefnuf•14m ago•0 comments

Developer writes script to throw AI out of Windows

https://www.theregister.com/2026/01/13/script_removes_ai_from_windows/
1•Brajeshwar•15m ago•1 comments

Uber Airport Demand Forecasting

https://www.uber.com/blog/forecasting-models-to-improve-availability-at-airports/
1•brettcvz•20m ago•0 comments

China's Hottest New App Is 'Are You Dead Yet'

https://www.wired.com/story/china-are-you-dead-yet-app/
1•Kholin•21m ago•0 comments

Why India's plan to make AI companies pay for training data should go global

https://restofworld.org/2026/india-ai-data-license-fee/
2•Brajeshwar•25m ago•0 comments

Google please stop blocking my parody website

https://ivanca.github.io/censorship/2026/01/13/google-stop-blocking-my-parody-website/
1•AmbroseBierce•32m ago•0 comments

FateTell – Chinese I Ching and BaZi AI with physics-based interaction

https://fatetell.com/
2•Farigh4•32m ago•1 comments

Artificial StupidIntelligence and Airport Sinks

https://www.deobald.ca/essays/2026-01-13-artificial-stupidintelligence-and-airport-sinks/
1•deobald•33m ago•0 comments

The Jock Programming Language

https://jock.org
2•Antibabelic•34m ago•1 comments

Leash by StrongDM

https://leash.strongdm.ai/
2•handfuloflight•37m ago•0 comments

GLM-Image: High-Fidelity Image Generation

https://glmimage.com
2•sarkory•41m ago•1 comments

Why do so many students have ADHD?

https://unherd.com/2026/01/why-do-so-many-students-have-adhd/
3•jnord•44m ago•0 comments

Show HN: Soulcaster – Cluster feedback, spin up an agent to fix it

https://www.soulcaster.dev/
1•codecracker3001•51m ago•0 comments

What Will Work (and Won't) in SaaS in 2026:- Lessons from Building 100 Tools

https://digiwares.xyz/blog/saas-2026-predictions
3•digi_wares•55m ago•1 comments

Locksport Network Directory

https://locksport.net/
2•memoriesofsmell•55m ago•1 comments

Warmer climate, spicier food. But which country is the spiciest?

https://bigthink.com/strange-maps/temperature-spiciness-spectrum/
2•thunderbong•58m ago•0 comments

My Conversation with Stacey Abrams

https://snyder.substack.com/p/live-with-professor-timothy-snyder
1•hkhn•59m ago•0 comments

China may crack down on "Singapore-washed" tech companies

https://www.axios.com/2026/01/13/china-meta-manus-singapore
2•doppp•1h ago•0 comments

Ancient Rome meets modern technology

https://apnews.com/article/italy-palatine-hill-livestream-tours-emperor-frescoes-e63327f43424e125...
1•frm88•1h ago•1 comments

New Physics Paper: Resolving the Hubble Tension [pdf]

https://github.com/localtimeacceleration/LTA/blob/main/lta_paper.pdf
1•localtimeaccel•1h ago•1 comments

Apple Creator Studio

https://www.apple.com/apple-creator-studio/
1•aenean•1h ago•1 comments