Repository navigation
External Programs and Add ons
Robot Studio keeps what every robot needs in the app, and uses established programs for the heavy engines. It is built in three layers:
| Layer | What goes there |
|---|---|
| The app | What every robot needs, and the contracts other things plug into. |
| Programs | Programs the studio only runs, such as KiCad, a slicer or a compiler. They live outside the app: found on your computer, or downloaded as a pinned, checksum-verified release after you agree. |
| Add-ons | Code that is one maker's alone, or heavy and not for everybody. Part of the repository, but not running until you add it. |
Settings (the gear in the top bar) → Programs shows which programs were found, their versions and paths, with Look again.
These need no separate program:
| Engine | Used for |
|---|---|
MuJoCo 4.0.1 (WebAssembly, @mujoco/mujoco) |
Physics: standing, motions, driving, simulated sensors |
| Open CASCADE through replicad 1.2.1 (WebAssembly) | Solid modelling, STEP, drawings |
tscircuit set (pinned in eda/, MIT) |
PCB interchange, local checks, fabrication files |
ONNX Runtime 1.31.1 (onnxruntime-node, MIT, in runtimes/onnx/) |
Running ONNX AI models on this computer |
| Monaco 0.57.0 (MIT) | The code editor |
| Program | What it adds | How the studio gets it | Verified version |
|---|---|---|---|
| KiCad | Schematic ERC, board DRC, pour filling, fabrication outputs, KiCad's symbol and footprint libraries | Install it yourself from kicad.org. Found in Program Files\KiCad\<version>, on PATH, or in the studio's tools folder. Not downloaded by the studio. |
9 or newer for checks and exports; exactly 10.0.8 for native pour filling and the Freerouting bridge |
KiCad router helper (robot-pns.exe) |
Interactive Push & Shove routing, differential pairs and length tuning with KiCad's own code | Built from source in native/pns (needs Visual Studio 2022 C++ Build Tools with the Windows SDK, and CMake/Ninja): native/pns/build.ps1 -Acquire. The app checks every file's SHA-256 before it runs it and never downloads it. Windows x64 only. |
KiCad 10.0.8 source |
| Freerouting with a Temurin Java runtime | Whole-board automatic routing (autoroute_pcb), locally, with no cloud service |
Place the JAR and the complete extracted runtime in tools\freerouting\2.5.0\ of the data folder (or .tools/freerouting/2.5.0/ in a checkout). Hashes are checked before running. Needs KiCad 10.0.8. Windows x64 only. Without it, automatic routing reports an error and stores no copper. |
Freerouting 2.5.0, Temurin 25.0.5+8 |
| arduino-cli | Building and uploading Arduino-class firmware; the serial monitor | Found on PATH, in its own install folder or inside an installed Arduino IDE; otherwise downloaded into the data folder after you agree (Settings → Programs → Install, or the agent's install_toolchain). Board packages such as the ESP32 core are downloaded the same way. |
1.6.0 |
| PrusaSlicer | Slicing printed parts | Found where its installer puts it, or downloaded as the pinned official release (PrusaSlicer-2.9.7.zip) after you agree |
2.9.7 |
| OrcaSlicer | A second slicer, through its add-on | Found where its installer puts it, or downloaded as the pinned official portable release after you agree | 2.5.1 |
| clangd | C++ completion, definitions, references and renaming in the Code place | Found on PATH or in the studio's tools folder. Not downloaded by the studio. |
23.1.0 |
| Python | Running Python files, extensions written in Python, Python environments | Found through the py launcher and PATH. Install it from python.org. |
3.12 tested |
| Git | Project versions, history, branches and remotes in the Project place | The installed Git. Git for Windows supplies Credential Manager for HTTPS; OpenSSH handles SSH. | — |
| OpenSSH and tar | Deploying a controller's files to a Linux computer | The system's own | — |
These environment variables point the studio at a specific program. Set them before npm run dev.
| Variable | Program |
|---|---|
ROBOT_STUDIO_KICAD_CLI |
KiCad's kicad-cli executable |
ROBOT_STUDIO_PRUSASLICER |
PrusaSlicer |
ROBOT_STUDIO_ORCASLICER |
OrcaSlicer |
ROBOT_STUDIO_ARDUINO_CLI |
arduino-cli |
ROBOT_STUDIO_CLANGD |
clangd |
ROBOT_STUDIO_FREEROUTING_DIR |
The Freerouting version folder |
Nothing is downloaded without your approval. What can be downloaded is pinned in the source by version, size and
SHA-256 (src/server/slicer/releases.ts, src/server/firmware/releases.ts, or the add-on's manifest), and neither
an agent nor a project can name another address. The approval dialog says what will be downloaded, from where and
how large it is.
An add-on is a small package of code for something that is not everybody's: another slicer, one maker's printer,
a trainer. The official add-ons are in the repository's addons/ folder. None of them runs until you add it.
Adding one copies nothing and downloads nothing: it is loaded from that folder, so it is always the version that
came with your copy of the app.
| Add-on | What it adds | Status |
|---|---|---|
OrcaSlicer (robotstudio.orcaslicer) |
OrcaSlicer as a second slicer, with its printer profiles (Bambu Lab's among some seventy makers), separate hole and outer-size compensation, and named bed plates. OrcaSlicer itself is a program installed from its pinned release when you ask. | No file sliced with it has been printed. |
Bambu Lab printers (robotstudio.bambu-lab) |
Reaches a Bambu Lab printer on the local network its maker's way: finds it, copies a sliced file to its card over FTP with TLS, starts the print through the printer's own broker and feeds it from the right AMS slot. Starting a print from the studio needs the printer in LAN Only Mode with Developer Mode on. | Tested against stand-ins, never against a printer. |
Isaac Lab (robotstudio.isaac-lab) |
Trains reinforcement-learning policies with NVIDIA Isaac Lab on this computer's graphics card, from a learning task written from your robot, and brings the policy back into the AI place. Isaac Lab itself is installed beside the add-on (with uv), not by it. | A short training run of H1 was proved; a short run's policy is not a working walk. |
Adding one. Settings → Add-ons lists the offered add-ons, each with an Add button. An agent can ask
with install_addon, which waits for your approval every time. You can also add the https address of another
source of add-ons there; an add-on from such a source is fetched into the data folder, and every file is checked
against its manifest. An agent cannot add a source.
Writing one. An add-on is a folder with a manifest addon.json and an ES module that exports activate(host).
The manifest declares what it provides (printer links, slicers, trainers) as data, and lists every file with its
size and SHA-256: a file that differs is not run. Run npm run addons after changing an official add-on to seal
the folder. The format is described in
addons/README.md.
The standard libraries ship in library/: board components (resistors, capacitors, inductors with footprints
converted from KiCad's libraries), rolling bearings (2,460 from their standards' tables) and fasteners (1,607
screws, nuts, washers, retaining rings and pins). More libraries can be added from a source you give in the window
(project menu → Libraries). See
library/README.md.
Robot Studio is licensed under the GNU AGPL v3.0 or later. Programs and data it uses keep their own licences. The notices are in third_party/:
| Component | Licence |
|---|---|
KiCad router helper (KiCad 10.0.8 Push and Shove code, native/pns and third_party/kicad-pns) |
GPL-3.0-or-later, with included components under Boost, MIT, Apache-2.0 and CC0 |
| Freerouting 2.5.0 | GPL-3.0 |
| Temurin (OpenJDK) runtime | GPL-2.0 with the Classpath Exception |
KiCad footprint and symbol subsets (third_party/kicad-footprints, third_party/kicad-symbols) |
CC-BY-SA-4.0 with the KiCad libraries exception |
| Fastener tables from the FreeCAD Fasteners Workbench | LGPL-2.1 |
| Fastener and bearing tables from bd_warehouse | Apache-2.0 |
PCB component models (third_party/pcb-models) |
Adafruit models under MIT, KiCad models under the KiCad libraries licence, and models made by Robot Studio from cited dimensions |
| PrusaSlicer, OrcaSlicer | AGPL-3.0 |
| Isaac Lab | BSD-3-Clause |
AGPL-3.0 · github.com/Niomatic/robot-studio · niomatic.com
Get started
Using the studio
Reference