LeRobot provides Python tools, Hugging Face–hosted datasets, and policies for real-world robot learning. A unified Robot class bridges diverse arms and teleoperators while CLI tools record, train, evaluate, and deploy behaviors.
Overview
LeRobot from Hugging Face aims to lower the barrier to sharing robotics data and models by standardizing how demonstrations and policies are stored, trained, and run in PyTorch. The LeRobotDataset format combines Parquet state and action logs with synchronized MP4 vision (or images) and can be published or streamed from the Hugging Face Hub.
Hardware is accessed through a Robot interface that separates control code from specific devices. Built-in support spans low-cost arms such as SO-101, mobile platforms like LeKiwi, humanoids including Unitree G1, teleoperators (gamepads, keyboards, phones), and additional community plugins discovered via lerobotrobot, lerobotteleoperator, and lerobotcamera package prefixes.
Training implements imitation learning, reinforcement learning, vision-language-action, world model, and reward model policies in pure PyTorch, runnable from configuration scripts. Operators can record teleoperated demonstrations, train policies, evaluate in simulators such as LIBERO and MetaWorld with lerobot-eval, and run real-robot rollouts with lerobot-rollout.
Installation is available from PyPI with optional extras for datasets, training, or specific hardware dependencies. Documentation and tutorials cover hardware setup, dataset tooling, policy selection, and compute requirements for training on available GPUs.
Key features
- LeRobotDataset format with video and Parquet data
- Unified Robot API across multiple hardware platforms
- Hugging Face Hub dataset hosting and streaming
- Imitation and reinforcement learning policy implementations
- Vision-language-action and world model policies
- Simulation evaluation via lerobot-eval
- Real-robot deployment via lerobot-rollout
- Extensible third-party robot and sensor plugins
Use cases
- Collecting and sharing robot demonstration datasets
- Training imitation policies on LeRobotDataset files
- Teleoperating supported arms for data collection
- Benchmarking policies in LIBERO or MetaWorld simulators