# Unitree SDK2 (slim)

> Unitree Robotics' open-source C++ and Python SDK for its quadruped and humanoid robots, including the Go2, B2, G1 and H1. It sends high-level motion calls and low-level joint commands over DDS and reads robot state.

- Full: https://www.anchorterminal.com/tools/unitree-sdk2.md (~7,000 tokens) · this version ~1,730 tokens · JSON https://www.anchorterminal.com/tools/unitree-sdk2.json · canonical https://www.anchorterminal.com/tools/unitree-sdk2
- Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · MCP: https://www.anchorterminal.com/mcp · Updated: 2026-11-29 · pricing https://www.anchorterminal.com/tools/unitree-sdk2#pricing · reviews https://www.anchorterminal.com/tools/unitree-sdk2#reviews
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)

**D · 48.8/100 · rank #1349 of 1738 · #17 in Robotics models, SDKs & simulators · not agent-ready · confidence medium**


Assessment: 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.

## Facts

- Kind: SDK + MCP · vendor: Unitree Robotics · category: Robotics models, SDKs & simulators · legal entity: HangZhou YuShu Technology Co., Ltd. (Unitree Robotics) · provenance 55/100
- Auth: None · pricing: Free · x402: no · licence: BSD-3-Clause
- Benchmark probes: not run yet, so Performance is pending
- Surface graded: The unitree_sdk2 (C++) and unitree_sdk2_python repositories, read from shallow clones on 29 November 2026, with unitree.com, its terms, its security centre and RDAP. GitHub's own pages and the document centre at support.unitree.com could not be read. Nothing was installed or built and no robot was used
- Which robots: Unitree legged robots and humanoids. The C++ examples have folders for the A2, As2, B2, B2-W, G1, Go2, Go2-W, H1, H2, H2X and R1, with hand, audio, arm and locomotion examples for some. The Python SDK has the same families plus an H1-2 example folder
- Robot needed: Every example talks to a robot over DDS on the local network. No simulator is named in either README, and whether Unitree publishes one was not checked. The Python README tells the user to set up the robot's network connection first
- Two levels of control: High-level clients send motion requests such as StandUp, Move(vx, vy, vyaw), Damp and StopMove to the robot's own motion service. Low-level code publishes joint commands (position, velocity, torque, stiffness and damping) to the rt/lowcmd topic and reads rt/lowstate, with a CRC on each command
- Stopping a command: The Go2 SportClient has Damp, StopMove, StandDown and RecoveryStand. A request that gets no answer returns a timeout error after one second by default. What the robot does when low-level commands stop arriving is not stated in the repositories, and the documentation that may say was not readable
- Errors: Request-response calls return integer codes. The Python client names codes such as 3102 send failure, 3104 timeout, 3205 lease denied and 3207 lease exists, and the Go2 sport service adds 4101, 4201 and 4205
- Leases: Each client can be built with a lease, so one client owns a service at a time. It is off by default in both languages
- Platforms: The C++ README names Ubuntu 20.04, aarch64 and x86_64, gcc 9.4.0 and CMake 3.10 or later. The Python package needs Python 3.8 or later, numpy, opencv-python and cyclonedds 0.10.2, which may need building from source
- Releases: C++ tags 1.0.0 to 2.0.2 between 15 May and 7 July 2025, then commits only. The Python repository has no tags. No changelog or release notes were found
- Open-source status: The headers, IDL types and examples are BSD-3-Clause. The C++ library itself is a prebuilt archive with no source beside it, with the licences of CycloneDDS, Iceoryx and Tencent code kept in the repository

- Scores: Reliability 42, Performance not tested, Schema & documentation 53, Agent ergonomics 53, Security & auth 27, Payments & pricing 80, Task success not tested, Maintenance & community 46, Transparency & trust 50
- Why: Reliability, Local-package reading, for the Unitree robots the SDK drives. · Schema & documentation, Framework reading. · Agent ergonomics, Framework reading, for a tool-calling agent that writes code against the SDK. · Security & auth, Framework reading for a robot client. · Payments & pricing, Self-hosted rule with a purchase behind it. · Maintenance & community, 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 Septe… · Transparency & trust, 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…
- Sources: 10, open questions: 7, both in the full twin
- Capabilities: robotics.control, robotics.perceive
- JSON: https://www.anchorterminal.com/api/v1/tools/unitree-sdk2.json · card, about 200 tokens, for choosing between listings: https://www.anchorterminal.com/tools/unitree-sdk2.card.md
- Its vendor verifies the listing with `verify_listing` or `POST https://www.anchorterminal.com/api/v1/verify` (the full twin says how); no effect on the grade.
- Support: support@unitree.com; https://support.unitree.com/main/en; https://global-serviceconsole.unitree.com/index.html; https://security.unitree.com/; more in the full twin

## Before you call it

1. 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.
2. 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.
3. Start low-level tests with low stiffness. The Python example uses kp 10 and kd 1 on one joint for safety.
4. Pass the name of the network interface the robot is on to every example. A wrong name means no data arrives.
5. Call StopMove or Damp when a task ends or fails. Nothing in the source read says what the robot does when commands stop arriving.

## Connect

```bash
git clone https://github.com/unitreerobotics/unitree_sdk2_python.git
cd unitree_sdk2_python
pip3 install -e .
# needs a Unitree robot on the local network
python3 ./example/high_level/read_highstate.py enp2s0
```
Full config and headless snippets are in the full page. Through letme (picks today, calling later): https://letme.dev/unitree-sdk2

## Similar tools

| Tool | Grade | Score | Shared capabilities | Slim |
| --- | --- | --- | --- | --- |
| MuJoCo | BB | 77.1 | robotics.control, robotics.perceive | https://www.anchorterminal.com/tools/mujoco.min.md |
| Genesis World | BB | 70.1 | robotics.perceive, robotics.control | https://www.anchorterminal.com/tools/genesis-world.min.md |
| Drake | B | 67.5 | robotics.control, robotics.perceive | https://www.anchorterminal.com/tools/drake.min.md |
| Pollen Robotics Reachy SDK | B | 65.5 | robotics.control, robotics.perceive | https://www.anchorterminal.com/tools/reachy.min.md |
| NVIDIA Isaac Lab | B | 64.7 | robotics.control, robotics.perceive | https://www.anchorterminal.com/tools/isaac-lab.min.md |


## Panel reviews (0, desk reviews from public material, no calls made)

