Google、管理型 Gemini エージェントに制御機能を追加
Google DeepMind は Gemini API の Managed Agents を更新し、デフォルトモデルを Gemini 3.6 Flash に変更するとともに、環境フックや予算管理機能を追加して制御性を強化した。
AI深層分析を開く2026年7月29日 23:18
AI深層分析
キーポイント
デフォルトモデルの更新
Gemini API の Managed Agents がデフォルトで Gemini 3.6 Flash を使用するようになった。
環境フックによる制御強化
サンドボックス内でツール呼び出しをブロック、リント(構文チェック)、監査する新しい環境フックが導入された。
運用管理機能の追加
予算コントロールやスケジュールトリガー機能が実装され、コストと実行タイミングの管理が可能になった。
無料枠の提供
これらの新機能を試すためのフリーティアアクセスが用意された。
Managed Agents の新機能追加
Gemini API の Managed Agents に環境フック、モデル選択、無料枠へのアクセスが追加された。
重要な引用
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.
"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."
The antigravity-preview-05-2026 agent now runs Gemini 3.6 Flash by default.
編集コメントを表示
編集コメント
Gemini API の Managed Agents が制御性を大幅に強化したことで、実用化のハードルが下がる。特に予算管理とツール呼び出しの監査機能は、大規模展開における必須要件を満たす重要なアップデートと言える。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
2026 年 7 月 28 日
3 分間で読めます
Gemini API のマネージドエージェントが、デフォルトで Gemini 3.6 Flash を使用するように変更されました。新しい環境フック機能により、サンドボックス内でツール呼び出しのブロック、リンティング、監査が可能になります。また、予算管理、スケジュールトリガー、無料枠へのアクセスも追加されています。
フィリップ・シュミッド(Google DeepMind テクニカルスタッフ)
マリアーノ・コチリオ(Google DeepMind プロダクトマネージャー)

