Free sample lesson ยท Building Product Assistants with ADK
Why Agents
What can an agent do that a simple chat window can't?
Lesson 1 of the Wondering course Building Product Assistants with ADK
Chat Window or Agent?
A chat window is great for one-off requests. You type a question, the model answers, and you decide what happens next.
Complex, multi-step work is different. An agent framework lets you build a managed, repeatable task structure that can run hands-off with minimal human input.[[1]](https://adk.dev/)
- Chat window
- Agent framework
ADK is one such framework. It is open source and available in Python, TypeScript, Go, Java, and Kotlin.[[1]](https://adk.dev/)
The key question: does this task need a human at every step?
Think Request vs. Pipeline
You already know this pattern from web development.
A chat prompt is like a single HTTP request. One input goes in, one response comes out, and nothing carries forward unless you handle it.
An agent framework is closer to a backend job pipeline: orchestration to start tasks and call the model repeatedly, state to manage context, and retries to handle failures.
The model is one component. The framework is the system that keeps the work moving.
What the Framework Handles
The ADK docs list jobs an agent framework handles that a chat window leaves to you.[[1]](https://adk.dev/)
It can initiate tasks automatically, make multiple iterative model requests, and run parallel jobs.
It can manage context, handle tool calls, and record data.
It can also handle failures and resume tasks if they get stopped.
- Agent framework
- Running work
- Initiate tasks
- Iterative model requests
- Parallel jobs
- Information
- Manage context
- Handle tool calls
- Record data
- Reliability
- Handle failures
- Resume tasks
Context matters most in long runs. ADK filters irrelevant events, summarizes older turns, and tracks token usage.[[1]](https://adk.dev/)
The Weekly Research Chore
Imagine you need to research 20 competitor products every week and save a summary of each to a database.
Each product needs three actions: a search, a summary, and a database write. That makes about 60 manual actions in a chat window.
- Products each week: 20
- Actions per product: A search, a summary, and a database write.
- Manual chat actions: Repeated by hand every week.
Doing it once by hand works. Doing it every week depends on you remembering every step.
And if something fails midway, you start over.
The Same Job as an Agent
Now suppose you build this as an ADK agent. The docs show a minimal agent named "researcher" using the gemini-flash-latest model and the google_search tool.[[1]](https://adk.dev/)
Its instruction is simple: "You help users research topics thoroughly."[[1]](https://adk.dev/)
The run starts automatically and the agent makes repeated model requests. Products run as parallel jobs, and context is managed between steps.
- Define agent: Give it a name, model, instruction, and the google_search tool.
- Auto start: The weekly run starts without you.
- Repeated calls: The agent makes repeated model requests.
- Parallel jobs: Products run in parallel with context managed between steps.
- Weekly result: Summaries are saved with little human input.
The result is a repeatable weekly job that needs little human input.
Failures Without Starting Over
In a chat window, a mid-run failure means starting from product 1 again.
Suppose the agent's run stops at product 12. Because the framework can resume stopped tasks, it picks up from product 12 instead of restarting.[[1]](https://adk.dev/)
- Weekly run starts
- Process next product: Search, summarize, save.
- Run stopped?
- Resume from stop point: For example, pick up at product 12.
- All 20 done?
- Summaries saved
- Yes
- No
- No
- Yes
For a web developer, this is like a job queue that tracks progress and retries, rather than a script you rerun from the top.
Reliability is a big reason to choose a framework.
When to Reach for an Agent
Use a chat window for quick, one-off questions.
Reach for an agent framework when work is multi-step, repeated, or needs to run hands-off, especially with tools, parallel jobs, or recovery from failures.
ADK lets you start small with prompts and tool calls, then grow to multi-agent orchestration, graph-based workflows, performance evaluation, and deployment.[[1]](https://adk.dev/)
Choose that structure from the start, and your assistant can grow without a rewrite.
Check yourself
A developer needs a quick, one-time explanation of a CSS grid property. Which tool fits this task better?
- A chat window
- An agent framework
Answer: A chat window
A chat window handles one-off requests well. An agent framework adds managed, repeatable structure, which is useful for complex multi-step work that must run hands-off. A single quick question does not need that overhead.
For a web developer, a chat window is like a single _____, while an agent framework is like a backend _____ with orchestration, state, and retries.
Answer: For a web developer, a chat window is like a single HTTP request, while an agent framework is like a backend job pipeline with orchestration, state, and retries.
A chat exchange is one request and one response, like a single HTTP call. An agent framework coordinates many steps, keeps state between them, and retries on failure, much like an orchestrated backend job pipeline.
Which description of ADK is accurate?
- An open-source framework to build, debug, and deploy AI agents in several languages
- A chat interface for sending one-off prompts to an AI model
- A large language model that generates text and search results
- A closed-source Python library limited to single model calls
Answer: An open-source framework to build, debug, and deploy AI agents in several languages
ADK is an open-source agent development framework for building, debugging, and deploying reliable AI agents at enterprise scale. It is available in Python, TypeScript, Go, Java, and Kotlin. It is not a chat app or an AI model itself; agents built with it call models such as Gemini.
Keep going
This is lesson 1 of 14 in Building Product Assistants with ADK. Next up:
- First Agent
- Writing Instructions
- Grounding Answers
- Data Tools
- Function Tools
Wondering turns any topic into short lessons you can read, watch, or listen to, with practice questions and an AI tutor.