Google Agent Development Kit (ADK) development guidance for building AI agents
This skill helps you develop AI agents using Google's Agent Development Kit (ADK).
ADK is Google's open-source framework for building, evaluating, and deploying AI agents. It's the same framework powering agents within Google products like Agentspace and Google Customer Engagement Suite.
Agent): Uses LLM as core reasoning engineBaseAgent for custom logicadk_agents/
├── agent.py # Root agent definition
├── _agents/ # Individual agent implementations
│ └── my_agent.py
├── _workflows/ # Workflow orchestrations
│ └── my_workflow.py
├── tools/ # Custom tool implementations
│ └── my_tool.py
├── _state.py # State key definitions
├── _schemas.py # Pydantic schemas
└── .adk/ # ADK config & eval history
from google.adk.agents import LlmAgent
from google.adk.tools import FunctionTool
agent = LlmAgent(
name="my_agent",
model="gemini-2.0-flash",
instruction="You are a helpful assistant.",
tools=[FunctionTool(my_function)],
)
from google.adk.agents import SequentialAgent
workflow = SequentialAgent(
name="my_workflow",
sub_agents=[agent1, agent2, agent3],
)
from google.adk.tools.mcp_tool.mcp_toolset import McpToolset
from google.adk.tools.mcp_tool.mcp_session_manager import StdioConnectionParams
toolset = McpToolset(
connection_params=StdioConnectionParams(
server_params=StdioServerParameters(
command="python",
args=["-m", "my_mcp_server"],
)
),
tool_filter=["my_tool"],
)
| Command | Description |
|---|---|
adk dev | Start local development server with web UI |
adk deploy | Deploy to Vertex AI Agent Engine |
adk eval | Run evaluation suite |
adk web | Start web interface |
# Single command deployment
adk deploy --project=my-project --region=us-central1
# Or via gcloud
gcloud ai agent-engines create my-agent \
--project=my-project \
--location=us-central1
_state.py_schemas.pyadk eval for systematic agent evaluation