zeroruntime command and flag. For walkthroughs, start at
Zero Runtime Cloud or Operate.
Authentication
quickstart
Download an example agent into a new folder and run it locally. Signs you in first if needed.
run
zeroruntime run <project> runs an agent locally. <project> is a folder or a single .py
file. It creates a virtual environment, installs requirements.txt once, and reads keys from
the project’s .env.
init
Register an agent and deployment, write their IDs to zeroruntime.yaml, and generate a
Dockerfile if the project doesn’t have one.
up
Build the next image and deploy it to Zero Runtime Cloud. Saves the new version.id to
zeroruntime.yaml. See Version Management for how
image tags are chosen.
down
Deactivate all active versions of the deployment.
version
Commands that take -v use the vr_… version ID shown by version list.
version list flags:
secrets
invoke
Start your deployed agent in a room and print a playground link.
session
session list flags:
logs
Stream console output from your running agent.
sim
Test your agent with simulated callers. Run these from the folder that contains sims/. See
Simulations for the file format and walkthroughs.
sim run flags. Each one overrides the simulation file:
sim run exits 0 when every conversation passed, 1 when one failed, 2 for invalid input,
and 3 when the run didn’t finish.
sim scenarios generate flags:
sim runs list flags:
sim show flags:
sim rerun takes --failed to rerun only failed, abandoned, or stopped conversations. rerun,
delete, and the scenarios/personas delete commands take --yes / -y to skip the prompt.
evals
Grade your agent’s calls with judges and scorecards. Run these from the folder that contains
evals/. See Evaluations for the file format and walkthroughs.
evals run flags. Each one overrides evals.yaml:
Use one of
--session, --since / --from, or --simulation. evals run exits 0 when every
gate was met, 1 when one was missed, 2 when the run couldn’t start or nothing was graded, and
3 when the run was stopped.
evals runs list flags:
evals show flags:
evals auto set flags. Flags you don’t pass keep their current value:
evals rescore takes --scorecard (required) and --dry-run to print the new scores without
saving them. evals diff takes --fail-on-drop <points> to exit 1 when accuracy, experience,
or a judge’s pass rate drops by more than that. evals pull takes --overwrite to replace local
files that differ from the dashboard. The delete commands take --yes / -y to skip the prompt.
datasets
Manage test datasets, their items, and the review queue. See Datasets
for walkthroughs.
Ids start with
ds_ for datasets, dsi_ for items, and drf_ for drafts.
datasets list flags:
datasets create and datasets update flags:
datasets items list flags:
datasets items update flags. Only the flags you pass are changed:
datasets items import flags:
Audio links in the file are kept only with
--direct.
datasets items export flags:
datasets review list flags:
datasets review update takes --name, --tag, --audio, --dataset, and --file, like
items update. datasets review approve takes --dataset to add every draft to that dataset
instead of its own. datasets review reject takes --reason and --yes / -y to skip the prompt.
datasets review flag flags:
experiments
Run a dataset against your agent and check the results. See
Datasets for walkthroughs.
Experiment ids start with
exp_.
experiments run flags:
experiments run exits 0 when it passed, 1 when an item failed, the pass rate was below
--fail-under, or an item regressed, 2 for bad usage or when nothing was checked, and 3 when
the experiment was cancelled or the API failed.
experiments list flags:
experiments show flags: