A workflow engine is a software system that executes predefined sequences of tasks, known as workflows or process instances, by managing their state, routing data, and invoking activities according to a defined model. It provides the runtime environment that interprets a workflow definition, handles conditional branching and parallel execution, and ensures reliable operation through mechanisms like state persistence and idempotent execution. In multi-agent system orchestration, it coordinates the complex interactions between autonomous agents.
