nowfound

AI · May 20, 2025

OO

OpenEvolve – open-source implementation of DeepMind's AlphaEvolve

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…

What it does

In the maker’s words, at launch

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:&#x2F;&#x2F;github.com&#x2F;codelion&#x2F;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:&#x2F;&#x2F;github.com&#x2F;codelion&#x2F;openevolve.git cd openevolve pip install -e . # Run the function minimization example python openevolve-run.py examples&#x2F;function_minimization&#x2F;initial_program.py \ examples&#x2F;function_minimization&#x2F;evaluator.py \ --config examples&#x2F;function_minimization&#x2F;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!

Does the same job

all alternatives →
  • DeepSeek-R1-05282025 · ▲218

    New open-source LLM that rivals o3 in coding & reasoning

  • GLM-5Feb 2026 · ▲154

    Open-weights model for long-horizon agentic engineering

  • Clevrr Computer2024 · ▲195

    Computer use but with OpenAI and Gemini models

  • DeepSeek-V3.2Dec 2025 · ▲198

    Reasoning-first models built for agents

  • DeepSeek V3.2Dec 2025 · ▲55

    Open-Source LLM matching GPT-5

  • Open AgentsApr 2026 · ▲161

    Agents that ship real code

More ai this month

the category →
  • I trained a 125M-parameter transformer to autocomplete piano performances in real time (~108 notes&#x2F;sec on an iPhone 15). The idea is basically GitHub Copilot or Tabnine, except instead of prompting it with code, you prompt it by playing a few notes on a MIDI piano. The model then continues what you played, entirely on-device. The app is free if anyone wants to try it. Happy to answer questions about the model, training, Core ML, or the many things that didn't work.

    AI · 17d ago · simedw.com

  • Astute585

    Automate your B2B brand going viral, with new media creators

    AI · 18d ago · company-app.joinastute.com

  • Grok Bot547

    AI teammates that you can give real work to

    AI · 25d ago · x.ai

  • Hey HN, Henry from Cactus here! We previously released Cactus Needle, a 14MB agentic LLM for tool call, device use, and structured extraction for phones, wearables, smart homes, small robots and microcontrollers. We got really great feedback here, and have now incorporated the suggestions to release Needle 2. The whole model is a single 14MB binary that runs a full session in 28MB of RAM; 45m parameters at 2bit compression. Needle hits 500 tokens&#x2F;sec decode speed on a Raspberry Pi 5, sits between 400-1,500 tokens&#x2F;sec on VR devices like Meta Quest 3S and Apple Vision Pro, and ranges…

    AI · 26d ago · cactuscompute.com

  • Make your software self-driving

    AI · 30d ago · coldtea.ai

  • Soloop472

    Approval-first Agent OS for solo founders

    AI · 30d ago · soloop.io

Launched alongside, May 2025

the whole month →