NEWAI chat: ask your fleet anything, in plain language. Chat with your fleet Read more →
Robot learning framework

What is LeRobot?

LeRobot is an open-source PyTorch library from Hugging Face for real-world robot learning. It covers robot and motor control, recording data in the LeRobotDataset format on the Hugging Face Hub, training policies such as ACT, Diffusion Policy, π0 and SmolVLA, and running them on robots.

Made by
Hugging Face (LeRobot team)
First released
March 2024 (v0.1.0 on PyPI). Paper: arXiv 2602.22818 (February 2026), listed by the authors as an ICLR 2026 paper
Latest version
v0.7.0, released November 5, 2026 (release notes)
What it is
End-to-end robot learning library: hardware drivers, teleoperation and recording, datasets, policy training, simulation evaluation and real-robot rollout
Language
Python (PyTorch), Python 3.12 or newer
License
Apache-2.0 (code). Some bundled models have their own terms; v0.7.0 notes G0.5 ships under a non-commercial license
Runs on
Linux, macOS (14+, MPS on 15+) and Windows. Linux PyTorch wheels need an NVIDIA driver 580.65 or newer by default
Code
github.com/huggingface/lerobot

What LeRobot is for

LeRobot aims to lower the barrier to real-world robot learning. Its README describes four parts: a hardware-agnostic Python interface to control robots, the LeRobotDataset format hosted on the Hugging Face Hub, a set of policies in pure PyTorch, and tools to evaluate and run those policies.

It targets low-cost hardware first. Natively supported devices include the SO-101 arm, OpenARM, LeKiwi, Koch, HopeJR, Reachy2 and the Unitree G1 humanoid, plus gamepads, keyboards and phones as teleoperators. Community plugins add arms such as Franka, UR5e, xArm, Piper and WidowX.

How it works

Every robot implements one Robot class with connect(), get_observation() and send_action(). The same interface is used to record data, replay it and run a trained policy, so new hardware gets the rest of the toolchain once it implements that class.

Data is stored as LeRobotDataset v3.0: states, actions and timestamps in Parquet files, camera frames in MP4 files, and metadata (schema, frame rate, normalization stats, episode offsets) in meta/. Many episodes share one file, which the docs say reduces file-system pressure at scale. Datasets can be streamed from the Hub during training without downloading them first. In the v0.7.0 announcement, Hugging Face says the Hub holds almost 300 TB of open robot data in LeRobot format.

The policy list in the README covers imitation learning (ACT, Diffusion Policy, VQ-BeT, Multitask DiT), reinforcement learning (HIL-SERL, TD-MPC), VLAs (π0, π0-FAST, π0.5, SmolVLA, GR00T N1.7, G0.5, WALL-OSS, Wall-OSS-0.5, LingBot-VLA 2.0, DM0.5 and others), world models (including Cosmos 3 and LingBot-VA) and reward models. v0.7.0 added FSDP2 sharded training, a remote policy server and interactive language control during rollouts.

Getting started

Install from PyPI with pip install lerobot and check the setup with lerobot-info. The base install is small; add extras for each workflow, for example pip install 'lerobot[training]' to train or pip install 'lerobot[core_scripts,feetech]' to record with an SO-101 arm.

Training is one command: lerobot-train --policy.type=act --dataset.repo_id=lerobot/aloha_mobile_cabinet. Recording uses lerobot-record with a robot and teleoperator type. Evaluation in simulation uses lerobot-eval, for example --env.type=libero --env.task=libero_object, and lerobot-rollout runs a policy on a real robot.

Where it fits in robot development

LeRobot spans most of the early pipeline. Teams use it for calibration and teleoperation of supported arms, data collection, fine-tuning of models such as π0, π0.5 and SmolVLA, and policy evaluation on simulation benchmarks such as LIBERO and Meta-World.

Its dataset format is also used outside the library. Physical Intelligence's openpi asks users to convert their data to a LeRobot dataset before fine-tuning. See also LeRobot datasets.

Alternatives

openpi is narrower: it ships Physical Intelligence's own π models and training code in JAX and PyTorch. robomimic is an older framework for learning from demonstrations, centered on simulated robosuite tasks and HDF5 datasets. For training and testing in simulation, see MuJoCo and Isaac Lab.

From the lab to production

A policy trained with LeRobot on clean lab demonstrations meets new lighting, worn parts and new objects once it runs every day. Teams then need data from the robots in the field, a clear record of which checkpoint each robot runs, and a way to catch quiet failures such as slow drift or repeated regrasps. PhysicalFleet records robot runs as episodes and failed runs as standard MCAP flight recordings, ships checkpoints to robots in phases with automatic rollback, and its Python library traces every inference.

Sources

Facts checked against these sources on December 2, 2026. Names and trademarks belong to their owners.

FAQ

LeRobot: common questions

Something else? Talk to our team.

What is the latest version of LeRobot?

v0.7.0, released on November 5, 2026. It replaced FSDP1 with FSDP2/HSDP, added a remote policy server and streaming training from the Hub, and requires Python 3.12 or newer.

LeRobot vs openpi: which should I use?

LeRobot is a general library with many policies, hardware drivers and its own dataset format. openpi only covers Physical Intelligence's π0, π0-FAST and π0.5 models, but it is their reference code. LeRobot also includes PyTorch versions of π0, π0-FAST and π0.5.

Which robots does LeRobot support?

Natively, low-cost arms such as SO-101 and Koch, OpenARM, LeKiwi, HopeJR, Reachy2 and Unitree G1, among others. Community plugins add arms such as Franka, UR5e, xArm and WidowX.

What format does LeRobot use for datasets?

LeRobotDataset v3.0: Parquet files for states and actions, MP4 files for camera frames and metadata files that map episodes into shared files. Older v2.1 datasets can be converted with a script in the library.

From the lab bench. To the entire fleet.

Connect your first machine in minutes, develop it in the lab and run your whole fleet in production from one place.

Free for up to 3 machines · Then pay as you go