Why We Evaluated Google ADK on Agent Runtime

We brought Google ADK into our review because deploying a multi-agent service introduces an awkward split: the agent code can be small while the operational surface is not. Discovery, credentials, conversation history, durable writes, and deployment readiness all become separate failure domains.

Evaluate, not standardize yet

Agent Runtime reduces hosting work, but deployment success, production limits, and economic superiority remain unverified.

Our question was whether Agent Runtime removes enough of that work to justify adopting its managed session and memory services instead of operating an agent service backed by Redis and Postgres.

Our verdict is conditional: Agent Runtime is worth a deployment proof of concept, but we do not have evidence for production performance or cost claims here. Our local execution attempt stopped before ADK installation because the python:3.12-slim image was unavailable. We did not obtain ADK CLI output, deploy an endpoint, or reproduce a managed-service failure. We will not substitute invented transcripts for those missing results.

What we can provide is a source-grounded architecture review, executable preparation steps, and concrete acceptance gates.

We used three substantive primary references: the ADK/A2A codelab, the Agent Runtime ADK quickstart, and the ADK agent development guide.

In our architecture review, we traced the managed deployment path: agent serialization and upload, followed by provisioning of an authenticated A2A endpoint. Managed sessions preserve conversation history and state through VertexAiSessionService. A remote ADK agent discovers the deployed specialist through its agent card.

That removes hosting machinery, not application architecture. We still need to decide what constitutes a committed booking, which identity owns a conversation, and whether another session can immediately observe a write.

We also keep three storage concepts separate:

  • Session state: structured context used during agent execution.
  • Memory Bank: cross-session memory functionality that needs its own write and retrieval contract.
  • Business records: authoritative data requiring explicit authorization, concurrency control, and retention rules.

Treating those as interchangeable would be our first production mistake.

Hands-On Walkthrough: Setup, Execution & Output

We start with credential handling. A service-account JSON key is not a prerequisite. For local authentication, we would use Application Default Credentials; in Cloud Shell, we would not need an additional authentication step. We prefer short-lived credentials or workload identity over distributing a long-lived key.

For the initial setup, we would use roles/aiplatform.user and roles/storage.admin. We would not assign those roles indiscriminately to every production identity. We would separate deployment permissions from runtime permissions and narrow access after identifying the actual operations.

For an isolated environment, the installation path is:

python3 -m venv .venv . .venv/bin/activate python -m pip install --upgrade pip python -m pip install \ "google-cloud-aiplatform[agent_engines,adk]>=1.112" python -m pip freeze > requirements.resolved.txt adk --help adk create --help adk web --help adk api_server --help 

We use >=1.112 as the SDK installation requirement for this preparation path, not as a tested version pin. Our repeatability gate is to preserve the resolved dependencies, Python version, and starter-repository commit together.

Next, configure a disposable project:

export GOOGLE_CLOUD_PROJECT="your-disposable-project" export GOOGLE_CLOUD_LOCATION="us-central1" gcloud config set project "$GOOGLE_CLOUD_PROJECT" gcloud auth application-default login gcloud services enable \ aiplatform.googleapis.com \ cloudresourcemanager.googleapis.com \ storage.googleapis.com 

We would scaffold the reservation specialist with this command:

adk create reservation_agent \ --model gemini-3.5-flash \ --project "$GOOGLE_CLOUD_PROJECT" \ --region "$GOOGLE_CLOUD_LOCATION" 

We retain that model identifier as part of the supplied codelab instructions, not as a model-availability verification. Before spending time debugging agent code, we would verify access to the selected model in the project and its required location.

The expected generated layout is:

reservation_agent/ ├── __init__.py ├── agent.py └── .env 

For local development, run the UI and API server separately:

# Run from the parent directory containing reservation_agent. adk web 
# Stop the web process before using the default port again. adk api_server 

These commands start local development surfaces; they do not deploy to Agent Runtime. Starting them and executing a model-backed agent are also different tests. The latter still needs model access and credentials.

We would use the following small probe to capture the API server’s startup readiness. It requires only Python’s standard library and a running local server.

