# Unitree SDK2 vs Viam

> Viam scores 62.1 (B) to Unitree SDK2's 48.8 (D) for robotics control. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/unitree-sdk2-vs-viam
- Markdown: https://www.anchorterminal.com/compare/unitree-sdk2-vs-viam.md (~4,500 tokens)
- Slim: https://www.anchorterminal.com/compare/unitree-sdk2-vs-viam.min.md (~930 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/unitree-sdk2-vs-viam.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-29

Viam scores 62.1 (B) on agent readiness against Unitree SDK2's 48.8 (D), and leads in 6 of 7 scored categories. Unitree SDK2 leads on payments & pricing. Both do robotics control.

- Unitree SDK2: grade D, 48.8/100, rank #1349 of 1738. Markdown https://www.anchorterminal.com/tools/unitree-sdk2.md · JSON https://www.anchorterminal.com/api/v1/tools/unitree-sdk2.json
- Viam: grade B, 62.1/100, rank #792 of 1738. Markdown https://www.anchorterminal.com/tools/viam.md · JSON https://www.anchorterminal.com/api/v1/tools/viam.json
- Best robot models, SDKs, simulators and fleet APIs for AI agents: https://www.anchorterminal.com/best/robotics/index.md
- All 200 robotics comparisons: https://www.anchorterminal.com/compare/robotics/index.md

## Which one, for what

### Unitree SDK2 (D)

Good for: Teams programming Go2, B2, G1, H1 and similar Unitree robots from C++ or Python, in research, education and inspection work.

Ahead on:
- Payments & pricing, 80 against 60

Also in its favour:
- No key needed to call it

Watch for: No call works without a Unitree robot on the local network, and no simulator was found in the pages read

### Viam (B)

Good for: Teams that want one API across arms, cameras and grippers from different makers, with fleet rollout.

Ahead on:
- Reliability, 53 against 42
- Schema & documentation, 75 against 53
- Security & auth, 60 against 27
- Maintenance & community, 82 against 46
- Transparency & trust, 57 against 50

Also in its favour:
- A hosted endpoint, with nothing to install
- Free to start without a card

Watch for: No rate limits, 429 handling or SLA were found in the reviewed documentation


## Why the edge

### Maintenance & community: Viam +36

- 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.
- Viam (82): viam-server v1.17.0 was tagged on 17 November 2026, 12 days before this check (30). Tags v1.11.0 to v1.17.0 in 90 days, and viam-sdk 0.83.1, 0.84.0, 0.85.0, 0.85.1 and 0.85.2 on PyPI between 1 October and 4 November (20). The rdk clone shows 200 commits from 1 October to 25 November 2026 from many authors, but open issues and replies couldn't be read because GitHub's pages refuse our reader, and the vendor runs a Discord and a docs site (12 of 25, unchecked). No official MCP registry entry found for Viam, and current official SDKs in five languages (10 of 15). CI workflows, dependency updates and a licence check in the rdk and Python SDK repositories (10). Total 82.

### Security & auth: Viam +33

- 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.
- Viam (60): MCP uses OAuth and acts only within the signed-in person's permissions, with no client-chosen scopes. Keys are scoped to a machine, a location or an organisation, with Owner and Operator roles, rotation and deletion, but the CLI mints Owner keys only and the docs say every key has full write access to its scope by default (24 of 30). Operator keys, optional per-resource `user_permissions` on a machine, a planner that refuses unsafe goals, `StopAll` and a heartbeat stop (14 of 20). No prompt-injection guidance found, and `read_viam_docs` and log reads return text from outside (4 of 15). Logs and config history are readable, and no audit log page was found (6 of 15). SOC 2 Type II, ISO 27001 and HIPAA claimed on the security page, with no security.txt (404) and no bounty found (12 of 20). Total 60.

### Schema & documentation: Viam +22

- 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.
- Viam (75): APIs are protobuf definitions served over gRPC, kept in the Apache-2.0 viamrobotics/api repository with a buf configuration, and every machine lists its own resources and methods at runtime. There's no OpenAPI file, so 20 of 25. The MCP tool schemas weren't read because that needs an OAuth session. llms.txt, llms-full.txt and a Markdown copy of every page (10). The agent guide says when to use each path and which calls not to trust, such as `Grab` return values, and the MCP reference lists each tool's class, but the tool descriptions themselves weren't read (14 of 20). Typed protobuf requests, constraints and orientation units stated (11 of 15). An error table with causes, and a common errors page in the navigation (12 of 15). Dated SDK releases and repository tags, with no changelog page found in the docs (8 of 15). Total 75.

### Payments & pricing: Unitree SDK2 +20

- 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.
- Viam (60): No x402, MPP or L402 (0). Per-unit cloud prices are public without a login (30). The first $5 a month of cloud services is free and needs no card (30). An account is made in a browser and the MCP server asks for sign-in and terms, so an agent can't start alone (0). Total 60.

### Reliability: Viam +11

