Quickstart
app.modgrad.com speaks the W&B protocol, so the wandb
package you already use logs to it. No account needed.
1. Get a project
curl -s -X POST https://app.modgrad.com/api/v1/projects
{"project": "anon-…", "token": "obsp_…", "board": "<url>", "claim": "<url>", "expires_unix": …}
tokenwrites to this project. Keep it like a password.boardis the dashboard. Anyone with the link can watch it.claimholds the project’s claim token. Keep it; opening it does not claim the project yet. See claiming a project.
To name the project, send -d '{"name": "coldstart"}'; you get
anon-coldstart-<16 hex>.
Started with Start tracking on the site instead? The board shows the project name,
and so does its address (#project=anon-…).
2. Run your wandb script
pip install wandb
export WANDB_BASE_URL=https://app.modgrad.com
export WANDB_API_KEY=<token>
export WANDB_PROJECT=<project>
python train.py
<project> is the project field of the reply. A token writes to one project, so
set WANDB_PROJECT (inside a git checkout wandb otherwise names the project after
the repository) and don’t pass a different project= to wandb.init().
3. Open the board
Open the board URL. Charts update while the script runs. A run shows as running
until wandb.finish() or the end of the script.
What works
Logging a run: create and resume, history, config, summary, finish, file uploads.
Also wandb.Api() reads, sweeps and use_artifact downloads. Media, wandb.save()
files and artifacts are stored as the run’s files; wandb.Table and wandb.Image
also show as a table and an image.
The unmodified client passes all 25 of our compatibility tests: the basic loop,
resume by id, define_metric, tables, images, histograms, artifacts, wandb.watch,
the Hugging Face Trainer, Lightning’s WandbLogger, offline and disabled modes,
several runs in one process, and more (last run 2026-11-01).
Not using wandb?
- HTTP API: curl or any language.
- SSH pipe:
python train.py 2>&1 | ssh ssh.modgrad.com. - MCP: let a coding agent read your runs.
- Log from Rust.
Limits: limits and pricing.