Skip to main content
agent_type selects how an agent executes.

Sub-agents

Composite agents reference children through sub_agents. Children are themselves agents — they can carry their own tools, model and instruction, and can be composite in turn, which is how hierarchies are built.
Under Google ADK, sub-agents of one invocation share an execution tree. When reading traces, do not assume one identifier per agent — correlate on the agent name as well.

Related topics

AgentsIntroduction