Google did not launch a flashier model on July 28, 2026. It launched a way to stop one.
The company's Managed Agents platform inside the Gemini API—a service that spins up an isolated cloud sandbox where an AI agent can reason, write and run code, install packages, manage files, and browse the web from a single API call—picked up five changes at once: a new default model, a hook system that can block or record what the agent does mid-task, a hard cap on token spending, scheduled recurring runs, and free-tier access. None of the five is a headline feature on its own. Together, they answer a question that has been sitting unresolved in most agent pilots since the technology went mainstream: who is actually watching what the agent does, and what happens the moment it goes too far or costs too much.
🔑 Key Takeaways
- Managed Agents in the Gemini API now default to Gemini 3.6 Flash with no code changes required; the switch applies automatically to the next interaction.
- Environment hooks let a developer's own script approve or block a sandbox action—like running code or touching a file—before it happens, not just review it afterward.
- A
max_total_tokensbudget cap pauses a run in an "incomplete" state instead of letting it fail or run up an unbounded bill. - Scheduled triggers turn an agent into a standing resource that runs on a cron schedule and reuses the same sandbox, so files persist between runs.
- Managed Agents are now available on free-tier projects, so a team can experiment without a billing conversation first.
- By default, agent sandboxes have unrestricted outbound network access; teams have to opt in to an allowlist to restrict it.
🧮 What Actually Shipped
Google announced the update in a post on the Keyword blog credited to Philipp Schmid, a member of the technical staff at Google DeepMind, and Mariano Cocirio, a product manager on the same team. The post frames the release as an extension of a prior update that added background tasks and remote MCP server integration to the same platform.
Managed Agents work through the Gemini Interactions API. A developer sends one request specifying an agent type—Google's own reference implementation is called antigravity-preview-05-2026—an input prompt, and an environment setting. Google's infrastructure then provisions an isolated Linux sandbox, runs the agent inside it for as long as the task takes, and returns the result. The sandbox persists for up to seven days by default unless a developer deletes it earlier through a new Environments API that lists, inspects, and removes sessions on demand.
That capability already existed before this release. What changed on July 28 is the layer of control wrapped around it:

- Gemini 3.6 Flash becomes the default agent model. No code changes are required; a project's next Managed Agents interaction picks up 3.6 Flash automatically. Developers can still pin a specific model—3.5 Flash for the previous generation of agentic workflows, or 3.5 Flash-Lite for lower latency and cost—by passing an explicit
agent_config.modelvalue. - Environment hooks let a developer drop a
.agents/hooks.jsonfile into the environment. The runtime then executes a developer's own script or HTTP call onpre_tool_executionorpost_tool_executionevents, matching specific tools through amatcherfield that supports regular expressions. - Budget controls cap total token consumption—input, output, and internal reasoning tokens combined—through a
max_total_tokenssetting. When a run hits that ceiling, it pauses in an "incomplete" state rather than failing outright, and the environment itself is preserved so the work can resume later. - Scheduled triggers bind an agent, its environment, a prompt, and a cron expression into a standing resource. The same sandbox is reused across runs, so files created in one execution are still there for the next.
- Free-tier access means a team can call Managed Agents from a project without active billing, removing the procurement step that often delays a first pilot.
⚠️ The Part That Matters Most: Hooks Move Oversight Earlier
Of the five changes, environment hooks carry the most weight for a business audience, because they move the point where a human—or a rule—gets a say.
Most agent pilots today review output after the agent has already finished. Someone reads the generated report, checks the code diff, or spot-checks a summary once the run completes. By the time a mistake is visible, the action behind it has already happened.
A pre_tool_execution hook moves that checkpoint earlier, to the moment immediately before a supported sandbox action—code execution or a file operation—actually runs. The hook can approve the action or deny it; if it denies the call, the agent sees the rejection and can adjust its next step rather than plowing ahead. A post_tool_execution hook runs after the fact, useful for formatting output, validating a result, or logging what happened for an audit trail—but it cannot undo an action that has already executed.
Google's own documentation for the feature is candid about a limitation worth noting before anyone treats hooks as a full safety net: they currently cover supported sandbox operations like code execution and file access, but they do not yet extend to external MCP tool calls or custom functions an agent might invoke. A hook cannot block what it cannot see.
"While we continue to expand what environment hooks can intercept, scope credentials to the minimum an agent actually needs, restrict outbound network access with an allowlist where you can, and verify outputs before you act on them," Google's developer documentation for Managed Agents advises—guidance that reads less like boilerplate and more like an admission that the model itself is not what makes an agent safe to run unattended.

