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

Run Clawdbot/Moltbot on Cloudflare with Moltworker

https://blog.cloudflare.com/moltworker-self-hosted-ai-agent/
2•ghostwriternr•58s ago•0 comments

Discarding the Shaft-and-Belt Model of Software Development

https://secondthoughts.ai/p/the-new-model-of-software-development
1•gk1•2m ago•0 comments

A simple blood test can predict Crohn's disease years before symptoms appear

https://medicalxpress.com/news/2026-01-simple-blood-crohn-disease-years.html
1•PaulHoule•2m ago•0 comments

Show HN: Dotenv-gad – typed, validated .env with CLI and grouping

https://github.com/kasimlyee/dotenv-gad
1•kasimlyee•3m ago•0 comments

Show HN: Export contacts from Outlook for Mac (.olm) (local, open source)

https://github.com/njoylab/outlook-contacts-exporter
1•emiliano•4m ago•0 comments

AI-dot-txt – generate ai.txt, llms.txt, robots.txt, and humans.txt

https://www.npmjs.com/package/@profullstack/ai-dot-txt
1•keepamovin•4m ago•0 comments

Show HN: Revise – collaborative documents with LaTeX support

https://revise.io/docs/oury1n34-b9g42wkt
1•artursapek•4m ago•0 comments

Thermodynamic Computing Slashes AI-Image Energy Use

https://spectrum.ieee.org/thermodynamic-computing-for-ai
1•pseudolus•6m ago•0 comments

Operator of Manga Piracy Site Criminally Investigated in China After Complaint

https://torrentfreak.com/manga-piracy-giant-bato-to-china-coda-complaint/
1•iamnothere•6m ago•1 comments

Show HN: AlphaGenome Dashboard – Analyze Your Genome with DeepMind AlphaGenome

https://github.com/dandinu/alphagenome-dashboard
1•dandinu•7m ago•0 comments

Swift bricks to be installed on all new buildings in Scotland as MSPs back law

https://www.theguardian.com/environment/2026/jan/28/swift-bricks-to-be-installed-in-all-new-build...
1•bookofjoe•8m ago•0 comments

Approvals Are a Security Wet Blanket for AI Agents

https://tiberriver256.github.io/ai%20and%20technology/approvals-are-a-security-wet-blanket-for-ai...
1•speckx•9m ago•0 comments

Stop screwing around with agent orchestration, your bottleneck is validation

https://sibylline.dev/articles/2026-01-27-stop-orchestrating-and-start-validating/
1•CuriouslyC•10m ago•0 comments

After Winter Storm, New York Uses Hot Tubs to Melt the Snow

https://www.nytimes.com/2026/01/28/nyregion/new-york-hot-tubs-snow-storm.html
1•bobchadwick•11m ago•0 comments

Best Gas Masks

https://www.theverge.com/policy/868571/best-gas-masks
6•giraffe_lady•11m ago•0 comments

NASA Detects Most Powerful Eruption Ever on Jupiter's Volcanic Moon Io

https://gizmodo.com/nasa-detects-most-powerful-eruption-ever-on-jupiters-volcanic-moon-io-2000714963
1•pseudolus•13m ago•0 comments

GLM-4.6V: Open-Source Multimodal Models with Native Tool Use

https://z.ai/blog/glm-4.6v
1•tosh•13m ago•0 comments

MCP, Skills, and Agents

https://cra.mr/mcp-skills-and-agents/
1•saikatsg•13m ago•0 comments

Viska: On-device meeting transcription with Whisper and Llama (no cloud)

https://viskalocal.com/
1•yoyitotv•14m ago•1 comments

Show HN: InterviewHUD – Real-time interview copilot for Zoom (Electron/Gemini)

https://www.interviewhud.com/
1•carlossouzarj•14m ago•0 comments

Qwen3-ASR and Qwen3-ForcedAligner Is Now Open Sourced

https://qwen.ai/blog?id=qwen3asr
2•pretext•15m ago•0 comments

On Technologies vs. Commodities

https://www.construction-physics.com/p/on-technologies-vs-commodities
1•chmaynard•15m ago•0 comments

ICE violated at least 96 court orders in January

https://www.fox9.com/news/ice-violated-least-96-court-orders-january
3•judahmeek•15m ago•1 comments

Todoist Actual Backup

https://www.bagaag.com/todoist-actual-backup/
1•vanburen•17m ago•0 comments

AI systems asked 25 questions about their limits. 143 Clones – 2 Stars Why?

https://github.com/moketchups/BoundedSystemsTheory
1•MoKetchups•19m ago•1 comments

Moltcraft – Pixel-art dashboard for AI agents

https://moltcraft.xyz/
1•boolkeys•19m ago•1 comments

We Sandbox AI Agents in Production

https://gobii.ai/blog/how-we-sandbox-ai-agents-in-production/
1•ai-christianson•19m ago•1 comments

Network Stats for Q4 2025: Neocloud Traffic Trends

https://www.backblaze.com/blog/network-stats-for-q4-2025-neocloud-traffic-trends/
1•HieronymusBosch•20m ago•0 comments

How to explain Generative AI in the classroom

https://dalelane.co.uk/blog/?p=5847
1•thinkingaboutit•20m ago•0 comments

If you're one of the 16,000 Amazon employees getting laid off, read this

https://www.theregister.com/2026/01/29/amazon_layoffs/
3•dijksterhuis•20m ago•0 comments