whileai is two things that share one import, and it helps to know which
one you are using.
What the platform adds
- Hosted models. A situation writer and a judge you did not have to
stand up, on your key, with a daily allowance on the trial tier. Leave
agent=offsimulate()and the hosted Qwen answers; leavejudge=offgrade()and hosted Phi-4 grades. - Storage.
data.push("name")stores a run as a dataset with its holdout split, provenance and the analyzer report. Datasets are what training reads. - Training and serving.
wai.train(dataset, method="sft" | "dpo" | "grpo" | "rm")runs on hosted GPUs;wai.serve("name", run)puts the adapter behind an OpenAI-compatible endpoint you can hand tolocal_model. - Tracking. Agents, behaviors, runs and verdicts as objects the
terminal verbs read:
whileai agents,whileai verdict <id>,whileai promote <id> <version>.
Where to go
Sign in and keys
Where the key goes and how the SDK finds it.
Command line
login, status, init-evals, and the platform verbs.
Datasets, training, serving
push, train, serve, cut, publish, in the order a run happens.
Platform API
Every platform call with its signature.