このブラウザでは音声再生に対応していません。
記事の音声を聞く
[[duration]] 分
本コンテンツは Google AI によって生成されています。生成 AI は実験的な技術です。
Gemini API のマネージドエージェントに、環境フックやモデル選択機能、無料枠へのアクセスが追加されました。これらは、背景タスクとリモート MCP サーバーの統合機能を導入した前回のリリースをさらに発展させたものです。
Gemini Interactions API を通じて管理されるエージェントでは、1 つの API 呼び出しで、孤立したクラウドサンドボックス内での調整、推論、コード実行、パッケージインストール、ファイル管理、Web 検索を一括して制御できます。
AI コーディングアシスタントを利用している場合、ターミナルに以下のコマンドを入力して Interactions API スキルへのアクセス権限を付与してください。
npx skills add google-gemini/gemini-skills --skill gemini-interactions-api
以下は、@google/genai TypeScript/JavaScript SDK を使用した例です。Python や cURL の場合は、Antigravity エージェントのドキュメントをご参照ください。
npm install @google/genai
Gemini 3.6 Flash がデフォルトに採用されました
現在、antigravity-preview-05-2026 エージェントは Gemini 3.6 Flash をデフォルトとして稼働しています。コードの変更は一切不要で、次回の対話から自動的に切り替わります。
必要に応じて、インタラクションやマネージドエージェントを作成する際に agent_config.model パラメータを指定してモデルを手動選択することも可能です。コストを抑えたい場合は Gemini 3.5 Flash-Lite を、お好みのモデルに固定したい場合はそのモデルをピン留めしてください。
対応しているモデルは以下の通りです。
- Gemini 3.6 Flash (gemini-3.6-flash, デフォルト): 推論、コーディング、ツール利用のバランスが取れたモデル。
- Gemini 3.5 Flash (gemini-3.5-flash): 汎用的なエージェントワークフロー向けの前世代モデル。
- Gemini 3.5 Flash-Lite (gemini-3.5-flash-lite): Gemini 3.5 シリーズの中で最も低遅延かつ低コストなモデル。
環境フック:サンドボックス内でツール呼び出しをブロック、リンティング、監査する
環境フックを使えば、エージェントがサンドボックス内でツールを呼び出す前や後に、独自のスクリプトを実行できます。環境に .agents/hooks.json ファイルを追加するだけで、ランタイムが pre_tool_execution(実行前)や post_tool_execution(実行後)のイベントでハンドラーを実行します。
matcher フィールドでは正規表現をサポートしており、| で複数のツールを指定したり、* を使ってすべてにマッチさせたりできます。
この設定では以下の動作になります:
security-gateグループは、code_executionまたはwrite_fileの呼び出し前にgate.pyを実行します。スクリプトが{"decision": "deny", "reason": "..."}を返した場合、そのツール呼び出しはスキップされ、拒否理由がモデルのコンテキストに渡されます。auto-formatグループは、すべてのツール処理完了後にauto_lint.pyを実行してコードの書式統一を強制します。- また、フックでは HTTP タイプのハンドラーもサポートしており、外部エンドポイントへ直接 POST 送信することも可能です。
HTTP フックの詳細な定義や失敗時の挙動については、フックドキュメントをご参照ください。
すでに多くのチームが、本番環境向けの検証パイプライン構築にフックを活用しています。例えば、AI ネイティブの投資銀行 Offdeal では、リモートサンドボックス内で自動画像検証を行うために post_tool_execution フックを利用しています。
「OffDeal は AI ネイティブの投資銀行です。アーチー(Archie)は、当行のバンカーが毎日使用する AI アナリストです。バンカー向けの資料には企業ロゴが必須で、買い手一覧表やスポンサー列、トームストーングリッドなど、1 つの資料に 30 社以上のロゴが含まれることも珍しくありません。それぞれのロゴは、正しい会社名であること、適切なサイズとアスペクト比を持つこと、名称を含んでいること、背景が透明であること、白いスライド上に配置した際に高いコントラストを示すことが求められます。
エージェントフックを導入する前は、Gemini のマネージドエージェントでこれを実現することはできませんでした。サンドボックスはリモート環境にあるため、検証コードを実行できる場所が存在しなかったのです。しかし、フック機能を使えば、post_tool_execution フックがアーチーが企業リストを作成した瞬間にトリガーされ、サンドボックス内でパイプラインを起動します。候補のロゴを取得し、ピクセルレベルでの品質チェックを実施し、Gemini のビジョン機能で各ロゴを検証。承認されたファイルのみをマニフェストとして公開し、資料に使用できる画像を厳格に管理しています。」
- OffDeal 創設者兼 CTO アルストン・リン氏
コスト制御と自動化機能
フリーティアの提供
マネージドエージェントは、フリーティアプロジェクトで利用可能になりました。開発者は、課金アクティブ化されていないプロジェクトから取得した API キー を使用して、エージェントワークフローの実験が可能となります。
バジェット制御
管理型エージェントは多段階の自律ループを実行するため、複雑なタスクではトークン使用量が膨大になる可能性があります。実行が暴走するのを防ぐには、agent_config 内に max_total_tokens を指定して、入力・出力・思考にわたる総使用量を制限できます。
エージェントがこの上限に達すると、実行は安全に一時停止され、ステータスとして "incomplete" が返されます。環境状態は保持されるため、以前の実行 ID (previous_interaction_id) と新しいバジェットを指定することで、中断した場所から再開 することが可能です。
トリガーによるスケジュール実行
スケジュールトリガー を利用して、定期的なエージェントタスクを自動化できます。トリガーはエージェント、環境、プロンプト、および cron スケジュールを結びつけ、手動介入なしで自動的に発火する永続リソースとして機能します。各実行では同じサンドボックスが再利用されるため、ファイルは実行間でも保持されます。
環境 API
環境 API を使えば、コードからサンドボックスセッションの一覧表示、詳細確認、削除が可能になります。切断後に環境 ID を復元したり、パイプライン完了時に 7 日間の TTL を待たずに手動でサンドボックスをクリーンアップしたりできます。
管理型エージェントの活用を始めよう
今回のアップデートにより、管理型エージェントは予算を圧迫せず、外部のオーケストレーションを必要とせずに、実際の開発環境内で自律的に動作するコスト制御型のスケジュール実行ワークとして機能します。
カスタムエージェントの定義や環境設定、ネットワークルール、高度なストリーミングパターンについて詳しく知りたい場合は、Gemini Interactions API の概要 や 管理型エージェントのクイックスタートガイド をご確認ください。
原文を表示
Jul 28, 2026
|
3 min read
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/genaiGemini 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.
Supported models include:
- Gemini 3.6 Flash (gemini-3.6-flash, default): Balanced model for reasoning, coding, and tool use.
- Gemini 3.5 Flash (gemini-3.5-flash): Previous generation for general agentic workflows.
- Gemini 3.5 Flash-Lite (gemini-3.5-flash-lite): Lowest latency and cost on the Gemini 3.5 family.
Environment hooks: block, lint, and audit tool calls inside the sandbox
Environment hooks let you run your custom scripts before or after every tool call the agent makes inside its sandbox. Add a .agents/hooks.json into your environment and the runtime executes your handlers on pre_tool_execution or post_tool_execution events.
The matcher field supports regular expressions, allowing you to target multiple tools with | or catch everything with *:
In this configuration:
- The security-gate group runs gate.py before every code_execution or write_file call. If the script returns {"decision": "deny", "reason": "..."}, the tool call is skipped and the rejection reason is passed into the model’s context.
- The auto-format group runs auto_lint.py after every tool finishes to enforce code styling.
- Hooks also support http type handlers that POST directly to an external endpoint.
For complete HTTP hook definitions and failure handling semantics, refer to the hooks documentation.
Teams are already using hooks to build production-grade validation pipelines. For example, AI-native investment bank Offdeal uses post_tool_execution hooks to run automated image verification inside the remote sandbox.
*"OffDeal is an AI-native investment bank, and Archie is the AI analyst our bankers use every day. A requirement for banker-ready decks is company logos: buyer tables, sponsor columns, tombstone grids, often 30+ logos in a single deck, every one of which must be the right company, the appropriate size and aspect ratio, contain the name, have a transparent background, and have a high contrast when placed on a white slide.*
*Before agent hooks, we couldn’t do this on Gemini’s managed agents: the sandbox is remote, so our validation code had nowhere to run. With hooks, a post_tool_execution hook triggers our pipeline inside the sandbox the moment Archie writes its company list, fetching candidates, enforcing pixel-level quality checks, verifying each logo with Gemini vision, and publishing a manifest of approved files that are the only images allowed into the deck."*
- Alston Lin, Founder & CTO of OffDeal
Cost control and automation features
Free tier availability
Managed agents are now available on free tier projects. Developers can experiment with agentic workflows using an API key from a project without active billing.
Budget controls
Because managed agents execute multi-turn autonomous loops, complex tasks can consume significant token budgets. To prevent runaway tasks, you can pass max_total_tokens inside agent_config to cap total consumption (input + output + thinking).
When the agent reaches the limit, execution safely pauses and the interaction returns status: "incomplete". The environment state is preserved, enabling you to continue where it stopped by passing previous_interaction_id with a fresh budget.
Scheduled execution with triggers
Automate recurring agent tasks with scheduled triggers. A trigger binds an agent, environment, prompt, and cron schedule into a persistent resource that fires without manual intervention. Each run reuses the same sandbox, so files persist across executions.
Environments API
The Environments API lets you list, inspect, and delete sandbox sessions from code. Recover environment IDs after a disconnect, or clean up sandboxes when your pipeline finishes instead of waiting for the 7-day TTL.
Get started with managed agents
These updates turn managed agents into cost-controlled, scheduled workers that operate autonomously inside real development environments without breaking your budget or requiring external orchestration.
Check out the Gemini Interactions API overview and the managed agents quickstart to explore custom agent definitions, environment configurations, network rules, and advanced streaming patterns.
AI算出
主要ニュースainew評価標準
記事は Gemini 3.6 Flash の採用や環境フックによるセキュリティ制御など、開発者が即座に実装・評価できる具体的な技術的変更点を明記しており、新規性と検索意図の両面で高い値を持つ。ただし、日本固有の導入事例や規制情報は含まれていないため、日本の関連性は標準的なレベルとなる。
6つの評価軸を見る
- AI関連度
- 75
- 情報源の信頼性
- 50
- 新規性
- 75
- 調べる価値
- 75
- 重複の少なさ
- 100
- 日本での有用性
- 25
関連記事
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み