- Unitree SDK2 (42): Local-package reading, for the Unitree robots the SDK drives. Both languages install from source, with Ubuntu 20.04, aarch64, x86_64 and Python 3.8 or later stated, and no package on a registry was found (12 of 20). The C++ repository has a build workflow on Ubuntu 20.04 for pushes and pull requests, which builds the examples and runs no tests, and the Python repository has no workflow (10 of 25). Open crash and regression issues weren't readable because GitHub's pages are closed to our reader, so this line scores 0, which is our limit and not a finding about the project (0). Tags run 1.0.0 to 2.0.2 for C++ with no changelog, the CMake project still says 2.0.0 and the Python package says 1.0.1 (5 of 15). The versions are past 1.0 (15). 12+10+0+5+15 = 42. A Unitree robot is needed for every call.
- Viam (53): Graded on the hosted fleet APIs and MCP server. A status page at status.viam.com with 90 days of history, on Instatus (20). The history shows one 9-minute degraded period on 18 September 2026 and nothing in October or November, but it tracks one component, app.viam.com, from an automated monitor (25 of 30). No rate limits with numbers in the reviewed documentation (0). No 429 or retry guidance found, though the agent guide says to pass a timeout on every call and use `cancel_operation` (0). No SLA found (0). The MCP page marks `set_machine_config` and `set_machine_config_properties` experimental, and the rest has no beta label (8 of 10). Total 53.

### Transparency & trust: Viam +7

- 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.
- Viam (57): viam-server is AGPL-3.0 and the SDK and API definitions are Apache-2.0, both OSI licences, but the hosted service and apps run under terms of 26 June 2024 (28 of 30). The security page says customer data isn't used to train Viam's models and sets US or EU storage, which the docs match. The privacy policy is dated 20 September 2022 and gives no retention periods beyond keeping data while an account is open (18 of 30). No deprecation policy found (0 of 20). Data regions and Google Cloud locations are disclosed, with no subprocessor list found (10 of 20). Total 56.

## Score by category

| Category | Weight | Unitree SDK2 | Viam | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 42 | 53 | Viam +11 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 53 | 75 | Viam +22 |
| Agent ergonomics | 13% | 53 | 56 | Viam +3 |
| Security & auth | 14% | 27 | 60 | Viam +33 |
| Payments & pricing | 10% | 80 | 60 | Unitree SDK2 +20 |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 46 | 82 | Viam +36 |
| Transparency & trust | 7% | 50 | 57 | Viam +7 |
| Negative events | ≤15 | 0 | 0 | |
| **Total** | | **48.8 · D** | **62.1 · B** | |

## Facts side by side

| Fact | Unitree SDK2 | Viam |
| --- | --- | --- |
| Kind | SDK + MCP | Platform |
| Vendor | Unitree Robotics | Viam |
| Hosted endpoint | no (local only) | `https://app.viam.com/mcp` |
| Transports |  | Streamable HTTP |
| Auth | None | OAuth or key |
| Pricing | Free | Freemium |
| x402 | no | no |
| Licence | BSD-3-Clause | AGPL-3.0 (viam-server), Apache-2.0 (SDKs and API definitions) |
| Tools exposed | none | 49 |
| Read-only variant documented | no | yes |
| llms.txt | no | yes |
| Last release | 2025-07-07 | 2026-11-17 |

## Verdicts

**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.

**Viam.** Viam gives an agent three routes to a robot (CLI, SDKs and a remote MCP server) and documents safe use, including an actuator stop when a client disconnects. Cloud pricing is public and starts free. No rate limits, SLA or retry guidance were found, and an account needs a browser sign-up.

## Before you call either

### Unitree SDK2

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.

### Viam

1. Use a machine-scoped key, not a location or organisation key, when the task touches one machine.
2. Read `ResourceNames`, `GetMachineStatus` and the frame system before any move, and plan through the motion service rather than moving joints.
3. Keep a carry sequence in one SDK process. Each CLI `part run` is its own connection and its stop can release a gripper.
4. Call `StopAll` to end a motion-service move. The heartbeat stop doesn't cover it.
5. Check `list_training_jobs` before calling `submit_training_job` again. A timed-out call may have started a billed job.

## Questions

### Which is better for AI agents, Unitree SDK2 or Viam?

Viam scores 62.1 (B) on agent readiness against Unitree SDK2's 48.8 (D), and leads in 6 of 7 scored categories. Unitree SDK2 leads on payments & pricing.

### Are Unitree SDK2 and Viam open source?

Yes. Unitree SDK2 is open source (BSD-3-Clause). Viam is open source (AGPL-3.0 (viam-server), Apache-2.0 (SDKs and API definitions)).


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/unitree-sdk2-vs-viam.json, and with the fewest tokens: https://www.anchorterminal.com/compare/unitree-sdk2-vs-viam.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "unitree-sdk2", "b": "viam"}`. From a terminal: `anchor compare unitree-sdk2 viam`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/unitree-sdk2.json and https://www.anchorterminal.com/api/v1/tools/viam.json

