adk-python icon indicating copy to clipboard operation
adk-python copied to clipboard

Add Agents to Tree Dynamically

Open shivsant opened this issue 1 year ago • 8 comments

Is your feature request related to a problem? Please describe. I have not reached that state yet, but I imagine once I add many agents to the root agent, I will start seeing this issue.

My assumption - can I use RAG to figure out what are the possible agents to call (maybe I save their description in VDB) and find similar agents for that.

Describe the solution you'd like Some way to add agents dynamically after the agent tree is created. This will give me freedom to not add all the agents to root_agent in the beginning, but can append/modify the sub_agents later.

shivsant avatar Jun 09 '25 03:06 shivsant

Hi All, This will really help if someone is building this.

shivsant avatar Jul 01 '25 08:07 shivsant

+1

maxbaluev avatar Jul 01 '25 21:07 maxbaluev

Hi All, This will be a nice capability.

Currently the agent can not create another agent because the tree is fixed.

shivsant avatar Jul 18 '25 05:07 shivsant

BTW - my workaround is to create parallel or sequential agents without subagents and append them at runtime. Only one problem - open telemetry error

maxbaluev avatar Jul 18 '25 13:07 maxbaluev

BTW - my workaround is to create parallel or sequential agents without subagents and append them at runtime. Only one problem - open telemetry error

How to append them at run time? @maxbaluev

shivsant avatar Aug 08 '25 10:08 shivsant

+1 , this would be a great addition.

pavan-moe avatar Aug 29 '25 17:08 pavan-moe

Hi @shivsant and thanks to everyone who participated in this thread.

We're currently doing some housekeeping on our issue tracker. Given the rapid pace of development and the number of updates since this was last active, there's a good chance this issue has been resolved in a newer version. To help us keep our backlog focused on current issues, we are closing this as stale.

If you're still facing this problem, could you please update to the very latest version of the library and confirm the issue still exists? If it does, please comment here, and we will be happy to reopen this issue and investigate further.

Thanks for your contribution and understanding!

klateefa avatar Oct 08 '25 05:10 klateefa

Any news on this? It would be a very nice addition.

salvatore-cipolla avatar Nov 27 '25 20:11 salvatore-cipolla