Skip to main contentRuns your task app in Modal temporarily for testing. The app shuts down when you exit.
Usage
Packages your task app, deploys it to Modal, and streams logs to your terminal. Use this to test your task app in a hosted environment before doing a full deploy.
Inputs:
- Task app selection (interactive prompt if multiple apps found)
.env
file with secrets (from synth-ai setup
)
Outputs:
- Hosted URL (e.g.,
https://your-app.modal.run
)
- Live logs in terminal
- Modal container (cleaned up on exit)
Options
modal-serve <APP_ID>
- Skip prompt by specifying app ID
--env-file PATH
- Use a different .env
file
--name TEXT
- Override Modal app name