Domain 3: Developing Custom Agents (Part 1 of 3)
This lesson covers 4 exam topics: Choosing a Model for Agents, Building Agents with ADK, Sessions and Memory Bank, Skills with Agents CLI and Skill Registry. Each topic has a short video, then the notes: key facts, exam traps and what to check in the official docs.
1. Choosing a Model for Agents
Central question: Which language model should an agent use?
Facts (design guidance; model facts verified)
| Choice | Favor when |
|---|---|
| LLM (frontier, Flash) | Complex reasoning, planning, many tools |
| SLM (small model, Flash-Lite, Gemma) | High volume, low latency, simple routing or extraction |
| SaaS (Gemini via Agent Platform, MaaS) | No infrastructure, managed scaling, latest models |
| Self-hosted (open model on GKE or endpoints) | Data residency or offline needs, full control, custom tuning |
| Proprietary vs OSS | Capability and support vs control, portability and cost |
- Gemini tiers range from frontier to Flash and Flash-Lite; Gemma models are open and can be self-hosted; Model Garden offers Google, partner and open models.
- Multi-agent systems often mix models: a stronger model plans, smaller models handle routine subtasks.
Exam traps
- Frontier model for every subagent. Use smaller models for simple steps.
- Self-hosting without a requirement. It adds operations work.
2. Building Agents with ADK
Central question: How do you build custom agents with the Agent Development Kit?
Facts
- ADK is an open-source, model-agnostic framework to build, debug, evaluate and deploy agents, available in Python, TypeScript, Go and Java (ADK page).
- Agents use tools (function tools, built-in tools, MCP tools, other agents) and can compose multi-agent teams that delegate.
- Orchestration: workflow agents (Sequential, Parallel, Loop) give deterministic control; LLM-driven routing gives adaptive behavior; ADK 2.0 for Python and Go adds graph-based and dynamic workflows that supersede template workflows (ADK docs).
- Run locally, or deploy to Agent Runtime, Cloud Run or GKE.
Exam traps
- LLM routing for a fixed, regulated sequence. Use a sequential or graph workflow.
- ADK only works with Gemini. It's model-agnostic.
3. Sessions and Memory Bank
Central question: How do sessions and Memory Bank give agents context and memory?
Facts
| Concept | Scope |
|---|---|
| Session | One ongoing interaction: chronological events |
| Event | A message or action (such as a function call) |
| State | Temporary data for the current conversation |
| Memory | Personalized information across sessions for a user |
- Agent Platform Sessions stores interaction history; for ADK agents deployed to Agent Platform, session management is automatic; sessions can also be used through the API (Sessions overview).
- Memory Bank generates long-term memories from conversations with an LLM, extracts only meaningful information, keeps isolated collections per scope (for example agent and user) and lets agents fetch memories in later sessions (Memory Bank docs).
- Memorystore for Redis can hold fast, short-lived state for self-managed agents.
Exam traps
- Storing preferences in session state. State is temporary; use Memory Bank.
- One memory scope for all users. Scope memories per user.
4. Skills with Agents CLI and Skill Registry
Central question: How are agent skills packaged, shared and governed?
Facts
- A skill is a self-contained package of instructions, executable code and documentation that extends an agent; agents load relevant skills dynamically.
- Skill Registry (preview) is a secure, private, low-latency repository for skills, with versioning; standalone skills can also be governed in Agent Registry (preview) (Skill Registry overview).
- Agents CLI bundles lifecycle skills and supports Agent Mode and Human Mode; Managed Agents sandboxes can import skills from Skill Registry.
Exam traps
- Copying skills between repos by hand. Publish them in Skill Registry.
- Ungoverned third-party skills. Govern them in Agent Registry with policies.
References
- PAA exam guide — checked Oct 26, 2026
- Google models — checked Oct 26, 2026
- Agent Development Kit — checked Oct 26, 2026
- ADK workflow agents — checked Oct 26, 2026
- Sessions overview — checked Oct 26, 2026
- Memory Bank — checked Oct 26, 2026
- Skill Registry overview — checked Oct 26, 2026
- Agent Registry — checked Oct 26, 2026
Check your understanding
Simple intent routing at high volume?Show answerHide answer
Answer
Small model.Fixed order of steps?Show answerHide answer
Answer
Sequential workflow agent / graph workflow.Remember a user's seat preference next month?Show answerHide answer
Answer
Memory Bank.Central private repository for skills?Show answerHide answer
Answer
Skill Registry.Must run inside your own cluster?Show answerHide answer
Answer
Self-hosted open model.