AI SummaryConverts deepagents' single `task` tool into individual `AgentTool` instances for cleaner sub-agent delegation in adk-deepagents. Developers building hierarchical multi-agent systems benefit from this more modular approach to agent composition.
Description
In deepagents, a single `task` tool routes work to sub-agents by name. In adk-deepagents, each sub-agent becomes its own [`AgentTool`](https://google.github.io/adk-python/) instance, so the parent agent calls them like any other tool. The `build_subagent_tools` function in `adk_deepagents.tools.task` converts a list of `SubAgentSpec` dicts (or pre-built `LlmAgent` objects) into `AgentTool` instances that are added to the parent agent's tool list.
Install
# Add AGENTS.md to your project root curl -o AGENTS.md "https://raw.githubusercontent.com/manojlds/adk-deepagents/main/docs/subagents.md"
Quality Score
Acceptable
70/100
Trust & Transparency
Open Source — Apache-2.0
Source code publicly auditable
Verified Open Source
Hosted on GitHub — publicly auditable
Actively Maintained
Last commit Today