darwinian-evolver

Evolve prompts, regex, SQL, and code blocks with pluggable evaluators and mutators.

Updated May 11, 2026
One-click install
npx skills add https://github.com/jason660519/Project-Manager --skill darwinian-evolver-jason660519
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: darwinian-evolver
Source: https://github.com/jason660519/Project-Manager/tree/main/hermes-agent/optional-skills/research/darwinian-evolver
Command: npx skills add https://github.com/jason660519/Project-Manager --skill darwinian-evolver-jason660519

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jinja2, openai, darwinian_evolver, and includes scripts (resource) components.

What problem does it solve?

Darwinian Evolver provides an automated framework to evolve prompts, regex, SQL queries, or small code blocks using an LLM-driven evolutionary loop, enabling iterative improvement based on defined evaluators and mutators.

Core Features & Use Cases

  • Evolutionary optimization: drives exploration across candidate artifacts and automatically selects high-performing variants.
  • Pluggable evaluators & mutators: supports custom scoring and mutation strategies to tailor problems.
  • Research-ready tooling: integrates with OpenAI or OpenRouter providers for flexible experimentation, useful for prompt engineering, code optimization, and regex tuning.

Quick Start

Provide an initial artifact and run the evolution loop to let the mutator propose improvements over multiple iterations.

Frequently Asked Questions about darwinian-evolver

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically optimize LLM prompts and small code blocks?

You can automatically optimize LLM prompts and small code blocks by running an evolutionary loop that proposes improvements and selects high-performing variants. Darwinian Evolver drives this exploration using a pluggable evaluator and mutator chain across multiple iterations.

What is evolutionary optimization for prompt engineering?

Evolutionary optimization for prompt engineering is an automated process where an LLM-driven loop mutates candidate prompts and scores them against custom evaluators. This mechanism enables iterative improvement by automatically selecting the highest-performing prompt variants.

Does the evolutionary loop work with OpenRouter and OpenAI providers?

Yes, the evolutionary loop works with OpenRouter and OpenAI providers. The framework requires Python 3 and integrates with these compatible LLM providers to drive the mutator chain and generate optimized artifacts.

How do I tune regex and SQL queries using an evolutionary loop?

You can tune regex and SQL queries using an evolutionary loop by providing an initial artifact as input. The framework applies pluggable mutators to propose variations and evaluators to score them, automatically selecting the most effective regex or SQL variants over multiple iterations.

Can I customize the scoring and mutation strategies for code optimization?

Yes, you can customize the scoring and mutation strategies for code optimization. The framework supports pluggable evaluators and mutators, allowing you to tailor custom scoring functions and mutation strategies to fit your specific optimization scenarios.

What are the limitations of using an LLM-driven evolutionary loop for optimization?

Limitations of using an LLM-driven evolutionary loop include the requirement for upstream tooling dependencies, Python 3, and compatible LLM provider access. It is designed for small code blocks and prompts, meaning large-scale software optimization is outside its intended scope.