返回
BGblog.google
1
·13天前·官方发布 · RSS

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

查看原文
官方公告Gemini

热度趋势

→ 平稳
最近 24 小时与此前 24 小时对比 · 7 天曲线

百分比基于当前可用热度信号,而非评论数或独立用户人数。

推荐理由

这条记录涉及编程工具或代码能力更新,适合开发者评估工作流变化和可复用价值。

Jul 28, 2026

|

Managed Agents in Gemini API now default to Gemini 3.6 Flash. New environment hooks let you block, lint, or audit tool calls inside the sandbox. Also, we’ve added budget controls, scheduled triggers, and free tier access.

Philipp Schmid

Member of the Technical Staff, Google DeepMind

Mariano Cocirio

Product Manager, Google DeepMind

Your browser does not support the audio element.

Listen to article

[[duration]] minutes

This content is generated by Google AI. Generative AI is experimental

Managed Agents in Gemini API are getting environment hooks, model selection, and free tier access. These capabilities build on our previous release introducing background tasks and remote MCP server integration.

With managed agents in the Gemini Interactions API, a single API call coordinates, reasoning, code execution, package installation, file management, and web retrieval inside an isolated cloud sandbox.

If you're using an AI coding assistant, drop this in your terminal to give it access to the Interactions API skill: npx skills add google-gemini/gemini-skills --skill gemini-interactions-api.

Below are examples using the @google/genai TypeScript/JavaScript SDK. For Python or cURL, check out the Antigravity agent documentation.

npm install @google/genai

Gemini 3.6 Flash is now the default

The antigravity-preview-05-2026 agent now runs Gemini 3.6 Flash by default. No code changes are required. Your next interaction picks it up automatically.

You can also explicitly select models by passing agent_config.model when creating an interaction or managed agent. Use Gemini 3.5 Flash-Lite for lower cost, or pin to your model of preference.

import { GoogleGenAI} from "@google/genai";

const client = new GoogleGenAI({});

const interaction = await client.interactions.create({ agent: "antigravity-preview-05-2026", input: "Audit all dependencies in package.json, upgrade outdated packages, and verify the build by running npm test.", environment: "remote", agent_config: { type: "antigravity", model: "gemini-3.5-flash-lite", }, });

console.log(interaction.output_text);

Supported models include:

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