🚨 Budgets Turn a Runaway Bill Into a Pause Button
Anyone who has run an autonomous coding agent against a genuinely hard problem knows the failure mode: the agent gets stuck in a loop, keeps trying variations of the same fix, and burns through tokens without producing anything usable. Before this update, that loop typically ended one of two ways—the task eventually completed, or it failed outright, sometimes after running up a bill nobody budgeted for.
The new max_total_tokens setting gives a third outcome. When a run's combined input, output, and reasoning-token usage crosses the configured ceiling, the run pauses in an "incomplete" state. The environment—files, installed packages, the sandbox itself—stays intact, so a developer can inspect what happened, adjust the prompt or the budget, and resume rather than starting over from zero. For a small team without a dedicated cloud-spend watchdog, that is the difference between an agent experiment that stays inside a known cost envelope and one that quietly turns into a bill nobody wants to explain.
🛑 Scheduled Triggers Make an Agent a Standing Resource, Not a One-Off Call
Scheduled triggers change what a Managed Agent actually is. Until now, each Managed Agents call was a discrete request-response cycle: send a prompt, get a result, sandbox eventually expires. A scheduled trigger instead binds an agent, an environment, a prompt, and a cron schedule together into a resource that Google's infrastructure keeps running on its own, reusing the same sandbox from one execution to the next so accumulated files and installed dependencies carry forward.
That is the shape of a recurring job—a nightly dependency audit, a weekly report generation, a standing content pipeline—without a team having to stand up and maintain its own scheduler, worker process, or persistent server just to keep an agent running on a timer.

🏪 Why the Free Tier Line Is Not a Footnote
Free-tier access is the least technical change in the release and arguably the one with the widest reach. Every other item on this list assumes a team has already cleared internal approval to spend money on an agent pilot. Making Managed Agents available on free-tier projects removes that gate entirely: a developer, or a small business owner working with one, can spin up a sandboxed agent, wire in a hook or two, and see what it actually does—before anyone has to write a purchase order or get a budget line approved.
For a small team, that lowers the cost of finding out whether an agent is actually useful for a specific task from "get budget approval, then experiment" to "just try it this afternoon."

