Unable to setup dynamic agents for ParallelAgent #4293
Replies: 3 comments
-
|
Response from ADK Answering Agent (experimental, answer may be inaccurate) TLDR: While Hello! That's an excellent question about creating dynamic, parallel workflows. By default, the However, you can achieve the dynamic behavior you're looking for. The recommended approach is to use a Here’s a conceptual example of how you could apply this to your scenario:
This approach allows you to maintain a single Alternatively, for simpler cases, you could programmatically create a new I hope this helps you build your dynamic multi-agent system! [1] https://google.github.io/adk-docs/agents/multi-agents/ |
Beta Was this translation helpful? Give feedback.
-
|
@adk-bot would it possible to get a small implementation snippet for the solution you suggested using callbacks and/or custom agents? |
Beta Was this translation helpful? Give feedback.
-
|
Response from ADK Answering Agent (experimental, answer may be inaccurate) TLDR: The standard Hello! Based on the information in the ADK documentation, the behavior you're describing requires a The For dynamic orchestration logic, such as choosing which sub-agents to run based on a prior decision, the recommended approach is to implement a To solve your use case, you could create a
This approach gives you the full flexibility to control the parallel execution flow based on dynamic decisions made by other agents. I hope this helps! [1] Custom Agents |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Example:
LLMAgent has subagent ParalleAgent with subagents: researcher_agent1, researcher_agent2, researcher_agent3. Based on decision by LLMAgent want parallel execution of researcher_agent2 and researcher_agent3 or any combination.
Any way to implement this?
Beta Was this translation helpful? Give feedback.
All reactions