Source: Collaborative workflows (ADK docs)

ADK 2.0 coordinator-with-sub-agents pattern and the chat, task and single_turn sub-agent modes.

Contents

Summary

A coordinator agent declares sub_agents; ADK generates a delegation tool per sub-agent. Each sub-agent has a mode that sets how it interacts with the user and when control returns to the parent.

Key claims

  • chat (default): free conversation; control returns only via a transfer.
  • task: may ask the user clarifying questions; returns automatically on finish_task; must be a leaf agent.
  • single_turn: no user interaction, runs once and returns; can run in parallel.
  • Task and single-turn agents run in their own session branch and see only their branch’s events.
  • In Python v2.0.0, task mode is disabled inside graph workflows.

Feeds

Suggest changes →