🧭 How This Fits the Wider Pattern of Agent Tooling
Managed Agents is not the first product to wrap a sandboxed coding agent behind a single API call, and Google's own post frames this release as an incremental follow-up to an earlier update that added background tasks and remote MCP server support to the same platform. What makes the July 28 release worth tracking is not novelty but sequencing: Google shipped the raw capability first—an agent that can reason, execute code, and browse the web autonomously inside a cloud sandbox—and only afterward layered on the pieces that let a team supervise, budget, and schedule that capability responsibly.
That sequencing mirrors what has happened across the industry more broadly over the past two years: capability arrives, adoption follows quickly because the capability is genuinely useful, and only once real deployments start surfacing real failure modes—runaway costs, unsupervised destructive actions, agents that quietly do the wrong thing for hours before anyone notices—do vendors ship the governance layer. Hooks, budget caps, and an Environments API for auditing live sessions are Google's answer to that second phase for its own platform. Any team evaluating an agent vendor today, whether that is Google, OpenAI's Codex-style tooling, Anthropic's Claude Code, or a smaller specialized platform, should be asking the same three questions this release answers for Gemini: can I intercept an action before it happens, can I cap what it costs, and can I see what a running agent is doing right now without waiting for it to finish.
📢 Documentation Details Worth Knowing Before You Build
Google's own developer documentation includes a few operational specifics that matter more to a technical implementer than to a casual reader, but they are worth naming because they shape what a hook can realistically be trusted to do. The matcher field on a hook definition accepts regular expressions, so a single hook can target several related tools at once—say, every filesystem-write operation—or use a catch-all * pattern to intercept everything the agent tries to do inside the sandbox. Hooks fire on two event types only, pre_tool_execution and post_tool_execution, which means the two moments a business actually gets a say are immediately before an action and immediately after one—not, for instance, mid-execution of a long-running task.
The Interactions API itself is designed to be reachable from standard SDKs; Google's post walks through the @google/genai TypeScript and JavaScript SDK specifically, while pointing Python and cURL users to the separate Antigravity agent documentation. For a team that already has a coding assistant wired into its workflow, Google also ships a one-line installer—npx skills add google-gemini/gemini-skills --skill gemini-interactions-api—that adds the Interactions API as a callable skill inside that assistant, rather than requiring a developer to hand-write the integration from the API reference alone.
✅ What This Means If You Run a Small Business Website or Automation
1garis Studio's clients are not building agent platforms; most are running a website, a booking system, or a product catalog and increasingly relying on automation to keep it updated. This release is still relevant to that audience for three concrete reasons.
- Anyone using an AI agent to manage part of their online business now has a governance pattern to point to. If your website's content pipeline, inventory sync, or customer-message triage runs through any kind of autonomous agent—Gemini-based or otherwise—hooks demonstrate what a pre-approval checkpoint looks like: name the specific actions the agent should never take without a check, and route those through a rule or a human-approval step before they execute.
- Budget caps are a template worth copying regardless of which AI vendor you use. If your automation runs on a metered API, a hard ceiling that pauses rather than fails protects against the same runaway-loop scenario Google is solving for its own platform.
- Free-tier access lowers the bar for a low-risk pilot. A small business considering whether an agent could handle a repetitive task—drafting responses, auditing a product feed, generating a weekly summary—now has a way to test that idea without committing spend up front.
❓ What Hooks Do Not Solve
It is worth being precise about the limits here, because overstating what shipped is its own kind of risk. Environment hooks do not create a built-in human-approval workflow; they create a checkpoint that a developer's own script or HTTP call can use to build one. Without that external system in place, a hook is just a place to log what happened, not a safeguard that stops anything. And because hooks do not yet cover external MCP tool calls or custom functions, an agent wired up to reach beyond its own sandbox still has an oversight gap that this release does not close.
The practical takeaway for a business leader evaluating any agent pilot—Google's or a competitor's—is the same question the hooks feature implicitly poses: can you name the three actions your agent should never be allowed to take without a check stopping it first? If the answer is no, that gap needs closing before governance controls like these can do their job.
🇮🇩 What a Non-Technical Owner Should Actually Ask a Vendor
Most small business owners will never write a hook, set a max_total_tokens value, or touch the Interactions API directly. They will encounter this release secondhand, through whichever agency, freelancer, or platform builds and maintains their website's automation. That indirection does not make the governance question irrelevant; it just changes who should be asking it.
A business owner working with a developer or agency on any AI-driven automation—content generation, inventory sync, customer message triage, appointment scheduling—should be able to ask four concrete questions and expect a concrete answer to each, not a reassurance:
- What specific actions can this automation take without anyone reviewing them first, and why is that an acceptable level of trust?
- If it starts doing something wrong or expensive, how quickly can it be stopped, and by whom?
- Is there a hard ceiling on what it can cost to run, or does the bill only get discovered after the fact?
- Can someone see, in real time, what it is currently doing, or only after it has finished?
Google's Managed Agents update is one vendor's answer to those four questions for its own platform. A business owner does not need to understand pre_tool_execution versus post_tool_execution to benefit from the pattern—only to insist that whoever builds their automation has an answer for each question, on whichever platform they actually use.
📊 The Numbers Worth Remembering
- July 28, 2026 — the date Google announced the update on its official Keyword blog.
- Five — the number of distinct capabilities shipped together: model default, hooks, budget controls, scheduled triggers, free-tier access.
- Seven days — the default expiration window for a Managed Agents sandbox environment before it is automatically cleared, unless deleted sooner via the Environments API.
- Three model tiers — Gemini 3.6 Flash (new default), Gemini 3.5 Flash (prior generation), and Gemini 3.5 Flash-Lite (lowest latency and cost), all selectable through
agent_config.model.
🔗 Where This Sits Next to Other Agent Platforms
Google is not operating in a vacuum here. Anthropic's Claude Code and OpenAI's Codex-style coding agents have each, in their own way, wrestled with the same tension between autonomy and oversight that Managed Agents is now addressing through hooks and budget caps. The comparison is not about which vendor is "ahead"—each platform has made different tradeoffs—but about what has become table stakes across the category in 2026:
- A sandbox or isolated execution environment is now assumed, not a differentiator on its own.
- Some form of pre-action interception—whether called a hook, a permission gate, or an approval step—is increasingly expected before an agent can touch a file, run a shell command, or call an external API.
- Cost visibility and hard caps are moving from "nice to have" to a baseline expectation, because agent workloads are inherently harder to estimate in advance than a fixed API call.
- Scheduling and persistence—letting an agent run repeatedly against the same environment—is what turns a one-off experiment into an operational tool a team can actually rely on.
Reading the July 28 update against that backdrop, Google's release looks less like a leap ahead and more like catching its Managed Agents product up to what serious agent deployments already require. That is not a criticism; it is useful information for a buyer, because it means the underlying pattern—not the specific vendor—is what is worth understanding and demanding wherever an agent is deployed.
🔗 What It Means for the Reader
None of this requires a business to touch the Gemini API directly to matter. The pattern Google is building—act first inside a sandbox, but give a human or a rule a checkpoint before the action that counts, cap what it can spend, and let it run on a schedule without babysitting—is becoming the baseline shape of agent tooling across the industry, not a Google-specific quirk. Any automation a small business adopts going forward, whether it touches a website, a booking calendar, or a customer inbox, should be judged against that same baseline: does it let you see and stop a costly or risky action before it happens, or only clean up after the fact?
Sources: Google's official Keyword blog post "Gemini API Managed Agents: 3.6 Flash, hooks, and more" (July 28, 2026); Google AI for Developers, Managed Agents Quickstart documentation; The AI Navigator, "Google's Gemini Managed Agents Just Got More Governable"; GCN, "Google upgrades Gemini API Managed Agents with 3.6 Flash default"; BTTC Software, "Gemini Managed Agents Workflow Guide."


