# Function createWorkflowEngineDeps

Workflows exports - Workflow engine with parallel execution Split from index.ts for file size compliance (Issue #285)

- createWorkflowEngineDeps(
  config?: WorkflowEngineFactoryConfig,
  ): WorkflowEngineDeps

  Creates WorkflowEngineDeps with real implementations.

  When expertFactory is provided in config, the workflow engine will use the real StepExecutor to execute steps with agent experts. Otherwise, uses a mock executor.

  #### Parameters

  - `Optional` config: WorkflowEngineFactoryConfig

    Factory configuration

  #### Returns WorkflowEngineDeps

  WorkflowEngineDeps instance

  - Defined in packages/nexus-agents/src/workflows/workflow-engine-factory.ts:512