Install
Quick Start: GEPA on Banking77
1. Get Credentials
SYNTH_API_KEY- Backend authenticationENVIRONMENT_API_KEY- Task app authentication
2. Install Demo
3. Add Inference Key
4. Run
- Starts Banking77 task app on localhost
- Opens Cloudflare tunnel for secure access
- Submits GEPA optimization job
- Streams progress in real-time
- Saves best prompt when complete
Core Concepts
Task App
FastAPI wrapper around your code. Required endpoints:GET /- Health checkGET /info- Task metadataPOST /rollout- Execute evaluation
Tunnel
Cloudflare tunnel exposes local task app to Synth backend securely.Job
Training run submitted to Synth. Types:- Prompt Learning (GEPA, MIPRO) - Optimize prompts
- RL (GSPO) - Train model weights via reinforcement
- SFT - Train model weights on demonstrations
CLI Commands
| Command | Purpose |
|---|---|
synth-ai setup | Get credentials |
synth-ai demo <type> | Install demo (gepa, mipro, rl, sft) |
synth-ai deploy | Deploy task app |
synth-ai train | Submit training job |
synth-ai status | Check job status |
synth-ai eval | Run evaluations |
synth-ai artifacts | Download results |
synth-ai help | Get help |
Agent Integration
Claude Code, Codex, and other coding agents can use Synth directly:Next Steps
GEPA Quickstart
Detailed GEPA walkthrough
MIPRO Quickstart
Alternative prompt optimization
RL Quickstart
Train model weights with RL
SFT Quickstart
Fine-tune on demonstrations
References
- CLI Reference - All CLI commands
- SDK Reference - Programmatic access
- Training Config - Config parameters
- Task Apps - Build custom tasks