Skip to main content
The simplest workflow pattern. Steps execute in order, each receiving context from the previous step.

How It Works

  1. research step receives the original input (“The future of AI agents”).
  2. write step receives the researcher’s output as context.
  3. edit step receives the writer’s output as context.
  4. result.content contains the editor’s final output.

Using Steps (Explicit Sequential)

For clarity, you can use the Steps wrapper:

Custom Input Building

Override how context is passed between steps: