Skip to contents

Builds the linear graph equivalent of agent_pipeline() (node i is agent i, each feeding the next). The original agent_pipeline() keeps its own simple implementation; this exists to show the graph can express it and to let a linear pipeline gain checkpointing when wanted.

Usage

workflow_from_pipeline(agents)

Arguments

agents

A list of Agents, in order.

Value

An agent_workflow.