Quick Start
Path 1: Train From Scratch
Section titled “Path 1: Train From Scratch”Start with a short dry run:
robosmith run \ --task "Train a HalfCheetah to run as fast as possible" \ --dry-runThen run the pipeline:
robosmith run \ --task "Train a HalfCheetah to run as fast as possible" \ --time-budget 30 \ --candidates 4Useful switches:
# Choose a provider or exact LiteLLM model string.robosmith run --task "A Franka arm picks up a red cube" --llm anthropicrobosmith run --task "A Franka arm picks up a red cube" --llm openai/gpt-4o-mini
# Choose the literature source.robosmith run --task "..." --scout semantic_scholarrobosmith run --task "..." --scout arxivrobosmith run --task "..." --scout both
# Control the training backend and algorithm.robosmith run --task "..." --backend sb3 --algo pporobosmith run --task "..." --backend cleanrl
# Skip optional stages while iterating.robosmith run --task "..." --skip scoutrobosmith run --task "..." --skip deliveryOutput Directory
Section titled “Output Directory”Every run creates a timestamped directory under robosmith_runs/.
robosmith_runs/run_20260415_182058_a64796/ checkpoint.json run_state.json task_spec.json reward_function.py policy_ppo.zip eval_report.json policy_rollout.mp4 report.mdThe exact files depend on which stages ran and which optional packages are
installed. checkpoint.json is the resumable graph state. run_state.json is a
lightweight summary for humans and the runs commands.
Path 2: Work With Existing Artifacts
Section titled “Path 2: Work With Existing Artifacts”Inspect a policy, dataset, environment, or robot description:
robosmith inspect policy lerobot/smolvla_baserobosmith inspect dataset lerobot/aloha_mobile_cabinetrobosmith inspect env Ant-v5robosmith inspect robot path/to/robot.urdfAsk for deeper dataset and environment details:
robosmith inspect dataset lerobot/aloha_mobile_cabinet --schema --qualityrobosmith inspect env Ant-v5 --obs-docs --sampleCheck compatibility:
robosmith inspect compat \ lerobot/smolvla_base \ lerobot/aloha_mobile_cabinetGenerate an adapter:
# Template-based generation, no API key.robosmith gen wrapper \ lerobot/smolvla_base \ lerobot/aloha_mobile_cabinet \ --no-llm \ -o adapter.py
# Agentic flow: inspect policy, inspect target, check compat, generate wrapper.robosmith auto integrate \ lerobot/smolvla_base \ lerobot/aloha_mobile_cabinet \ --verbose \ -o adapter.pyPath 3: Manage Runs
Section titled “Path 3: Manage Runs”robosmith runs listrobosmith runs inspect run_20260415robosmith runs inspect run_20260415 --log --rewardrobosmith runs compare run_20260415 run_20260416robosmith resume run_20260415Clean old run directories:
robosmith runs clean --older-than 14 --dry-runrobosmith runs clean --older-than 14 --yesPython API Quick Start
Section titled “Python API Quick Start”from robosmith import TaskSpec, ForgeConfigfrom robosmith.agent.graphs.run import run_pipeline
spec = TaskSpec( task_description="Train a quadruped to walk forward", robot_type="quadruped", time_budget_minutes=30,)config = ForgeConfig(max_iterations=2, scout_source="arxiv")
state = run_pipeline(spec, config)print(state["status"])print(state["artifacts_dir"])Inspect artifacts from Python:
from robosmith.inspect.dispatch import inspect_dataset, inspect_policyfrom robosmith.inspect.compat import check_compatibility
policy = inspect_policy("lerobot/smolvla_base")dataset = inspect_dataset("lerobot/aloha_mobile_cabinet")report = check_compatibility(policy.model_id, dataset.repo_id)
print(policy.action_dim)print(dataset.cameras.keys())print(report.compatible)Next Steps
Section titled “Next Steps”Read the training pipeline page for the stage-by-stage flow, then use the CLI and Python API reference pages when you need exact flags, models, and functions.