## Other comparisons with Unitree SDK2 or Viam

- [Drake vs Unitree SDK2](https://www.anchorterminal.com/compare/drake-vs-unitree-sdk2.md)
- [Formant vs Unitree SDK2](https://www.anchorterminal.com/compare/formant-vs-unitree-sdk2.md)
- [Gazebo vs Unitree SDK2](https://www.anchorterminal.com/compare/gazebo-vs-unitree-sdk2.md)
- [Genesis World vs Unitree SDK2](https://www.anchorterminal.com/compare/genesis-world-vs-unitree-sdk2.md)
- [InOrbit vs Unitree SDK2](https://www.anchorterminal.com/compare/inorbit-vs-unitree-sdk2.md)
- [NVIDIA Isaac Lab vs Unitree SDK2](https://www.anchorterminal.com/compare/isaac-lab-vs-unitree-sdk2.md)
- [Kinova Kortex API vs Unitree SDK2](https://www.anchorterminal.com/compare/kinova-kortex-vs-unitree-sdk2.md)
- [Kinova Kortex API vs Viam](https://www.anchorterminal.com/compare/kinova-kortex-vs-viam.md)
- [LeRobot vs Unitree SDK2](https://www.anchorterminal.com/compare/lerobot-vs-unitree-sdk2.md)
- [LeRobot vs Viam](https://www.anchorterminal.com/compare/lerobot-vs-viam.md)
- [Franka libfranka vs Unitree SDK2](https://www.anchorterminal.com/compare/libfranka-vs-unitree-sdk2.md)
- [Franka libfranka vs Viam](https://www.anchorterminal.com/compare/libfranka-vs-viam.md)
- [MuJoCo vs Unitree SDK2](https://www.anchorterminal.com/compare/mujoco-vs-unitree-sdk2.md)
- [Pollen Robotics Reachy SDK vs Unitree SDK2](https://www.anchorterminal.com/compare/reachy-vs-unitree-sdk2.md)
- [Pollen Robotics Reachy SDK vs Viam](https://www.anchorterminal.com/compare/reachy-vs-viam.md)
- [ROS MCP Server vs Unitree SDK2](https://www.anchorterminal.com/compare/ros-mcp-server-vs-unitree-sdk2.md)
- [ROS MCP Server vs Viam](https://www.anchorterminal.com/compare/ros-mcp-server-vs-viam.md)
- [Skydio Cloud API vs Unitree SDK2](https://www.anchorterminal.com/compare/skydio-cloud-api-vs-unitree-sdk2.md)
- [Boston Dynamics Spot SDK vs Unitree SDK2](https://www.anchorterminal.com/compare/spot-sdk-vs-unitree-sdk2.md)
- [Boston Dynamics Spot SDK vs Viam](https://www.anchorterminal.com/compare/spot-sdk-vs-viam.md)
- [Hello Robot Stretch Body vs Unitree SDK2](https://www.anchorterminal.com/compare/stretch-body-vs-unitree-sdk2.md)
- [Hello Robot Stretch Body vs Viam](https://www.anchorterminal.com/compare/stretch-body-vs-viam.md)
- [Unitree SDK2 vs Universal Robots RTDE](https://www.anchorterminal.com/compare/unitree-sdk2-vs-universal-robots-rtde.md)
- [Drake vs Viam](https://www.anchorterminal.com/compare/drake-vs-viam.md)
- [Gazebo vs Viam](https://www.anchorterminal.com/compare/gazebo-vs-viam.md)
- [Genesis World vs Viam](https://www.anchorterminal.com/compare/genesis-world-vs-viam.md)
- [NVIDIA Isaac Lab vs Viam](https://www.anchorterminal.com/compare/isaac-lab-vs-viam.md)
- [MuJoCo vs Viam](https://www.anchorterminal.com/compare/mujoco-vs-viam.md)
- [Foxglove vs Unitree SDK2](https://www.anchorterminal.com/compare/foxglove-vs-unitree-sdk2.md)
- [Gemini Robotics ER vs Unitree SDK2](https://www.anchorterminal.com/compare/gemini-robotics-er-vs-unitree-sdk2.md)
- [Gemini Robotics ER vs Viam](https://www.anchorterminal.com/compare/gemini-robotics-er-vs-viam.md)
- [Foxglove vs Viam](https://www.anchorterminal.com/compare/foxglove-vs-viam.md)
- [Universal Robots RTDE vs Viam](https://www.anchorterminal.com/compare/universal-robots-rtde-vs-viam.md)
- [Formant vs Viam](https://www.anchorterminal.com/compare/formant-vs-viam.md)
- [InOrbit vs Viam](https://www.anchorterminal.com/compare/inorbit-vs-viam.md)
- [Skydio Cloud API vs Viam](https://www.anchorterminal.com/compare/skydio-cloud-api-vs-viam.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
