Gemini API Managed Agents: Gemini 3.6 Flash Applied, Hooks and New Features Added
Key point
Gemini API Managed Agents now applies Gemini 3.6 Flash by default and adds Environment hooks functionality.
Details
The Gemini API's Managed Agents has introduced new features. Now Gemini 3.6 Flash is applied as the default model, allowing you to experience further improved reasoning and tool-use capabilities without any separate code changes. Users can also select Gemini 3.5 Flash-Lite as needed to optimize cost and latency.
The newly introduced Environment hooks allow agents to run custom scripts before and after invoking tools within the sandbox. This enables the following types of control:
- Security gates: Approve or deny specific actions (e.g., file writes) via a script before tool execution
- Automatic formatting: Enforce code style by running linting, etc. after tool execution
- External integration: Directly POST data to external endpoints via HTTP-type handlers
Managed Agents using the Gemini Interactions API perform code execution, package installation, file management, web search, and reasoning in an integrated manner within an isolated cloud sandbox with just a single API call.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.