Multi-turn conversations in Sequential (sub) Agents #3191
Replies: 3 comments 2 replies
-
|
Response from ADK Answering Agent (experimental, answer may be inaccurate) TLDR: The Hello! Thanks for your question. The behavior you're observing is the intended functionality of the Understanding
|
Beta Was this translation helpful? Give feedback.
-
|
How would I instruct an agent (via system instructions) to put state, like setup complete in the context? |
Beta Was this translation helpful? Give feedback.
-
|
Response from ADK Answering Agent (experimental, answer may be inaccurate) TLDR: Hello @riturajtiwari, Thank you for your question. This is a great question that highlights the difference between single-turn sequences and multi-turn conversations in ADK. The behavior you're observing is expected. The To achieve your desired behavior, you need to design your A common and powerful pattern for this in ADK is to use a Here’s a conceptual example based on the "Iterative Refinement Pattern" found in the ADK documentation [1]:
Your main pipeline would then look something like this: Alternatively, for very complex conditional logic, you could implement a You can find more details on these patterns in the ADK documentation. [1] Multi-Agent Systems in ADK: https://google.github.io/adk-docs/agents/multi-agents/ This response was generated by an automated assistant. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm running into an issue where I have a sequence of two steps.
SetupAgent: Asks user for a Google Drive folder, analyzes contents, asks user some clarifying questions, then prepares information to be passed to step 2:ContextAgent: Uses information from step 1 to do further analysis and have a multi-turn interaction with the userI'm using the setup like this:
SequentialAgentwith these two agents as stepsI'm clearly not doing something right. Any pointers will help.
Beta Was this translation helpful? Give feedback.
All reactions