AgentWorkflowBuilder.CreateSequentialBuilderWith Method

Definition

Creates a new SequentialWorkflowBuilder with the given pipeline of agents.

public static Microsoft.Agents.AI.Workflows.SequentialWorkflowBuilder CreateSequentialBuilderWith(System.Collections.Generic.IEnumerable<Microsoft.Agents.AI.AIAgent> agents);
static member CreateSequentialBuilderWith : seq<Microsoft.Agents.AI.AIAgent> -> Microsoft.Agents.AI.Workflows.SequentialWorkflowBuilder
Public Shared Function CreateSequentialBuilderWith (agents As IEnumerable(Of AIAgent)) As SequentialWorkflowBuilder

Parameters

agents
IEnumerable<AIAgent>

The sequence of agents to compose into a sequential workflow.

Returns

The builder for creating a sequential workflow.

Applies to