Discover and explore top open-source AI tools and projects—updated daily.
imbue-aiEvolutionary framework for optimizing code and prompts
Top 88.0% on SourcePulse
This framework applies Darwinian evolution principles to iteratively improve code and prompts, targeting engineers and researchers. It offers a resilient mechanism for automated optimization, even with imperfect evaluators or mutators, driving progress through selection and variation.
How It Works
This project evolves a population of "organisms" (solutions like code or prompts) over iterations. In each cycle, promising parents are selected, mutated, and evaluated. The best organisms survive to reproduce, refining the solution. Inspired by Darwin Goedel Machines, it prioritizes optimization over guaranteed self-improvement. Its key strength lies in its resilience, allowing progress even with noisy evaluators or unreliable mutators, provided successes are identifiable.
Quick Start & Requirements
Run a simple example with: uv run darwinian_evolver parrot --num_iterations 3 --output_dir /tmp/parrot_output. This logs results to /tmp/parrot_output (including results.jsonl, snapshots/) and provides lineage_visualizer.html for history inspection. Adapting the framework requires defining custom Problem, Organism, Evaluator, and Mutator classes.
Highlighted Details
ancestors or neighborhood-N.Maintenance & Community
No specific details on contributors, sponsorships, or community channels (e.g., Discord, Slack) were found in the provided README content.
Licensing & Compatibility
The license type and any compatibility notes for commercial use or closed-source linking are not specified in the provided README content.
Limitations & Caveats
Batch mutations and post-mutation verification can reduce population diversity, risking local optima or overfitting. Post-mutation verification also requires consistent evaluation results and may hinder progress on sequential mutation problems. Implementing custom Problem components demands significant development effort.
2 days ago
Inactive
CarperAI
SakanaAI
gepa-ai
algorithmicsuperintelligence