QuestionQ50

VerifiedEvaluating and deploying agentic workflows

You maintain a production customer support agent for an ecommerce company, built using Agent Development Kit (ADK) and deployed to Agent Runtime. The agent coordinates tools to look up customer accounts, verify order statuses, and check warehouse inventory. You observe that intermittent requests take much longer than expected to return an answer. You need to identify the root cause of the increased latency using Google-recommended best practices.

What should you do?

Explanation

Cloud Trace shows a timeline of operations for each agent request. Examining the spans for tool executions and model interactions in slow requests can reveal which operation is contributing to the latency. This per-request breakdown is particularly useful when the delays are intermittent. (docs.cloud.google.com)

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!