Getting started
You’ll deploy (or run) a task app, submit a GEPA job, and read the best prompt.Prerequisites
SYNTH_API_KEYset in your environment- A task app that implements
/health,/task_info,/rollout - Python 3.11+ and
uv(or your preferred virtualenv)
1) Install the SDK
2) Run a task app
If you already have a task app running, skip this step. Otherwise, run one locally and expose it with a tunnel:3) Create a GEPA config
Creategepa.toml:
4) Submit the job
Next steps
- Run MIPRO online:
/prompt-optimization/mipro - Build a task app:
/sdk/localapi/overview - Use tunnels:
/sdk/tunnels/synthtunnel
Walkthroughs (optional)
Prefer a guided walkthrough? Start here:GEPA Banking77 Walkthrough
Step-by-step prompt optimization on the Banking77 intent classification dataset.