# probe_local.py import json import time import urllib.error import urllib.request url = "http://127.0.0.1:8000/openapi.json" started = time.monotonic() try: with urllib.request.urlopen(url, timeout=5) as response: specification = json.load(response) result = { "status": response.status, "openapi": specification.get("openapi"), "elapsed_seconds": round(time.monotonic() - started, 3), "scope": "local HTTP readiness only", } except (urllib.error.URLError, TimeoutError) as error: result = { "status": "failed", "error": str(error), "scope": "local HTTP readiness only", } print(json.dumps(result, indent=2)) 

Run it with:

python probe_local.py 

Illustrative response, not captured output:

{ "status": 200, "openapi": "3.1.0", "elapsed_seconds": 0.012, "scope": "local HTTP readiness only" } 

That simulated response demonstrates the output format, not ADK performance. A successful OpenAPI fetch proves neither model execution nor persistent sessions.

For managed deployment, we would keep two paths distinct. We would evaluate the AdkApp deployment path separately from the A2A path, which adds A2A hosting and remote-agent integration. We would not assume an ordinary AdkApp deployment automatically validates the A2A path.

The available excerpts establish deployment architecture but do not include the complete deployment invocation. We therefore cannot present a verified deploy command. Our next execution step is the complete codelab, preserving its deployment script and dependencies rather than improvising a mixture of SDK generations.

In our setup plan for the full restaurant example, we also account for Cloud SQL and Toolbox infrastructure. We treat the approximately 10–15-minute setup window as an estimate for that broader infrastructure script, not as a measured Agent Runtime deploy-to-first-traffic time.

What We Could Not Verify

The actual failure in our execution attempt was environmental: the Python container image was unavailable. We did not capture the exact Docker stderr. Consequently, we have no reproduced ADK error string to publish.

The remaining issues below are architecture findings and required tests, not incidents we observed in a running deployment.

App-scoped state is a risky reservation database

In our review of the reservation implementation, we found app:reservation: keys indexed by phone number. We treat cross-session persistence as the intended behavior, not as a verified guarantee across backends.

We would not carry that data model unchanged into a multi-tenant service. App-wide sharing is not tenant authorization, and possession of a phone number is not proof of ownership.

Our production design would store bookings in Postgres or another transactional database. Session state would hold a booking identifier and limited workflow context. Database constraints would enforce uniqueness; idempotency keys would protect booking creation against retries.

We would also test state visibility at event boundaries. A Python dictionary assignment is not sufficient evidence that another session can immediately read a committed value.

SessionService is an abstraction, not one universal storage contract

Our session lifecycle tests would cover creation, retrieval, listing, deletion, and event appends. We would first identify the supported methods and signatures in the installed ADK version, then run the applicable tests against each selected backend.

For the managed session path, we would evaluate VertexAiSessionService. A local implementation accepting a large state object would not establish that the managed service accepts it.

We could not verify a numeric session-state payload cap or request quota from the supplied material. We therefore cannot responsibly publish a familiar-looking limit or a supposedly reproduced rejection.

Our acceptance test would measure serialized UTF-8 bytes, increase payload size gradually, and capture the complete managed response. We would distinguish a fixed payload limit from rate quota exhaustion and local serialization errors.

Regardless of that eventual threshold, documents and large tool results belong in an external artifact store, with references in session state.

Memory Bank needs a separate consistency test

The available excerpts do not establish Memory Bank’s exact SDK method signatures, generation limits, quotas, or write-to-search visibility guarantees. We would not invent an API call from a navigation heading.

Our required test is straightforward:

  1. Record a distinctive preference in session A.
  2. Explicitly initiate the supported memory ingestion or generation operation.
  3. Track its completion separately from the originating agent response.
  4. Search from session B using the same authorized user scope.
  5. Measure time until the expected memory becomes retrievable.

Until that test passes, our application cannot promise immediate cross-session recall. Memory also cannot be the authority for whether a payment or reservation committed.

A2A discovery is part of the request path

An agent card describes capabilities and an endpoint. Fetching the card and calling its advertised endpoint are separate network operations.

