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.

I'm #1 on Google thanks to AI bullshit [video]

https://www.youtube.com/watch?v=6uKZ84zwJI0
1•basilikum•1m ago•0 comments

Gurning contests

https://en.wikipedia.org/wiki/Gurn
1•petethomas•4m ago•0 comments

eBPF on Hard Mode

https://feyor.sh/blog/ebpf-on-hard-mode/
1•rossbing•4m ago•0 comments

Show HN: Quill – A system-wide tech dictionary for the AI coding era

https://github.com/uptakeagency/quill
1•c3nx•6m ago•0 comments

Securing AI Agents: Architecture for Systems You Can't Control

https://medium.com/@epappas/securing-ai-agents-an-architecture-for-systems-you-cant-fully-control...
1•hevalon•6m ago•0 comments

Lobste.rs Migrates from MariaDB to SQLite

https://lobste.rs/s/oz7ebk
1•zdw•7m ago•0 comments

Trump Threatens Netflix with 'Consequences' over Rice Board Seat

https://www.bloomberg.com/news/articles/2026-02-21/trump-threatens-netflix-with-consequences-over...
3•petethomas•7m ago•0 comments

Lobste.rs Migrates from MariaDB to SQLite

https://lobste.rs/s/oz7ebk/lobste_rs_migrates_from_mariadb_sqlite
3•wa008•8m ago•0 comments

How and Why Local LLMs Perform on Framework 13 AMD Strix Point

https://msf.github.io/blogpost/local-llm-performance-framework13.html
1•todsacerdoti•9m ago•0 comments

Cisco set to release hypervisor as VMware alternative

https://www.theregister.com/2026/02/16/cisco_nfvis_for_uc_hypervisor/
1•walterbell•9m ago•0 comments

Show HN: Agentic Gatekeeper – AI pre-commit hook to auto-patch logic errors

https://github.com/revanthpobala/agentic-gatekeeper
1•revanth1108•10m ago•0 comments

Open AI Letter to Congress February 12 2026

https://assets.bwbx.io/documents/users/iqjWHBFdfxIU/rRmql_jJcxb4/v0
1•thread_id•12m ago•0 comments

The Future of Math Research in the Age of AI

https://siliconreckoner.substack.com/p/the-future-of-math-research-in-the
4•jbkcc•12m ago•0 comments

CanvaSub – generate styled subtitles and render ready-to-post short videos

https://canvasub.com
1•KhaledAlam•12m ago•1 comments

What happens when your creative tools start thinking with you

https://twitter.com/kickingkeys/status/2025324829717467612
2•kickingkeys•12m ago•0 comments

Steinberger, Karpathy et al. on the negativity of Hacker News

https://twitter.com/steipete/status/2025334681047015791
1•mellosouls•14m ago•1 comments

Show HN: I built a better way to track regulatory action

https://frtracker.app
2•tldrthelaw•15m ago•1 comments

Europe's Cyber Bullets Can't Replace Political Will

https://www.lawfaremedia.org/article/europe%27s-cyber-bullets-can%27t-replace-political-will
1•thread_id•16m ago•1 comments

Ballgame.com The worlds first sports lottery platform

https://ballgame.com/
1•iamlaurent•18m ago•0 comments

Show HN: Ghostty and Watercolors

http://jrmeyer.github.io/misc/2026/02/21/ghostty-watercolors.html
2•_josh_meyer_•19m ago•0 comments

How I use Claude Code: Separation of planning and execution

https://boristane.com/blog/how-i-use-claude-code/
2•vinhnx•19m ago•0 comments

Trump Demeans Himself as He Attacks the Supreme Court

https://www.wsj.com/opinion/donald-trump-supreme-court-tariffs-ieepa-john-roberts-brett-kavanaugh...
4•petethomas•27m ago•0 comments

Are compilers deterministic?

https://blog.onepatchdown.net/2026/02/22/are-compilers-deterministic-nerd-version/
7•fragmede•27m ago•0 comments

The Reasonable Conclusions

https://johnfn.substack.com/p/the-reasonable-conclusions
1•johnfn•29m ago•0 comments

Interactive Tools for Gaussian Splat Selection with AI and Human in the Loop

https://arxiv.org/abs/2602.10173
1•PaulHoule•29m ago•0 comments

What I Learned Using Local Vision Models for Scraping

https://seanneilan.com/posts/scraping-target-with-qwen/
2•sneilan1•30m ago•1 comments

Intel "Nova Lake-S" Coming in 2027, CES Launch Alongside AMD "Olympic Ridge"

https://www.techpowerup.com/346613/intel-nova-lake-s-coming-in-2027-ces-launch-alongside-amd-olym...
1•Tuldok•30m ago•0 comments

Hackers Expose Age-Verification Software Powering Surveillance Web

https://www.therage.co/persona-age-verification/
5•speckx•37m ago•0 comments

End-to-End Test-Time Training for Long Context

https://arxiv.org/abs/2512.23675
3•handfuloflight•38m ago•0 comments

Show HN: Omni-Glass – Rust app that turns screen pixels into MCP tool calls

https://github.com/goshtasb/omni-glass
3•goshtasb•41m ago•0 comments