What is it and Why use it?Agent Developer Kit
ADK logo

An open-source framework (Apache 2.0) for building AI agents that supports Python (which we'll use), Go, and Java.

1The "Polymorphism" BenefitADK forces you to stick to a unified interface, which makes swapping out components a breeze.
2Kit toolA mix of tools (prebuilt and custom) to create agents that range from deterministic to non-deterministic ones.
3OrchestrationCompose small, specialized agents into complex, hierarchical systems.
4State ManagementRaw LLM APIs are stateless; ADK tracks, stores and updates an agent's data, context, progress and memory across steps.
hello2x › hello1 › agent.py
"""Hello world agent which can convert currency."""
from datetime import date, timedelta
import requests
def get_today_date():
"""Returns today's date in YYYY-MM-DD format."""
today = date.today()
return today.strftime("%Y-%m-%d")
def get_date_plus_days(days: int):
"""Returns a date in YYYY-MM-DD format, plus or mi
Args: days (int): The number of days to add or subtr
Returns: str: A date in YYYY-MM-DD format."""
today = date.today()
return (today + timedelta(days=days)).strftime("%Y-
def get_exchange_rate(currency_from: str, currency_to:
"""Retrieves the exchange rate between two currenc
Args: currency_from (str): The source currency code.
currency_to (str): The target currency code."""
...