Skip to main content

Module engine

Module engine 

Source
Expand description

The core Engine — orchestrates workflow execution and persistence.

The engine ties together a RunStore for persistence, an AgentProvider for AI operations, and the executor for running steps. It supports:

  • Static workflows (WorkflowDef): serializable step sequences without chaining.
  • Dynamic workflows (WorkflowHandler): Rust-native handlers where steps can reference previous outputs.

Both can be executed inline or enqueued for a worker.

Structs§

Engine
The workflow orchestration engine.