
5 min read
Subagents: Delegate Complex Tasks with the task Tool
Deep Agents' task tool lets the main agent spawn subagents and hand off specific subtasks — each subagent has independent context so it doesn't contaminate the main agent. This article explains the design logic of subagents and how to use them in practice.
#Deep Agents#subagents#task tool#subagent#AI agent architecture#LangChain#deepagents#multi-agent#agent collaboration