View on GitHub
"The `training-gym` CLI is installed automatically with the package.\n\n```bash\npip install git+https://github.com/modal-projects/training-gym.git@main\n```\n\n## `training-gym setup`\n\nDeploy the observability dashboard to your Modal account.\n\n```bash\ntraining-gym setup\n```\n\nThis is equivalent to calling `setup()` from Python:\n\n```python\nimport modal_training_gym\n\nmodal_training_gym.setup()\n```\n\nThe command builds a Modal image (Node.js + Svelte frontend + FastAPI backend),\ndeploys it as a persistent web app, and prints the dashboard URL.\n\n**Prerequisites:** a Modal account with `modal token set` already configured.\n\n## `training-gym --help`\n\n```\nusage: training-gym [-h] {setup} ...\n\npositional arguments:\n {setup}\n setup Deploy the training-gym dashboard to Modal\n\noptions:\n -h, --help show this help message and exit\n```\n"
CLI Reference
Command-line interface for the Training Gym SDK.
The training-gym CLI is installed automatically with the package.
pip install git+https://github.com/modal-projects/training-gym.git@maintraining-gym setup
Section titled “training-gym setup”Deploy the observability dashboard to your Modal account.
training-gym setupThis is equivalent to calling setup() from Python:
import modal_training_gym
modal_training_gym.setup()The command builds a Modal image (Node.js + Svelte frontend + FastAPI backend), deploys it as a persistent web app, and prints the dashboard URL.
Prerequisites: a Modal account with modal token set already configured.
training-gym --help
Section titled “training-gym --help”usage: training-gym [-h] {setup} ...
positional arguments: {setup} setup Deploy the training-gym dashboard to Modal
options: -h, --help show this help message and exit