Managed Agents (Free Tier, Hooks, and Scheduled Runs)
Google's hosted agent service in the Gemini API adds a free tier, spend caps, and recurring runs, for developers building on the API.

Details
- Gemini 3.6 Flash is now the default model for Managed Agents, with 3.5 Flash and 3.5 Flash-Lite selectable instead
- Environment hooks let you block, lint, or audit each tool call the agent makes inside its sandbox before it runs
- A max_total_tokens setting caps what one task can consume, so a stuck agent cannot run up an open-ended bill
- Scheduled triggers run agent tasks on a recurring basis, and a new Environments API manages sandbox sessions programmatically
- Managed Agents now has a free tier, and the features are reachable through the Gemini Interactions API in TypeScript, Python, and cURL
Best for
Running agent tasks on Google's infrastructure instead of building and hosting the agent loop yourself
When to use it
An agent task needs to run on a schedule, or you need a hard cap on what a single run can spend
Who benefits
Developers and technical teams already building on the Gemini API
Join the newsletter to get ahead with AI.
I share strategies, new modules, free guides, and tools to get you better at using AI in your work.
Leading a team? See team programs →
