AgentWorkflowBuilder.CreateMagenticBuilderWith(AIAgent) Method

Definition

Creates a new MagenticWorkflowBuilder with the given managerAgent.

public static Microsoft.Agents.AI.Workflows.MagenticWorkflowBuilder CreateMagenticBuilderWith(Microsoft.Agents.AI.AIAgent managerAgent);
static member CreateMagenticBuilderWith : Microsoft.Agents.AI.AIAgent -> Microsoft.Agents.AI.Workflows.MagenticWorkflowBuilder
Public Shared Function CreateMagenticBuilderWith (managerAgent As AIAgent) As MagenticWorkflowBuilder

Parameters

managerAgent
AIAgent

The LLM-powered manager agent that coordinates the team.

Returns

The builder for creating a Magentic workflow.

Applies to