GEPA Optimization
GEPA (Generative Evolutionary Prompt Approximation) is Kelet’s validated prompt improvement engine. Where a prompt patch is a single LLM-generated suggestion, GEPA runs an iterative search — testing variations, measuring quality against your real failure patterns, and converging on a fix with evidence it works.
How it works
Section titled “How it works”- Kelet takes the root cause identified for an issue and the failing session traces
- Generates candidate prompt variations
- Evaluates each variation against your synthetic evaluators and historical signals
- Selects the best performer, generates new variations from it, and repeats
- Returns the winning prompt with before/after quality metrics
The result isn’t a suggestion — it’s a validated improvement with a measurable quality delta.
Running GEPA
Section titled “Running GEPA”- Open Findings in the console and select a Finding
- Click the chevron on the Prompt Patch split button → select GEPA Optimization
- Review the intro — GEPA explains what it will fix and how it measures success
- Click Start Optimization
- Watch the live progress — each generation shows the current best score
- Review the results: before/after metrics, the optimization journey, and the winning prompt
- Copy the prompt and apply it to your agent
What GEPA needs
Section titled “What GEPA needs”GEPA uses your synthetic evaluators to measure quality during the search. The more relevant your evaluators are to the failure mode, the better the result. If you haven’t set up synthetic evaluators yet, do that first — see Synthetic Signals.
GEPA vs. prompt patch
Section titled “GEPA vs. prompt patch”| Prompt patch | GEPA | |
|---|---|---|
| Speed | Instant | Minutes |
| Method | Single LLM suggestion | Evolutionary search |
| Validation | None | Tested against your evaluators |
| Best for | Quick fix to explore | High-confidence fix to deploy |