huggingface/lerobot
🤗 LeRobot: Making AI for Robotics more accessible with end-to-end learning
What it solves
Robotics development is fragmented: different robots use different control interfaces, datasets come in incompatible formats, and state-of-the-art models are hard to access. LeRobot lowers the barrier to entry so that anyone can contribute to and benefit from shared datasets and pretrained models for real-world robotics.
How it works
LeRobot provides a hardware-agnostic Robot class that decouples control logic from specific hardware, so the same code works across many robots and teleoperation devices. It standardizes data with the LeRobotDataset format (Parquet files for state/action data plus MP4 videos or images for vision), hosted on the Hugging Face Hub for efficient storage, streaming, and visualization. The library implements state-of-the-art policies in pure PyTorch—covering imitation learning, reinforcement learning, vision-language-action (VLA) models, world models, and reward models—and lets you train them with simple CLI commands like lerobot-train. Evaluation in simulation uses lerobot-eval (e.g., LIBERO, MetaWorld), and deployment on real robots uses lerobot-rollout. Third-party hardware plugins are auto-discovered by package name, so you can extend support without modifying the core library.
Who it’s for
Researchers, hobbyists, and developers working with real-world robots—from low-cost arms like SO-100 to humanoids. It’s also for anyone who wants to collect robotic datasets, train policies, evaluate them in simulation, or deploy them on physical hardware, and for contributors who want to share datasets and models with the community.
Highlights
- Hardware-agnostic
Robotinterface supporting many robots and teleoperators (SO101, OpenARM, LeKiwi, Unitree G1, Reachy2, gamepads, keyboards, phones, and more) - Standardized LeRobotDataset format (Parquet + MP4/images) with thousands of datasets on the Hugging Face Hub
- State-of-the-art policies in pure PyTorch: ACT, Diffusion, VQ-BeT, Pi0, GR00T N1.7, SmolVLA, TDMPC, HIL-SERL, and many more
- Simple CLI tools for training, evaluation, and rollout (
lerobot-train,lerobot-eval,lerobot-rollout) - Auto-discovered third-party plugins for additional robots, teleoperators, cameras, and sensors
- Free hands-on robot learning tutorial and an end-to-end t-shirt folding experiment
- Web interface (LeLab) for teleoperation, calibration, dataset recording, replay, and training from the browser
Related
- Project
- Project
- Dispatch
- Dispatch