Google has updated Gemini API Managed Agents, enhancing developer control and automation. The platform now defaults to the Gemini 3.6 Flash model and includes new environment hooks for tool call validation, budget management, and scheduled triggers. These enhancements provide developers with more robust, cost-effective tools for building autonomous agentic workflows.
How do new environment hooks improve agent security?
Environment hooks allow developers to execute custom scripts before or after tool calls within the isolated cloud sandbox. By using pre-tool and post-tool execution events, developers can implement security gates to block unauthorized actions or run automated linting to enforce code quality. This enables production-grade validation pipelines for complex tasks like image verification or dependency auditing.
What are the new automation and cost controls?
The update introduces budget controls and scheduled triggers to support scalable development. Developers can set maximum token limits to prevent runaway autonomous loops, ensuring predictable costs. Additionally, scheduled triggers allow for the automation of recurring tasks without manual intervention. Managed agents are now available on the free tier, enabling developers to experiment with agentic workflows without requiring active billing.