A Rust dataflow framework for real-time robotics and AI applications, with nodes in Rust, Python, C or C++.
open sourceApache-2.0self-hostablefree
dora (Dataflow-Oriented Robotic Architecture) builds robotics and AI applications as directed graphs of nodes declared in YAML, written in Rust, Python, C or C++ with native APIs and mixed freely in one dataflow. Messages travel as Apache Arrow data through zero-copy shared memory on one machine and Zenoh across machines, and the project says it's 10 to 17 times faster than ROS 2 with Python. Beyond pub/sub it has service, action and streaming patterns, per-node restart policies, health checks and circuit breakers, soft real-time scheduling, adding and removing nodes in a running dataflow, and SSH-based cluster management. One CLI runs it locally or distributed and covers logs, a dora top monitor, topic inspection, OpenTelemetry tracing, and recording and replaying messages for regression tests. A ROS 2 bridge connects existing topics, services and actions, and the Node Hub pulls ready-made nodes for cameras, YOLO, LLMs and speech.
Problems it solves
- ROS 2 with Python is too slow for my robot's camera and model pipeline
- connect cameras, AI models and actuators in a robot as a dataflow
- pass large images between processes on a robot without copying them
- mix Rust, Python and C++ nodes in one robotics application
- record sensor messages and replay them offline for regression testing
- run a robotics pipeline across several machines
- bridge my new pipeline to existing ROS 2 topics and services
- restart a crashed node automatically without stopping the whole robot application
Features
- dataflows as YAML directed graphs with typed inputs and outputs
- native node APIs for Rust, Python, C and C++
- zero-copy shared memory and Apache Arrow messages
- Zenoh for cross-machine communication
- topic, service, action and streaming patterns
- per-node restart policies, health monitoring and circuit breakers
- soft real-time mode with CPU pinning
- add and remove nodes in a running dataflow
- SSH-based cluster management with label scheduling
- record and replay of dataflow messages
View 6 more
- dora top resource monitor and topic inspection
- OpenTelemetry logs, metrics and tracing
- ROS 2 bridge over DDS or Zenoh
- Node Hub of reusable nodes
- Python hot reload and a Python dataflow builder
- HTML or Mermaid dataflow graphs
Limitations
- Windows support is best effort; Linux is the first-class platform.1
- The Node Hub is marked unstable.1
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Has official SDKs | plan not known |