Google has added a control layer to the managed agents in its Gemini API, letting developers run their own code before and ...