--- name: unifai-workflow-execution version: 1.0.0 description: Execute a multi-agent AI workflow defined in YAML or through the UI's drag-and-drop editor. inputs: - name: blueprint_path description: Path to the blueprint file (YAML) defining the multi-agent workflow. - name: execution_mode description: 'Execution mode: ''local'' or ''distributed''.' steps: - step_name: Load Blueprint description: Parse and validate the blueprint file to ensure it conforms to expected structure. - step_name: Initialize Execution Engine description: Set up the execution engine based on the selected mode ('local' or 'distributed'). - step_name: Execute Workflow description: Run the multi-agent workflow, streaming node-by-node output as NDJSON over HTTP. - step_name: Stream Results description: Render and stream results in real time to clients subscribing to the event stream. outputs: - name: execution_results description: The output of the executed workflow, streamed as NDJSON over HTTP. tags: [] metadata: source_repo: https://github.com/redhat-community-ai-tools/UnifAI.git extracted_at: '' confidence: 0.9 --- # unifai-workflow-execution Execute a multi-agent AI workflow defined in YAML or through the UI's drag-and-drop editor. ## Steps 1. {'step_name': 'Load Blueprint', 'description': 'Parse and validate the blueprint file to ensure it conforms to expected structure.'} 2. {'step_name': 'Initialize Execution Engine', 'description': "Set up the execution engine based on the selected mode ('local' or 'distributed')."} 3. {'step_name': 'Execute Workflow', 'description': 'Run the multi-agent workflow, streaming node-by-node output as NDJSON over HTTP.'} 4. {'step_name': 'Stream Results', 'description': 'Render and stream results in real time to clients subscribing to the event stream.'} ## Inputs - {'name': 'blueprint_path', 'description': 'Path to the blueprint file (YAML) defining the multi-agent workflow.'} - {'name': 'execution_mode', 'description': "Execution mode: 'local' or 'distributed'."} ## Outputs - {'name': 'execution_results', 'description': 'The output of the executed workflow, streamed as NDJSON over HTTP.'} ## Failure Modes - {'mode_name': 'Invalid Blueprint', 'description': 'Blueprint file is not valid YAML or does not conform to expected structure.'} - {'mode_name': 'Execution Engine Initialization Failure', 'description': 'Failed to initialize the execution engine due to configuration issues or missing dependencies.'} ## Source Extracted from: [https://github.com/redhat-community-ai-tools/UnifAI.git](https://github.com/redhat-community-ai-tools/UnifAI.git) Confidence: 0.9