Framework · Google
Google ADK の概要
GoogleのAgent Development Kit。Python、TypeScript、Go、Java、Kotlin向けのSDKを提供し、評価機能をコアに組み込んでいます。Geminiを中心に設計されていますが、アダプターを介して他のモデルも利用でき、Google CloudのAgent Runtimeにデプロイできます。
おすすめの用途: 複数の言語を使うチームで、Geminiを中心としたエージェント、組み込みの評価機能、Google Cloudへの直接的なデプロイ経路を求める場合。
基本情報
- メンテナー
- 言語
- Python, TypeScript, Go, Java, Kotlin
- ライセンス
- Apache-2.0
- 最新バージョン
Python 2.10.0· 2026年9月25日- リポジトリ
- google/adk-python
- ホスティング विकल्प
- Agent Runtime on Gemini Enterprise Agent Platform (formerly Vertex AI Agent Engine); also Cloud Run, GKE
クイックスタート
パッケージをインストールして認証情報を設定し、公式ドキュメントにある最小構成のエージェントを実行します。モデル ID はドキュメントで使われているものです。アカウントで有効になっていない場合があります。
Python
pip install google-adk && adk create my_agent (run with: adk run my_agent or adk web --port 8000)from google.adk.agents.llm_agent import Agent
# Mock tool implementation
def get_current_time(city: str) -> dict:
"""Returns the current time in a specified city."""
return {"status": "success", "city": city, "time": "10:30 AM"}
root_agent = Agent(
model='gemini-flash-latest',
name='root_agent',
description="Tells the current time in a specified city.",
instruction="You are a helpful assistant that tells the current time in cities. Use the 'get_current_time' tool for this purpose.",
tools=[get_current_time],
)TypeScript
npm install @google/adk (inferred from package name; not copied from docs)import { LlmAgent, GOOGLE_SEARCH } from '@google/adk';
const agent = new LlmAgent({
name: 'researcher',
model: 'gemini-flash-latest',
instruction: 'You help users research topics thoroughly.',
tools: [GOOGLE_SEARCH],
});機能
| 任意のモデル | はい | Geminiを中心に設計。LiteLLMとローカルアダプター経由で他のモデルも利用可能 |
|---|---|---|
| MCPクライアント | はい | McpToolsetに対応。ツールごとの実行確認も設定可能 |
| MCPサーバー | はい | to_mcp_server() でエージェントを公開 |
| マルチエージェント | はい | サブエージェントのツリーに加え、ADK 2.0 以降はグラフワークフローにも対応 |
| 耐久性のある実行 | はい | 停止したエージェントを再開。Agent Runtime が長時間実行の状態を保持 |
| 人による承認 | はい | require_confirmation=True でツール実行時に確認を要求 |
| トレーシング | はい | OpenTelemetry ベース。Google Cloud では Cloud Trace に対応 |
| Evals | はい | 評価機能は ADK の中核機能 |
最近の変更
- ADK 2.0 でグラフベースのワークフローが追加されました。
- Python、TypeScript、Go、Java に加え、Kotlin SDK が追加されました。
- ドキュメントが adk.dev に移転しました。
- Vertex AI Agent Engine は、Gemini Enterprise Agent Platform の Agent Runtime に名称変更されました。