Our private-networking test would check DNS, TLS, authentication, routing, and advertised URLs from the orchestrator’s actual runtime identity and network. A card reachable from a developer laptop is not enough.

We have no reproduced private-network resolution failure here. We would capture the real exception rather than label every discovery problem a DNS error: unauthorized requests, inaccessible hosts, and stale endpoint URLs need different fixes.

Runtime and model locations can diverge

In our code review, we identified why the GeminiGlobal subclass is needed in this setup: A2aAgent.set_up() overwrites GOOGLE_CLOUD_LOCATION with the runtime region, while the selected Gemini 3-family endpoint requires global.

Our configuration rule is to separate runtime placement from model endpoint selection. We would isolate any workaround involving SDK internals and retest it on upgrades.

Finally, persistent state does not make side effects exactly-once. We apply the same recovery discipline discussed in our Restate AI review: retries must be safe at the business-operation boundary.

Scale, Latency & Cost vs. Alternatives

We have no load-test results, cold-start distribution, memory-footprint measurements, or cloud bill for this evaluation. Our comparison is therefore architectural.

Decision area ADK with managed Runtime and Sessions Self-managed LangGraph with Redis/Postgres
Hosting Managed agent deployment surface Team operates application hosting
Session persistence Managed backend integration Explicit checkpoint and storage design
Business transactions Still require suitable business storage Can share existing transactional infrastructure
Cross-session memory Evaluate Memory Bank separately Build or integrate a memory pipeline
Private networking Validate discovery and invocation from runtime Control routing, but own its operation
Cold starts Must measure under actual configuration Depends on hosting and replica policy
Cost evidence here No measured unit cost No measured baseline
Main trade-off Less hosting work; service-contract dependence More control; more operational ownership

Our latency instrumentation would separate deployment completion, endpoint readiness, card discovery, authentication, session access, model generation, and tool execution.

“First request was slow” would not establish a container cold start. We would need traces connecting that request to instance initialization. We would also separate model latency from runtime overhead and compare equivalent workflows.

For cost, our useful unit is a successfully completed business session, not an HTTP request:

Managed cost per completed session = (runtime + sessions + memory + storage + networking + observability + allocated operations labor) / successful sessions 

The self-managed denominator must be identical. Its numerator includes application compute, Redis, Postgres, backups, observability, and operations labor. Model charges should be included consistently or excluded consistently.

Here is a planning example—not vendor pricing or a measured baseline:

  • Self-managed fixed infrastructure and allocated labor: $1,200/month.
  • Managed fixed allocation: $300/month.
  • Hypothetical managed variable premium: $0.003/completed session.

The break-even volume is:

($1,200 - $300) / $0.003 = 300,000 completed sessions/month 

Below that volume, the hypothetical fixed-cost saving exceeds the premium. Above it, the assumed self-managed option becomes cheaper. Different labor allocation or retry rates can reverse the result.

We would count telemetry as well. Multi-agent fan-out can increase spans and logs independently of user sessions; our Langfuse ingestion review explains why that deserves its own budget.

Our Final Verdict: When to Deploy, When to Skip

We would proceed with a limited Agent Runtime proof of concept when:

  • The team already operates within Google Cloud’s identity and billing model.
  • Reducing agent-hosting work is more valuable than controlling every runtime detail.
  • Session state can remain small and reference-oriented.
  • Business records remain in a transactional system.
  • Private A2A discovery can be tested from the deployed orchestrator.
  • Cross-session memory can have an explicitly tested visibility contract.

We would withhold production approval when:

  • An exact state-size or quota number is required but has not been verified.
  • Immediate Memory Bank read-after-write visibility is a product requirement.
  • The design uses app-scoped state as an unrestricted customer database.
  • First-request latency has a strict SLO without cold-path measurements.
  • The cost case assumes managed storage eliminates operations entirely.

Our recommendation is evaluate, not standardize yet. The managed architecture is credible, but this review does not establish deployment success, production limits, or economic superiority.

The next investment should be a small, instrumented run of the official A2A codelab, cross-checked against the ADK runtime quickstart. We would require preserved CLI logs, one real managed-service rejection, cross-session visibility measurements, and a bill-backed cost calculation before signing off.