---
title: "What is Google Agent Development Kit (ADK)? Architecture, Mission and Design Philosophy"
date: "2026-11-24T04:00:00+07:00"
description: "Google's Agent Development Kit is an open-source, code-first framework for building, evaluating and deploying production AI agents across five languages."
author: "AI Assistant"
image: "https://blog.redlinesoft.net/images/post/what-is-google-adk.jpg"
alt: "Diagram of Google ADK architecture showing agents, runner, sessions and tools"
tags: ['google-adk', 'ai-agents', 'multi-agent', 'architecture', 'google-gemini']
---

Google Agent Development Kit (ADK) is Google's open-source framework for building AI agents that survive contact with production traffic. Its own documentation sets the ambition bluntly: ADK exists to "build production agents, not prototypes." The Python package is `google-adk` on PyPI, and parallel SDKs ship for TypeScript, Go, Java and Kotlin.

ADK is not a thin wrapper around a chat-completion call. It is a full application architecture — agents, tools, callbacks, sessions, events, memory, artifacts, and a runtime event loop that coordinates all of them. This post breaks down ADK's mission, the primitives it is assembled from, and the design philosophy visible in every API decision.

## Mission: apply software engineering to agent development

The adk-python README describes ADK as "a flexible and modular framework that applies software development principles to AI agent creation," designed to simplify building, deploying and orchestrating agent workflows "from simple tasks to complex systems." The technical overview pages out the goal: empower developers to **build, manage, evaluate and deploy** AI-powered agents, covering both conversational and non-conversational agents that handle complex tasks and workflows.

Three commitments follow from that mission:

1. **Code-first, not config-first.** Agent logic, tools and orchestration live directly in ordinary source files, which gives you testability, versioning and refactoring — the same properties you expect from any software project.
2. **Model- and deployment-agnostic.** ADK is optimized for Gemini but runs behind a `BaseLlm` interface, and it deploys anywhere from a local container to Google Cloud's managed Agent Runtime.
3. **Lifecycle completeness.** Local debugging, multi-turn evaluation, observability (logging, metrics, traces) and deployment are part of the framework, not bolted-on afterthoughts.

## Core architecture: the primitives

Everything in ADK is assembled from a small set of concepts defined on the technical overview page:

| Primitive | What it does |
|---|---|
| **Agent** | The fundamental worker unit. `LlmAgent` reasons with a language model; workflow agents (`SequentialAgent`, `ParallelAgent`, `LoopAgent`) act as deterministic controllers. |
| **Tool** | Gives agents abilities beyond conversation: `FunctionTool`, other agents as `AgentTool`, plus built-ins like code execution and Google Search. |
| **Callbacks** | Custom code run at specific points in an agent's lifecycle (`before_agent_callback`, `after_model_callback`) for checks, logging or behavior changes. |
| **Session & State** | `Session` holds one conversation's history (`Events`) plus its working memory (`State`), managed by a `SessionService`. |
| **Memory** | Long-term recall of information about a user across *multiple* sessions, distinct from short-term session `State`. |
| **Artifact** | Versioned files (images, PDFs, reports) saved and loaded through `ArtifactService` context methods. |
| **Event** | The unit of communication: user messages, agent replies, tool calls, state changes and control signals. |
| **Runner** | The engine that orchestrates agent interactions based on events and coordinates backend services. |
| **Models** | The underlying LLM powering `LlmAgent`, pluggable through the `BaseLlm` interface. |

Add code execution and ReAct-style planning as advanced capabilities, and you have the full component model. The runtime page shows how they cooperate: the `Runner` receives a user query, the agent logic yields `Event` objects, the `Runner` commits their side effects through services, then resumes the agent — an event loop that repeats until the agent has nothing more to yield.

```text
User query
   │
   ▼
 Runner ──▶ Agent (LlmAgent) ──▶ LLM / Tools / Callbacks
   ▲              │
   │              ▼  yield Event(content, actions)
   └──── commit state/artifacts via SessionService
                    │
                    ▼
             session.events  →  UI / API consumer
```

## Design philosophy: five decisions you can feel in the API

