AI & Agents

What Is Google ADK (Agent Development Kit)?

Google's open-source toolkit for building AI agents that can use tools, make decisions, and complete complex tasks on their own.

Scroll to start

Building AI That Can Act

Think about the AI tools you use today. Most of them just answer questions — you ask, they reply, done. An AI agent is different. An AI agent can actually do things. It can search the web for you, read files on your computer, send emails, book appointments, and run code — all on its own, based on what you ask it to do.

Google's Agent Development Kit (ADK) is Google's open-source toolkit that makes it easier to build these kinds of agents. Think of it like a construction set — instead of building everything from scratch, Google gives you ready-made parts: ways to connect to AI models, tools the agent can use, safety checks, and code structure to tie it all together.

ADK is built with Python and works with Google's Gemini AI models, but you can also plug in models from other providers. It runs locally on your machine or in the cloud, and it's designed for developers who want to prototype fast and ship agents that actually work in real applications.

Why Agents Are a Big Deal

Until recently, most AI applications were one-shot tools: you give them input, they give you output, and that's it. Agents change that by creating AI that can plan, use tools, and complete multi-step tasks — like having a smart assistant that can actually do your job instead of just advising you.

Google built ADK to make agent development more accessible. Before tools like ADK, building an agent meant stitching together lots of different pieces: connecting to an AI model, writing code for each tool the agent could use, handling errors, and adding safety layers. ADK handles a lot of that heavy lifting so developers can focus on what the agent should actually do, not the plumbing underneath.

💡 Key Insight

ADK is to AI agents what Ruby on Rails was to web development in 2005 — a framework that made a powerful concept accessible to many more developers by handling the boilerplate and best practices for you.

For businesses, this means agents can handle real workflows: customer service that actually resolves issues, research bots that gather and summarize data autonomously, internal tools that automate tedious multi-step processes. ADK makes it faster to build those and get them working correctly.

The Three Pillars of ADK

ADK is built around three core concepts that make agents work. Understanding these helps you see how everything fits together.

1
🔄

The Agent Loop

An agent runs in a loop: it thinks about what to do, picks an action, runs it, checks the result, and repeats until the task is done. ADK manages this loop for you so you don't have to code it manually.

2
🛠️

Tools & Capabilities

Agents need tools to be useful. In ADK, you give your agent tools — like searching the web, running Python code, or reading files. The more tools, the more the agent can do on its own.

3
🧠

Memory & State

Real agents need to remember things. ADK has built-in ways to manage conversation history and long-term memory, so agents can keep track of what they've done across multiple interactions.

Here's how a simple agent using ADK works in practice: you define the agent, give it tools (like a web search and a calculator), and then throw a task at it. The agent decides which tool to use, runs it, gets a result, decides the next step, and keeps going until it's done.

How an ADK Agent Thinks
📋
Receive Task
Gets a goal from the user
🤔
Plan
Decides what steps to take
Use Tool
Runs a search, code, or file tool
Evaluate
Checks if the goal is reached
repeat until done

A Simple Agent That Searches and Calculates

Here's a basic example of an ADK agent that can search the web and do math. You define the agent, add two tools, and give it a task.

agent.py
from google.adk.agents import Agent
from google.adk.tools import google_search, code_execution

# Create an agent with two tools
research_agent = Agent(
    name="research_assistant",
    model="gemini-2.0-flash",
    description="Helps research topics and do calculations",
    tools=[google_search, code_execution]
)

# Run the agent with a task
response = research_agent.run(
    "What is the population of Tokyo compared to NYC?"
)
print(response)

That short script creates an agent that can search the web and run code. You give it a question and it handles the rest — breaking the task into steps, running tools, and returning a final answer. No manual orchestration needed.

Knowledge Check

Test what you learned with this quick quiz.

Quick Quiz — 3 Questions

Question 1
What makes an AI agent different from a normal AI chatbot?
Question 2
What does ADK stand for?
Question 3
What are the three core pillars of ADK?
🏆

You crushed it!

Perfect score on this module.