synth-ai) provides commands for training, deploying, and testing your agent task apps.
Installation
Core Commands
| Command | Description |
|---|---|
synth-ai setup | Configure API keys and environment |
synth-ai deploy | Deploy task apps locally (uvicorn) or to Modal |
synth-ai train | Submit SFT or RL training jobs |
synth-ai smoke | Smoke-test a task app |
Quick Start
- Setup credentials
- Deploy your task app locally
- Smoke-test your task app
- Train a model
Configuration Files
Most commands accept a--config flag pointing to a TOML configuration file:
SFT Config
RL Config
[smoke] section is only used by the synth-ai smoke command and is ignored by training jobs.
Environment Variables
The CLI respects these environment variables (usually set bysynth-ai setup):
SYNTH_API_KEY- Your Synth API keyTASK_APP_URL- Default task app URLENVIRONMENT_API_KEY- Task app API key (X-API-Key header)OPENAI_API_KEY- For OpenAI-based mock inference
.env files: