Quick Start
User Interaction Flow
Configuration Levels
When to Transfer
| User Topic | Best Agent |
|---|---|
| Payment questions | Billing Agent |
| Technical issues | Support Agent |
| Product inquiries | Sales Agent |
| General questions | Main Agent |
Safety Features
Handoffs include built-in protections:- Cycle detection: Prevents A → B → A loops
- Depth limits: Maximum 10 handoffs in a chain
- Timeouts: Handoffs timeout after 5 minutes
API Reference
Agent Module
Agent module with handoff support
AgentConfig
Agent configuration
Best Practices
Create focused specialists
Create focused specialists
Each agent should handle one domain well. This makes handoffs accurate.
Write clear descriptions
Write clear descriptions
The main agent uses descriptions to decide when to transfer.
Explain transfers to users
Explain transfers to users
Let users know they’re being connected to a specialist.

