Documentation Index
Fetch the complete documentation index at: https://gump.build/docs/llms.txt
Use this file to discover all available pages before exploring further.
Anatomy of a Workflow
A workflow is a YAML file with a name and a list of steps. Here’s a minimal example:Root fields
Every workflow has these top-level fields:name— identifier, used as positional arg:gump run <name> --spec <file>.max_budget— maximum cost in dollars for the entire run. Optional.max_timeout— maximum wall-clock duration for the entire run (e.g.,"30m"). Optional.max_tokens— maximum tokens consumed for the entire run. Optional.steps— ordered list of steps to execute.
description and inputs fields from v0.0.3 have been removed. Workflows are identified by name, described in the playbook, and their inputs are deduced automatically by scanning variables.
Steps are sequential
Steps execute in order, top to bottom. Each step can read the outputs of previous steps via the state. A step doesn’t start until the previous one has completed and passed its gate.Where workflows live
Gump looks for workflows in three places, in order:- Project —
.gump/workflows/my-workflow.yaml - User —
~/.gump/workflows/my-workflow.yaml - Built-in — shipped with Gump