dotsagent.io
言語:日本語
Framework · Google

Google ADK の概要

GoogleのAgent Development Kit。Python、TypeScript、Go、Java、Kotlin向けのSDKを提供し、評価機能をコアに組み込んでいます。Geminiを中心に設計されていますが、アダプターを介して他のモデルも利用でき、Google CloudのAgent Runtimeにデプロイできます。

おすすめの用途: 複数の言語を使うチームで、Geminiを中心としたエージェント、組み込みの評価機能、Google Cloudへの直接的なデプロイ経路を求める場合。

基本情報

メンテナー
Google
言語
Python, TypeScript, Go, Java, Kotlin
ライセンス
Apache-2.0
最新バージョン
Python 2.10.0 · 2026年9月25日
リポジトリ
google/adk-python · 21,687 スター
ホスティング विकल्प
Agent Runtime on Gemini Enterprise Agent Platform (formerly Vertex AI Agent Engine); also Cloud Run, GKE
Agent Runtime は以前 Vertex AI Agent Engine という名称でした。デプロイ時の呼び出しは引き続き client.agent_engines.create(...) です。

クイックスタート

パッケージをインストールして認証情報を設定し、公式ドキュメントにある最小構成のエージェントを実行します。モデル ID はドキュメントで使われているものです。アカウントで有効になっていない場合があります。

Python

インストール
pip install google-adk && adk create my_agent  (run with: adk run my_agent  or  adk web --port 8000)

GOOGLE_API_KEY in my_agent/.env が必要

Python
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)

GOOGLE_API_KEY が必要

TypeScript
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 に名称変更されました。

同じ言語の代替ツール

参照元

  1. google.github.io/adk-docs/
  2. google.github.io/adk-docs/get-started/python/
  3. adk.dev/tools-custom/confirmation/
  4. adk.dev/tools-custom/mcp-tools/advanced/
  5. adk.dev/tools-custom/mcp-tools/agent-as-server/
  6. docs.cloud.google.com/gemini-enterprise-agent-platform/vertex-ai-name-changes
  7. cloud.google.com/blog/products/ai-machine-learning/introducing-gemini-enterprise-agent
  8. docs.cloud.google.com/gemini-enterprise-agent-platform/build/runtime/quickstart-adk
  9. pypi.org/pypi/google-adk/json
  10. registry.npmjs.org/@google%2fadk
  11. api.github.com/repos/google/adk-python