Run, serve, and deploy serverless Python on Modal's cloud with the `modal` CLI. Use when running or deploying Modal apps/functions; iterating with hot-reload (`modal serve`); debugging in a cloud container (`modal shell`, `modal container exec`); tailing or stopping app runs (`modal app logs/stop/history/rollback`); managing Volumes, Secrets, Dicts, or Queues; authenticating (`modal setup`, `modal token`); switching workspaces/environments/profiles; or requesting GPUs (A100/H100/L4) for cloud jobs. Trigger on 'modal', 'modal run', 'modal deploy', 'modal.com', '@app.function', 'modal.Image', 'serverless GPU', or a repo with a `modal_*.py` / `.modal.toml`.
2026-06-10