AI Cloud Architect

Where to use sub-agents versus agents as tools

GoogleBlog post by Dharini ChandrashekharGoogle Cloud Blog (developers and practitioners)

As you build sophisticated multi-agent AI systems with the Agent Development Kit (ADK), a key architectural decision involves choosing between a sub-agent and an agent as a tool. This choice fundamentally impacts your system's design, how well it scales, and its efficiency.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

A decision guide for choosing between a sub-agent and an agent as a tool in ADK, based on task complexity, context sharing, reusability and control.

Who it is for

Developers building multi-agent systems with Google's Agent Development Kit who must decide how to split work between agents.

Key points

  • Agents as tools run in an isolated session and are stateless, suited to atomic, reusable tasks.
  • Sub-agents share the parent's session context and state, suited to multi-step, stateful workflows.
  • The post illustrates the choice with a data agent (NL2SQL and visualization) and a travel planner use case.

The same at other vendors

Timeline

  1. Read firstBuilding Collaborative AI: A Developer's Guide to Multi-Agent Systems with ADK · Google · How-to
  2. This postWhere to use sub-agents versus agents as tools

Go deeper