Building your first ADK agent: the direct answer
If you searched for "how to build your first ADK agent" while preparing for the Google Cloud Professional Agentic Architect exam, here is the honest answer: you can scaffold, run, and test a working Agent Development Kit (ADK) agent in under an hour — but the exam does not test whether you can copy a quickstart. It tests whether you understand why you made each choice inside that agent. ADK is the code-first framework in Section 3 of the exam guide, Developing custom agents, which is about 33% of the exam — the largest section by far. Every hour you spend building a real ADK agent pays off twice: once on the multiple-choice exam, and again on the hands-on labs that unlock after you pass it.
This walkthrough takes you from an empty folder to a tool-using agent with memory, an evaluation set, and a deployment plan — and at each step, it flags what the exam is really checking.
Exam facts first (verified October 2026)
- Status: Beta ran September 8–30, 2026. General availability is expected mid-November 2026.
- Format — two parts: Part 1 is a proctored multiple-choice exam assessing conceptual knowledge, design choices, and architectural standards, delivered by Pearson. Part 2 is a set of hands-on labs in Google Skills that unlock only after you pass Part 1. You must complete both to earn the credential.
- Length: The beta ran 3 hours with about 80 questions. The GA exam is expected to run about 2 hours.
- Fee: $200 USD at GA (the beta was $120), plus tax where applicable. Vouchers are accepted.
- Delivery: Online-proctored or at a test center, in English.
- Validity: 1 year — unusually short for a Google Cloud professional certification.
- Prerequisites: None. Recommended experience is 3+ years building, testing, deploying, and managing cloud solutions, including 1+ year building agentic solutions on Google Cloud.
- Passing score: Google does not publish official passing scores for any of its certifications. Do not trust any number quoted elsewhere.
- Domain weights: Low-code tools ~13%, coding agents ~17%, developing custom agents ~33%, evaluating and deploying ~22%, securing and governing ~15%.
What ADK actually is — and is not
ADK is Google's open-source framework for building, evaluating, and deploying AI agents in code (Section 3.1). That one line carries the follow-on topics: model selection, sessions and memory, RAG pipelines, Agent Identity permissions, and multi-agent orchestration with MCP and A2A. ADK is not the low-code path — pages, transition routes, and event handlers configured by a business team mean Gemini Enterprise (Section 1). Custom logic and explicit orchestration control mean ADK. Mixing those up loses easy marks.
Step 1: Set up and scaffold the project
You need Python 3.10 or later. Create a virtual environment, install ADK, and scaffold a project:
- Install:
pip install google-adkinside your virtual environment. - Scaffold:
adk create my_agentcreates a project folder with anagent.pyfile (your main agent code), an__init__.py, and a.envfile for your API key or Google Cloud project settings. - Authenticate: Use either a Gemini API key for quick local experiments, or Google Cloud credentials if you are working against Vertex AI / Agent Platform services.
Exam angle: The exam will not ask you to type the install command. It will give you a team constraint — for example, developers need a reproducible local setup before deploying to Agent Runtime — and ask which workflow fits. Knowing the scaffold exists, and that the same project later deploys and evaluates, is the point.
Step 2: Define the agent — model, instruction, description
Every ADK agent starts with three decisions the exam loves to probe:
- Model choice: Section 3.1 explicitly tests selecting a large language model versus a small language model, self-hosted versus SaaS, and open-source versus proprietary — weighing cost, security, and architecture. A cheap, fast model is often right for routing or summarization; a larger Gemini model is right for complex reasoning. Be able to justify your pick in one sentence.
- Instruction: The system instruction defines the agent's job and guardrails. Write it like a job description, not a wish: role, task, constraints, and what to do when a tool fails.
- Description: In multi-agent systems, other agents read the description to decide whether to hand work off. A vague description breaks orchestration long before the model does.
Step 3: Give the agent tools
An agent without tools is just a chatbot. In ADK, a tool is typically a plain Python function with a clear name, typed parameters, and a docstring — the model reads that docstring to decide when to call it. Start with one read-only tool (for example, a function that looks up an order status or searches internal docs), run it, and watch the tool call in the trace.
Then extend in the two directions the exam tests:
- MCP tools: Configure Model Context Protocol (MCP) servers so the agent can use standardized, reusable tools — including Google Cloud MCP servers and remote servers for third-party SaaS. Section 3.2 names this directly.
- Enterprise data: Connect retrieval — embedding models, Vector Search or Agent Retrieval, similarity scoring, and reranking — so answers are grounded in your data, not just the model's memory. This is the RAG pipeline in Section 3.2.
Exam trap: A tool that can write, pay, or delete needs identity and approval controls — Agent Identity, principal access boundary policies, and human-in-the-loop steps from Section 5. If a scenario includes a risky tool call and the answer options ignore identity, that option is wrong.
Step 4: Run it locally, then add sessions and memory
Use adk run for a terminal session or adk web for the development UI, where you can inspect reasoning and tool calls. Most bugs are visible in the trace — a wrong tool, a missing argument, a reasoning loop — before the final answer.
Next, add state. Section 3.1 names sessions and memory, including Agent Platform Memory Bank and managed sessions. A session holds the current conversation; memory persists useful facts across conversations. Storing everything forever is both a cost and a governance problem.
Step 5: Grow to multiple agents, then evaluate and deploy
Once one agent works, orchestration begins. The guide names the patterns explicitly: parallel agents (independent tasks at once), sequential agents (a pipeline), and graph workflows (branching logic). Handoffs run over MCP for tools and A2A for agent-to-agent communication, governed with Agent Identity, Agent Registry, and Agent Runtime. Keep your first build boring: one root agent that routes, plus two specialists.
Before deploying, evaluate. Section 4 (~22%) names ADK evaluation directly: build a golden dataset of representative prompts and edge cases, save it as an evalset, and rerun it whenever you change the instruction, model, or a tool. For deployment, Section 4.2 tests choosing the runtime by use case and cost — Agent Runtime (managed), Cloud Run (flexible containers), or GKE (maximum control) — and monitoring for drift, tool latency, reasoning loops, and hallucinations via Cloud Logging and Cloud Trace.
Who finds this hard, and who finds it easy
Easy if you are comfortable in Python and have deployed to Cloud Run or GKE — ADK feels familiar, with new vocabulary. Harder if your experience is only low-code demos: the exam expects code-level reasoning about model selection, memory, and tool design. The fix is not more reading. It is one real build, evaluated and redeployed at least twice.
Exam-day tips for ADK questions
- Follow the constraint in the scenario. Cost points to a smaller model; strict data control points to identity, gateway, and guardrail answers; latency points to runtime and tool design.
- Separate build from govern. ADK builds the agent. Agent Identity, Agent Gateway, Agent Registry, and Model Armor secure and govern it. Do not credit the build tool with the governance job.
- Remember the labs. Passing Part 1 unlocks hands-on labs in Google Skills. The agent you built in this walkthrough is direct lab preparation — treat it that way.
The bottom line
Building your first ADK agent is not a side quest for the Agentic Architect exam — it is the center of it. Section 3 alone is about a third of the exam, and ADK evaluation, deployment, and orchestration reach into Sections 4 and 5 as well. Scaffold it, give it one real tool, add memory deliberately, evaluate it against a golden set, and be able to defend every choice. Do that once, properly, and most scenario questions stop being guesses.
🎯 Ready to pass on the first try?
Work through our free Professional Agentic Architect study guide — every exam domain, flashcards, and decision trees — then test yourself with the practice tests on Udemy.
Continue to the free study guide →
Prefer to go straight to the practice tests? Get the practice tests on Udemy →
Prefer learning by video? Get the complete course on Udemy → — 55 lessons, section quizzes, hands-on labs and a final assignment.

Comments
Post a Comment