Cerulion Open Sources Zero-Copy Robot Runtime Compatible with ROS 2
YC S24 startup Cerulion has released an open-source robot runtime built around zero-copy data paths, deterministic multi-process replay and remote robot access, while remaining compatible with existing ROS 2 stacks. Its core proposition is turning record-a-run and replay-failures-against-new-code into a standard workflow, lowering the cost of debugging and validating physical AI systems.
Related Entities
Full Report
Cerulion (YC S24) is the operating system for physical AI: an open-source, zero-copy robot runtime that records runs, replays failures against new code, and reaches your robots from anywhere. It's ROS 2 compatible.
Install · Run the example · Performance · ROS 2 · Architecture · Docs · Guides

Install
curl -fsSL https://raw.githubusercontent.com/cerulion-inc/cerulion/main/tools/scripts/install.sh | sh && . "$HOME/.cerulion/env"The installer links cerulion into ~/.local/bin, adds one line to your shell startup files and installs Rust when Rust 1.95 or newer is missing. Then sign in once with cerulion login, because every command runs under a free Cerulion account, which is used for robot pairing and works offline afterwards. To uninstall, run the same script with sh -s -- --uninstall.
brew tap cerulion-inc/cerulion
brew install cerulion-inc/cerulion/cerulionIf Homebrew 6.0.x refuses the tap, run brew trust --formula cerulion-inc/cerulion/cerulion first and try again.
sudo apt-get update && sudo apt-get install -y ca-certificates curl gnupg
keyring=$(mktemp) &&
curl -fsSL https://apt.cerulion.com/cerulion-archive-keyring.gpg -o "$keyring" &&
[ "$(gpg --show-keys --with-colons "$keyring" | awk -F: '$1 == "fpr" { print $10 }' | sort -u)" = "$(printf '%s\n' 953C69FD279D9256FA4B71C5DA5FDE5D0DC6D91B | sort -u)" ] &&
sudo install -m 0644 "$keyring" /usr/share/keyrings/cerulion-archive-keyring.gpg &&
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/cerulion-archive-keyring.gpg] https://apt.cerulion.com stable main" | sudo tee /etc/apt/sources.list.d/cerulion.list >/dev/null &&
rm -f "$keyring" &&
sudo apt-get update && sudo apt-get install cerulionEach step runs only if the one before it succeeded, and the APT distribution page pins the same key fingerprints and has a longer form that names a failed step.
</details> <details> <summary>Build from crates.io or source</summary>cargo install --locked cerulion_cli cerulion_netdThe release installer places cerulion-connectd (the desk side of a remote connection) and cerulion-remoted (the robot side) beside the CLI. See the installation guide or CONTRIBUTING for the complete source-build route.
In fish, end the line with && source ~/.cerulion/env.fish instead.
Homebrew and the Debian package do not provision Rust. To build your own nodes, run cerulion-install-rust once, which installs current stable Rust unless a Rust 1.95 or newer is already there, and put ${CARGO_HOME:-$HOME/.cargo}/bin on your PATH. On a terminal, cerulion workspace create and cerulion node build offer to install it when Rust 1.95 or newer is missing.
Release binaries support Linux x86_64 and ARM64 (glibc 2.31+, Ubuntu 20.04 and later) and macOS Intel and Apple Silicon. The Linux packages also carry the ROS 2 Jazzy rmw and heap hook that cerulion ros2 run and cerulion ros2 launch use. The macOS packages do not, because ROS 2 Jazzy has no macOS binaries. The rmw libraries run where their ROS 2 distro runs, which for Jazzy is Ubuntu 24.04. For ROS 2 Lyrical, each release also publishes cerulion-rmw-lyrical-<version>-<target>.tar.gz for Linux x86_64 and ARM64. Unpack it and set CERULION_LIB_DIR to the unpacked directory so cerulion ros2 run and cerulion ros2 launch load the Lyrical rmw. That library is built and tested in CI.
Building nodes needs a C toolchain (build-essential on Debian and Ubuntu, xcode-select --install on macOS) and Rust 1.95 or newer. Nodes load through a compiler-independent interface, so any Rust 1.95 or newer can build them. The compiler does not have to match the one that built the cerulion CLI, and a new workspace pins no compiler. To bring a workspace from Cerulion 1.0, follow the migration steps in the 2.0.0 release notes. They move its =1.0.0 pins to =2.0.0 and finish with one cerulion node build <node> per node. The installation details cover the toolchain setup.
(注:更多技术实现细节与完整 API 文档请查阅原项目 README)
作者发帖说明(HN):
Hey HN! I'm Lakshay. Raveen and I have built Cerulion, a ROS2-compatible robotics runtime written in Rust. We've worked hard on lowering IPC transport latencies without making the single process tradeoff or forcing POD message types. These fast multi-process graphs can then be resimmed deterministically, and existing ROS2 nodes/launch files can run unmodified alongside native Cerulion Rust/Python code. Installation and quickstart (with a one-shot prompt for your favorite coding agent) here at the repo README: https://github.com/cerulion-inc/cerulion
I worked on off-road autonomy during my PhD at MIT, and we kept running into inter-process latency in ROS (2 lidars and 6 cameras). Loaned messages need POD types, which nukes standard, vendor-agnostic Image/PointCloud2. We ended up running some hot paths in a brittle single process, which made debugging a nightmare. I'm sure you've seen the heisenbugs ROS-based stacks can produce, with no way to easily reproduce the consumption order or interleaving of callbacks. Valuable data of runtime failures on the robot was hard to use effectively without deterministic reproducibility.
Here's the data loop:
- Run: Dependency-ordered level-based DAG scheduler with periodic/data/sync triggers, I/O deadlines, backpressure, and automatic profiling for process partitioning. Each node by default free-runs in its own process while preserving deterministic replay. Live runs pause/resume, and UMWAIT/WF...