Crossflow: Async Workflows for Multi-Agent Robot Orchestration

A concept guide to Crossflow, the Rust async workflow library with a visual editor: how it handles parallelism, synchronization and error paths compared with behavior trees, Petri nets and Node-RED.

In this article

  • Key idea
  • When to use it
  • Why the usual tools struggle
  • The building blocks
  • Example: passing through a door
  • Buffers: synchronizing without locks
  • Three ways to use it
  • How it compares
  • Our take: where this fits
  • Further reading