LeRobot: An Open-Source Library for End-to-End Robot Learning

Remi Cadene, Simon Alibert, Francesco Capuano, Michel Aractingi, Adil Zouitine, Pepijn Kooijmans, Jade Choghari, Martino Russi, Caroline Pascal, Steven Palma, Dana Aubakirova, Mustafa Shukor, Jess Moss, Alexander Soare, Quentin Lhoest, Quentin Gallouédec, Thomas Wolf

TL;DR

lerobot is a comprehensive, open-source library designed to unify the highly fragmented robot learning ecosystem. By providing an end-to-end stack that covers everything from low-level motor control to large-scale dataset streaming and state-of-the-art policy training, it significantly lowers the barrier to entry for real-world robotics research.

What Problem Does This Paper Address?

Robotics is undergoing a massive shift. Instead of relying on "explicit models"—where engineers hand-craft rigid-body kinematics and planning algorithms—the field is moving toward "implicit models," where robots learn monolithic control policies directly from data (much like how LLMs learn from text).

However, the software ecosystem supporting this shift is a mess. Researchers are bogged down by fragmented, closed-source tools. Middleware is often tailored to specific, expensive robot arms; datasets are released in wildly different formats (ROS bags, bespoke JSONs, TensorFlow Datasets); and minor implementation differences in learning algorithms make reproducing state-of-the-art (SOTA) results incredibly difficult. lerobot addresses this by providing a unified, vertically integrated platform that handles the entire pipeline so researchers can focus on science rather than systems engineering.

Methods

The authors introduce lerobot, a PyTorch-based library built to integrate the entire robotics stack.

LeRobot Architecture Overview

It is built on several core pillars:

  • Unified Robot Integration & Middleware: A consistent Python API that interfaces with various low-cost, open-source hardware platforms (like the SO-10X or Koch arms). It bridges the gap between high-level ML frameworks and low-level motor SDKs.
  • Standardized Datasets: A custom, multimodal format (LeRobotDataset) optimized for high frame-rate sensorimotor data and video. Crucially, it includes a streaming module (StreamingLeRobotDataset) that decodes video on the fly, allowing users to train on massive datasets without downloading them locally.
  • Efficient SOTA Algorithms: Clean, reusable implementations of modern robot learning paradigms, including Imitation Learning (ACT, Diffusion Policy, $\pi_0$, SmolVLA) and Reinforcement Learning (TD-MPC, HIL-SERL).
  • Optimized Asynchronous Inference: An inference stack that physically and logically decouples the "brain" (action prediction) from the "reflexes" (action execution). Heavy models can run on a remote GPU server while the robot executes a queue of actions locally, ensuring smooth, non-idle movement.

Datasets

  • LeRobotDataset Hub: The library hosts over 16,000 datasets contributed by the community, ranging from small-scale decentralized collections to massive academic benchmarks (like Open X-Embodiment and DROID).
  • Simulation Benchmarks: While focused on real-world robotics, lerobot natively integrates popular simulation environments like LIBERO (for lifelong/multi-task learning) and Meta-World (for meta-learning and fast adaptation) to allow for systematic algorithm evaluation.

Key Insights and Ideas

  • The Rise of Decentralized Data: Historically, massive robotic datasets could only be collected by well-funded labs with expensive industrial arms (like the Franka Panda). lerobot's integration of accessible $250-$500 3D-printable arms (like the SO-100) is democratizing data collection. This has led to a surge in decentralized, community-driven dataset contributions, rapidly outpacing previous benchmarks.
Robot Accessibility and Trajectory Growth
  • Streaming is Mandatory for Scale: As robot learning approaches the "foundation model" era, datasets are hitting the million-episode mark. Pre-loading this data into local memory is impossible for most practitioners. On-the-fly streaming is a necessary architectural shift to keep the field accessible.
  • Decoupling Inference Unlocks VLA Models: Vision-Language-Action (VLA) models are powerful but computationally heavy. By asynchronously predicting chunks of actions on a remote server while the robot executes the previous chunk locally, lerobot allows researchers to deploy massive models without sacrificing the high-frequency control loops required for smooth physical movement.

Key Results

  • Broad Hardware Support: The library successfully integrates 8 different manipulation setups, ranging from simple bimanual manipulators to mobile platforms (LeKiwi) and humanoids (Reachy-2).
  • Inference Latency: The authors benchmarked SOTA models across different hardware. Lightweight models like ACT achieve blazing-fast inference (~5ms on an RTX 4090), while massive 3.5B parameter models like $\pi_0$ take ~209ms, highlighting the need for the library's asynchronous inference stack.
  • Real-World Speedups: Using lerobot's asynchronous inference on a real-world SO-100 robot reduced the time to complete a cube-sorting task from 137.5 seconds to 97.0 seconds. Throughput essentially doubled (from 9 to 19 cubes sorted per minute) while maintaining a comparable success rate.

Limitations and Future Work

The authors are transparent about the library's current limitations, viewing them as avenues for open-source community contribution:

  1. Incomplete Hardware Coverage: While practical, the library currently only supports 8 robot setups. Expanding support for more arms, grippers, and sensors is an ongoing necessity.
  2. Non-Exhaustive Algorithm Support: The library covers key paradigms but doesn't yet include every modern robot learning algorithm.
  3. Lack of Low-Level Optimizations: To squeeze out maximum inference performance, future versions will need to incorporate low-level optimizations like model quantization and graph compilation, which are currently disregarded in favor of clean, readable PyTorch code.

Summary updated

BibTeX
@inproceedings{cadene2026lerobot,
  author = {Remi Cadene and Simon Alibert and Francesco Capuano and Michel Aractingi and Adil Zouitine and Pepijn Kooijmans and Jade Choghari and Martino Russi and Caroline Pascal and Steven Palma and Dana Aubakirova and Mustafa Shukor and Jess Moss and Alexander Soare and Quentin Lhoest and Quentin Gallouédec and Thomas Wolf},
  title = {{LeRobot: An Open-Source Library for End-to-End Robot Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=CiZMMAFQR3},
}
Figure