whatisgithub

What is llm4ad_next?

optima-cityu/llm4ad_next — explained in plain English

Analysis updated 2026-05-18

24PythonAudience · researcherComplexity · 4/5LicenseSetup · moderate

In one sentence

A research platform that uses AI language models together with an evolutionary process to automatically write and improve algorithm code.

Mindmap

mindmap
  root((LLM4AD Next))
    What it does
      Generate candidate code
      Evolve over cycles
      Keep best results
    Tech stack
      Python
      Ray
      OpenAI
      Anthropic
    Use cases
      Algorithm design
      Code block ranking
      Distributed experiments
    Audience
      Researchers
      Engineers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Automatically evolve and improve an algorithm's code over many generations.

USE CASE 2

Get an assessment of whether a specific code block is worth trying to evolve.

USE CASE 3

Scan a whole project to rank which code blocks would benefit most from evolution.

USE CASE 4

Distribute large algorithm evolution experiments across multiple machines with Ray.

What is it built with?

PythonRayOpenAI APIAnthropic API

How does it compare?

optima-cityu/llm4ad_next0311119/free_registertool18597990650-lab/multi-agent-game
Stars242424
LanguagePythonPythonPython
Setup difficultymoderatehardmoderate
Complexity4/54/53/5
Audienceresearcherdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Needs Python 3.10 or newer and an API key for OpenAI, Anthropic, or a compatible provider, a no-install online demo is also available.

Use, modify, and redistribute freely, including commercially, as long as you keep the copyright notice and do not use the authors' names to promote derived products.

So what is it?

LLM4AD_Next is a research platform that uses AI language models to automatically write and improve algorithms. The idea is to combine two techniques: asking a language model to generate candidate solutions to a problem, then running those solutions through a process inspired by biological evolution, where the better-performing ones are kept and further refined over many cycles. The goal is to reduce the manual work that researchers and engineers normally put into designing algorithms by hand. The platform provides a web interface and a command-line tool. A first-time user can start a conversation with a built-in assistant that asks about the problem they are trying to solve, then generates the necessary code files to set up a run. For users who already have a project, the assistant can inspect what is already there and only generate the missing pieces. Once a run is underway, the system repeatedly asks the language model to suggest improvements to a chosen section of code, evaluates how well each version performs, and keeps the best results. Two additional tools help users decide which part of their code is worth trying to improve. One, called the Evolve-Block Advisor, takes a specific section of code and a stated goal and gives back an assessment of whether evolving that block is likely to help, along with concerns and suggestions. The other, called the Evolve-Block Recommender, looks at an entire project folder and ranks the candidate code blocks most likely to benefit from the evolution process. The platform connects to AI providers including OpenAI, Anthropic, and compatible alternatives, configured through a simple settings file. It also supports distributing large experiments across multiple machines using a framework called Ray. Results are saved automatically so a run can be resumed if it is interrupted. LLM4AD_Next is built in Python and requires version 3.10 or newer. An online demo is available that needs no installation or API key, intended for trying the platform before setting it up locally. The project is licensed under BSD-3-Clause.

Copy-paste prompts

Prompt 1
Start a conversation with LLM4AD_Next's assistant to set up a run for optimizing my scheduling algorithm.
Prompt 2
Use the Evolve-Block Advisor to tell me whether this function is worth evolving.
Prompt 3
Run the Evolve-Block Recommender across my project to rank which code blocks to improve first.
Prompt 4
Help me configure LLM4AD_Next to distribute an experiment across multiple machines with Ray.

Frequently asked questions

What is llm4ad_next?

A research platform that uses AI language models together with an evolutionary process to automatically write and improve algorithm code.

What language is llm4ad_next written in?

Mainly Python. The stack also includes Python, Ray, OpenAI API.

What license does llm4ad_next use?

Use, modify, and redistribute freely, including commercially, as long as you keep the copyright notice and do not use the authors' names to promote derived products.

How hard is llm4ad_next to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is llm4ad_next for?

Mainly researcher.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.