Google、Gemini API に Managed Agents を追加し 3.6 Flash やフック機能を強化
Google DeepMind は Gemini API の Managed Agents を更新し、デフォルトモデルを Gemini 3.6 Flash に変更するとともに、環境フックによるツールの監査機能や予算管理機能を追加した。
AI深層分析を開く2026年7月29日 02:50
AI深層分析
キーポイント
Managed Agents のデフォルトモデル更新
Gemini API の Managed Agents が Gemini 3.6 Flash をデフォルトとして採用するようになったと発表された。
環境フックによるツール制御機能の追加
サンドボックス内でツール呼び出しをブロック、リント(構文チェック)、監査するための新しい環境フック機能が導入された。
運用管理機能と無料枠の拡充
予算コントロール機能やスケジュールトリガーが追加され、さらにフリーティアでのアクセスが可能になった。
Gemini API Managed Agents の新機能
環境フック、モデル選択、無料枠へのアクセスが可能になった。
Gemini Interactions API の統合能力
単一のAPI呼び出しで調整、推論、コード実行、パッケージインストール、ファイル管理、ウェブ取得を隔離されたクラウドサンドボックス内で実行する。
重要な引用
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 3.6 Flash の採用により、Managed Agents のパフォーマンスとコスト効率がさらに向上した。特にツール呼び出しの監査機能は、実運用におけるセキュリティリスク管理に直結する重要なアップデートである。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
2026 年 7 月 28 日
3 分間の読み物
Gemini API の Managed Agents で、デフォルトモデルが Gemini 3.6 Flash に切り替わりました。新たに導入された環境フックを使えば、サンドボックス内でツール呼び出しをブロックしたり、コードの静的解析(リンティング)を行ったり、監査を実行したりすることが可能になります。また、予算管理機能やスケジュールトリガー、無料枠での利用も開始されました。
Philipp Schmid
Google DeepMind 技術スタッフメンバー
Mariano Cocirio
Google DeepMind プロダクトマネージャー

このブラウザでは音声再生に対応していません。
記事の音声を聞く
[[duration]] 分
本コンテンツは Google AI によって生成されています。生成 AI は実験的な技術です。
Gemini API の Managed Agents では、環境フックやモデル選択機能、無料枠での利用が可能になりました。これらの新機能は、以前発表されたバックグラウンドタスクやリモート MCP サーバーの統合機能をさらに発展させたものです。
Managed Agents を 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 ネイティブの投資銀行です。アーチーは、当行のバンカーが毎日使用する AI アナリストです。バンカー向け資料には企業ロゴの掲載が必須要件となります。買い手一覧表、スポンサー列、トームストーングリッドなど、1 つの資料に 30 社以上のロゴを配置するケースも珍しくありません。それぞれのロゴは、正確な企業名であること、適切なサイズとアスペクト比であること、名称が含まれていること、背景が透明であること、白いスライド上に配置した際に高いコントラストを保つことなどが求められます。
エージェントフックを導入する前は、Gemini のマネージドエージェント上でこれを実現することはできませんでした。サンドボックスはリモート環境にあるため、検証コードを実行できる場所が存在しなかったのです。しかし、フック機能を使えば、post_tool_execution フックがトリガーされることで、アーチーが企業リストを作成した瞬間に、サンドボックス内でパイプラインが起動します。候補のロゴを取得し、ピクセルレベルでの品質チェックを適用し、Gemini ビジョンを用いて各ロゴを検証します。そして、資料に使用が許可された画像のみを記述したマニフェストを公開するのです。」
- OffDeal 創設者兼 CTO、アルストン・リン氏
コスト管理と自動化機能
フリーティアの提供
マネージドエージェントは、フリーティアプロジェクト で利用可能になりました。開発者は、課金アクティブ化されていないプロジェクトから取得した API キー を用いて、エージェントワークフローの実験が可能となっています。
バジェット制御
マネージドエージェントは多段階の自律ループを実行するため、複雑なタスクではトークン消費量が膨大になる可能性があります。実行が暴走するのを防ぐには、agent_config 内で max_total_tokens を指定して、入力・出力・思考プロセスを含む総消費量を上限まで制限できます。
エージェントがこの上限に達すると、実行は安全に一時停止され、インタラクションのステータスは "incomplete"(未完了)として返されます。この際、環境の状態は保持されるため、previous_interaction_id を指定して新しいバジェットを付与することで、中断した場所から再開 することが可能です。
トリガーによるスケジュール実行
スケジュールトリガー を利用すれば、定期的なエージェントタスクを自動化できます。トリガーはエージェント、環境、プロンプト、そして cron スケジュールを結びつけた永続リソースとして機能し、手動介入なしで自動的に発火します。各実行では同じサンドボックスが再利用されるため、ファイルは実行間でも保持されます。
環境 API
環境 API を使えば、コードからサンドボックスセッションの一覧表示、詳細確認、削除が可能になります。切断後に環境 ID を復元したり、パイプライン完了時に 7 日の TTL を待たずに手動でサンドボックスをクリーンアップしたりできます。
Managed Agents の利用開始
今回のアップデートにより、Managed Agents は予算を圧迫することなく、外部のオーケストレーションに依存せず、実際の開発環境内で自律的に動作するコスト制御型のスケジュール済みワーカーとして進化しました。
カスタムエージェントの定義や環境設定、ネットワークルール、高度なストリーミングパターンについて詳しく知りたい場合は、Gemini Interactions API の概要 や Managed Agents のクイックスタートガイド をご覧ください。
原文を表示
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評価高い
AI エージェント運用とセキュリティ機能の強化に関する公式発表であり、明確な新機能とバージョン情報が含まれているため高スコアとした。ただし、日本固有の情報や企業事例がないため、日本の関連性は低く評価した。
6つの評価軸を見る
- AI関連度
- 100
- 情報源の信頼性
- 100
- 新規性
- 75
- 調べる価値
- 75
- 重複の少なさ
- 100
- 日本での有用性
- 25
関連記事
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み