For those building AI agents on Google Cloud, I’m curious about how you handle tool permissions and failures in multi-step workflows.
For example, if an agent calls an API to update a record but the request times out, how do you prevent duplicate actions when it retries? And how do you restrict the agent from performing actions beyond its intended permissions?
I’d be interested to hear how developers are approaching this in practice:
-
Do you enforce permissions at the API or tool level?
-
How do you handle retries and prevent duplicate operations?
-
At what point do you require human approval instead of allowing the agent to continue?
Are you using Google’s agent development tools, custom middleware, or a combination of approaches?
I’d appreciate any practical examples or lessons learned from production deployments.