dora-rs/dora

DORA (Dataflow-Oriented Robotic Architecture) is middleware designed to streamline and simplify the creation of AI-based robotic applications. It offers low latency, composable, and distributed dataflow capabilities. Applications are modeled as directed graphs, also referred to as pipelines.

What it solves

Building real-time robotics and AI systems often means wrestling with complex wiring of components, performance bottlenecks, and hard-to-debug distributed systems. Dora offers a declarative way to define pipelines as dataflow graphs, connect modules written in different languages, and run them with high performance and production-ready tooling, making such systems easier to build, operate, and observe.

How it works

You define a dataflow in a YAML file, listing nodes (each with a path or module) and their inputs/outputs. The dora CLI can run the dataflow locally or across a cluster using a coordinator and daemons. Nodes communicate via typed messages over an Apache Arrow-based data plane, with Zenoh shared memory for zero-copy delivery of large payloads. The framework handles scheduling, fault tolerance, and provides a whole suite of commands for monitoring, recording, replaying, and inspecting dataflows.

  • Write YAML with nodes and connections; use built-in timers or custom nodes.
  • Nodes are separate processes (in Rust, Python, C, or C++) or lightweight in-process operators.
  • dora run executes locally; dora up/start runs distributed with a coordinator and daemons.
  • Options control restart policies, real-time behavior (e.g., --rt flag), CPU affinity, and more.
  • A Node Hub lets you pull reusable nodes into a dataflow with one line, e.g., hub: dora-yolo@^0.5.

Who it's for

Robotics engineers, AI application developers, and researchers who need a fast, flexible, and production-graded framework for building multi-modal, real-time systems. It's a modern alternative to ROS2 with better performance and easier orchestration, while supporting native APIs across several languages and offering features like distributed deployment, fault tolerance, and observability out of the box.

Highlights

  • 10-17x faster than ROS2 Python; zero-copy shared memory IPC for messages >4KB.
  • Write nodes in Rust, Python, C, or C++ with native APIs; mix languages freely in one dataflow.
  • Declarative YAML dataflows with optional type annotations and static validation.
  • Distributed by default: local shared memory and Zenoh pub-sub across machines.
  • Fault tolerance: per-node restart policies, health monitoring, circuit breakers, and coordinator HA.
  • Single CLI for lifecycle, monitoring, debugging, and cluster management (record/replay, topic inspection, resource monitoring, tracing).
  • Reusable modules, hot reload for Python, and a Node Hub for sharing and versioning components.

Related

  • Project
  • Project
  • Project
  • Project
  • Project