# 5.1 Manager vs. handoffs

Agents-as-tools keeps turn ownership; handoffs transfer it.

1. Blue marks turn ownership.
2. Manager: agents-as-tools, ownership is retained.
3. Handoff: control and history transfer to a peer.
4. The specialist owns the turn and replies directly.

- **Use when:** Manager for multi-domain synthesis; handoffs for specialist sessions.
- **Avoid:** Multi-agent topologies where one agent with more tools suffices.

```
# Manager: other agents are tools
manager = Agent(
    name="Manager",
    tools=[billing.as_tool(), tech.as_tool()],
)

# Handoff: the conversation moves
triage = Agent(
    name="Triage",
    handoffs=[billing, tech],
)
```

## References

- [A practical guide to building agents](https://cdn.openai.com/business-guides-and-resources/a-practical-guide-to-building-agents.pdf) (OpenAI)
- [Handoffs](https://openai.github.io/openai-agents-python/handoffs/) (OpenAI)
- [Agent orchestration](https://openai.github.io/openai-agents-python/multi_agent/) (OpenAI)
- [Create custom subagents](https://code.claude.com/docs/en/sub-agents) (Claude Code)
