What it can build · Writing requests · Architecture · Benchmarks · Fine-tuning · Results · GitHub
Describe a ROS 2 package; a coding agent running on your own GPU looks up official examples for your distro, writes the package, builds it in that distro’s Docker image, starts every node and launch file, and fixes it until it works. Model: Inkling 2 Mini on vLLM. Distros: Humble, Jazzy, Kilted, Lyrical.
How it works
| Step | Tool |
|---|---|
| 1. Look up official examples for the target distro | ros2ref: search over 6,190 packages, files and tutorials from ros2 examples and demos, ROS 2 docs, Nav2, MoveIt 2, ros2_control |
| 2. Write the complete package | the agent (OpenCode or Claude Code) on the local model |
| 3. Build and smoke-test | ros2check: rosdep + colcon in ros:<distro>-ros-base; every package visible to ROS, every node starts, every launch file loads |
| 4. Test behaviour and fix | ros2exec: echo topics, call services, set parameters, compare with the request |
What it can build
Packages, nodes, custom interfaces, lifecycle nodes, components, TF, QoS, launch files with YAML parameters, Nav2 plugins and ros2_control hardware interfaces, on Humble, Jazzy, Kilted and Lyrical, and it fixes its own build errors. What is proven, what is likely and what is out of scope: What it can build.
Results
20 tasks with hidden behaviour checks (values on topics, service and action results, runtime parameters, lifecycle, TF, QoS, launch files), validated against reference solutions. OpenCode agent, one run per task.
| Model | Builds | Starts | Behaves correctly | Speed (1 request) |
|---|---|---|---|---|
| Inkling 2 Mini (base) | 19 / 20 | 19 / 20 | 18 / 20 | 47 tok/s |
| Inkling 2 Mini + ROS 2 LoRA | 19 / 20 | 19 / 20 | 15 / 20 | 55 tok/s |
On an earlier 10-task benchmark with the base model: one-shot generation 4 / 10, with retrieval 7 / 10, the full agent 10 / 10 (7 / 10 under the stricter check). Most of the gain comes from letting the model look things up and test its own work. Details and every failure, task by task: results.
Hardware
Dell Pro Max with GB10. Image: Dell Technologies.
Everything in this repository was developed and measured on a Dell Pro Max with GB10, a desktop built on the NVIDIA GB10 Grace Blackwell superchip (the NVIDIA DGX Spark platform). The model server, the agent, the Docker build containers and the benchmarks all run on this one machine.
| Measured on this machine | |
|---|---|
| GPU | NVIDIA GB10 (Blackwell), NVFP4 and MXFP8 support |
| Memory | 128 GB unified CPU/GPU memory (121 GiB usable) |
| CPU architecture | Arm64 (aarch64) |
| Storage | 4 TB NVMe (3.6 TiB) |
| OS | Ubuntu 24.04, Docker with the NVIDIA container runtime |
| Inkling 2 Mini on vLLM | about 20 GB of weights; 47 tok/s (base) and 55 tok/s (fine-tuned) for one request, 108-130 tok/s for four |
| LoRA training (bf16, 53 GB) | fits in memory; about 70-125 training tokens/s (the full run used 2x RTX PRO 6000 on Brev instead) |
Running the model server and a 53 GB training job at the same time exhausted memory and restarted the machine once: run one heavy GPU job at a time.
Example request
ROS 2 Jazzy, C++ package `battery_monitor`: subscribe to sensor_msgs/msg/BatteryState on /battery,
publish std_msgs/msg/Bool on /battery_low (true below 20%) at 1 Hz. Prove it works by publishing 10%
and showing /battery_low is true.
More in Writing requests.
Quick start
git clone https://github.com/kabilankb/ros2-inkling && cd ros2-inkling
make data && make install
hf download thinkingmachines/Inkling-2-Mini --local-dir ~/inkling-ft/model
~/ros2_rag/ros2gen.sh server base
ros2agent new my_robot jazzy && ros2agent my_robot
Needs an NVIDIA GPU machine with Docker and the NVIDIA container runtime (tested on a Dell Pro Max with GB10), Python 3.10+, and OpenCode or Claude Code. Full instructions in the README.
License
Code under the Apache License 2.0. Generated data keeps the licences of its sources (Apache 2.0, BSD, LGPL, CC-BY 4.0).