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.

Show HN: Ansible TUI – a zero-dependency terminal UI for running playbooks

https://github.com/congzhangzh/ansible-tui
1•congzhangzh•45s ago•0 comments

Building front end UIs with Codex and Figma

https://developers.openai.com/blog/building-frontend-uis-with-codex-and-figma/
1•davidbarker•51s ago•0 comments

Show HN: A Write Barrier That Blocks Structural Collapse in LLM Reasoning

https://github.com/PersistentVlad/persistent-reasoning-architecture/tree/main/appendix/A2_hierogl...
1•persistentVlad•3m ago•1 comments

DMS-100.net: The SL-100 Story

http://www.dms-100.net/telephony/nortel/dms-100/story/
1•john_strinlai•6m ago•0 comments

Show HN: Talkatui – WWE style live commentary for your AI coding sessions

https://github.com/vignesh07/talkatui
1•eigen-vector•7m ago•0 comments

Interview with Øyvind Kolås, GIMP developer

https://www.gimp.org/news/2026/02/22/%C3%B8yvind-kol%C3%A5s-interview-ww2017/
2•ibobev•7m ago•0 comments

Ask HN: Is LLM training infra still broken enough to build a company around?

2•harsh020•7m ago•1 comments

New York sues Valve for enabling "illegal gambling" with loot boxes

https://arstechnica.com/gaming/2026/02/new-york-sues-valve-for-enabling-illegal-gambling-with-loo...
2•strongpigeon•8m ago•0 comments

Hyperbolic Versions of Latest Posts

https://www.johndcook.com/blog/2026/02/25/hyperbolic-versions-of-latest-posts/
1•ibobev•8m ago•0 comments

Anthropic acquires Vercept to advance Claude's computer use capabilities

https://www.anthropic.com/news/acquires-vercept
2•tzury•9m ago•0 comments

Danske Bank adjusts the organisation with role redundancies

https://danskebank.com/news-and-insights/news-archive/press-releases/2026/pr26022026
1•janisz•10m ago•0 comments

How AI skills are quietly automating my workday

https://medium.com/@ricardskrizanovskis/how-ai-skills-are-quietly-automating-my-workday-220a1b7b4707
3•rkrizanovskis•10m ago•1 comments

DeepSeek withholds latest AI model V4 from US chipmakers including Nvidia

https://www.business-standard.com/technology/tech-news/deepseek-withholds-latest-ai-model-v4-from...
2•iamnothere•15m ago•0 comments

Exercise-induced activation of steroidogenic factor-1 neurons improves endurance

https://www.cell.com/neuron/fulltext/S0896-6273(25)00989-4
2•PaulHoule•18m ago•0 comments

The Linux Memory Manager

https://nostarch.com/linux-memory-manager
5•teleforce•19m ago•0 comments

Fueling Open Source with Vibes and Money

https://openpath.quest/2026/fueling-open-source-with-vibes-and-money/
4•whit537•20m ago•0 comments

How to Build Your Own Quantum Computer

https://physics.aps.org/articles/v19/24
2•bikenaga•20m ago•0 comments

Show HN: Open Graph Tag Checker

https://smmall.cloud/tools/open-graph-checker
1•a_band•20m ago•0 comments

Cryptography Engineering Has an Intrinsic Duty of Care

https://soatok.blog/2026/02/25/cryptography-engineering-has-an-intrinsic-duty-of-care/
5•some_furry•20m ago•0 comments

Nano Banana 2

https://nanobanana2-ai.io/
2•sinpor1•21m ago•0 comments

Ask HN: Designing TTL for a B-tree KV store – feedback on dual-index approach

https://github.com/hash-anu/snkv/discussions/41
2•swaminarayan•21m ago•1 comments

You're shipping faster than ever. Are you building the right thing?

https://www.clairytee.com/faster-wrong
2•StnAlex•22m ago•0 comments

The Limits of Legal Control in Technical Systems

https://leastauthority.com/blog/the-limits-of-legal-control-in-technical-systems/
1•iamnothere•22m ago•0 comments

Announcing new Cloud PC devices designed for Windows 365

https://blogs.windows.com/windowsexperience/2026/02/26/announcing-new-cloud-pc-devices-designed-f...
1•el_duderino•22m ago•0 comments

The Pentagon Feuding with an AI Company Is a Bad Sign

https://foreignpolicy.com/2026/02/25/anthropic-pentagon-feud-ai/
5•Jimmc414•23m ago•1 comments

AI buying agents concentrate demand on 2-3 products and ignore the rest

https://arxiv.org/abs/2508.02630
1•dmpyatyi•24m ago•1 comments

Perplexity Computer

https://www.perplexity.ai/hub/blog/introducing-perplexity-computer
2•shadow28•24m ago•0 comments

The Last Question

https://users.ece.cmu.edu/~gamvrosi/thelastq.html
2•simonebrunozzi•24m ago•0 comments

Version of "I Have Nothing to Hide"

https://theprivacydad.com/the-best-version-of-i-have-nothing-to-hide/
2•Brajeshwar•25m ago•0 comments

Show HN: Mthds – Beyond skills: a typed DSL for executable AI methods

https://mthds.ai/0.1.2/
10•lchoquel•25m ago•0 comments