frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: OpenEvolve – open-source implementation of DeepMind's AlphaEvolve

4•codelion•4h 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!

Show HN: A Simple Server to Match Long/Lat to a TimeZone

https://github.com/LittleGreenViper/LGV_TZ_Lookup
2•ChrisMarshallNY•2m ago•0 comments

South Korea's Digital Regulation Proposal Sparks U.S. Pushback

https://www.lawfaremedia.org/article/south-korea-s-digital-regulation-proposal-sparks-u.s.-pushback
2•EA-3167•5m ago•0 comments

Evaluating the Impact of Generative AI on Learning Outcomes in Nigeria

https://documents.worldbank.org/en/publication/documents-reports/documentdetail/en/099548105192529324
1•tomrod•5m ago•0 comments

Harnessing the Universal Geometry of Embeddings

https://arxiv.org/abs/2505.12540
1•jxmorris12•7m ago•0 comments

Apple F**Ks Around with Court Order, Finds Out

https://www.thebignewsletter.com/p/apple-fks-around-with-court-order
1•htunnicliff•7m ago•0 comments

KrebsOnSecurity Hit with Near-Record 6.3 Tbps DDoS

https://krebsonsecurity.com/2025/05/krebsonsecurity-hit-with-near-record-6-3-tbps-ddos/
2•todsacerdoti•7m ago•0 comments

LoRA's Limitations: Head-to-Head with Full RL

https://osmosis.ai/blog/lora-comparison
4•KaseyZhang•11m ago•0 comments

VisionOS Godot Engine support merged

1•iFire•12m ago•0 comments

Shipwrecks from John Franklin Doomed Arctic Expedition Were Where Inuit Said

https://www.smithsonianmag.com/history/the-shipwrecks-from-john-franklins-doomed-arctic-expedition-were-exactly-where-the-inuit-said-they-would-be-180986627/
1•bookofjoe•13m ago•0 comments

Getting Kids Interested in Coding

https://martiancraft.com/blog/2025/05/kids-coding/
1•ingve•15m ago•0 comments

Autoselect the best AI model for any health question using HealthBench scores

https://twitter.com/yaroshipilov/status/1924926821201805625
1•shipilovya•16m ago•1 comments

Cheating Expert Answers Casino Cheating Questions [video]

https://www.youtube.com/watch?v=0QWP4IZOu0I
1•Bluestein•16m ago•0 comments

Developers: Is training taking a back seat?

https://www.techradar.com/pro/developers-is-training-taking-a-back-seat
2•mooreds•18m ago•0 comments

Arch Linux on Mac Pro 1.1/2.1

https://wiki.ponovo.rs/wiki/Linux_on_Mac_Pro_1.1/2.1
1•marxo•19m ago•0 comments

FastAPI and Next.js User Auth

https://www.david-crimi.com/blog/user-auth
1•Crimid01•19m ago•0 comments

Disable debuginfo to improve Rust compile times

https://kobzol.github.io/rust/rustc/2025/05/20/disable-debuginfo-to-improve-rust-compile-times.html
1•ingve•20m ago•0 comments

Things money can't buy – like happiness and better health

https://news.harvard.edu/gazette/story/2025/05/things-money-cant-buy-like-happiness-and-better-health/
2•gnabgib•20m ago•1 comments

System-wide Technology Outage

https://ketteringhealth.org/system-wide-technology-outage/
1•mattbsheets•24m ago•0 comments

Strands Agents, an Open Source AI Agents SDK

https://aws.amazon.com/blogs/opensource/introducing-strands-agents-an-open-source-ai-agents-sdk/
1•jaredwiener•25m ago•0 comments

Show HN: Copilot Audit – PDF->Excel with AI

https://copilot-audit.com/
1•miwend•27m ago•0 comments

Telekons: Some high performance code in Common Lisp

https://github.com/telekons
2•doener•29m ago•0 comments

The Netfarm Suite: a replicated, mostly-trustless object system

https://gitlab.com/cal-coop/netfarm
2•doener•30m ago•0 comments

Text reminders for court hearings can boost justice system efficiency

https://www.route-fifty.com/digital-government/2025/05/report-text-reminders-court-hearings-can-help-boost-justice-system-efficiency/405352/
3•gnabgib•30m ago•0 comments

Our Journey Through Linux/Unix Landscapes

https://blog.kalvad.com/our-journey-through-linux-unix-landscapes/
2•alekq•30m ago•0 comments

Cheers star George Wendt dies at 76

https://www.bbc.com/news/articles/cx2xx998102o
3•austinallegro•30m ago•1 comments

Jason Padgett

https://en.wikipedia.org/wiki/Jason_Padgett
2•sans_souse•31m ago•2 comments

Show HN: I made a tool to repurpose a TikTok video from another account

https://github.com/best-trading-indicator-tools/10XReach
2•Daveatt•32m ago•0 comments

Matrix Governing Board Elections 2025

https://matrix.org/foundation/governing-board-elections/2025/#nominees
1•doener•35m ago•0 comments

Why Good Programmers Use Bad AI

https://nmn.gl/blog/ai-and-programmers
3•namanyayg•36m ago•1 comments

Project Mariner – Browser-Based AI Agent

https://deepmind.google/models/project-mariner/
8•jenthoven•37m ago•0 comments