Getting Started¶
This guide will help you get started with the YAML Workflow Engine.
Installation¶
Install the YAML Workflow Engine using pip:
Basic Concepts¶
The YAML Workflow Engine is built around a few core concepts:
- Workflows: YAML files that define a sequence of tasks to be executed
- Tasks: Individual units of work that can be executed
- Flows: Named sequences of tasks that can be executed together
- Parameters: Values that can be passed to workflows and tasks
Your First Workflow¶
- Create a new directory for your workflow:
- Initialize a new workflow project:
- Examine the generated workflow file (
workflows/hello_world.yaml
):
name: Hello World Workflow
description: A simple example workflow
params:
name:
description: Name to include in greeting
type: string
required: true
steps:
- name: greet
task: shell
command: echo "Hello, {{ name }}!"
- Run the workflow:
Next Steps¶
- Learn about workflow configuration
- Explore built-in tasks
- See more examples