**1. Hierarchy over flat chains.** Multi-agent systems are arranged hierarchically; agents delegate sub-tasks via LLM-driven transfer or explicit `AgentTool` invocation, so a system can grow from one agent to a coordinated team without changing its programming model.

**2. Deterministic and adaptive code side by side.** Workflow agents give you predictable pipelines, while LLM-driven routing gives you adaptive behavior. ADK 2.0 extends this with graph workflows — the README describes a "graph-based execution engine" supporting routing, fan-out/fan-in, loops, retry, human-in-the-loop and nested workflows, declared with `edges=[("START", agent_a, agent_b)]`.

**3. Events as the universal currency.** Every message, tool call and state mutation travels as an `Event`. That single decision buys you streaming, replay, debugging, evaluation datasets and auditability from one data structure.

**4. Services as a swappable persistence layer.** Sessions, artifacts and memory sit behind services (`InMemorySessionService`, `DatabaseSessionService`, `VertexAiSessionService`, `GcsArtifactService`), so local prototyping and cloud production share identical agent code.

**5. Interoperability over lock-in.** Tools integrate via plain functions, OpenAPI specs and MCP; agents can expose themselves over the A2A protocol; the framework is explicitly "compatible with other frameworks."

## One definition, five languages

The same researcher agent reads almost identically across SDKs — Python on PyPI (`pip install google-adk`), TypeScript (`npm install @google/adk`), Go (`go get google.golang.org/adk/v2`), Java (`com.google.adk:google-adk`) and Kotlin (`com.google.adk:google-adk-kotlin-core`):

```python
from google.adk import Agent
from google.adk.tools import google_search

agent = Agent(
    name="researcher",
    model="gemini-flash-latest",
    instruction="You help users research topics thoroughly.",
    tools=[google_search],
)
```

That parity matters: architectural decisions made in Python hold up when the same design is ported to a Go service or a JVM backend.

| Language | Package | Install |
|---|---|---|
| Python | `google-adk` | `pip install google-adk` |
| TypeScript | `@google/adk` | `npm install @google/adk` |
| Go | `google.golang.org/adk/v2` | `go get google.golang.org/adk/v2` |
| Java | `com.google.adk:google-adk` | Maven or Gradle dependency |
| Kotlin | `com.google.adk:google-adk-kotlin-core` | Gradle with the KSP processor |

## Build, debug, evaluate, deploy — one toolchain

ADK ships its own operational loop. `adk web` launches a browser-based developer UI for inspecting events, state changes and agent definitions; `adk run` gives an interactive CLI; `adk api_server` exposes agents over REST. Evaluation runs locally through `adk eval` or the dev UI with multi-turn datasets. Deployment targets include Docker, Cloud Run, GKE and the managed Agent Runtime on Google Cloud's Agent Platform (formerly Vertex AI Agent Engine). One explicit warning from the docs: **ADK Web is for development and debugging only, never production.**

```bash
adk web --port 8000                     # developer UI: inspect events, state, definitions
adk run my_agent                        # interactive terminal chat
adk api_server                          # expose agents behind a REST API
adk eval my_agent home_automation.evalset.json \
  --config_file_path eval_config.json   # offline multi-turn evaluation
adk deploy cloud_run --with_ui my_agent # containerize and ship to Google Cloud
```

## When ADK is the right choice

Reach for ADK when you need hierarchical multi-agent systems with real operational machinery — sessions, artifacts, evaluation and deployment — especially if Gemini and Google Cloud are in your stack, or if you want one architecture across Python and JVM/Go services. If you want a minimal graph state machine or a single-purpose assistant, lighter tools may still be faster; but when the roadmap says "production," ADK's primitives are already waiting for you.

**Takeaway:** ADK is Google's code-first answer to the full agent development lifecycle: a small set of composable primitives (Agent, Tool, Session, Event, Runner) behind an event-driven runtime, delivered in five languages and paired with built-in debugging, evaluation and deployment — the architecture you adopt when a prototype has to become a system.

## Sources
- https://adk.dev/
- https://adk.dev/get-started/about/
- https://adk.dev/runtime/
- https://github.com/google/adk-python
