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

Visual Builder "seems" unable to rename sub_agent manually.

Open BlackReigns opened this issue 1 year ago • 7 comments

I have been using the Google Antigravity IDE to work with the Google ADK. The Antigravity IDE—is a fantastic environment. The Google ADK,, on the other hand, is proving to be quite challenging specifically with using the Visual Builder.

I have been working diligently with the ADK, and while powerful, it is significantly more difficult to operate compared to systems like my local n8n and AnythingLM installations. Today, I asked ADK Visual Builder AI assist to help me create a project - use a Telegram Bot msg to trigger an agent to, based on my request, create and email, event , or task using Google Calendar and/or GMail. The ai initially understood my request. It began building nodes and generating all the necessary files. I couldn't figure out if the ai was still work or if the interface froze. I sent the ai a question, "are you working..." I clicked save. Nothing happened. I could't go back from the visual interface, so I exited - closed the browser page - before saving.

When I restarted the ADK, I provided the AI with the project design and the previously generated files (which were somehow saved to my drive). The AI attempted to rebuild the project, but reported that it could not create or restore visual nodes for the project. It said that was beyond its capabilities - i don't think it had any context of it's role. I then attempted to rebuild everything manually from scratch.

During this process, I discovered that even if I modified files directly, or modified a visual node's configuration in the editor - even if i tried to save - the app would not keep the changes. It behaved as if the edits were blocked or not recognized; and changing the underlying .yaml file also had no effect.. At some point, it would not let me access the visual editor - with a msg like "this was not created i.. - i was unable to see the whole msg. In short, I was unable to rebuild my project—either automatically from the old files or manually using the visual editor.

I am not sure whether I am using the ADK incorrectly or whether something is malfunctioning in the save/load pipeline for visual nodes. I hope this feedback helps, and I would appreciate guidance on the correct workflow for restoring or continuing an incomplete ADK project..

BlackReigns avatar Nov 22 '25 16:11 BlackReigns

I’m experiencing the same issue in the Visual Builder: manual renaming of a sub_agent doesn’t persist.

What I see in the console after pressing "Save" button:

INFO: 127.0.0.1:58985 - "POST /builder/save?tmp=true HTTP/1.1" 200 OK INFO: 127.0.0.1:58985 - "POST /builder/save HTTP/1.1" 200 OK I

fantamp avatar Nov 28 '25 14:11 fantamp

same here. In fact, any edit I make to any of the sub-agent's fields does not persist after hitting "save".

dkainer avatar Dec 11 '25 02:12 dkainer

Same issue

haren-bh avatar Jan 01 '26 11:01 haren-bh

It appears they fixed it in version 1.22.0. But be careful, u have to save at every edit. Otherwise u might lose ur edits.

gopidon avatar Jan 10 '26 06:01 gopidon

@BlackReigns This was fixed in ADK v1.22.0 (commit 6f259f08) — the builder's tmp save/cleanup logic in fast_api.py was reworked so that final save now properly promotes tmp edits to the app root and cancel simply deletes tmp instead of overwriting it with stale state.

Upgrading to v1.22.0+ should resolve the issue.

Note that you still need to save after each individual edit as the builder doesn't auto-save.

surajksharma07 avatar Feb 03 '26 10:02 surajksharma07

gkv

arpanalex5-design avatar May 20 '26 18:05 arpanalex5-design

Facjcub

arpanalex5-design avatar May 20 '26 18:05 arpanalex5-design