Head to head · Robotics control · October 2026 research run
LeRobot vs Unitree SDK2
LeRobot scores 57 (C) on agent readiness against Unitree SDK2's 48.8 (D), and leads in every scored category. Both do robotics control.
Best robot models, SDKs, simulators and fleet APIs for AI agents · All 200 robotics comparisons
Which one, for what
LeRobot C
Best for Labs, students and makers who train and run policies on SO-101 class arms and other supported robots, with simulation for testing.
Ahead on
- Schema & documentation, 76 against 53
- Agent ergonomics, 66 against 53
- Security & auth, 63 against 27
- Payments & pricing, 90 against 80
- Maintenance & community, 60 against 46
- Transparency & trust, 66 against 50
Watch for
CVE-2026-25874, a critical unauthenticated deserialisation flaw in async inference through 0.6.1, and the HIL-SERL learner still unpickles gRPC messages on an insecure port
Best for Teams programming Go2, B2, G1, H1 and similar Unitree robots from C++ or Python, in research, education and inspection work.
Also in its favour
- No incidents deducted, where LeRobot loses 8 points for them
Watch for
No call works without a Unitree robot on the local network, and no simulator was found in the pages read
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Security & auth LeRobot +36
LeRobot 63
Framework reading (telemetry, approval hooks, guardrails, audit). No analytics or phone-home code found in the source, and the Trackio run tracker is off by default and stores runs in a local database unless a Hugging Face Space is set (25). No approval step before a command reaches a robot, only optional step caps (max_relative_target defaults to None), workspace bounds in the reinforcement-learning processors, ESC and /stop, and fault handling that revokes policy motion (11). Nothing on prompt injection, though policies read camera images and an optional planner writes instructions from them (5). Rollout telemetry, recorded episodes, Trackio runs and --display_data give the operator visibility (11). SECURITY.md has private reporting and no bounty, fixes reach only the latest version, and CVE-2026-25874 was handled through a public issue and pull request (11). 25+11+5+11+11 = 63. The HIL-SERL learner in main still opens an insecure gRPC port and unpickles messages, and remote inference over bare TCP doesn't authenticate peers, both stated in the code or the docs. Separate from this score, a deduction applies (below).
Unitree SDK2 27
Framework reading for a robot client. No credential, login or key was found in the SDK, and the channel factory takes only a DDS domain id and an interface name, so anyone on the robot's network can try commands (3 of 30). Low-level and high-level control are separate services, the Python README tells the user to turn off the motion service first, and leases can limit ownership, but nothing asks for approval before a motion command (8 of 20). Nothing on prompt injection, though camera frames and audio services reach the client (4 of 15). No audit log or per-call record was found in the SDK (0). The vendor runs a Security Response Center with a report form, a security email, a PGP key and reward rules, and no security.txt, advisory list or certification was found (12 of 20). 3+8+4+0+12 = 27.
Schema & documentation LeRobot +23
LeRobot 76
Framework reading. A typed Python API with an abstract Robot class, typed observation and action feature dictionaries, dataclass configs that become command-line flags, and reference pages for robots, motors, cameras, policies, datasets and processors (20). An llms.txt on huggingface.co/docs/lerobot lists a Markdown page per document, and the repository adds AGENT_GUIDE.md and AGENTS.md (10). The docs say which policy suits which hardware and data, size VRAM per policy and warn where a software hold doesn't guarantee a grip (16). Inputs are typed, though cameras and some options are JSON strings on the command line (11). Many runnable examples and tables of faults and what the robot does next, with no single error catalogue (12). Versions are tagged on PyPI, with no changelog file (7). 20+10+16+11+12+7 = 76.
Unitree SDK2 53
Framework reading. Typed C++ headers and DDS message types for each robot family in both languages, with named service calls and API ids (18 of 25). No llms.txt was found at unitree.com, the READMEs are Markdown, and the document centre at support.unitree.com is drawn by script and read as empty (3 of 10). The READMEs say what high-level and low-level control are for and to turn off the motion service before low-level control, but the headers carry almost no comments (7 of 20). Inputs are typed in C++, partly annotated in Python, and the motion calls take plain floats and flags with no stated ranges (10 of 15). 66 C++ and 53 Python examples and named error codes, though most failures come back as integers with little text (11 of 15). Tags exist, with no public changelog or release notes (4 of 15). 18+3+7+10+11+4 = 53.
Transparency & trust LeRobot +16
LeRobot 66
Apache-2.0 with a LICENSE file (30). The library stores data locally and the docs say recordings upload to the Hub by default and how to turn that off, but no page gives retention terms for the project itself (20). A page on backward compatibility and deprecation warnings exist, with no stated notice period, and breaking changes ship in 0.x minors (8). No telemetry found, though no page states it (12). 30+20+8+12 = 70.
Unitree SDK2 50
BSD-3-Clause for the headers, types, examples and the Python package, but the C++ library is a prebuilt archive with no source beside it (24 of 30). The privacy policy is a PDF about the website and was not read, and no statement covers what the SDK or the robot sends or keeps (8 of 30). No deprecation policy or notices were found (0). No telemetry or analytics code was found in either repository, and none is stated (12 of 20). 24+8+0+12 = 44.
Maintenance & community LeRobot +14
LeRobot 60
lerobot 0.7.0 on 5 November 2026, 24 days before this check (30). One release in the 90 days to 29 November, against three needed (0). 200 commits to main from 25 September to 27 November 2026 by 72 distinct authors, with the stale bot marking issues only after a year, but issues and review replies weren't readable (12 of 25, a partial reading). The official package is current, Python only (10). Actions pinned to commit SHAs, Dependabot for actions weekly and a lock file (8). 30+0+12+10+8 = 60.
Unitree SDK2 46
No release since the 2.0.2 tag of 7 July 2025, but the C++ repository's last commit was on 19 November 2026 and the Python one's on 21 September 2026, so the code under the tags is current (15 of 30, a partial reading). No release in the 90 days to 29 November, against three needed (0). Pull requests from named contributors are merged in both repositories, and issues and replies weren't readable (12 of 25, a partial reading). Current official SDKs in C++ and Python for the whole robot range, no registry packages (15). Build CI for C++ only, a pinned cyclonedds 0.10.2, and version strings that disagree with the tags (4). 15+0+12+15+4 = 46.
Agent ergonomics LeRobot +13
LeRobot 66
Framework reading, for a tool-calling agent that shells out to the commands or imports the package. The Robot interface is five calls and 22 commands cover find-port, calibrate, record, train, eval and rollout (18). Datasets can be sliced by episode, edited, merged and streamed, but observations carry camera frames that can't be sized down by a field list (14). Terminal faults exit non-zero after cleanup and the docs say what each situation does, and a missing --rename_map ends with a feature mismatch error the docs explain (14). A context manager disconnects on exit, ESC and /stop end a run and send_action returns what was sent, but there are no idempotency keys and no MCP annotations (12). Python only, and a robot needs a port, calibration and camera settings, with max_relative_target off by default (8). 18+14+14+12+8 = 66.
Unitree SDK2 53
Framework reading, for a tool-calling agent that writes code against the SDK. The Go2 sport client alone has about 45 calls, and each robot family has its own clients, topics and message types, so the surface is wide (14 of 25). Output is state topics and video frames with no field selection, and the SDK has few size or filter controls (6 of 20). Request-response calls return integer codes with a few named values (11 of 20). Move takes a velocity setpoint, and Damp and StopMove stop motion, but there are no idempotency keys and leases are off by default (10 of 20). C++ and Python SDKs, a one-second default timeout, and every example needs the network interface name (12 of 15). 14+6+11+10+12 = 53.
Payments & pricing LeRobot +10
LeRobot 90
Self-hosted rule. A free Apache-2.0 library with nothing to buy from the project (30 + 30 + 30). No machine payment protocol (0). 0+30+30+30 = 90.
Unitree SDK2 80
Self-hosted rule with a purchase behind it. The SDK is free under BSD-3-Clause, with no metering (30 + 30). Anyone can read the code with no account, but nothing runs without a Unitree robot, and no simulator was found in the pages read (20 of 30). No machine payment protocol (0). 0+30+30+20 = 80. No robot price was read.
Score by category
| Category | Weight | LeRobot | Unitree SDK2 | Edge |
|---|---|---|---|---|
| Reliability | 16% | 43 | 42 | LeRobot +1 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 76 | 53 | LeRobot +23 |
| Agent ergonomics | 13% | 66 | 53 | LeRobot +13 |
| Security & auth | 14% | 63 | 27 | LeRobot +36 |
| Payments & pricing | 10% | 90 | 80 | LeRobot +10 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 60 | 46 | LeRobot +14 |
| Transparency & trust | 7% | 66 | 50 | LeRobot +16 |
| Negative events | ≤15 | -8 | 0 | |
| Total | C 57/100 | D 48.8/100 |
Facts side by side
| Fact | LeRobot | Unitree SDK2 |
|---|---|---|
| Kind | SDK + MCP | SDK + MCP |
| Vendor | Hugging Face | Unitree Robotics |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | None | None |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | Apache-2.0 | BSD-3-Clause |
| Tools exposed | 22 | none |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-11-05 | 2025-07-07 |
| Terms last updated | 2022-09-15 | not read yet |
| Privacy policy last updated | 2023-03-28 | not read yet |
| Customer content may train models | not found in the text | not read yet |
| Terms restrict automated access | not found in the text | not read yet |
| Terms restrict benchmarking | not found in the text | not read yet |
| Terms or service can change without notice | yes | not read yet |
| Arbitration or class-action waiver | not found in the text | not read yet |
Verdicts
LeRobot
A Python library with 22 command-line tools that connects arms, records datasets, trains and runs policies, and evaluates them in simulation without a robot. Stopping and fault behaviour is documented. Step limits are off by default, the package is classified alpha, and a critical deserialisation flaw affected its remote inference through 0.6.1.
Unitree SDK2
A public C++ and Python SDK that drives eleven Unitree robot families, with Damp and StopMove calls and examples for high-level and low-level control. It needs a Unitree robot, has no authentication in the source read, and its documentation centre could not be read.
Before you call either
LeRobot
- Pass --dataset.push_to_hub=False, or --dataset.private=true, to lerobot-record unless the user wants camera video on the Hub
- Set --robot.max_relative_target (the reBot B601 guide shows 5.0 degrees) before a policy drives an arm, since the default is no cap
- If remote inference is used outside a trusted LAN, use the TLS Zenoh configurations in examples/remote_inference/zenoh. Bare TCP doesn't authenticate peers
- Without a robot, run lerobot-eval in simulation or load a LeRobotDataset, and treat recording, calibration and rollout as needing the user's hardware
- Pin the lerobot version, require Python 3.12 or later, and pass --rename_map when camera names differ from the policy's
Unitree SDK2
- Check that a human is beside the robot and holds the remote or the app before any motion call. Do not send commands from an unattended agent loop.
- Before low-level joint commands, turn off the high-level motion service. The Python README says to use the app, and the C++ example calls the motion switcher.
- Start low-level tests with low stiffness. The Python example uses kp 10 and kd 1 on one joint for safety.
- Pass the name of the network interface the robot is on to every example. A wrong name means no data arrives.
- Call StopMove or Damp when a task ends or fails. Nothing in the source read says what the robot does when commands stop arriving.
Questions
Which is better for AI agents, LeRobot or Unitree SDK2?
LeRobot scores 57 (C) on agent readiness against Unitree SDK2's 48.8 (D), and leads in every scored category.
Are LeRobot and Unitree SDK2 open source?
Yes. LeRobot is open source (Apache-2.0). Unitree SDK2 is open source (BSD-3-Clause).
Other comparisons with LeRobot or Unitree SDK2
- Drake vs Unitree SDK2
- Formant vs LeRobot
- Formant vs Unitree SDK2
- Gazebo vs Unitree SDK2
- Gemini Robotics ER vs LeRobot
- Genesis World vs Unitree SDK2
- InOrbit vs LeRobot
- InOrbit vs Unitree SDK2
- NVIDIA Isaac Lab vs Unitree SDK2
- Kinova Kortex API vs LeRobot
- Kinova Kortex API vs Unitree SDK2
- LeRobot vs Franka libfranka
- LeRobot vs MuJoCo
- LeRobot vs Pollen Robotics Reachy SDK
- LeRobot vs ROS MCP Server
- LeRobot vs Skydio Cloud API
- LeRobot vs Boston Dynamics Spot SDK
- LeRobot vs Hello Robot Stretch Body
- LeRobot vs Universal Robots RTDE
- LeRobot vs Viam
- Franka libfranka vs Unitree SDK2
- MuJoCo vs Unitree SDK2
- Pollen Robotics Reachy SDK vs Unitree SDK2
- ROS MCP Server vs Unitree SDK2
- Skydio Cloud API vs Unitree SDK2
- Boston Dynamics Spot SDK vs Unitree SDK2
- Hello Robot Stretch Body vs Unitree SDK2
- Unitree SDK2 vs Universal Robots RTDE
- Unitree SDK2 vs Viam
- Drake vs LeRobot
- Gazebo vs LeRobot
- Genesis World vs LeRobot
- NVIDIA Isaac Lab vs LeRobot
- Foxglove vs Unitree SDK2
- Gemini Robotics ER vs Unitree SDK2
- Foxglove vs LeRobot
Machine-readable
- This page as Markdown
/compare/lerobot-vs-unitree-sdk2.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/lerobot.json·/api/v1/tools/unitree-sdk2.json - From a terminal
anchor compare lerobot unitree-sdk2(the CLI) - Over MCP
compare_tools {"a": "lerobot", "b": "unitree-sdk2"}at/mcp, no key