Skip to content
HardwareLab

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

LeRobot
No photo in the source; GitHub repository card, served from HardwareLab.The README shows animated images rather than a creator video we can embed.

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

PartSpec / notesNeededPrice
6 × STS3215 motors for the SO-101 follower arm 1/345 gearingRequired
Motors for the SO-101 leader arm, three different gear ratios 1/191, 1/345 and 1/147Required
Bus servo adapter (MotorBus) for each arm Connects to your computer over USB, plus powerRequired
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 instructionsRequired
  • Computer for setup: A computer the bus servo adapters connect to over USB

Full build guide

Steps

Skill level
Intermediate
  1. Source and print the SO-101 parts from the README the guide links
  2. Install LeRobot plus Feetech motor support: pip install -e ".[feetech]"
  3. 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.

LayerComponentRuns on
Librarylerobot Python package from PyPI PyPI
DataLeRobotDataset 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_cabinet
  • Calibrate 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.

Source: github.com/huggingface/lerobot#readme

Hardware

  • SO-100 / SO-101 arms and the other supported robots

Credits and links

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.

Featured on HardwareLab

Markdown

[![Featured on HardwareLab](https://hardwarelab.dev/badge.svg)](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>

Sources

  1. github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/README.md?plain=1#L20
  2. github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/README.md?plain=1#L46-L61
  3. github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/README.md?plain=1#L71-L72
  4. github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/README.md?plain=1#L90
  5. github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/README.md?plain=1#L118
  6. github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/README.md?plain=1#L98-L102
  7. github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/docs/source/so101.mdx?plain=1#L369-L374
  8. github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/README.md?plain=1#L63
  9. github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/README.md?plain=1#L133
  10. github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/docs/source/so101.mdx?plain=1#L35
  11. github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/docs/source/so101.mdx?plain=1#L35-L44
  12. github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/docs/source/so101.mdx?plain=1#L48-L50
  13. github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/docs/source/so101.mdx?plain=1#L20
  14. github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/docs/source/so101.mdx?plain=1#L50
  15. github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/README.md?plain=1#L30-L35
  16. github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/README.md?plain=1#L22
  17. github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/docs/source/so101.mdx?plain=1#L16-L54
  18. github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/README.md?plain=1#L114
  19. github.com/huggingface/lerobot/blob/146d8474932c8b566717eb2738ba459337ab71c4/docs/source/so101.mdx?plain=1#L360