# MuJoCo vs Viam

> MuJoCo scores 77.1 (BB) to Viam's 62.1 (B) for robotics simulate. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/mujoco-vs-viam
- Markdown: https://www.anchorterminal.com/compare/mujoco-vs-viam.md (~4,350 tokens)
- Slim: https://www.anchorterminal.com/compare/mujoco-vs-viam.min.md (~930 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/mujoco-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

MuJoCo scores 77.1 (BB) on agent readiness against Viam's 62.1 (B), and leads in every scored category. Both do robotics simulate.

- MuJoCo: grade BB, 77.1/100, rank #93 of 1738. Markdown https://www.anchorterminal.com/tools/mujoco.md · JSON https://www.anchorterminal.com/api/v1/tools/mujoco.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

### MuJoCo (BB)

Good for: Training and testing robot control and learning policies in simulation, with no hardware.

Ahead on:
- Reliability, 77 against 53
- Schema & documentation, 83 against 75
- Agent ergonomics, 74 against 56
- Payments & pricing, 90 against 60
- Maintenance & community, 91 against 82
- Transparency & trust, 66 against 57

Also in its favour:
- Agent-ready, a grade of BB or better
- No key needed to call it

Watch for: Simulation only, with no interface to a real robot, so a policy trained here needs separate hardware code

### Viam (B)

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

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

### Payments & pricing: MuJoCo +30

- MuJoCo (90): No payment protocol (0). Free, self-hosted Apache-2.0 packages with nothing to buy, so 30 + 30 + 30 by the self-hosted rule. 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.

### Reliability: MuJoCo +24

- MuJoCo (77): Scored as local software that drives no robot. Official PyPI packages (`mujoco`, `mujoco-core`) with Python 3.11 to 3.15 in the metadata, plus release binaries (20). A build workflow with a compiler matrix and 193 test files, but GitHub's pages refused us so we couldn't see whether main passes (15). Issue counts and reply times unread; the 4.0.0 release carried a sparse Cholesky bug that 4.0.1 fixed five days later with issue numbers cited in the changelog (12 of 25). Custom semantic versioning written down in VERSIONING.md, and each changelog version lists breaking API changes with migration notes (15). Version 4.0.1 and the Production/Stable classifier (15). 20+15+12+15+15 = 77.
- 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: MuJoCo +18

- MuJoCo (74): A library adds no tool definitions to context. The manual is large (the XML reference alone is about 11,000 lines), which the skill guides and named access offset (17 of 25). `data.body('name')` and `model.geom` named access, sensors you choose, and batch and rollout calls that return only the fields asked for (14 of 20). Irrecoverable engine errors become `mujoco.FatalError` and warnings are counted on `MjData`, but messages vary in how far they point to a fix (14 of 20). Stepping is deterministic, state can be saved and keyframes restored, and `mujoco.batch` results match a plain loop bit for bit at any thread count, so a failed rollout can be rerun (15 of 20). `pip install mujoco` works with defaults, and C, Python, Unity and WebAssembly are all official (14 of 15). 17+14+14+15+14 = 74.
- 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.

### Maintenance & community: MuJoCo +9

- MuJoCo (91): mujoco 4.0.1 on PyPI on 11 November 2026, 18 days before this check (30). Seven releases in the 90 days to 29 November, 3.13.0 on 8 September to 4.0.1 (20). 1,234 commits in the clone in the last 90 days by many authors, and pull requests from outside contributors merged on the day of the check, but issue counts and reply times were unread (18 of 25). Current official packages for the engine, MJX and MuJoCo Warp (15). Workflows pin actions by commit, set a read-only token, and the core wheel depends only on numpy, with CI results unread (8 of 10). 30+20+18+15+8 = 91.
- 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.

### Transparency & trust: MuJoCo +9

- MuJoCo (66): Apache-2.0, published by Google DeepMind (30). No data statement for the library. It runs locally and mujoco.org's browser version has no privacy page that we found (15 of 30). VERSIONING.md defines what each version level may break, and the changelog lists deprecations and removals with migration notes, but there is no notice period written down (14 of 20). No telemetry found in the library source, and the docs don't say so either way (14 of 20). 30+15+14+14 = 73.
- 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.

### Schema & documentation: MuJoCo +8

- MuJoCo (83): The C headers type every call and the Python bindings follow them, with a Python chapter and a generated API reference. Type stubs were not confirmed in the wheel, and only the sysid subpackage ships py.typed (20 of 25). No llms.txt on mujoco.org or the docs host, but the docs ship as .rst inside the pip package and every page is on Read the Docs (7 of 10). doc/skills holds nine guides whose descriptions say what each covers and what not to use it for, and the API reference describes each function (16 of 20). MJCF is checked by a documented XML schema and enums name integrators, joints and solvers, though models and `mjSpec` calls take free-form values in places (12 of 15). Tutorial notebooks, samples and a documented error type, `mujoco.FatalError` (13 of 15). A dated changelog with migration notes (15). 20+7+16+12+13+15 = 83.
- 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.

## Score by category

| Category | Weight | MuJoCo | Viam | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 77 | 53 | MuJoCo +24 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 83 | 75 | MuJoCo +8 |
| Agent ergonomics | 13% | 74 | 56 | MuJoCo +18 |
| Security & auth | 14% | 64 | 60 | MuJoCo +4 |
| Payments & pricing | 10% | 90 | 60 | MuJoCo +30 |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 91 | 82 | MuJoCo +9 |
| Transparency & trust | 7% | 66 | 57 | MuJoCo +9 |
| Negative events | ≤15 | 0 | 0 | |
| **Total** | | **77.1 · BB** | **62.1 · B** | |

## Facts side by side

| Fact | MuJoCo | Viam |
| --- | --- | --- |
| Kind | SDK + MCP | Platform |
| Vendor | Google (DeepMind) | 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 | none | 49 |
| Read-only variant documented | no | yes |
| llms.txt | no | yes |
| Last release | 2026-11-11 | 2026-11-17 |
| Terms last updated | no document linked | not read yet |
| Privacy policy last updated | no document linked | not read yet |

## Verdicts

**MuJoCo.** A mature open-source physics engine with Python bindings that run with no robot, a dated changelog with migration notes, seven releases in 90 days and agent skill guides in the repository. It only simulates and drives no real robot, and 4.0.0 shipped a solver bug fixed five days later.

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

### MuJoCo

1. Install with `pip install mujoco`, or `pip install mujoco-core` for headless runs that need only numpy and no viewer or OpenGL
2. Load a model with `mujoco.MjModel.from_xml_path`, step with `mujoco.mj_step`, and read named fields through `data.body('name')` rather than by index
3. Read doc/skills in the package (`pathlib.Path(mujoco.__file__).parent / 'doc'`) before writing model or Python code
4. Catch `mujoco.FatalError` around loads and steps, since irrecoverable engine errors become Python exceptions
5. Pin the version in training and evaluation code, because results are not reproducible across releases
6. Use `mujoco.batch.Batch` or `mujoco.rollout` for many rollouts instead of a Python loop, and MJX or MuJoCo Warp only when a GPU is available

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

MuJoCo scores 77.1 (BB) on agent readiness against Viam's 62.1 (B), and leads in every scored category.

### Are MuJoCo and Viam open source?

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

## Other comparisons with MuJoCo or Viam

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