vai workflow init
Create a new workflow JSON file with a starter template.
Synopsis
vai workflow init [options]
Description
vai workflow init scaffolds a new workflow definition file with example steps and structure. Use it as a starting point for building custom multi-step RAG pipelines.
Options
| Flag | Description | Default |
|---|---|---|
-o, --output <path> | Output file path | workflow.json |
--json | Output to stdout instead of file | — |
Examples
Create a workflow file
vai workflow init
Create with a custom name
vai workflow init -o my-pipeline.json
Related Commands
vai workflow run— Execute the workflowvai workflow validate— Validate before running- Writing Workflows — Workflow authoring guide