@@ -81,9 +81,9 @@ Define which agents can hand off to which other agents:
8181``` csharp
8282// 3) Build handoff workflow with routing rules
8383var workflow = AgentWorkflowBuilder .StartHandoffWith (triageAgent )
84- .WithHandoff (triageAgent , [mathTutor , historyTutor ]) // Triage can route to either specialist
85- .WithHandoff (mathTutor , triageAgent ) // Math tutor can return to triage
86- .WithHandoff (historyTutor , triageAgent ) // History tutor can return to triage
84+ .WithHandoffs (triageAgent , [mathTutor , historyTutor ]) // Triage can route to either specialist
85+ .WithHandoff (mathTutor , triageAgent ) // Math tutor can return to triage
86+ .WithHandoff (historyTutor , triageAgent ) // History tutor can return to triage
8787 .Build ();
8888```
8989
@@ -143,8 +143,8 @@ math_tutor: I'd be happy to help with calculus integration! Integration is the r
143143## Key Concepts
144144
145145- ** Dynamic Routing** : Agents can decide which agent should handle the next interaction based on context
146- - ** AgentWorkflowBuilder.StartHandoffWith ()** : Defines the initial agent that starts the workflow
147- - ** WithHandoff()** : Configures handoff rules between specific agents
146+ - ** AgentWorkflowBuilder.CreateHandoffBuilderWith ()** : Defines the initial agent that starts the workflow
147+ - ** WithHandoff()** and ** WithHandoffs() ** : Configures handoff rules between specific agents
148148- ** Context Preservation** : Full conversation history is maintained across all handoffs
149149- ** Multi-turn Support** : Supports ongoing conversations with seamless agent switching
150150- ** Specialized Expertise** : Each agent focuses on their domain while collaborating through handoffs
0 commit comments