What problem does it solve?
This skill supports designing, running, and operationalizing optimization workflows for text artifacts using the GEPA optimize_anything API and the local optimize_anything Python library. It guides structuring artifacts as named sections, defining deterministic evaluators, configuring budgets, and managing transfer/generalization checks to avoid overfitting. It keeps decisions local to the workflow while pointing to deeper API guidance in the references directory for edge-case patterns and advanced configurations.
Core Features & Use Cases
- Represent artifacts as named, semantically meaningful sections (e.g., "system_prompt", "policy", "format_rules") to preserve structure and enable targeted reflection.
- Define an evaluator contract and ASI schema before spending budget, ensuring deterministic scoring and actionable diagnostics.
- Run iterative optimization with a seed_candidate, dataset, optional valset, objective, and a GEPAConfig composed from EngineConfig and ReflectionConfig (plus optional MergeConfig, RefinerConfig, and TrackingConfig).
- Support single-task, multi-task, and generalization workflows, including seedless modes and public preset factories, with emphasis on transfer-safe improvements.
- Consult the provided references for API patterns, evaluator templates, and ASI payload design to extend implementations.
Quick Start
Provide a seed_candidate and evaluator, set up a dataset and objective, and run the optimizer with a preset.