distri-workflow — workflow engine for Distri.
Define multi-step workflows as data, execute them step by step, with support for sequential/parallel execution, conditions, agent runs, tool calls, and persistent state tracking.
Architecture
WorkflowDefinition— the workflow as a DAG of stepsWorkflowStep— a single step (API call, script, agent run, tool call, condition)StepRequirement— what a step needs to run (native skills, connections)StepExecutortrait — executes a step (implement for your runtime)WorkflowStateStoretrait — persists workflow state (Redis, DB, in-memory)WorkflowRunner— orchestrates execution with requirement checking
Example
use *;
let steps = vec!;
let workflow = new;