1. Install the SDK
2. Setup Credentials
SYNTH_API_KEY and ENVIRONMENT_API_KEY under ~/.synth_ai (and loads them into the current process environment).
To run models, add an inference provider key in the web app (for example, OpenAI) at https://usesynth.ai/keys.
3. Run GEPA
Run a minimal Banking77 optimization from a single script:Minimal Config
Key Parameters
| Parameter | Purpose |
|---|---|
rollout.budget | Total prompt evaluations (cost control) |
population.num_generations | Evolution iterations |
evaluation.seeds | Training dataset indices |
evaluation.validation_seeds | Held-out validation indices |