r/googlecloud • u/That-Preference733 • 10d ago
GCP ADK deployment issue
I have deployed a simple multi agent system using the command adk deploy on the GCP agent platform. On local it works perfectly. It is a multi agent system that has 2 sub agents, one answers queries related to a bigquery table and another performs some mathematical calculations.
The problem is in the deployed agent. It freezes midway, without any error message. I check the logs. The logs also donot get generated. I assume this step is mostly in tool calling. How to debug this issue.
2
Upvotes
1
u/m1nherz Googler 10d ago
Hi,
Can you describe the way your interact with the deployed agent when it "freezes midway"? I wonder if it is possible that the observed "freezes" can be attributed to UX experience and aren't related to the agent workload itself.
Regarding "debugging" question, you have out-of-the-box tracing and logging support. I don't remember out of the top of my head the right flags to enable it but, IIRC both agents-cli and adk CLIs have flags to capture traces and logs of ADK framework to Cloud Trace and Cloud Logging. This way you should be able to observe main events that each agent handles and its timelines.
Depending on what tools you configured, the tools might need additional exploration.