Sign InOpen Brain
GoogleOfficial ReleaseOfficial Source

Gemini API Managed Agents: 3.6 Flash, hooks, and more

Gemini Managed Agents now add model selection, sandbox hooks, token caps, schedules, and free-tier access, covering several controls needed for unattended coding work.

Google · Jul 28, 2026
Open Source Open MarkdownOpen JSON
Source Summary

Gemini Managed Agents now default to **Gemini 3.6 Flash**. The service adds pre- and post-tool hooks, explicit model selection, scheduled triggers, free-tier access, environment management, and persistent files across scheduled runs.

Practical Implication

Add hooks where tool calls need policy checks, linting, or audit output, and set **max_total_tokens** on autonomous loops. A capped run pauses as incomplete while preserving its environment, so it can resume with a new budget and previous interaction ID.

Agent-Ready Context
Gemini Managed Agents now default to **Gemini 3.6 Flash**. The service adds pre- and post-tool hooks, explicit model selection, scheduled triggers, free-tier access, environment management, and persistent files across scheduled runs.

Add hooks where tool calls need policy checks, linting, or audit output, and set **max_total_tokens** on autonomous loops. A capped run pauses as incomplete while preserving its environment, so it can resume with a new budget and previous interaction ID.

The agent remains a preview identified as antigravity-preview-05-2026. Scheduled runs reuse a sandbox, which is useful for stateful work but makes cleanup, state drift, and hook failure behavior important operational concerns.
Connected Context · Feed7 Judgment

This extends Gemini Managed Agents from asynchronous tool execution into a more governable recurring runtime: hooks add policy and audit boundaries, token caps bound loops, and paused runs retain resumable state. Persistent scheduled sandboxes reinforce the value of stateful agents while narrowing the operational requirement to explicit cleanup, drift control, and hook-failure handling; the preview status still limits production confidence.

Expanding Managed Agents in Gemini API: background tasks, remote MCP and moreIt builds on the earlier background-task and persistent-sandbox capabilities with scheduling, hooks, explicit model choice, and resumable token budgets.From fork() to Fleet: Designing an Agent Sandbox Cloud — Abhishek Bhardwaj, OpenAIPersistent scheduled environments reinforce the need for the isolation and recovery properties described for long-running sandbox fleets.Scaling Managed Agents: Decoupling the brain from the handsBoth support long-horizon work with persistent execution environments, while Google’s update adds user-facing controls for interception, budgeting, scheduling, and resumption.Vercel MCP can now deploy codePre- and post-tool hooks provide a concrete place to add the review, authorization, completion, and audit checks that production-changing deployment tools require.
Context Map
toolscodingsecurity#cloud-agents#sandboxing#tool-use
Uncertainty
The agent remains a preview identified as antigravity-preview-05-2026. Scheduled runs reuse a sandbox, which is useful for stateful work but makes cleanup, state drift, and hook failure behavior important operational concerns.