Skip to content

Petal Flow Examples

Petal Flow ships with official examples in the main repository under examples/.

Terminal window
git clone https://github.com/petal-labs/petalflow.git
cd petalflow
# Validate and run CLI example
petalflow validate examples/06_cli_workflow/research.agent.yaml
petalflow run examples/06_cli_workflow/greeting.graph.json --input '{"name":"World"}'