darwinian-evolver
CommunityEvolve prompts, regex, SQL, and code
Education & Research#prompt engineering#fitness evaluation#evolutionary optimization#regex generation#sql query tuning#LLM-driven mutation#overfitting detection
AuthordevMoez
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It automates iterative optimization of an LLM prompt, regex, SQL query, or small code snippet by using an evolutionary search loop driven by a fitness score.
Core Features & Use Cases
- Fitness-driven evolution: Improves a starting “organism” using an evaluator that scores outputs from measurable criteria.
- Failure-case guided mutation: Uses trainable failure cases to prompt the mutator to propose better artifacts.
- Overfitting detection: Supports holdout failure cases to catch solutions that only work on training inputs.
- Common use cases: Optimize prompt instructions for reliability, evolve regex patterns for extraction, tune SQL queries for correctness, or refine small code snippets validated by tests or benchmarks.
- Wrapper around upstream tool: Drives Imbue’s darwinian-evolver via CLI/subprocess so Titan does not import AGPL upstream code into its core.
Quick Start
Ask the skill to optimize a prompt by stating your target behavior, providing a scoring rule (or test cases), and giving a starting template like “Say {{ phrase }}”.
Dependency Matrix
Required Modules
python>=3.11openaijinja2pydanticuvgit
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: darwinian-evolver Download link: https://github.com/devMoez/titan/archive/main.zip#darwinian-evolver Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.