Replies: 2 comments
-
| 
         @adk-bot Can you give me a short short feedback?  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         Response from ADK Answering Agent (experimental, answer may be inaccurate) TLDR: Your approach of wrapping the sub-agent in a custom function tool to manually manage its session is the correct and recommended way to achieve the dynamic, stateful interactions you've described. Thank you for your detailed and insightful post. Your scenario for orchestrating a main agent and a stateful sub-agent is a powerful use case for building advanced agentic systems. You are correct in your analysis. While ADK's  The solution you've prototyped with your  Your implementation correctly uses the  For more background, you can refer to the official documentation on how ADK handles Sessions and State, and how Tools can interact with this context [3, 4]. Your approach aligns perfectly with these fundamental concepts. [1] Introduction to Conversational Context: Session, State, and Memory - https://google.github.io/adk-docs/sessions/  | 
  
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Here is the scenario that I think should be supported by ADK:
Scenario
I have a Main agent and a sub-agent. I have an overall task that is given to the Main Agent, and I expect the Main Agent to break down this Task into Task 1, Task 2, and Task 3, then:
Code example
or
Do you have similar use cases?
Did you go wrong in reading the ADK, and is there already documentation to orchestrate agents in the same manner?
Where is this helpful?
Beta Was this translation helpful? Give feedback.
All reactions