{"id":4878,"date":"2026-07-29T14:53:10","date_gmt":"2026-07-29T14:53:10","guid":{"rendered":"https:\/\/thefyptt.com\/blog\/?p=4878"},"modified":"2026-07-29T14:53:11","modified_gmt":"2026-07-29T14:53:11","slug":"gemini-api-managed-agents","status":"publish","type":"post","link":"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/","title":{"rendered":"Gemini API Managed Agents Get Gemini 3.6 Flash, Environment Hooks, and Free Tier Access"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Google has rolled out a major update to Managed Agents in the Gemini API, adding new controls for model selection, security, spending, and automated execution. The update builds on the earlier release that introduced background tasks, custom agent configurations, and remote MCP (Model Context Protocol) server support.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-rich is-provider-x wp-block-embed-x\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"twitter-tweet\" data-width=\"550\" data-dnt=\"true\"><p lang=\"zxx\" dir=\"ltr\"><a href=\"https:\/\/t.co\/z995jcwEnB\">https:\/\/t.co\/z995jcwEnB<\/a><\/p>&mdash; Google AI Studio (@GoogleAIStudio) <a href=\"https:\/\/x.com\/GoogleAIStudio\/status\/2082134302083465427?ref_src=twsrc%5Etfw\">July 28, 2026<\/a><\/blockquote><script async src=\"https:\/\/platform.x.com\/widgets.js\" charset=\"utf-8\"><\/script>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Gemini 3.6 Flash Is Now the Default<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The antigravity-preview-05-2026 agent now runs on Gemini 3.6 Flash by default, requiring no code changes from existing users. Developers can still pick a specific model explicitly when creating an interaction or managed agent, using agent_config.model.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Supported models include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Gemini 3.6 Flash<\/strong> (default) balanced model for reasoning, coding, and tool use<\/li>\n\n\n\n<li><strong>Gemini 3.5 Flash<\/strong> previous generation model for general agentic workflows<\/li>\n\n\n\n<li><strong>Gemini 3.5 Flash-Lite<\/strong> lowest latency and cost on the Gemini 3.5 family<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Environment Hooks: Block, Lint, and Audit Tool Calls<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A new feature called <strong>Environment Hooks<\/strong> lets developers run custom scripts before or after tool calls made inside the sandbox. Users can add a .agents\/hooks.json file into their environment to execute handlers on pre_tool_execution or post_tool_execution events.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The matcher field in hooks supports regular expressions, letting developers target multiple tools at once or catch all tool calls with a wildcard.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These hooks are already being used by teams to build production-grade validation pipelines. For example, AI-native investment bank Offdeal uses post-tool-execution hooks to automate image verification inside a remote sandbox as part of its pitch deck generation workflow, ensuring every visual meets brand and quality standards before it&#8217;s approved.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Cost Control and Automation Features<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Alongside model and hook updates, Google introduced several operational controls:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Free tier availability<\/strong> Managed agents are now available on free tier projects, letting developers test agentic workflows using an API key without activating billing.<\/li>\n\n\n\n<li><strong>Budget controls<\/strong> Developers can pass max_total_tokens inside agent_config to cap total token consumption (input, output, and thinking combined) and prevent runaway multi-turn tasks from overspending.<\/li>\n\n\n\n<li><strong>Scheduled execution with triggers<\/strong> Developers can automate recurring agent tasks using scheduled triggers, allowing a persistent agent environment to prompt itself and run cleanup or maintenance jobs without manual intervention.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>New Environments API<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Google also launched an <strong>Environments API<\/strong> that lets developers list, inspect, and delete sandbox sessions. This gives developers a way to recover environment IDs after a disconnect or clean up unneeded sessions instead of waiting for the standard seven-day expiration period.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Getting Started<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The updates are aimed at moving managed agents from experimental use into cost-controlled, scheduled real-world deployment letting teams run autonomous workers without exceeding budgets or needing constant external orchestration. Developers can check the <a href=\"https:\/\/thefyptt.com\/blog\/notebooklm-renamed-gemini-notebook\/\">Gemini<\/a> Interactions API overview and the managed agents quickstart guide to explore custom agent definitions, environment rules, network access settings, and advanced deployment patterns.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google has rolled out a major update to Managed Agents in the Gemini API, adding new controls for model selection, security, spending, and automated execution. The update builds on the earlier release that introduced background tasks, custom agent configurations, and remote MCP (Model Context Protocol) server support. Gemini 3.6 Flash Is Now the Default The [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":4879,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[281,289],"tags":[296,287,464,463,461,462,306,458,459,460],"class_list":["post-4878","post","type-post","status-publish","format-standard","has-post-thumbnail","category-ai-news","category-tech-news","tag-ai-agents","tag-ai-news","tag-developer-tools","tag-environment-hooks","tag-gemini-3-6-flash","tag-gemini-api","tag-google","tag-google-deepmind","tag-managed-agents","tag-mcp"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Gemini API Managed Agents Get Gemini 3.6 Flash, Environment Hooks, and Free Tier Access - Blog<\/title>\n<meta name=\"description\" content=\"Google upgrades Gemini API Managed Agents with Gemini 3.6 Flash as default, new environment hooks, budget controls, scheduled triggers, and free tier access.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Gemini API Managed Agents Get Gemini 3.6 Flash, Environment Hooks, and Free Tier Access - Blog\" \/>\n<meta property=\"og:description\" content=\"Google upgrades Gemini API Managed Agents with Gemini 3.6 Flash as default, new environment hooks, budget controls, scheduled triggers, and free tier access.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-29T14:53:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-29T14:53:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thefyptt.com\/blog\/wp-content\/uploads\/2026\/07\/gemini-api-managed-agents-scaled.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1280\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Emily Parrr\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Emily Parrr\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/\"},\"author\":{\"name\":\"Emily Parrr\",\"@id\":\"https:\/\/thefyptt.com\/blog\/#\/schema\/person\/945136dc9eb87b6935a753a6c6aa60a1\"},\"headline\":\"Gemini API Managed Agents Get Gemini 3.6 Flash, Environment Hooks, and Free Tier Access\",\"datePublished\":\"2026-07-29T14:53:10+00:00\",\"dateModified\":\"2026-07-29T14:53:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/\"},\"wordCount\":465,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/thefyptt.com\/blog\/wp-content\/uploads\/2026\/07\/gemini-api-managed-agents-scaled.jpg\",\"keywords\":[\"AI Agents\",\"AI News\",\"Developer Tools\",\"Environment Hooks\",\"Gemini 3.6 Flash\",\"Gemini API\",\"Google\",\"Google DeepMind\",\"Managed Agents\",\"MCP\"],\"articleSection\":[\"AI News\",\"Tech News\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/\",\"url\":\"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/\",\"name\":\"Gemini API Managed Agents Get Gemini 3.6 Flash, Environment Hooks, and Free Tier Access - Blog\",\"isPartOf\":{\"@id\":\"https:\/\/thefyptt.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/thefyptt.com\/blog\/wp-content\/uploads\/2026\/07\/gemini-api-managed-agents-scaled.jpg\",\"datePublished\":\"2026-07-29T14:53:10+00:00\",\"dateModified\":\"2026-07-29T14:53:11+00:00\",\"author\":{\"@id\":\"https:\/\/thefyptt.com\/blog\/#\/schema\/person\/945136dc9eb87b6935a753a6c6aa60a1\"},\"description\":\"Google upgrades Gemini API Managed Agents with Gemini 3.6 Flash as default, new environment hooks, budget controls, scheduled triggers, and free tier access.\",\"breadcrumb\":{\"@id\":\"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/#primaryimage\",\"url\":\"https:\/\/thefyptt.com\/blog\/wp-content\/uploads\/2026\/07\/gemini-api-managed-agents-scaled.jpg\",\"contentUrl\":\"https:\/\/thefyptt.com\/blog\/wp-content\/uploads\/2026\/07\/gemini-api-managed-agents-scaled.jpg\",\"width\":2560,\"height\":1280,\"caption\":\"gemini-api-managed-agents\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/thefyptt.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Gemini API Managed Agents Get Gemini 3.6 Flash, Environment Hooks, and Free Tier Access\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/thefyptt.com\/blog\/#website\",\"url\":\"https:\/\/thefyptt.com\/blog\/\",\"name\":\"Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/thefyptt.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/thefyptt.com\/blog\/#\/schema\/person\/945136dc9eb87b6935a753a6c6aa60a1\",\"name\":\"Emily Parrr\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/thefyptt.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fec379ca1c60a5edcf8f79f26f51a807709a577351f3425d47b3c909eada01a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fec379ca1c60a5edcf8f79f26f51a807709a577351f3425d47b3c909eada01a9?s=96&d=mm&r=g\",\"caption\":\"Emily Parrr\"},\"sameAs\":[\"https:\/\/thefyptt.com\/\"],\"url\":\"https:\/\/thefyptt.com\/blog\/author\/emily-parrr\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Gemini API Managed Agents Get Gemini 3.6 Flash, Environment Hooks, and Free Tier Access - Blog","description":"Google upgrades Gemini API Managed Agents with Gemini 3.6 Flash as default, new environment hooks, budget controls, scheduled triggers, and free tier access.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/","og_locale":"en_US","og_type":"article","og_title":"Gemini API Managed Agents Get Gemini 3.6 Flash, Environment Hooks, and Free Tier Access - Blog","og_description":"Google upgrades Gemini API Managed Agents with Gemini 3.6 Flash as default, new environment hooks, budget controls, scheduled triggers, and free tier access.","og_url":"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/","og_site_name":"Blog","article_published_time":"2026-07-29T14:53:10+00:00","article_modified_time":"2026-07-29T14:53:11+00:00","og_image":[{"width":2560,"height":1280,"url":"https:\/\/thefyptt.com\/blog\/wp-content\/uploads\/2026\/07\/gemini-api-managed-agents-scaled.jpg","type":"image\/jpeg"}],"author":"Emily Parrr","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Emily Parrr","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/#article","isPartOf":{"@id":"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/"},"author":{"name":"Emily Parrr","@id":"https:\/\/thefyptt.com\/blog\/#\/schema\/person\/945136dc9eb87b6935a753a6c6aa60a1"},"headline":"Gemini API Managed Agents Get Gemini 3.6 Flash, Environment Hooks, and Free Tier Access","datePublished":"2026-07-29T14:53:10+00:00","dateModified":"2026-07-29T14:53:11+00:00","mainEntityOfPage":{"@id":"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/"},"wordCount":465,"commentCount":0,"image":{"@id":"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/#primaryimage"},"thumbnailUrl":"https:\/\/thefyptt.com\/blog\/wp-content\/uploads\/2026\/07\/gemini-api-managed-agents-scaled.jpg","keywords":["AI Agents","AI News","Developer Tools","Environment Hooks","Gemini 3.6 Flash","Gemini API","Google","Google DeepMind","Managed Agents","MCP"],"articleSection":["AI News","Tech News"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/","url":"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/","name":"Gemini API Managed Agents Get Gemini 3.6 Flash, Environment Hooks, and Free Tier Access - Blog","isPartOf":{"@id":"https:\/\/thefyptt.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/#primaryimage"},"image":{"@id":"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/#primaryimage"},"thumbnailUrl":"https:\/\/thefyptt.com\/blog\/wp-content\/uploads\/2026\/07\/gemini-api-managed-agents-scaled.jpg","datePublished":"2026-07-29T14:53:10+00:00","dateModified":"2026-07-29T14:53:11+00:00","author":{"@id":"https:\/\/thefyptt.com\/blog\/#\/schema\/person\/945136dc9eb87b6935a753a6c6aa60a1"},"description":"Google upgrades Gemini API Managed Agents with Gemini 3.6 Flash as default, new environment hooks, budget controls, scheduled triggers, and free tier access.","breadcrumb":{"@id":"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/#primaryimage","url":"https:\/\/thefyptt.com\/blog\/wp-content\/uploads\/2026\/07\/gemini-api-managed-agents-scaled.jpg","contentUrl":"https:\/\/thefyptt.com\/blog\/wp-content\/uploads\/2026\/07\/gemini-api-managed-agents-scaled.jpg","width":2560,"height":1280,"caption":"gemini-api-managed-agents"},{"@type":"BreadcrumbList","@id":"https:\/\/thefyptt.com\/blog\/gemini-api-managed-agents\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/thefyptt.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Gemini API Managed Agents Get Gemini 3.6 Flash, Environment Hooks, and Free Tier Access"}]},{"@type":"WebSite","@id":"https:\/\/thefyptt.com\/blog\/#website","url":"https:\/\/thefyptt.com\/blog\/","name":"Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/thefyptt.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/thefyptt.com\/blog\/#\/schema\/person\/945136dc9eb87b6935a753a6c6aa60a1","name":"Emily Parrr","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/thefyptt.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fec379ca1c60a5edcf8f79f26f51a807709a577351f3425d47b3c909eada01a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fec379ca1c60a5edcf8f79f26f51a807709a577351f3425d47b3c909eada01a9?s=96&d=mm&r=g","caption":"Emily Parrr"},"sameAs":["https:\/\/thefyptt.com\/"],"url":"https:\/\/thefyptt.com\/blog\/author\/emily-parrr\/"}]}},"_links":{"self":[{"href":"https:\/\/thefyptt.com\/blog\/wp-json\/wp\/v2\/posts\/4878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thefyptt.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thefyptt.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thefyptt.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/thefyptt.com\/blog\/wp-json\/wp\/v2\/comments?post=4878"}],"version-history":[{"count":1,"href":"https:\/\/thefyptt.com\/blog\/wp-json\/wp\/v2\/posts\/4878\/revisions"}],"predecessor-version":[{"id":4880,"href":"https:\/\/thefyptt.com\/blog\/wp-json\/wp\/v2\/posts\/4878\/revisions\/4880"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thefyptt.com\/blog\/wp-json\/wp\/v2\/media\/4879"}],"wp:attachment":[{"href":"https:\/\/thefyptt.com\/blog\/wp-json\/wp\/v2\/media?parent=4878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thefyptt.com\/blog\/wp-json\/wp\/v2\/categories?post=4878"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thefyptt.com\/blog\/wp-json\/wp\/v2\/tags?post=4878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}