Google’s Agent Development Kit is an open-source, code-first framework for building agents and multi-agent systems in Python. An agent is a Python object with a name, a model, a description, an instruction and a list of tools, and the project needs one root_agent that every runner looks for. Scaffold the project with the ADK command line, edit the generated agent file, and try it in the bundled web interface before you write any frontend code.
What you need
- Python 3.11 or later and a virtual environment
- A Gemini API key from Google AI Studio, or a Google Cloud project on Vertex AI
- One narrow job for the agent, written in one sentence
Step 1: Install ADK and scaffold the project
Install the google-adk package in a virtual environment, then run the create command for your agent. It asks which model backend you want and creates a small starter package with an agent file.
Step 2: Edit the root agent
Open the generated agent file and set the root agent’s name, model, description, instruction and tools. Keep the instruction to the one job, and give the agent a description other agents can use to decide when to delegate to it.
Step 3: Try it in the dev web interface
Start the bundled web interface and chat with the agent there. You can inspect every event and tool call, and read the traces for each turn, before you deploy anything.
Worked example: synthetic first ADK agent
The table below is a synthetic example. It shows the expected result of a first ADK agent; no agent was built.
| Check | Expected | Result |
|---|---|---|
| Project scaffolds | Yes | Pass |
| Agent answers in the web UI | Yes | Pass |
| Tool called when needed | Yes | Pass |
Expected result (UNTESTED). the project scaffolds, the agent chats in the web interface, and it calls its tool when the job needs it. This check was not run live; the table shows the expected result for the synthetic example.
Limits
- The generated agent file defines a root_agent, and that name is the only hard requirement in an ADK project.
- Always install ADK in a virtual environment, because it pulls in a large dependency tree.
- A model string that works with one provider does not work with another, so check the model backend first.
