LeRobot
Hugging Face’s library of models, datasets and tools for real-world robotics in PyTorch.
- Hardware:
- SO-100 / SO-101 arms and the other supported robots
- Difficulty:
- Intermediate
- Creator:
- huggingface
Hugging Face’s PyTorch robot-learning library, from SO-100 arms to humanoids

By huggingface
What it does
Hugging Face’s library of models, datasets and tools for real-world robotics in PyTorch. One Python Robot interface covers arms from the low-cost SO-100 to humanoids, recordings go into the LeRobotDataset format on the Hugging Face Hub, and policies span imitation learning, reinforcement learning and vision-language-action models.
- A hardware-agnostic Python interface that standardizes control from low-cost arms (SO-100) to humanoids.
- Supported hardware includes SO100, LeKiwi, Koch, HopeJR, OMX, EarthRover, Reachy2, OpenARM and Unitree G1, with gamepads, keyboards and phones for control.
- LeRobotDataset stores synchronized MP4 video (or images) with Parquet state and action files, and thousands of datasets are on the Hugging Face Hub.
- Policies in pure PyTorch cover imitation learning, reinforcement learning, vision-language-action models, world models and reward models.
- Evaluate policies in simulation or on real hardware, with benchmarks such as LIBERO and MetaWorld.
What you need
- Skill level
- Intermediate
- License
- No license stated
Parts
- 6 × STS3215 motors for the SO-101 follower arm (1/345 gearing)
- Motors for the SO-101 leader arm, three different gear ratios (1/191, 1/345 and 1/147)
- Bus servo adapter (MotorBus) for each arm
- 3D-printed parts and the rest of the bill of materials
- AI model or service
- PyTorch policies: imitation learning, reinforcement learning, VLA models
Prices, notes and sources: Parts and requirements
Parts and requirements
| Part | Spec / notes | Needed | Price |
|---|---|---|---|
| 6 × STS3215 motors for the SO-101 follower arm | 1/345 gearing | Required | |
| Motors for the SO-101 leader arm, three different gear ratios | 1/191, 1/345 and 1/147 | Required | |
| Bus servo adapter (MotorBus) for each arm | Connects to your computer over USB, plus power | Required | |
| 3D-printed parts and the rest of the bill of materials | The README linked from the SO-101 guide has the bill of materials, sourcing links and print instructions | Required |
- Computer for setup: A computer the bus servo adapters connect to over USB
Steps
- Skill level
- Intermediate
- Source and print the SO-101 parts from the README the guide links
- Install LeRobot plus Feetech motor support: pip install -e ".[feetech]"
- Find each arm’s USB port with lerobot-find-port
Full instructions: View original
How it works
Record teleoperated episodes through the Robot interface into a LeRobotDataset (MP4 video plus Parquet state and action), train a PyTorch policy with lerobot-train, then evaluate it in simulation or on the robot.
| Layer | Component | Runs on |
|---|---|---|
| Library | lerobot Python package from PyPI | PyPI |
| Data | LeRobotDataset on the Hugging Face Hub | Hugging Face Hub |
Setup effort
- Skill level
- Intermediate
An SO-101 build: source and print the parts, install LeRobot with Feetech motor support, then find each arm’s USB port and configure the motors.
Limits and caveats
- GPU/RAM requirements and training time per policy are in the separate Compute Hardware Guide.
- Calibration matters: it lets a network trained on one robot work on another.
Like this build? Get the weekly builds
Every Thursday: the 5 best gadget hacks you can copy. Free.
Built something? Submit a build
The creator's config
Copied word for word from the creator's repository, at the commit linked in each source.
Train a policy (README example)
lerobot-train \ --policy.type=act \ --dataset.repo_id=lerobot/aloha_mobile_cabinetCalibrate an SO-101 follower arm
lerobot-calibrate \ --robot.type=so101_follower \ --robot.port=/dev/tty.usbmodem58760431551 \ # <- The port of your robot --robot.id=my_awesome_follower_arm # <- Give the robot a unique name
Use-case ideas
- Implement the Robot interface for your own robot to use LeRobot’s data collection, training and visualization tools.
- Use community plugins for other robots, teleoperators and cameras, such as UFACTORY xArm, Franka, SpaceMouse or Meta Quest.
Why it's interesting
LeRobot is less a single build than the software layer under many of the arms on this site. It gives one Python Robot interface across supported hardware (SO100, LeKiwi, Koch, HopeJR, OMX, EarthRover, Reachy2, OpenARM, Unitree G1 and more), with gamepads, keyboards and phones as teleoperation devices. Recordings go into the LeRobotDataset format, synchronized MP4 video plus Parquet state and action files, which can be shared and streamed from the Hugging Face Hub. Policies are written in pure PyTorch and cover imitation learning, reinforcement learning and vision-language-action models. It installs from PyPI, and custom robots plug in by implementing the Robot interface. The README names the low-cost SO-100 arm among supported hardware; the SO-ARM100 / SO-101 arm is on HardwareLab.
Hardware
- SO-100 / SO-101 arms and the other supported robots
Credits and links
- Hugging Face LeRobot team: Creator
This page is a short summary written by HardwareLab. Build steps, code and photos belong to the creator; follow “View original” for the full project.
Featured? Add this badge
Built this? Paste the badge into your README. It links back to this page.
Markdown
[](https://hardwarelab.dev/projects/lerobot/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w)HTML
<a href="https://hardwarelab.dev/projects/lerobot/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w"><img src="https://hardwarelab.dev/badge.svg" alt="Featured on HardwareLab" width="188" height="20"></a>Related builds
All 8 in Robot Arms & Home Robot Learning
Froggy: Codex trains my SO-100
Went for a 10K run and left Codex in charge of the robot.
- SO-100 arm
- cameras
AdvancedGenZ robot arm with trust issues
A roasting robot arm that asks 'which one?' when it's unsure.
- robot arm
- camera
- mic
AdvancedGEM: Good Enough Manipulator
A low-cost 7-DOF arm that's good enough for real research.
- 3D-printed parts
- head + wrist cameras
- leader arm
Advanced

Voice-controlled 6-DOF arm (Pi 5)
Tell the arm what to grab; YOLOv8 finds it.
- Raspberry Pi 5
- 6-DOF servo arm
- camera
Intermediate16
Sources
- github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/README.md?plain=1#L20
- github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/README.md?plain=1#L46-L61
- github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/README.md?plain=1#L71-L72
- github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/README.md?plain=1#L90
- github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/README.md?plain=1#L118
- github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/README.md?plain=1#L98-L102
- github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/docs/source/so101.mdx?plain=1#L369-L374
- github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/README.md?plain=1#L63
- github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/README.md?plain=1#L133
- github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/docs/source/so101.mdx?plain=1#L35
- github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/docs/source/so101.mdx?plain=1#L35-L44
- github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/docs/source/so101.mdx?plain=1#L48-L50
- github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/docs/source/so101.mdx?plain=1#L20
- github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/docs/source/so101.mdx?plain=1#L50
- github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/README.md?plain=1#L30-L35
- github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/README.md?plain=1#L22
- github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/docs/source/so101.mdx?plain=1#L16-L54
- github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/README.md?plain=1#L114
- github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/docs/source/so101.mdx?plain=1#L360