Skip to main content
Steps are the building blocks of workflows. Each step can be an agent, team, or function.

Agent steps

from agno.workflow import Step

step = Step(
    agent=my_agent,
    name="Research",
    input_schema=ResearchInput,
    output_schema=ResearchOutput
)

Function steps

def process_data(input: dict) -> dict:
    return {"processed": input["raw"]}

step = Step(
    function=process_data,
    name="Process"
)

Team steps

step = Step(
    team=my_team,
    name="Collaborate"
)
See Workflow API for complete documentation.

Build docs developers (and LLMs) love