---
title: "Google ADK: ฟีเจอร์ เวอร์ชัน และ Quickstart · DotsAgent"
description: "Google ADK โดย Google: ไลเซนส์ เวอร์ชันล่าสุด รองรับ MCP, การรันงานแบบต่อเนื่อง การอนุมัติโดยมนุษย์ การ tracing และ evals พร้อม Quickstart ที่คัดลอกไปใช้ได้"
url: https://dotsagent.io/th/frameworks/google-adk
---

เฟรมเวิร์ก · Google

# ภาพรวม Google ADK

Agent Development Kit ของ Google มี SDK สำหรับ Python, TypeScript, Go, Java และ Kotlin พร้อมระบบประเมินผลที่ผสานอยู่ใน core เน้น Gemini เป็นหลัก แต่รองรับ models อื่นผ่าน adapters และ deploy ไปยัง Agent Runtime บน Google Cloud ได้

**เหมาะสำหรับ:**  ทีมที่ทำงานกับหลายภาษาและต้องการ agents ที่เน้น Gemini, ระบบประเมินผลในตัว และช่องทางตรงไปยัง Google Cloud

## ข้อมูลสำคัญ

- **ผู้ดูแล**: Google
- **ภาษา**: Python, TypeScript, Go, Java, Kotlin
- **ไลเซนส์**: Apache-2.0
- **เวอร์ชันล่าสุด**: `Python 2.10.0` · 25 กันยายน 2569
- **Repository**: [google/adk-python](https://github.com/google/adk-python) · 21,687 ดาว
- **ตัวเลือกแบบโฮสต์**: [Agent Runtime on Gemini Enterprise Agent Platform (formerly Vertex AI Agent Engine); also Cloud Run, GKE](https://docs.cloud.google.com/gemini-enterprise-agent-platform/build/runtime/quickstart-adk)Agent Runtime เดิมชื่อ Vertex AI Agent Engine; คำสั่ง deploy ยังคงเป็น client.agent_engines.create(...)

## Quickstart

ติดตั้งแพ็กเกจ ตั้งค่าข้อมูลรับรอง แล้วเรียกใช้ agent ตัวอย่างที่เล็กที่สุดจากเอกสารทางการ Model 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],
)
```

[แหล่งข้อมูล Quickstart](https://google.github.io/adk-docs/get-started/python/)

### 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],
});
```

[แหล่งข้อมูล Quickstart](https://google.github.io/adk-docs/)

## ฟีเจอร์

| ใช้ได้กับทุกโมเดล | — | เน้น Gemini; ใช้ models อื่นผ่าน LiteLLM และ local adapters |
| --- | --- | --- |
| MCP client | — | ใช้ McpToolset พร้อมตั้งให้แต่ละ tool ขอการยืนยันก่อนใช้งานได้ |
| MCP server | — | เปิดให้เรียกใช้ agent ผ่าน to_mcp_server() |
| หลาย agent | — | รองรับโครงสร้าง sub-agent และเวิร์กโฟลว์แบบกราฟตั้งแต่ ADK 2.0 |
| การทำงานต่อเนื่องแบบทนทาน | — | ทำงานต่อจาก agent ที่หยุดไปได้; Agent Runtime เก็บสถานะระยะยาว |
| การอนุมัติโดยมนุษย์ | — | ยืนยันการใช้เครื่องมือผ่าน require_confirmation=True |
| Tracing | — | ใช้ OpenTelemetry และ Cloud Trace บน Google Cloud |
| Evals | — | การประเมินเป็นฟีเจอร์หลักของ ADK |

## การเปลี่ยนแปลงล่าสุด

- ADK 2.0 เพิ่มเวิร์กโฟลว์แบบกราฟ
- เพิ่ม Kotlin SDK จากเดิมที่มี Python, TypeScript, Go และ Java
- ย้ายเอกสารไปที่ adk.dev
- Vertex AI Agent Engine เปลี่ยนชื่อเป็น Agent Runtime บน Gemini Enterprise Agent Platform

## ทางเลือกในภาษาเดียวกัน

- [OpenAI Agents SDK](https://dotsagent.io/th/frameworks/openai-agents-python)

- [OpenAI Agents SDK (JS)](https://dotsagent.io/th/frameworks/openai-agents-js)

- [Claude Agent SDK](https://dotsagent.io/th/frameworks/claude-agent-sdk)

- [Microsoft Agent Framework](https://dotsagent.io/th/frameworks/microsoft-agent-framework)

- [LangGraph](https://dotsagent.io/th/frameworks/langgraph)

- [CrewAI](https://dotsagent.io/th/frameworks/crewai)

## แหล่งข้อมูล

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

แหล่งอ้างอิงอิสระสำหรับผู้สร้าง AI agent ไม่มีส่วนเกี่ยวข้องกับผู้ให้บริการที่กล่าวถึง

© 2026 DotsAgent · ตรวจสอบข้อมูลเมื่อ 1 ตุลาคม 2569
