# LeRobot vs Viam

> Viam scores 62.1 (B) to LeRobot's 57 (C) for robotics control. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/lerobot-vs-viam
- Markdown: https://www.anchorterminal.com/compare/lerobot-vs-viam.md (~4,100 tokens)
- Slim: https://www.anchorterminal.com/compare/lerobot-vs-viam.min.md (~980 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/lerobot-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 LeRobot's 57 (C), and leads in 2 of 7 scored categories. LeRobot leads on agent ergonomics, payments & pricing and transparency & trust. Both do robotics control.

- LeRobot: grade C, 57/100, rank #1021 of 1738. Markdown https://www.anchorterminal.com/tools/lerobot.md · JSON https://www.anchorterminal.com/api/v1/tools/lerobot.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

### LeRobot (C)

Good 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:
- Agent ergonomics, 66 against 56
- Payments & pricing, 90 against 60
- Transparency & trust, 66 against 57

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

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

### 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 43
- Maintenance & community, 82 against 60

Also in its favour:
- A hosted endpoint, with nothing to install
- Free to start without a card
- No incidents deducted, where LeRobot loses 8 points for them

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


## Why the edge

### Payments & pricing: LeRobot +30

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

### Maintenance & community: Viam +22

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

### Reliability: Viam +10

- LeRobot (43): Local-package reading, for the arms and simulators the SDK drives. It installs from an official PyPI package that requires Python 3.12 or later and lists 3.12 and 3.13 (20). Public workflows run fast, full, latest-dependency and benchmark tests and add quality and security scans, with 325 test files in the repository, but whether main passes wasn't readable because GitHub's pages are closed to our reader (15). Open crash and regression issues weren't readable for the same reason, so this line scores 0, which is our limit and not a finding about the project (0). Releases are numbered 0.x, breaking changes are written up in a backward compatibility page and deprecations print warnings, with no changelog file (8). The package is classified Alpha and says 0.7.0 (0). 20+15+0+8+0 = 43. A robot or a simulator is needed for most of what it does.
- 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.

### Agent ergonomics: LeRobot +10

- 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.
- Viam (56): The MCP server lists 49 tools, which scores 5, plus 3 for read-only and category marking, skills and `retrieve_skill` (8 of 25). No toolset selection was found. The CLI and SDK take JSON in and out. Pagination and output limits weren't checked on the MCP tools, and the fleet API list methods weren't read in detail (8 of 20). Errors are documented for planning (the failing constraint is named, with percentages) and for stalls (14 of 20). Tools carry read-only and destructive annotations per the docs, named operations can be cancelled, and `submit_training_job` is warned as unsafe to repeat. No idempotency keys found (13 of 20). Official SDKs in Python, Go, TypeScript, C++ and Flutter, and the CLI needs one key (13 of 15). Total 56.

### Transparency & trust: LeRobot +9

- 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.
- 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 | LeRobot | Viam | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 43 | 53 | Viam +10 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 76 | 75 | LeRobot +1 |
| Agent ergonomics | 13% | 66 | 56 | LeRobot +10 |
| Security & auth | 14% | 63 | 60 | LeRobot +3 |
| Payments & pricing | 10% | 90 | 60 | LeRobot +30 |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 60 | 82 | Viam +22 |
| Transparency & trust | 7% | 66 | 57 | LeRobot +9 |
| Negative events | ≤15 | -8 | 0 | |
| **Total** | | **57 · C** | **62.1 · B** | |

## Facts side by side

| Fact | LeRobot | Viam |
| --- | --- | --- |
| Kind | SDK + MCP | Platform |
| Vendor | Hugging Face | 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 | Apache-2.0 | AGPL-3.0 (viam-server), Apache-2.0 (SDKs and API definitions) |
| Tools exposed | 22 | 49 |
| Read-only variant documented | no | yes |
| llms.txt | yes | yes |
| Last release | 2026-11-05 | 2026-11-17 |
| 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.

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

### LeRobot

1. Pass --dataset.push_to_hub=False, or --dataset.private=true, to lerobot-record unless the user wants camera video on the Hub
2. 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
3. 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
4. Without a robot, run lerobot-eval in simulation or load a LeRobotDataset, and treat recording, calibration and rollout as needing the user's hardware
5. Pin the lerobot version, require Python 3.12 or later, and pass --rename_map when camera names differ from the policy's

### 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, LeRobot or Viam?

Viam scores 62.1 (B) on agent readiness against LeRobot's 57 (C), and leads in 2 of 7 scored categories. LeRobot leads on agent ergonomics, payments & pricing and transparency & trust.

### Are LeRobot and Viam open source?

Yes. LeRobot is open source (Apache-2.0). 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/lerobot-vs-viam.json, and with the fewest tokens: https://www.anchorterminal.com/compare/lerobot-vs-viam.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "lerobot", "b": "viam"}`. From a terminal: `anchor compare lerobot viam`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/lerobot.json and https://www.anchorterminal.com/api/v1/tools/viam.json

## Other comparisons with LeRobot or Viam

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