Head to head · Robotics control · October 2026 research run

Unitree SDK2 vs 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. Both do robotics control.

Best robot models, SDKs, simulators and fleet APIs for AI agents · All 200 robotics comparisons

Which one, for what

Unitree SDK2 D

Best 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

Best 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

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.

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

CategoryWeightUnitree SDK2ViamEdge
Reliability16%4253Viam +11
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%5375Viam +22
Agent ergonomics13%5356Viam +3
Security & auth14%2760Viam +33
Payments & pricing10%8060Unitree SDK2 +20
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%4682Viam +36
Transparency & trust7%5057Viam +7
Negative events≤1500
TotalD 48.8/100B 62.1/100

Facts side by side

FactUnitree SDK2Viam
KindSDK + MCPPlatform
VendorUnitree RoboticsViam
Hosted endpointno (local only)https://app.viam.com/mcp
TransportsStreamable HTTP
AuthNoneOAuth or key
PricingFreeFreemium
x402nono
LicenceBSD-3-ClauseAGPL-3.0 (viam-server), Apache-2.0 (SDKs and API definitions)
Tools exposednone49
Read-only variant documentednoyes
llms.txtnoyes
Last release2025-07-072026-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)).

Other comparisons with Unitree SDK2 or Viam

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.