deploy command to run locally with uvicorn or deploy to Modal.
For detailed CLI flag references, see Run Task Apps Locally, Run Task Apps on Modal, Deploy Task Apps, and Run Evaluations.
Local development
/rollout responses look good and traces contain the information you need.
Deploy to Modal
https://my-task-app.modal.run). Use the same .env file so the deploy command can forward ENVIRONMENT_API_KEY.
The CLI loads this .env automatically if you previously ran uvx synth-ai setup; only reach for --env-file when you need to override the detected values.
Managed secrets
Modal secrets keep your environment key out of the container image:.env, the Synth deploy command encrypts ENVIRONMENT_API_KEY before shipping it to Modal.
Post-deploy checklist
services.task_url).
Updating deployments
Whenever you change prompts, reward shaping, or default models:Testing Modal deployments locally first
Before deploying to production, test with ephemeral Modal serve:.env written during setup. Reach for --env-file only when you need to override or layer additional secrets.