How It Works
Pass a list of models instead of a single model. The agent can hand off to any model in the list based on what the task requires:When to Use Handoffs
Handoffs shine when a task has distinct phases requiring different capabilities:- Research → Writing: GPT gathers information, Claude writes the final piece
- Analysis → Code: A reasoning model plans the approach, a code model implements it
- Triage → Specialist: A general model routes to domain-specific models
Model Strengths
A rough guide to model selection:| Task | Good Models |
|---|---|
| Tool calling, reasoning | openai/gpt-4o-mini, openai/gpt-4.1 |
| Writing, creative work | anthropic/claude-sonnet-4-20250514 |
| Code generation | anthropic/claude-sonnet-4-20250514, openai/gpt-4o |
| Fast, cheap responses | openai/gpt-4o-mini |