- Where’s my order?
- What are your working hours?
- Why was I charged twice?
- Can you please cancel my order?


lookup_invoice. With that, it works for some cases: real invoices, real numbers, real answers.
But soon the brittle edges begin to show.
- The model asks for
cancel_order, a tool you never registered — the loop crashes with a missing-tool error. - The model supplies an
order_idas an integer to a tool that expects a string; the tool returnsNoneor raises an exception and the conversation dies. - A long-running chat exceeds the model’s context window and the agent loses the order ID it was working on.
- Code-first: define agents in Python using classes, functions, and type hints instead of a visual canvas and disparate config files.
- Open source: inspect the implementation and run it anywhere.
- Production-ready: built-in support for tool registration, typed interfaces, runtime safety, evaluation tooling, and observability.

ADK provides structure for building agents (tool registration, typed interfaces, and runtime safety), evaluation tooling to assert correct reasoning steps, and a deployment path so your agent can be served behind a production API with logging and observability.
LlmAgent, give it a name for the runtime, pick a model (for example, a Gemini model string), add a short description, and provide an instruction that guides behavior. ADK handles the reasoning loop, message history, and tool parsing for you.
- Build: define tools, message types, and agents in code with type hints and validation.
- Evaluate: run structured tests that verify the agent’s reasoning steps (for example, assert that the agent called
lookup_invoicerather than fabricating a charge explanation). - Deploy: serve the agent behind a production API with logging, tracing, and monitoring.
In short: you build, evaluate, and deploy inside one framework — ADK.
If you started with 400 messages and a fragile while loop, ADK removes the need to hand-implement the loop and the brittle glue around it. It provides a structured, testable, and deployable path for turning an LLM into a reliable agent.
Note: This course is labeled version 2 — be sure to match the ADK version in the repository (
google/adk-python) and your runtime configuration when following examples.- Google Agent Development Kit (ADK) — github.com/google/adk-python
- General reference: Kubernetes Documentation (for deploying services)