Learn how to build more complex workflows by coordinating multiple agents. This course covers techniques like multi-turn conversations, chaining agent executions, delegating tasks using handoffs, and customizing input flows.
Overview
Syllabus
- Unit 1: Building Multi-Turn Conversations with Agents
- Capturing and Displaying Conversation History
- Adding a Follow-Up Message to Conversation History
- Creating Multi-Turn Conversations with Agents
- Replace Helper Function with Direct Message Object
- Unit 2: Chaining Agents for Sequential Workflows
- Chaining Agents with Raw Text Output
- Passing Full Conversation Context Between Agents
- Adding Extra Instructions to Agent Chains
- Chaining Three Agents for a Travel Planning Workflow
- Unit 3: Delegating Tasks Between Agents Using Handoffs
- Creating a Triage Agent for Dynamic Task Delegation
- Handling Unrelated Requests with Agent Handoffs
- Enhancing Triage Agents with System Context
- Specialist Agent Handoffs
- Unit 4: Customizing Agent Handoffs with Validation and Callbacks
- Using the Basic Handoff Function
- Customizing Handoffs with Descriptive Names and Descriptions
- Fix Handoff Naming for Proper Agent Routing
- Adding Validation and Custom Logic to Agent Handoffs
- Building Analytics Callbacks for Agent Workflows