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

_Tuesday, July 28, 2026 at 8:00 AM EDT · AI · Latest · Tier 2 — Notable_

![Gemini API Managed Agents: 3.6 Flash, hooks, and more — Primary](https://storage.googleapis.com/gweb-uniblog-publish-prod/images/unnamed_2_vNnOv20.width-1300.png)

Google announced updates to Managed Agents in the Gemini API on Monday, adding environment hooks, model selection, free tier access, budget controls, and scheduled triggers. The company said the capabilities build on a previous release that introduced background tasks and remote MCP server integration.

The antigravity-preview-05-2026 agent now runs Gemini 3.6 Flash by default without requiring code changes. Developers can explicitly select models such as Gemini 3.5 Flash or Gemini 3.5 Flash-Lite by passing agent_config.model when creating an interaction. Environment hooks allow users to run custom scripts before or after every tool call inside the sandbox using a .agents/hooks.json configuration file. Hooks support regular expression matchers and can execute command or HTTP type handlers.

Managed agents are now available on free tier projects, allowing developers to experiment without active billing. Budget controls include a max_total_tokens parameter to cap total token consumption, pausing execution safely when the limit is reached while preserving environment state. Scheduled triggers automate recurring agent tasks with cron schedules, reusing the same sandbox so files persist across executions. The Environments API lets users list, inspect, and delete sandbox sessions from code.

## Sources

- [Google](https://blog.google/innovation-and-ai/technology/developers-tools/expanding-managed-agents-gemini-api-3-6-flash-hooks/)

---
Canonical: https://techandbusiness.org/newswire/nifJLxXbPDUDZXiSWLJkkE
Retrieved: 2026-07-30T01:59:05.960Z
Publisher: Tech & Business (techandbusiness.org)
