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

The Mythos Threshold

https://joereis.substack.com/p/the-mythos-threshold
1•gmays•2m ago•0 comments

We broke the O(2^N) barrier to compute AI consciousness (Phi)

https://github.com/InductivityAI/Phi-Scanner-1/
1•Robin_De•4m ago•1 comments

Vibe Coding doesn't democratize software engineering – it democratizes liability

https://widal.substack.com/p/vibe-coding-doesnt-democratize-software
2•niwid•9m ago•0 comments

Europe should regulate Big Tech instead of banning kids from social media

https://www.politico.eu/article/europe-should-stand-up-to-big-tech-instead-of-imposing-social-med...
2•pabs3•12m ago•1 comments

An open source CMS/Indexer for TCGs

https://github.com/maelswarm/tcg
1•mnmnmaaa•15m ago•0 comments

The FCC just saved Netgear from its router ban for no obvious reason

https://www.theverge.com/tech/911888/netgear-router-ban-conditional-approval
7•HotGarbage•16m ago•2 comments

Quetta Browser: Chromium browser for Android, iOS supporting Chrome extensions

https://www.quetta.net/
1•thunderbong•17m ago•0 comments

Show HN: An edge MCP file system with a 50ms undo button for AI agents

https://mcp.undisk.app
1•adlkiarash•18m ago•2 comments

Anthropic Revises Claude Enterprise Pricing Structure

https://letsdatascience.com/news/anthropic-revises-claude-enterprise-pricing-structure-f3022a32
1•handfuloflight•18m ago•0 comments

Show HN: AI connects your health data after a supplement nearly killed me racing

https://vitalityaihealth.com
2•Kevin_VAI•28m ago•1 comments

Muster – Multi-agent product team for Claude Code, built on <.md> files

https://github.com/sandhuka/muster-ai
2•kanwarsandhu•32m ago•0 comments

Elon Musk's xAI Sued by NAACP over Memphis Data Center

https://www.wsj.com/tech/elon-musks-xai-sued-by-naacp-over-memphis-data-center-5c4e793d
1•fortran77•34m ago•1 comments

Large or bright satellite constellations: Effects on observations

https://arxiv.org/abs/2604.09427
2•CharlesW•36m ago•0 comments

Show HN: Terminal-Wrench, a dataset of 331 realistic hackable environments

https://github.com/few-sh/terminal-wrench
4•neversupervised•41m ago•1 comments

Nvidia should be 'shaking in their boots' as quantum computing battles AI GPUs

https://finance.yahoo.com/news/d-wave-ceo-says-nvidia-should-be-shaking-in-their-boots-as-quantum...
5•mgh2•41m ago•1 comments

Authorization for LLM Tool Schemas: Formal Model with Noninterference Guarantees [pdf]

https://raw.githubusercontent.com/AndyGauge/andygauge.github.io/master/publication/noninterferenc...
1•andygauge•42m ago•0 comments

Speech-Driven Spatial Externalization for Co-Located Collaboration in AR

https://arxiv.org/abs/2603.20199
1•PaulHoule•54m ago•0 comments

Now Available: WireGuard, Wi‑Fi Direct, OpenRISC, and More

https://www.zephyrproject.org/zephyr-rtos-4-4-now-available-wireguard-wi-fi-direct-openrisc-and-m...
1•rettichschnidi•58m ago•1 comments

Building a Tax Document Assistant with the Ragie Skill

https://www.ragie.ai/blog/building-a-tax-document-assistant-with-the-ragie-skill
2•bobremeika•58m ago•0 comments

The Infrastructure Nobody's Building for the Agent Economy

https://vibeagentmaking.com/blog/the-infrastructure-nobodys-building-for-the-agent-economy/
1•vibeagentmaking•59m ago•0 comments

SDL3 Port to DOS

https://bsky.app/profile/dosnostalgic.bsky.social/post/3mjfdos7iok2o
2•birdculture•1h ago•0 comments

Mark Zuckerberg reportedly working on AI clone of himself

https://www.tomshardware.com/tech-industry/artificial-intelligence/mark-zuckerberg-reportedly-wor...
6•pseudolus•1h ago•3 comments

The Biggest Advance in AI Since the LLM

https://cacm.acm.org/blogcacm/the-biggest-advance-in-ai-since-the-llm/
2•pseudolus•1h ago•0 comments

Don't feel like exercising? Maybe it's the wrong time of day for you

https://www.bbc.com/news/articles/cd6lzpxwx50o
2•tagawa•1h ago•0 comments

A new wave of immunotherapy is eliminating cancers

https://www.bbc.com/future/article/20260410-how-a-new-wave-of-immunotherapy-is-eliminating-cancers
5•blondie9x•1h ago•0 comments

The Last Lights of Chernobyl's Skala Computer – Computer Recreation

https://www.youtube.com/watch?v=8_azCaCShy8
1•nar001•1h ago•1 comments

CRISPR takes a bold leap toward silencing Down syndrome's extra chromosome

https://medicalxpress.com/news/2026-04-crispr-bold-silencing-syndrome-extra.html
4•pseudolus•1h ago•0 comments

AWS announces general availability of AWS Interconnect – multicloud

https://aws.amazon.com/about-aws/whats-new/2026/04/aws-announces-ga-AWS-interconnect-multicloud/
2•dabinat•1h ago•0 comments

1B payments per day ft TigerBeetle, Postgres

https://backend.how/posts/1b-payments-per-day/
3•pg_2023•1h ago•0 comments

Best AI Product Adoption Software in 2026

https://medium.com/@christian_74997/best-product-adoption-software-in-2026-10-tools-compared-3959...
2•pancomplex•1h ago•0 comments