| layout | default |
|---|---|
| title | Chapter 1: Getting Started |
| nav_order | 1 |
| parent | ADK Python Tutorial |
Welcome to Chapter 1: Getting Started. In this part of ADK Python Tutorial: Production-Grade Agent Engineering with Google's ADK, you will build an intuitive mental model first, then move into concrete implementation details and practical production tradeoffs.
This chapter gets ADK running locally so you can validate the core developer loop quickly.
- install ADK in a clean Python environment
- create a minimal agent project structure
- run with ADK CLI and web tools
- avoid first-run setup pitfalls
python -m venv .venv
source .venv/bin/activate
pip install google-adkThen create a minimal agent module and run:
adk web path/to/agents_dir- confirm Python and environment are healthy
- install
google-adkand launch the UI - run one user turn through your root agent
- verify tool calls and events appear as expected
You now have ADK installed and a working baseline invocation flow.
Next: Chapter 2: Architecture and Runner Lifecycle
The contributing/samples/runner_debug_example/main.py shows the simplest valid ADK usage: creating a runner, passing a user message, and printing the response. This maps directly to the "first agent run" goal of Chapter 1 — it demonstrates the minimal boilerplate needed to go from zero to a working agent in a local environment.