Standard implementation of WorkflowEngine
Executes workflows by orchestrating agents, tools, and other steps.
Features:
const engine = new StandardWorkflowEngine({ agentOrchestrator, toolRegistry, ragPipelines: new Map([['default', ragPipeline]])});const result = await engine.execute(workflow, { input: 'data' });if (result.isSuccess) { console.log('Workflow completed:', result.value.variables);} Copy
const engine = new StandardWorkflowEngine({ agentOrchestrator, toolRegistry, ragPipelines: new Map([['default', ragPipeline]])});const result = await engine.execute(workflow, { input: 'data' });if (result.isSuccess) { console.log('Workflow completed:', result.value.variables);}
Execute a workflow
Resume a paused workflow
Optional
Pause a running workflow
Cancel a running workflow
Get execution status
List active executions
List all executions for a workflow
Standard implementation of WorkflowEngine
Executes workflows by orchestrating agents, tools, and other steps.
Features:
Example