Skip to content

CLI Commands

CommandPurpose
robosmith runRun the full natural-language-to-policy pipeline.
robosmith resumeResume an interrupted pipeline run from checkpoint.json.
robosmith envsList and filter registered simulation environments.
robosmith trainersShow available trainer backends and algorithms.
robosmith depsShow installed and missing optional dependencies.
robosmith configPrint default ForgeConfig as JSON.
robosmith versionPrint package version.
robosmith inspectInspect datasets, environments, policies, robots, and compatibility.
robosmith diagAnalyze or compare trajectory rollouts.
robosmith genGenerate wrapper code.
robosmith autoRun compound agentic workflows.
robosmith runsList, inspect, compare, and clean run directories.
Terminal window
robosmith run --task "A Franka arm picks up a red cube"
FlagDefaultDescription
--task, -trequiredNatural language task description.
--robot, -rarmRobot type: arm, quadruped, biped, dexterous_hand, mobile_base, custom.
--model, -mnoneSpecific robot model, for example franka, unitree_go2, shadow_hand.
--algo, -aautoAlgorithm: ppo, sac, td3, auto.
--time-budget60Max training time in minutes.
--num-envs1024Number of parallel environments requested.
--push-to-hubnoneHuggingFace repo ID for pushed artifacts.
--candidates, -c4Reward candidates per iteration.
--skip, -snoneStages to skip: scout, intake, delivery.
--backend, -bautoTraining backend: sb3, cleanrl, or another registered backend.
--llm, -LautoProvider or exact LiteLLM model string.
--scoutsemantic_scholarSearch backend: semantic_scholar, arxiv, both.
--configauto-detectPath to robosmith.yaml.
--dry-runfalseParse and plan only; do not train.
--verbose, -vfalseWrite debug logs to robosmith_runs/latest.log.
Terminal window
robosmith resume run_20260415_182058_a64796
robosmith resume run_20260415 --runs-dir ./robosmith_runs --verbose
Argument or flagDescription
run_idFull run ID or unique prefix.
--runs-dirBase directory containing run_* directories.
--verbose, -vDebug logging.
Terminal window
robosmith envs --robot arm --framework gym --tags "pick place"
FlagDescription
--robot, -rFilter by robot type.
--framework, -fFilter by framework.
--tags, -tComma-separated tags to search.
--env-type, -eFilter by environment type.
Terminal window
robosmith inspect dataset lerobot/aloha_mobile_cabinet --schema --quality
robosmith inspect env Ant-v5 --obs-docs --sample
robosmith inspect policy lerobot/smolvla_base
robosmith inspect robot path/to/robot.urdf
robosmith inspect compat POLICY TARGET --fix
SubcommandExtra flags
dataset IDENTIFIER--json, --schema, --quality, --sample N
env IDENTIFIER--json, --obs-docs, --sample
policy IDENTIFIER--json, --config, --requirements
robot IDENTIFIER--json
compat A B [C]--json, --fix
Terminal window
robosmith diag trajectory path/to/rollout.hdf5
robosmith diag compare rollout_a.hdf5 rollout_b.hdf5 --json
SubcommandDescription
trajectory PATHAnalyze one trajectory set.
compare PATH_A PATH_BCompare two trajectory sets.

Both support --json.

Terminal window
robosmith gen wrapper POLICY TARGET
robosmith gen wrapper POLICY TARGET --no-llm -o adapter.py
FlagDescription
--output, -oWrite generated code to a file.
--no-llmUse template-based generation.
Terminal window
robosmith auto integrate POLICY TARGET --verbose -o adapter.py
FlagDescription
--output, -oWrite generated wrapper to a file.
--json, -jOutput machine-readable final state.
--verbose, -vShow step-by-step execution.
Terminal window
robosmith runs list --limit 20
robosmith runs inspect run_20260415 --log --reward
robosmith runs compare run_20260415 run_20260416
robosmith runs clean --older-than 14 --dry-run
SubcommandImportant flags
list--runs-dir, --status, --limit
inspect RUN_ID--runs-dir, --log, --reward
compare RUN_A RUN_B--runs-dir
clean--runs-dir, --older-than, --dry-run, --yes