API Reference mimir_workflows v#0.7.0

Copy Markdown View Source

Modules

Deterministic workflow engine for agent steps on the BEAM.

Compiles a string-keyed workflow spec map into a validated %Spec{}.

Behaviour for host-supplied compile passes.

Step-spec-level DAG operations: minimal-phase grouping for execution (waves/1) and opt-in dependency inference (infer_edges/1).

One structured finding from a compiler pass.

Pure directed-graph algorithms over an edge list of {upstream, downstream} pairs.

Usage accounting over a run's results — the documented convention hosts follow so cost lands per-run without this library knowing about pricing.

Executes a list of step specs in topological phase order.

The parsed workflow IR.

One parsed IR step. raw carries the complete original map — the library never strips host fields.

Behaviour for a single step in a workflow.

{{ref}} extraction and resolution — the IR's dataflow syntax.