Steps

Parameter reference for the Steps class, which groups a list of steps into a single sequential pipeline.

ParameterTypeDefaultDescription
nameOptional[str]NoneName of the steps group for identification
descriptionOptional[str]NoneDescription of the steps group's purpose
stepsOptional[List[Any]]None (empty list when unset)List of steps to execute sequentially
human_reviewOptional[HumanReview]NoneAll HITL settings in a single config. See HumanReview Config.

HumanReview configuration

Pass these settings inside human_review=HumanReview(...). They are not direct constructor arguments. See HumanReview for the complete configuration and supported combinations.

ParameterTypeDefaultDescription
requires_confirmationboolFalsePause for user confirmation before executing the pipeline
confirmation_messageOptional[str]NoneMessage shown to user when requesting confirmation
on_rejectUnion[OnReject, str]OnReject.skipAction when rejected: skip, cancel, retry
Constructor example (install agno first):
from agno.workflow.steps import Steps
from agno.workflow.step import Step
from agno.workflow.types import HumanReview, StepInput, StepOutput

def prepare(step_input: StepInput) -> StepOutput:
    return StepOutput(content=step_input.input)

prepare_step = Step(name="prepare", executor=prepare)
step = Steps(
    steps=[prepare_step],
    human_review=HumanReview(requires_confirmation=True),
)